summaryrefslogtreecommitdiffstats
path: root/urpm/media.pm
Commit message (Collapse)AuthorAgeFilesLines
* - urpmi.update, urpmi.addmedia, urpmi.removemedia:Pascal Rigaux2007-12-191-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 Rigaux2007-12-191-4/+4
|
* don't allow getting a different pubkey unless using forcekey Pascal Rigaux2007-12-191-4/+3
| | | | | (ie revert to behaviour prior to 2007-12-10)
* fix commentPascal Rigaux2007-12-191-2/+2
|
* simplifyPascal Rigaux2007-12-191-7/+9
|
* move things where it should be donePascal Rigaux2007-12-191-11/+5
|
* simplifyPascal Rigaux2007-12-191-13/+4
|
* small cleanupPascal Rigaux2007-12-191-5/+5
|
* o replace /var/lib/urpmi/MD5SUM with /var/lib/urpmi/MD5SUM.<medium_name>Pascal Rigaux2007-12-191-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 & mtimePascal Rigaux2007-12-191-14/+2
|
* - all tools:Pascal Rigaux2007-12-191-567/+206
| | | | | o drop hdlist support (will be replaced with xml media_info)
* - urpmi:Pascal Rigaux2007-12-121-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 commitPascal Rigaux2007-12-101-1/+1
|
* - urpmi.addmedia:Pascal Rigaux2007-12-101-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 Rigaux2007-12-051-1/+1
|
* - urpmi.addmedia:Pascal Rigaux2007-12-051-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 Rigaux2007-12-051-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 Rigaux2007-11-281-5/+0
|
* - urpmiPascal Rigaux2007-11-191-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 Rigaux2007-10-041-0/+4
| | | | | o urpm::media::add_distrib_media: add option "only_updates" for rpmdrake
* - urpm::media::update_media:Pascal Rigaux2007-09-271-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 Rigaux2007-09-061-7/+3
| | | | | (ie more than one searchmedia)
* - urpmiPascal Rigaux2007-09-051-1/+1
| | | | | | | o handle --searchmedia <media1>,...,<mediaN> (asked by tvignaud for rpmdrake)
* inline function select_media() (for next commit)Pascal Rigaux2007-09-051-4/+5
|
* make it more robust when no password is found in urpmi's netrcPascal Rigaux2007-08-301-1/+1
|
* move get_packages_list() (for next commit)Pascal Rigaux2007-08-111-17/+2
|
* allow using --skip even if skip.list file is missingPascal Rigaux2007-08-111-1/+1
|
* - all toolsPascal Rigaux2007-08-111-4/+5
| | | | | o new option --wait-lock (#13025)
* remove duplicated \nPascal Rigaux2007-07-061-1/+1
|
* fix typosPascal Rigaux2007-07-051-2/+2
|
* - when adding media with --distrib, ignore incompatible media according archOlivier Thauvin2007-07-051-0/+7
|
* - urpmi.addmedia --distrib, urpmi/urpme/urpmf/urpmq --use-distrib Pascal Rigaux2007-06-181-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.addmediaPascal Rigaux2007-06-181-5/+4
| | | | | o fix reconfig.urpmi use
* - urpmi.updatePascal Rigaux2007-06-181-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")
* cleanupPascal Rigaux2007-06-181-2/+3
|
* simplify (callback is never passed as parameter)Pascal Rigaux2007-05-311-3/+3
|
* - urpmi.addmediaPascal Rigaux2007-05-291-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 cdromPascal Rigaux2007-05-091-2/+2
| | | | | (a better fix would be to ask to mount cdrom)
* fix urpmi.addmedia foo removable://... (#30257)Pascal Rigaux2007-05-091-4/+4
|
* - urpmi.addmediaPascal Rigaux2007-05-041-1/+1
| | | | | | o [bugfix] look for media/$media_dir/media_info/pubkey instead of media/$media_dir/pubkey
* - urpmi.addmediaPascal Rigaux2007-05-041-0/+2
| | | | | | o with --distrib, don't use previous media's pubkey if a pubkey is missing (eg: use pubkey_main for media "Main Updates" when pubkey_main_updates is missing)
* log the copying of pubkeyPascal Rigaux2007-05-041-0/+1
|
* re-sync after the big svn lossPascal Rigaux2007-04-241-14/+9
|
* create _tempignore() and use itPascal Rigaux2007-01-101-16/+22
|
* simplifyPascal Rigaux2007-01-101-27/+15
|
* log fetching pubkeys, and cleanupPascal Rigaux2006-12-081-17/+18
|
* use media_info_dir for media just created with "... with <relative hdlist>"Pascal Rigaux2006-12-041-7/+26
|
* nicer commentPascal Rigaux2006-12-041-13/+27
|
* create /dev/null in chrootPascal Rigaux2006-11-291-2/+4
|
* directly set $urpm->{root}, it's simplerPascal Rigaux2006-11-291-2/+2
| | | | | (also use it in urpm::get_pkgs::selected2list() even if callers didn't pass it)