summaryrefslogtreecommitdiffstats
path: root/urpm/media.pm
Commit message (Collapse)AuthorAgeFilesLines
* perl_checker cleanupsThierry Vignaud2012-01-061-3/+3
|
* (configure,_auto_update_media,parse_media,update_media) fix (g)urpmiThierry Vignaud2011-09-141-4/+4
| | | | | | | --auto-select --update defaulting to all media when there're no update media (#1024) (syncing with currently shipped urpmi)
* Synthesized commit during git-svn import combining previous Mandriva history ↵Mageia SVN-Git Migration2011-09-131-1/+1
| | | | | | | | | | | | with Magiea. This commit consitsts of the following subversion commits: ------------------------------------------------------------------------ r1928 | dmorgan | 2011-09-13 21:44:28 +0100 (Tue, 13 Sep 2011) | 1 line Import urpmi ------------------------------------------------------------------------
* - fix warning : "Use of uninitialized value in numeric lt (<) at ↵Michael Scherer2010-07-301-1/+1
| | | | urpm/media.pm line 1668."
* add --zeroconf support in urpmi.addmediaOlivier Blin2010-06-161-1/+56
|
* when using --update, allow to get dependencies from non-update mediaChristophe Fergeau2010-04-231-3/+11
| | | | Fixes #51268
* (add_distrib_media) disable non-free repository by default for FreeThierry Vignaud2010-02-251-8/+7
| | | | edition instead of not adding them (#40033)
* perl_checker cleanupsThierry Vignaud2010-02-241-3/+3
|
* (add_distrib_media) do not add non-free repository by default for Free ↵Thierry Vignaud2010-02-241-0/+11
| | | | edition (#40033)
* - add md5sum module, as it is used later. It is cleaner to delcare what ↵Michael Scherer2010-01-221-0/+1
| | | | | | | module are used instead of relying on others modules to load it. This also prevent some loop and warnings.
* don't crash when parsing an invalid media.cfg file in /etc/urpmi/mediacfg.dChristophe Fergeau2010-01-151-1/+1
|
* perl_checker cleanupChristophe Fergeau2010-01-121-1/+1
|
* fix handling of media with redirectionsChristophe Fergeau2010-01-121-1/+1
| | | | This was broken when trying to handle $RELEASE/$ARCH in urpmi.addmedia
* honour $RELEASE/$ARCH/... in urpmi.addmedia --distribChristophe Fergeau2010-01-121-3/+5
|
* don't cache media.cfg files on virtual mediaChristophe Fergeau2009-11-101-2/+6
| | | | | | media.cfg files were cached to /etc/urpmi/media.cfg even when using --use-distrib or other media for which we don't want to cache the media matadata. Make sure we no longer do that.
* (_compute_flags_for_skiplist) do not display skiped packages on console by ↵Thierry Vignaud2009-10-021-1/+1
| | | | default with rpmdrake
* add per-media disable-certificate-check optionChristophe Fergeau2009-09-251-0/+1
|
* revert bogus commit r259891Thierry Vignaud2009-09-031-1/+1
|
* add missing parameterThierry Vignaud2009-09-031-1/+1
|
* prevent perl_checker to comply about this (urpmi does _NOT_ use MDK::Common)Thierry Vignaud2009-09-031-3/+3
|
* more perl_checker cleanupsThierry Vignaud2009-09-031-0/+2
|
* missing argumentThierry Vignaud2009-09-031-1/+1
|
* (_cleanup_mediacfg_dir) kill unused variableThierry Vignaud2009-09-031-2/+0
|
* (_remove_medium_from_mediacfg) fix using actually given arguments... (#53097)Thierry Vignaud2009-09-031-1/+1
|
* minor perl_checker cleanups in order to reduce SNRThierry Vignaud2009-09-031-23/+21
|
* don't attempt to expand empty media urls, fixes #52860Christophe Fergeau2009-08-171-1/+1
|
* remove debugging printChristophe Fergeau2009-08-131-4/+0
|
* code cleanups, small fixes in media.cfg savingChristophe Fergeau2009-08-131-25/+20
|
* Save media.cfg files locally to map urpmi.cfg media to media.cfgChristophe Fergeau2009-08-131-3/+155
| | | | | | | | | | | To make it possible to associate more metainformation with the media stored in urpmi.cfg, we need to be able to associate a given urpmi.cfg medium with the media.cfg files it was created from. To do that, we save media.cfg files locally in /etc/urpmi/mediacfg.d/$name with an additional 'url' or 'mirrorlist' files. Those files are used to resolve the relative names stored in media.cfg so that we can associate them with the absolute names stored in urpmi.cfg. The mediacfg.d dir is cleaned up when a medium is removed (if necessary).
* take into account $RELEASE, $ARCH in urls passed to urpmi.addmediaChristophe Fergeau2009-08-111-0/+3
| | | | Fixes bug #52276
* (parse_media) fix latest commit 255088 from cfergeau: ->{debug} mayThierry Vignaud2009-03-311-1/+1
| | | | | not always exist (#49354), side effect of #49226 fix
* Downgrade cryptic log message to debug message, fixes #49226Christophe Fergeau2009-03-301-1/+1
|
* fix previous commitPascal Rigaux2009-01-281-0/+1
| | | | | (drop support for /etc/urpmi/media.d/*.cfg)
* - drop support for /etc/urpmi/media.d/*.cfgPascal Rigaux2009-01-281-32/+3
| | | | | | | (was partially broken, non documented and hopefully unused) (mostly reverting commit 234656 which introduced that feature)
* use "use strict" in all modulesPascal Rigaux2009-01-061-0/+1
|
* create update_those_media() out of update_media()Pascal Rigaux2008-11-141-5/+11
| | | | | (to be used in urpmi.update)
* - inline _update_media__handle_some_flags()Pascal Rigaux2008-11-141-15/+16
| | | | | - create all_media_to_update() and use it
* use callback for progression of download when using "xml-info: always"Pascal Rigaux2008-11-141-1/+1
|
* fix commentPascal Rigaux2008-11-031-1/+1
|
* - urpmiPascal Rigaux2008-10-311-4/+2
| | | | | o revert --auto-update behaviour in case of media update failures (#45417)
* - urpmi, gurpmiPascal Rigaux2008-10-211-2/+3
| | | | | o allow "retry" on aria2 download failure
* - urpmi.update, urpmi.addmediaPascal Rigaux2008-10-211-0/+2
| | | | | | | | o exit on failing media instead of ignoring them (esp. for urpmi.addmedia --distrib). exceptions: "urpmi.update -a" and "urpmi.update --update" for backward compatibility
* cleanup: split _get_pubkey_and_descriptions() into _get_descriptions() and ↵Pascal Rigaux2008-10-201-4/+9
| | | | _may_get_pubkey()
* add missing para to _get_pubkey()Pascal Rigaux2008-10-201-1/+1
|
* make things more clear: do not "delete $medium->{key-ids}" to ensure we don'tPascal Rigaux2008-10-201-9/+7
| | | | | loose key-ids for media we don't update (??)
* - urpmi.updatePascal Rigaux2008-10-201-0/+5
| | | | | | | | | o fix --force-key (#45094) nb: 2 cases must be handled. When the medium is updated, we just need to ensure urpmi.cfg is written. But when it's not updated, we must do a special case
* handle {forcekey} elsewhere (for next commit)Pascal Rigaux2008-10-201-5/+7
|
* move some code into _get_pubkey()Pascal Rigaux2008-10-201-7/+14
| | | | | (for next commits)
* - urpmiPascal Rigaux2008-10-201-1/+1
| | | | | o fix --auto-update ignoring --media and default-media (#45097)
* - urpmi.update, urpmi.addmedia, urpmi.removemedia:Pascal Rigaux2008-10-141-5/+5
| | | | | | | o do not check wether the media are valid, it allows "mv /etc/urpmi/urpmi.cfg.{backup,} ; urpmi.update -a" to work (nb: not equivalent with urpmi.addmedia, since pubkey will not be imported)