Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | factorize code with statedir_media_info_file() | Pascal Rigaux | 2008-01-11 | 1 | -3/+7 |
| | |||||
* | create _copy_media_info_file() out of _get_list_or_pubkey__local() | Pascal Rigaux | 2008-01-11 | 1 | -5/+14 |
| | |||||
* | no_second_pass option is no more (since "drop hdlist support") | Pascal Rigaux | 2008-01-10 | 1 | -1/+0 |
| | |||||
* | when doing urpmi.addmedia on a remote medium, we first look for | Pascal Rigaux | 2008-01-08 | 1 | -7/+12 |
| | | | | | | synthesis.hdlist.cz, but we should also download MD5SUM and check synthesis.hdlist.cz (the checking was only done on urpmi.update) | ||||
* | better error message: "copying" is not adapted for something we downloaded, ↵ | Pascal Rigaux | 2008-01-08 | 1 | -1/+1 |
| | | | | "retrieval" works better for both copied/retrieved cases | ||||
* | drop synthesis_for_virtual_medium() since it is unused | Pascal Rigaux | 2008-01-08 | 1 | -4/+0 |
| | |||||
* | create _download_MD5SUM() out of ↵ | Pascal Rigaux | 2008-01-08 | 1 | -6/+12 |
| | | | | _update_medium__parse_if_unmodified__remote() for future use | ||||
* | cosmetic: display "updated medium xxx" when we're done with it | Pascal Rigaux | 2008-01-08 | 1 | -5/+4 |
| | |||||
* | - rename _get_list_or_pubkey__remote() into _download_list_or_pubkey() | Pascal Rigaux | 2008-01-08 | 1 | -4/+11 |
| | | | | | - create _download_media_info_file() out of _download_list_or_pubkey() for future use | ||||
* | create get_medium_option() for future use | Pascal Rigaux | 2008-01-08 | 1 | -0/+6 |
| | |||||
* | - urpmi.update, urpmi.addmedia, urpmi.removemedia: | Pascal Rigaux | 2007-12-19 | 1 | -1/+1 |
| | | | | | o enhancement: only parse updated synthesis | ||||
* | statedir_MD5SUM must be removed | Pascal Rigaux | 2007-12-19 | 1 | -1/+1 |
| | |||||
* | - urpmi.update, urpmi.addmedia, urpmi.removemedia: | Pascal Rigaux | 2007-12-19 | 1 | -6/+0 |
| | | | | | | | o drop option "-c" which used to clean /var/cache/urpmi/headers since we don't use that dir anymore :) | ||||
* | rename functions (there is only one pass now) | Pascal Rigaux | 2007-12-19 | 1 | -4/+4 |
| | |||||
* | don't allow getting a different pubkey unless using forcekey | Pascal Rigaux | 2007-12-19 | 1 | -4/+3 |
| | | | | | (ie revert to behaviour prior to 2007-12-10) | ||||
* | fix comment | Pascal Rigaux | 2007-12-19 | 1 | -2/+2 |
| | |||||
* | simplify | Pascal Rigaux | 2007-12-19 | 1 | -7/+9 |
| | |||||
* | move things where it should be done | Pascal Rigaux | 2007-12-19 | 1 | -11/+5 |
| | |||||
* | simplify | Pascal Rigaux | 2007-12-19 | 1 | -13/+4 |
| | |||||
* | small cleanup | Pascal Rigaux | 2007-12-19 | 1 | -5/+5 |
| | |||||
* | o replace /var/lib/urpmi/MD5SUM with /var/lib/urpmi/MD5SUM.<medium_name> | Pascal Rigaux | 2007-12-19 | 1 | -112/+62 |
| | | | | | | | | | (this will allow checking xml media_info is up-to-date even if we don't update it at the same time as synthesis is updated) and further cleanup urpm::media code (esp. modify {force} behaviour, may need some adjustments) | ||||
* | since we check md5sum, don't also check size & mtime | Pascal Rigaux | 2007-12-19 | 1 | -14/+2 |
| | |||||
* | - all tools: | Pascal Rigaux | 2007-12-19 | 1 | -567/+206 |
| | | | | | o drop hdlist support (will be replaced with xml media_info) | ||||
* | - urpmi: | Pascal Rigaux | 2007-12-12 | 1 | -13/+0 |
| | | | | | | | | | o fix handling "post-clean: 0" in urpmi.cfg (#36082, regression introduced 2007-11-28) - library: o urpm::media::read_config() doesn't read urpmi.cfg global options anymore, use urpm->get_global_options or urpm->new_parse_cmdline | ||||
* | fix typo in previous commit | Pascal Rigaux | 2007-12-10 | 1 | -1/+1 |
| | |||||
* | - urpmi.addmedia: | Pascal Rigaux | 2007-12-10 | 1 | -11/+6 |
| | | | | | | o adapt to perl-URPM 2.11 API to parse pubkey files (nb: $urpm->{keys} is not used anymore) | ||||
* | not being able to access the medium directory (for a local medium) is an error! | Pascal Rigaux | 2007-12-05 | 1 | -1/+1 |
| | |||||
* | - urpmi.addmedia: | Pascal Rigaux | 2007-12-05 | 1 | -0/+3 |
| | | | | | | | | o exit code 1 when a medium can't be added and simplifies a mess in urpmi.addmedia: this mess is not needed anymore since update_media() will exit on error | ||||
* | - urpmi.update: | Pascal Rigaux | 2007-12-05 | 1 | -3/+12 |
| | | | | | | | | o exit code 1 when a (selected) medium can't be updated (#35952) o leave early with error if no medium were successfull updated nb: also fix returning "unmodified" instead of "1" when a medium is not updated | ||||
* | factorize default options, and have them by default in $urpm->{options} | Pascal Rigaux | 2007-11-28 | 1 | -5/+0 |
| | |||||
* | - urpmi | Pascal Rigaux | 2007-11-19 | 1 | -1/+1 |
| | | | | | | | | | o --auto-update is quite unsafe, but at least now it should be cleaner (ensure $urpm doesn't have media twice) bug triggered by --auto-update --update. still --auto-update --update should not update non-update media... | ||||
* | - library: | Pascal Rigaux | 2007-10-04 | 1 | -0/+4 |
| | | | | | o urpm::media::add_distrib_media: add option "only_updates" for rpmdrake | ||||
* | - urpm::media::update_media: | Pascal Rigaux | 2007-09-27 | 1 | -9/+13 |
| | | | | | | | | | o ensure a second pass is done even if media has not been modified (useful for the %trigger trick done in urpmi to rebuild synthesis with suggests) without it, file provides are not computed properly | ||||
* | handle --searchmedia <media1>,...,<mediaN> | Pascal Rigaux | 2007-09-06 | 1 | -7/+3 |
| | | | | | (ie more than one searchmedia) | ||||
* | - urpmi | Pascal Rigaux | 2007-09-05 | 1 | -1/+1 |
| | | | | | | | o handle --searchmedia <media1>,...,<mediaN> (asked by tvignaud for rpmdrake) | ||||
* | inline function select_media() (for next commit) | Pascal Rigaux | 2007-09-05 | 1 | -4/+5 |
| | |||||
* | make it more robust when no password is found in urpmi's netrc | Pascal Rigaux | 2007-08-30 | 1 | -1/+1 |
| | |||||
* | move get_packages_list() (for next commit) | Pascal Rigaux | 2007-08-11 | 1 | -17/+2 |
| | |||||
* | allow using --skip even if skip.list file is missing | Pascal Rigaux | 2007-08-11 | 1 | -1/+1 |
| | |||||
* | - all tools | Pascal Rigaux | 2007-08-11 | 1 | -4/+5 |
| | | | | | o new option --wait-lock (#13025) | ||||
* | remove duplicated \n | Pascal Rigaux | 2007-07-06 | 1 | -1/+1 |
| | |||||
* | fix typos | Pascal Rigaux | 2007-07-05 | 1 | -2/+2 |
| | |||||
* | - when adding media with --distrib, ignore incompatible media according arch | Olivier Thauvin | 2007-07-05 | 1 | -0/+7 |
| | |||||
* | - urpmi.addmedia --distrib, urpmi/urpme/urpmf/urpmq --use-distrib | Pascal Rigaux | 2007-06-18 | 1 | -9/+14 |
| | | | | | | | | | | | o media.cfg per media field hdlist=hdlist_xxx.cz is not used anymore, xxx/media_info/hdlist.cz is used instead. To get previous behaviour, use option --use-copied-hdlist or use_copied_hdlist=1 in media.cfg beware: this modifies the behaviour of urpmi, especially for multi CDs media which were the only one really using the hdlist-copied-in-media/media_info feature | ||||
* | - urpmi.addmedia | Pascal Rigaux | 2007-06-18 | 1 | -5/+4 |
| | | | | | o fix reconfig.urpmi use | ||||
* | - urpmi.update | Pascal Rigaux | 2007-06-18 | 1 | -3/+2 |
| | | | | | | o only copy previous hdlist in cache dir for rsync, don't do it for wget/curl (it's useless and potentially dangerous when used with "resume") | ||||
* | cleanup | Pascal Rigaux | 2007-06-18 | 1 | -2/+3 |
| | |||||
* | simplify (callback is never passed as parameter) | Pascal Rigaux | 2007-05-31 | 1 | -3/+3 |
| | |||||
* | - urpmi.addmedia | Pascal Rigaux | 2007-05-29 | 1 | -1/+1 |
| | | | | | | | o [bugfix] fix using "with synthesis.hdlist.cz" (#31081) (regexp m!(^|/)synthesis\.! is tricky in list context :-/) | ||||
* | urpmf: allow using hdlist on mounted cdrom | Pascal Rigaux | 2007-05-09 | 1 | -2/+2 |
| | | | | | (a better fix would be to ask to mount cdrom) |