Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | - create file_from_local_medium(), and use it where possible instead of | Pascal Rigaux | 2008-02-27 | 2 | -31/+32 |
| | | | | | | | | | file_from_local_url() - in urpm::removable, this implies passing $blist around nb: for now file_from_local_medium() doesn't use the first parameter if url is given, but future commit will use both (needed for {url} cdrom://) | ||||
* | create is_local_medium() and is_local_url() | Pascal Rigaux | 2008-02-27 | 2 | -6/+6 |
| | |||||
* | internally use {iso} instead of {removable} for iso files | Pascal Rigaux | 2008-02-27 | 2 | -14/+9 |
| | | | | | (to make things more clear) | ||||
* | - fix typo in try_mounting_non_cdrom() (from previous commit) | Pascal Rigaux | 2008-02-27 | 1 | -11/+7 |
| | | | | | - copy_packages_of_removable_media() now only handles cdroms (no more iso) | ||||
* | treat iso as non-removable | Pascal Rigaux | 2008-02-27 | 2 | -9/+16 |
| | |||||
* | there is no reason not to use {removable} only for iso | Pascal Rigaux | 2008-02-27 | 1 | -2/+1 |
| | |||||
* | what we really want here is the place where the synthesis is, so in the case | Pascal Rigaux | 2008-02-27 | 1 | -3/+3 |
| | | | | | of {with_synthesis}, we want to check/mount there | ||||
* | rename try_mounting_non_removable() into try_mounting_non_removables() | Pascal Rigaux | 2008-02-27 | 2 | -4/+12 |
| | | | | | and create try_mounting_non_removable() | ||||
* | use blists to ensure we only mount media which will be used | Pascal Rigaux | 2008-02-27 | 2 | -3/+5 |
| | |||||
* | create separate function to mount iso | Pascal Rigaux | 2008-02-27 | 2 | -22/+38 |
| | |||||
* | modify for the future | Pascal Rigaux | 2008-02-26 | 1 | -3/+3 |
| | |||||
* | _mount_it() can't fail! | Pascal Rigaux | 2008-02-26 | 1 | -4/+0 |
| | |||||
* | there is no reason copy_packages_of_removable_media should mount non removable | Pascal Rigaux | 2008-02-26 | 2 | -6/+5 |
| | | | | | media | ||||
* | simplify | Pascal Rigaux | 2008-02-26 | 1 | -2/+2 |
| | |||||
* | simplify | Pascal Rigaux | 2008-02-26 | 1 | -2/+1 |
| | |||||
* | fix comment | Pascal Rigaux | 2008-02-26 | 1 | -0/+1 |
| | |||||
* | simplify | Pascal Rigaux | 2008-02-26 | 1 | -3/+3 |
| | |||||
* | split _get_removables_or_check_mounted into _try_mounting_non_removable and ↵ | Pascal Rigaux | 2008-02-26 | 1 | -7/+17 |
| | | | | _get_removables | ||||
* | add comment | Pascal Rigaux | 2008-02-26 | 1 | -0/+5 |
| | |||||
* | _check_notfound should be pure, there is no reason for _sort_media should | Pascal Rigaux | 2008-02-26 | 1 | -18/+19 |
| | | | | | mount any removable media. so introducing _mount_and_check_notfound() | ||||
* | add some comments | Pascal Rigaux | 2008-02-26 | 1 | -3/+17 |
| | |||||
* | - since find_mntpoints doesn't really return a list, make it clear | Pascal Rigaux | 2008-02-26 | 3 | -23/+32 |
| | | | | | - return a struct instead of using %info + returned value | ||||
* | rename $_ into $mntpoint | Pascal Rigaux | 2008-02-26 | 1 | -12/+12 |
| | |||||
* | simplify | Pascal Rigaux | 2008-02-26 | 1 | -6/+3 |
| | |||||
* | create _expand_symlink() out of find_mntpoints() | Pascal Rigaux | 2008-02-26 | 1 | -11/+17 |
| | |||||
* | simplify | Pascal Rigaux | 2008-02-26 | 1 | -3/+2 |
| | |||||
* | make it more clear | Pascal Rigaux | 2008-02-26 | 1 | -4/+4 |
| | |||||
* | remove not useful %fstab | Pascal Rigaux | 2008-02-26 | 1 | -4/+2 |
| | |||||
* | create _read_fstab_or_mtab() to factorise | Pascal Rigaux | 2008-02-26 | 1 | -13/+20 |
| | |||||
* | every callers give a hash ref, so remove unneeded code | Pascal Rigaux | 2008-02-26 | 1 | -9/+3 |
| | |||||
* | simplify | Pascal Rigaux | 2008-02-26 | 1 | -1/+1 |
| | |||||
* | simplify | Pascal Rigaux | 2008-02-26 | 1 | -2/+1 |
| | |||||
* | - re-indent | Pascal Rigaux | 2008-02-26 | 1 | -12/+17 |
| | | | | | - do not call eject on isos | ||||
* | simplify: reduce_pathname is only useful/needed for find_mntpoints | Pascal Rigaux | 2008-02-26 | 1 | -2/+3 |
| | |||||
* | create _non_mounted_mntpoints() to make things more clear | Pascal Rigaux | 2008-02-26 | 1 | -3/+8 |
| | |||||
* | move removing bad file inside verify_partial_rpm_and_move() | Pascal Rigaux | 2008-02-26 | 1 | -3/+4 |
| | | | | | (it won't hurt urpm::removable::_do_the_copy()) | ||||
* | simplify | Pascal Rigaux | 2008-02-26 | 1 | -2/+2 |
| | |||||
* | urpm::get_pkgs::verify_partial_rpm_and_move() return the final rpm | Pascal Rigaux | 2008-02-26 | 2 | -3/+3 |
| | |||||
* | create _do_the_copy() out of _examine_removable_medium_() | Pascal Rigaux | 2008-02-26 | 1 | -23/+28 |
| | |||||
* | i don't see any reason for this... | Pascal Rigaux | 2008-02-26 | 1 | -1/+1 |
| | |||||
* | create _sort_media() out of copy_packages_of_removable_media() | Pascal Rigaux | 2008-02-26 | 1 | -13/+16 |
| | |||||
* | simplify | Pascal Rigaux | 2008-02-26 | 1 | -7/+7 |
| | |||||
* | do not pass $device around, it's the same as $medium->{removable} | Pascal Rigaux | 2008-02-26 | 1 | -6/+7 |
| | |||||
* | create a "blist" which is both $list and $urpm->{media} | Pascal Rigaux | 2008-02-26 | 1 | -16/+25 |
| | |||||
* | fix typo in previous commit | Pascal Rigaux | 2008-02-26 | 1 | -1/+1 |
| | |||||
* | simplify | Pascal Rigaux | 2008-02-26 | 1 | -11/+9 |
| | |||||
* | simplify | Pascal Rigaux | 2008-02-26 | 1 | -6/+2 |
| | |||||
* | use urpm::get_pkgs::verify_partial_rpm_and_move() | Pascal Rigaux | 2008-02-26 | 1 | -4/+2 |
| | |||||
* | create verify_partial_rpm_and_move() out of | Pascal Rigaux | 2008-02-26 | 1 | -4/+12 |
| | | | | | download_packages_of_distant_media() | ||||
* | fix typo (introduced on 2008-02-24 r237346) | Pascal Rigaux | 2008-02-26 | 1 | -1/+1 |
| |