| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
| |
o fix --no-md5sum (regression introduced in 5.20) (#41237)
|
|
|
|
|
|
|
| |
o check downloaded MD5SUM is not invalid HTML code, and try
another mirror from mirrorlist (#39918)
(useful for servers not returning a valid HTTP error)
|
| |
|
|
|
|
|
|
| |
o check downloaded synthesis is not invalid HTML code (#39918)
(useful for servers not returning a valid HTTP error)
|
|
|
|
|
|
|
| |
o fix checking synthesis MD5SUM
ie fix typo
|
|
|
|
|
|
| |
o in some cases (iso on disk), the hdlist is not available in
media/xxx/media_info/, but we can use the statedir copy. So use it
|
|
|
|
|
|
| |
o --mirrorlist: if the retrieved media.cfg is broken, try another mirror
(#39591, it also workarounds #39592)
|
|
|
|
|
|
| |
o correctly handle media with no xml-info when using "xml-info: always"
(#39521)
|
|
|
|
| |
next commit
|
|
|
|
|
| |
(gurpmi.addmedia was plaggued by this, but it is fixed in gurpmi.addmedia too)
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
| |
o --list: speed it up (2.5x faster, and 6x faster with names.<medium>)
- all tools:
o restore generation of /var/lib/urpmi/names.<medium>, but it is now done in
urpmq/urpmi/urpmf (and so only if used as root)
|
|
|
|
|
| |
- rename _parse_media() into parse_media() for next commit
|
|
|
|
|
| |
o never display raw downloader output, otherwise output is very messy (#38125)
|
| |
|
|
|
|
|
|
| |
(useful for the cdrom case where there is no MD5SUM, but we take care of
xml-info during urpmi.addmedia, never afterwards)
|
| |
|
|
|
|
|
| |
o do not try to download xml-info if it's not available (#38125)
|
| |
|
|
|
|
|
| |
- do keep our url scheme for cdroms (#30613)
|
|
|
|
|
| |
- missing lzma on cds is not a failure
|
|
|
|
|
| |
o cdrom:// replaces removable://
|
|
|
|
|
|
|
|
|
| |
file_from_local_url()
- in urpm::removable, this implies passing $blist around
nb: for now file_from_local_medium() doesn't use the first parameter if url is
given, but future commit will use both (needed for {url} cdrom://)
|
| |
|
|
|
|
|
| |
(to make things more clear)
|
| |
|
|
|
|
|
| |
of {with_synthesis}, we want to check/mount there
|
| |
|
|
|
|
|
| |
- return a struct instead of using %info + returned value
|
|
|
|
|
|
| |
o have fatal errors on some errors that must not happen (eg: moving rpm from
download dir to cachedir)
|
| |
|
|
|
|
|
|
| |
o handle mirrorlist
(need perl-Zone-TimeInfo patched for geolocalisation)
|
|
|
|
|
|
| |
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
|