Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | simplify | Pascal Rigaux | 2008-03-03 | 1 | -1/+1 |
| | |||||
* | correctly name function since it's outside of its module | Pascal Rigaux | 2008-03-03 | 2 | -3/+3 |
| | |||||
* | correctly name function since it's outside of its module | Pascal Rigaux | 2008-03-03 | 2 | -3/+3 |
| | |||||
* | fix comment | Pascal Rigaux | 2008-03-03 | 1 | -1/+0 |
| | |||||
* | - urpmq: | Pascal Rigaux | 2008-03-03 | 1 | -0/+21 |
| | | | | | | | | o --list: speed it up (2.5x faster, and 6x faster with names.<medium>) - all tools: o restore generation of /var/lib/urpmi/names.<medium>, but it is now done in urpmq/urpmi/urpmf (and so only if used as root) | ||||
* | - create non_modified_media() and use it | Pascal Rigaux | 2008-03-03 | 1 | -8/+14 |
| | | | | | - rename _parse_media() into parse_media() for next commit | ||||
* | add a warning for gurpmi | Thierry Vignaud | 2008-03-03 | 1 | -0/+1 |
| | |||||
* | handle --test | Thierry Vignaud | 2008-03-03 | 1 | -0/+1 |
| | |||||
* | handle --allow-medium-change (needed for do_pkgs) | Thierry Vignaud | 2008-03-03 | 1 | -0/+2 |
| | |||||
* | handle --expect-install (needed for do_pkgs) | Thierry Vignaud | 2008-03-03 | 1 | -0/+1 |
| | |||||
* | fix --expect-install (broken since 4.9.30!) | Thierry Vignaud | 2008-03-03 | 1 | -1/+1 |
| | |||||
* | lazy load Net::LDAP | Thierry Vignaud | 2008-03-03 | 1 | -1/+1 |
| | |||||
* | fix --auto-select option | Thierry Vignaud | 2008-03-03 | 1 | -1/+1 |
| | |||||
* | (gurpmi::parse_command_line) reuse common shared code of urpm::args, | Thierry Vignaud | 2008-03-03 | 1 | -0/+13 |
| | | | | | thus fixing --root option | ||||
* | - urpmf, urpmq: | Pascal Rigaux | 2008-03-03 | 1 | -2/+2 |
| | | | | | o never display raw downloader output, otherwise output is very messy (#38125) | ||||
* | fix download progression using wget: | Pascal Rigaux | 2008-03-03 | 1 | -7/+9 |
| | | | | | | | | | | | - the first line displays the date, not simply the time - the "==> RETR" is only for ftp, also parse "200 OK" - detecting size using /^Length/ is much simpler when wget output is not translated, so use LC_ALL=C - "ETA" is now "eta" in my tests - "eta" is not displayed at the beginning, do call propagate_sync_callback with precent and speed | ||||
* | - urpmf: | Pascal Rigaux | 2008-03-03 | 1 | -1/+1 |
| | | | | | o fix searching for more than one pattern (#38286) | ||||
* | HAL can fail to umount the cdrom if it was not mounted by HAL. | Pascal Rigaux | 2008-02-29 | 1 | -1/+6 |
| | | | | | in that case, use "umount" command directly. | ||||
* | require urpm::cdrom where needed | Pascal Rigaux | 2008-02-29 | 1 | -0/+1 |
| | |||||
* | remove some functions that were moved to urpm::cdrom | Pascal Rigaux | 2008-02-29 | 1 | -27/+0 |
| | |||||
* | move is_iso to urpm::media and rename it | Pascal Rigaux | 2008-02-29 | 2 | -9/+6 |
| | |||||
* | o use hal to wait-for/mount cdroms: | Pascal Rigaux | 2008-02-29 | 2 | -170/+289 |
| | | | | | | | | | | | | | | | | you can now use more than one cdrom drive big commit, no time to split it... some details: - split urpm::removable into urpm::removable and urpm::cdrom - fix setting $urpm->{removable_mounted} - in try_mounting_non_cdroms(), check for local url, simpler than checking is_cdrom_url and then checking file_from_local_medium - fix _try_mounting_medium() not mounting non-cdrom anymore (regression introduced during devel) - even if urpmi says it wants cdroms in a given order, if you make a mistake, it will use the one you give (as a side-effect, it simplifies the sort on "already mounted" cdrom (cf _sort_media disappearing)) | ||||
* | do not download on the fly xml-info unless we know if it is available | Pascal Rigaux | 2008-02-29 | 1 | -3/+2 |
| | | | | | | (useful for the cdrom case where there is no MD5SUM, but we take care of xml-info during urpmi.addmedia, never afterwards) | ||||
* | do not pass the device around (we don't want to force a device anymore) | Pascal Rigaux | 2008-02-29 | 1 | -1/+1 |
| | |||||
* | if cdrom is not mounted, _check_notfound should fail, but nicely | Pascal Rigaux | 2008-02-29 | 1 | -0/+2 |
| | |||||
* | - rename _mount_it() into _mount_cdrom() | Pascal Rigaux | 2008-02-29 | 1 | -8/+8 |
| | | | | | | | - rename _mount_and_check_notfound() into _mount_cdrom_and_check_notfound() - in _mount_cdrom_and_check_notfound, use _try_mounting_medium since failure to mount is not fatal | ||||
* | rename look_for_mounted_cdrom() into _look_for_mounted_cdrom_in_mtab() | Pascal Rigaux | 2008-02-29 | 1 | -3/+3 |
| | |||||
* | fix --mirrorlist broken by _migrate_removable_device | Pascal Rigaux | 2008-02-29 | 1 | -1/+3 |
| | |||||
* | - urpmf, urpmq: | Pascal Rigaux | 2008-02-28 | 1 | -0/+5 |
| | | | | | o do not try to download xml-info if it's not available (#38125) | ||||
* | - urpmi | Pascal Rigaux | 2008-02-27 | 1 | -8/+6 |
| | | | | | o do not copy rpms from cdrom if only one cdrom is used (#28083) | ||||
* | strictify prototype | Pascal Rigaux | 2008-02-27 | 1 | -5/+5 |
| | |||||
* | drop useless check | Pascal Rigaux | 2008-02-27 | 1 | -19/+1 |
| | |||||
* | _copy_from_cdrom() is a much better name than _examine_removable_medium() | Pascal Rigaux | 2008-02-27 | 1 | -6/+6 |
| | |||||
* | fix typo | Pascal Rigaux | 2008-02-27 | 1 | -2/+2 |
| | |||||
* | {removable} is no more | Pascal Rigaux | 2008-02-27 | 1 | -2/+2 |
| | |||||
* | - create _migrate_removable_url out of _migrate_removable_device | Pascal Rigaux | 2008-02-27 | 1 | -9/+23 |
| | | | | | - do keep our url scheme for cdroms (#30613) | ||||
* | - adapt "we want to copy lzma from cds" to new cdrom:// scheme | Pascal Rigaux | 2008-02-27 | 1 | -1/+2 |
| | | | | | - missing lzma on cds is not a failure | ||||
* | - all tools: | Pascal Rigaux | 2008-02-27 | 2 | -75/+85 |
| | | | | | o cdrom:// replaces removable:// | ||||
* | create read_mtab() | Pascal Rigaux | 2008-02-27 | 1 | -1/+3 |
| | |||||
* | - 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 |
| |