| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
| |
o don't fail on remaining statedir files (#36267)
(especially useful when using media.d/*.cfg)
|
| |
|
| |
|
|
|
|
|
| |
(since it will be used in urpmi.cfg too, it needs a less verbose name)
|
|
|
|
|
| |
(for future commit)
|
|
|
|
|
| |
- introduce _local_file()
|
|
|
|
|
|
|
| |
as an alternative to using urpmi.addmedia
nb: need documentation
|
|
|
|
|
|
| |
o handle --virtual for remove media
(a better name would be "auto-update", a la yum)
|
| |
|
|
|
|
|
|
| |
o do not parse synthesis
o drop /var/lib/urpmi/names.<medium>
|
|
|
|
|
|
|
| |
o fix --use-distrib
(and add test to ensure it never breaks again)
|
|
|
|
|
| |
o since any_xml_info can be slow, add a "callback" option (#37264)
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
| |
$medium->{modified} set
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- 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
|
| |
|
| |
|
| |
|
|
|
|
|
|
| |
synthesis.hdlist.cz, but we should also download MD5SUM and check
synthesis.hdlist.cz (the checking was only done on urpmi.update)
|
|
|
|
| |
"retrieval" works better for both copied/retrieved cases
|
| |
|
|
|
|
| |
_update_medium__parse_if_unmodified__remote() for future use
|
| |
|
|
|
|
|
| |
- create _download_media_info_file() out of _download_list_or_pubkey() for future use
|
| |
|
|
|
|
|
| |
o enhancement: only parse updated synthesis
|
| |
|
|
|
|
|
|
|
| |
o drop option "-c" which used to clean /var/cache/urpmi/headers
since we don't use that dir anymore :)
|
| |
|
|
|
|
|
| |
(ie revert to behaviour prior to 2007-12-10)
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
| |
(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)
|
| |
|
|
|
|
|
| |
o drop hdlist support (will be replaced with xml media_info)
|
|
|
|
|
|
|
|
|
| |
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
|
| |
|
|
|
|
|
|
| |
o adapt to perl-URPM 2.11 API to parse pubkey files
(nb: $urpm->{keys} is not used anymore)
|
| |
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
| |
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
|
| |
|
|
|
|
|
|
|
|
|
| |
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...
|
|
|
|
|
| |
o urpm::media::add_distrib_media: add option "only_updates" for rpmdrake
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
| |
(ie more than one searchmedia)
|