summaryrefslogtreecommitdiffstats
path: root/urpm/media.pm
Commit message (Collapse)AuthorAgeFilesLines
* create separate function to mount isoPascal Rigaux2008-02-271-1/+1
|
* - since find_mntpoints doesn't really return a list, make it clearPascal Rigaux2008-02-261-10/+4
| | | | | - return a struct instead of using %info + returned value
* - urpmi, urpmi.addmedia, urpmi.update:Pascal Rigaux2008-02-241-5/+5
| | | | | | o have fatal errors on some errors that must not happen (eg: moving rpm from download dir to cachedir)
* urpmf: fix mirrolist handlingPascal Rigaux2008-02-231-2/+3
|
* - all tools:Pascal Rigaux2008-02-231-14/+71
| | | | | | o handle mirrorlist (need perl-Zone-TimeInfo patched for geolocalisation)
* - urpmi.addmediaPascal Rigaux2008-02-231-4/+13
| | | | | | o don't fail on remaining statedir files (#36267) (especially useful when using media.d/*.cfg)
* simplify ("list" is not used anymore)Pascal Rigaux2008-02-231-7/+7
|
* fix typo calling _is_local_virtualPascal Rigaux2008-02-231-1/+1
|
* rename conf_file__rel_media into with-dirPascal Rigaux2008-02-211-1/+1
| | | | | (since it will be used in urpmi.cfg too, it needs a less verbose name)
* create _new_distribconf_and_download() and use itPascal Rigaux2008-02-211-6/+15
| | | | | (for future commit)
* - fix typo _is_local_virtual() and _is_remote_virtual()Pascal Rigaux2008-02-211-6/+11
| | | | | - introduce _local_file()
* - urpmi handles /etc/urpmi/media.d/*.cfgPascal Rigaux2008-02-141-4/+36
| | | | | | | as an alternative to using urpmi.addmedia nb: need documentation
* - urpmi.update, urpmi.addmedia:Pascal Rigaux2008-02-061-6/+31
| | | | | | o handle --virtual for remove media (a better name would be "auto-update", a la yum)
* nocheck_access is quite wrong nowadays afaikPascal Rigaux2008-02-051-10/+7
|
* - urpmi.update, urpmi.addmedia:Pascal Rigaux2008-02-051-49/+6
| | | | | | o do not parse synthesis o drop /var/lib/urpmi/names.<medium>
* - urpmi, urpme, urpmq, urpmf:Pascal Rigaux2008-02-051-1/+1
| | | | | | | o fix --use-distrib (and add test to ensure it never breaks again)
* - library:Pascal Rigaux2008-02-041-9/+10
| | | | | o since any_xml_info can be slow, add a "callback" option (#37264)
* - urpmi.cfg:Pascal Rigaux2008-02-041-6/+38
| | | | | | | | | | | o "media_info_dir: media_info" is the default o "no-media-info" is used for media for which media_info must be built from rpms the goal of this change is to allow upcoming /etc/urpmi/media.d/*.cfg (or whatever they will be called) to skip mentionning media_info_dir, but also to cleanup urpmi.cfg
* simplify: _update_medium() and _update_medium_() are always called withPascal Rigaux2008-02-011-5/+0
| | | | | $medium->{modified} set
* changing the way --synthesis is done in urpm::media::configure.Pascal Rigaux2008-01-301-6/+13
| | | | | | | | This is used by urpmi/urpmq/urpmf. --synthesis will now be more similar to using a virtual medium (a la --use-distrib), compared to really only using the given synthesis.
* - 5.0Pascal Rigaux2008-01-111-16/+142
| | | | | | | | | | | | | | | | | | | - urpmf, urpmq: o use xml info instead of hdlist when possible o "urpmq -l" is faster (3x) o "urpmf -l" is slower (1.5x) o "urpmf --sourcerpm" is much faster o see "xml-info" option in urpmi.cfg(5) to see when those files are downloaded o new require: perl module XML::LibXML - urpmq: o use rpm file instead of hdlist/xml-info when file is local o use URPM::Package->changelogs (need perl-URPM 3.06) - urpmi.update, urpmi.addmedia, urpmi.removemedia: o drop hdlist support replaced with xml media_info (this imply file-deps are correctly handled, see genhdlist2(1)) - urpmi.addmedia o new --xml-info option
* factorize code with statedir_media_info_file()Pascal Rigaux2008-01-111-3/+7
|
* create _copy_media_info_file() out of _get_list_or_pubkey__local()Pascal Rigaux2008-01-111-5/+14
|
* no_second_pass option is no more (since "drop hdlist support")Pascal Rigaux2008-01-101-1/+0
|
* when doing urpmi.addmedia on a remote medium, we first look forPascal Rigaux2008-01-081-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 Rigaux2008-01-081-1/+1
| | | | "retrieval" works better for both copied/retrieved cases
* drop synthesis_for_virtual_medium() since it is unusedPascal Rigaux2008-01-081-4/+0
|
* create _download_MD5SUM() out of ↵Pascal Rigaux2008-01-081-6/+12
| | | | _update_medium__parse_if_unmodified__remote() for future use
* cosmetic: display "updated medium xxx" when we're done with itPascal Rigaux2008-01-081-5/+4
|
* - rename _get_list_or_pubkey__remote() into _download_list_or_pubkey()Pascal Rigaux2008-01-081-4/+11
| | | | | - create _download_media_info_file() out of _download_list_or_pubkey() for future use
* create get_medium_option() for future usePascal Rigaux2008-01-081-0/+6
|
* - urpmi.update, urpmi.addmedia, urpmi.removemedia:Pascal Rigaux2007-12-191-1/+1
| | | | | o enhancement: only parse updated synthesis
* statedir_MD5SUM must be removedPascal Rigaux2007-12-191-1/+1
|
* - 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