Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | add per-media disable-certificate-check option | Christophe Fergeau | 2009-09-25 | 1 | -0/+1 |
| | |||||
* | revert bogus commit r259891 | Thierry Vignaud | 2009-09-03 | 1 | -1/+1 |
| | |||||
* | add missing parameter | Thierry Vignaud | 2009-09-03 | 1 | -1/+1 |
| | |||||
* | prevent perl_checker to comply about this (urpmi does _NOT_ use MDK::Common) | Thierry Vignaud | 2009-09-03 | 1 | -3/+3 |
| | |||||
* | more perl_checker cleanups | Thierry Vignaud | 2009-09-03 | 1 | -0/+2 |
| | |||||
* | missing argument | Thierry Vignaud | 2009-09-03 | 1 | -1/+1 |
| | |||||
* | (_cleanup_mediacfg_dir) kill unused variable | Thierry Vignaud | 2009-09-03 | 1 | -2/+0 |
| | |||||
* | (_remove_medium_from_mediacfg) fix using actually given arguments... (#53097) | Thierry Vignaud | 2009-09-03 | 1 | -1/+1 |
| | |||||
* | minor perl_checker cleanups in order to reduce SNR | Thierry Vignaud | 2009-09-03 | 1 | -23/+21 |
| | |||||
* | don't attempt to expand empty media urls, fixes #52860 | Christophe Fergeau | 2009-08-17 | 1 | -1/+1 |
| | |||||
* | remove debugging print | Christophe Fergeau | 2009-08-13 | 1 | -4/+0 |
| | |||||
* | code cleanups, small fixes in media.cfg saving | Christophe Fergeau | 2009-08-13 | 1 | -25/+20 |
| | |||||
* | Save media.cfg files locally to map urpmi.cfg media to media.cfg | Christophe Fergeau | 2009-08-13 | 1 | -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.addmedia | Christophe Fergeau | 2009-08-11 | 1 | -0/+3 |
| | | | | Fixes bug #52276 | ||||
* | (parse_media) fix latest commit 255088 from cfergeau: ->{debug} may | Thierry Vignaud | 2009-03-31 | 1 | -1/+1 |
| | | | | | not always exist (#49354), side effect of #49226 fix | ||||
* | Downgrade cryptic log message to debug message, fixes #49226 | Christophe Fergeau | 2009-03-30 | 1 | -1/+1 |
| | |||||
* | fix previous commit | Pascal Rigaux | 2009-01-28 | 1 | -0/+1 |
| | | | | | (drop support for /etc/urpmi/media.d/*.cfg) | ||||
* | - drop support for /etc/urpmi/media.d/*.cfg | Pascal Rigaux | 2009-01-28 | 1 | -32/+3 |
| | | | | | | | (was partially broken, non documented and hopefully unused) (mostly reverting commit 234656 which introduced that feature) | ||||
* | use "use strict" in all modules | Pascal Rigaux | 2009-01-06 | 1 | -0/+1 |
| | |||||
* | create update_those_media() out of update_media() | Pascal Rigaux | 2008-11-14 | 1 | -5/+11 |
| | | | | | (to be used in urpmi.update) | ||||
* | - inline _update_media__handle_some_flags() | Pascal Rigaux | 2008-11-14 | 1 | -15/+16 |
| | | | | | - create all_media_to_update() and use it | ||||
* | use callback for progression of download when using "xml-info: always" | Pascal Rigaux | 2008-11-14 | 1 | -1/+1 |
| | |||||
* | fix comment | Pascal Rigaux | 2008-11-03 | 1 | -1/+1 |
| | |||||
* | - urpmi | Pascal Rigaux | 2008-10-31 | 1 | -4/+2 |
| | | | | | o revert --auto-update behaviour in case of media update failures (#45417) | ||||
* | - urpmi, gurpmi | Pascal Rigaux | 2008-10-21 | 1 | -2/+3 |
| | | | | | o allow "retry" on aria2 download failure | ||||
* | - urpmi.update, urpmi.addmedia | Pascal Rigaux | 2008-10-21 | 1 | -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 Rigaux | 2008-10-20 | 1 | -4/+9 |
| | | | | _may_get_pubkey() | ||||
* | add missing para to _get_pubkey() | Pascal Rigaux | 2008-10-20 | 1 | -1/+1 |
| | |||||
* | make things more clear: do not "delete $medium->{key-ids}" to ensure we don't | Pascal Rigaux | 2008-10-20 | 1 | -9/+7 |
| | | | | | loose key-ids for media we don't update (??) | ||||
* | - urpmi.update | Pascal Rigaux | 2008-10-20 | 1 | -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 Rigaux | 2008-10-20 | 1 | -5/+7 |
| | |||||
* | move some code into _get_pubkey() | Pascal Rigaux | 2008-10-20 | 1 | -7/+14 |
| | | | | | (for next commits) | ||||
* | - urpmi | Pascal Rigaux | 2008-10-20 | 1 | -1/+1 |
| | | | | | o fix --auto-update ignoring --media and default-media (#45097) | ||||
* | - urpmi.update, urpmi.addmedia, urpmi.removemedia: | Pascal Rigaux | 2008-10-14 | 1 | -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) | ||||
* | - urpmi.addmedia, urpmi.update: | Pascal Rigaux | 2008-09-23 | 1 | -10/+18 |
| | | | | | | o for remote media, instead of first checking reconfig.urpmi, try MD5SUM. If it fails try reconfig.urpmi | ||||
* | - urpmi.addmedia, urpmi.update: | Pascal Rigaux | 2008-09-23 | 1 | -1/+4 |
| | | | | | | o do not get "descriptions" on non "update" media since it's useless and potentially slow | ||||
* | - urpmi.addmedia, urpmi.update: | Pascal Rigaux | 2008-09-23 | 1 | -3/+1 |
| | | | | | o only look for "descriptions" in media_info/ | ||||
* | - use "versioned" media_info files | Pascal Rigaux | 2008-09-23 | 1 | -0/+26 |
| | | | | | | | | | | (needed for aria2 to handle mirrors not having some media_info/*) it fixes: - downloading parts of media_info file from different mirrors and failing to obtain a valid result - checking md5sum of media_info files | ||||
* | {allow_metalink} was used unitialised, so now always using use_metalink() and | Pascal Rigaux | 2008-09-23 | 1 | -2/+1 |
| | | | | | doing the memoizing inside use_metalink() | ||||
* | cleanup using new sync_rel_one() and new option "preclean" | Pascal Rigaux | 2008-09-23 | 1 | -23/+16 |
| | |||||
* | simplify: "$urpm->{cachedir}/partial" is the default "dir" where files are ↵ | Pascal Rigaux | 2008-09-23 | 1 | -4/+3 |
| | | | | downloaded | ||||
* | modify _download_media_info_file() prototype | Pascal Rigaux | 2008-09-23 | 1 | -10/+11 |
| | |||||
* | _retrieve_media_info_file_and_check_MD5SUM() is called from | Pascal Rigaux | 2008-09-23 | 1 | -2/+0 |
| | | | | | | _retrieve_xml_media_info_or_remove() which is called from _update_medium_(), so we are sure {parsed_md5sum} is already computed | ||||
* | use _download_media_info_file() in get_synthesis__remote() | Pascal Rigaux | 2008-09-23 | 1 | -4/+3 |
| | |||||
* | - normalize synthesis downloading: rename it in cachedir asap just like any ↵ | Pascal Rigaux | 2008-09-23 | 1 | -6/+7 |
| | | | | | | | other media_info files - create urpm::download::sync_rel_to() | ||||
* | prepare next commits: introduce $medium->{parsed_md5sum} | Pascal Rigaux | 2008-09-22 | 1 | -2/+6 |
| | |||||
* | move check_synthesis_md5sum() inside get_synthesis__remote() | Pascal Rigaux | 2008-09-22 | 1 | -2/+3 |
| | |||||
* | change parameter passing mode of get_synthesis__remote() | Pascal Rigaux | 2008-09-22 | 1 | -3/+3 |
| | |||||
* | - urpmi.addmedia: | Pascal Rigaux | 2008-09-22 | 1 | -44/+9 |
| | | | | | | | | | o for remote media, do not probe for media_info files in "./", do it only in "media_info/" the goal is to simplify the code, and to ensure things work nicely with mirrorlist/aria2 | ||||
* | create urpm::mirrors::try_probe() as a alternative solution to | Pascal Rigaux | 2008-09-22 | 1 | -10/+13 |
| | | | | | | urpm::mirrors::try() which ensure wrong path given by the user doesn't lead to mirrors being all blacklisted |