Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | add_distrib_media(): be sure to override "with-dir" when calling add_medium() | Pascal Rigaux | 2008-03-28 | 1 | -1/+1 |
| | | | | | (gurpmi.addmedia was plaggued by this, but it is fixed in gurpmi.addmedia too) | ||||
* | nicer error message | Pascal Rigaux | 2008-03-06 | 1 | -1/+1 |
| | |||||
* | simplify | Pascal Rigaux | 2008-03-03 | 1 | -1/+1 |
| | |||||
* | correctly name function since it's outside of its module | Pascal Rigaux | 2008-03-03 | 1 | -2/+2 |
| | |||||
* | - urpmq: | Pascal Rigaux | 2008-03-03 | 1 | -0/+21 |
| | | | | | | | | 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) | ||||
* | - create non_modified_media() and use it | Pascal Rigaux | 2008-03-03 | 1 | -8/+14 |
| | | | | | - rename _parse_media() into parse_media() for next commit | ||||
* | - urpmf, urpmq: | Pascal Rigaux | 2008-03-03 | 1 | -2/+2 |
| | | | | | o never display raw downloader output, otherwise output is very messy (#38125) | ||||
* | move is_iso to urpm::media and rename it | Pascal Rigaux | 2008-02-29 | 1 | -1/+6 |
| | |||||
* | do not download on the fly xml-info unless we know if it is available | Pascal Rigaux | 2008-02-29 | 1 | -3/+2 |
| | | | | | | (useful for the cdrom case where there is no MD5SUM, but we take care of xml-info during urpmi.addmedia, never afterwards) | ||||
* | fix --mirrorlist broken by _migrate_removable_device | Pascal Rigaux | 2008-02-29 | 1 | -1/+3 |
| | |||||
* | - urpmf, urpmq: | Pascal Rigaux | 2008-02-28 | 1 | -0/+5 |
| | | | | | o do not try to download xml-info if it's not available (#38125) | ||||
* | fix typo | Pascal Rigaux | 2008-02-27 | 1 | -2/+2 |
| | |||||
* | - create _migrate_removable_url out of _migrate_removable_device | Pascal Rigaux | 2008-02-27 | 1 | -9/+23 |
| | | | | | - do keep our url scheme for cdroms (#30613) | ||||
* | - adapt "we want to copy lzma from cds" to new cdrom:// scheme | Pascal Rigaux | 2008-02-27 | 1 | -1/+2 |
| | | | | | - missing lzma on cds is not a failure | ||||
* | - all tools: | Pascal Rigaux | 2008-02-27 | 1 | -39/+23 |
| | | | | | o cdrom:// replaces removable:// | ||||
* | - create file_from_local_medium(), and use it where possible instead of | Pascal Rigaux | 2008-02-27 | 1 | -12/+12 |
| | | | | | | | | | 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://) | ||||
* | create is_local_medium() and is_local_url() | Pascal Rigaux | 2008-02-27 | 1 | -4/+4 |
| | |||||
* | internally use {iso} instead of {removable} for iso files | Pascal Rigaux | 2008-02-27 | 1 | -4/+4 |
| | | | | | (to make things more clear) | ||||
* | there is no reason not to use {removable} only for iso | Pascal Rigaux | 2008-02-27 | 1 | -2/+1 |
| | |||||
* | what we really want here is the place where the synthesis is, so in the case | Pascal Rigaux | 2008-02-27 | 1 | -3/+3 |
| | | | | | of {with_synthesis}, we want to check/mount there | ||||
* | create separate function to mount iso | Pascal Rigaux | 2008-02-27 | 1 | -1/+1 |
| | |||||
* | - since find_mntpoints doesn't really return a list, make it clear | Pascal Rigaux | 2008-02-26 | 1 | -10/+4 |
| | | | | | - return a struct instead of using %info + returned value | ||||
* | - urpmi, urpmi.addmedia, urpmi.update: | Pascal Rigaux | 2008-02-24 | 1 | -5/+5 |
| | | | | | | o have fatal errors on some errors that must not happen (eg: moving rpm from download dir to cachedir) | ||||
* | urpmf: fix mirrolist handling | Pascal Rigaux | 2008-02-23 | 1 | -2/+3 |
| | |||||
* | - all tools: | Pascal Rigaux | 2008-02-23 | 1 | -14/+71 |
| | | | | | | o handle mirrorlist (need perl-Zone-TimeInfo patched for geolocalisation) | ||||
* | - urpmi.addmedia | Pascal Rigaux | 2008-02-23 | 1 | -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 Rigaux | 2008-02-23 | 1 | -7/+7 |
| | |||||
* | fix typo calling _is_local_virtual | Pascal Rigaux | 2008-02-23 | 1 | -1/+1 |
| | |||||
* | rename conf_file__rel_media into with-dir | Pascal Rigaux | 2008-02-21 | 1 | -1/+1 |
| | | | | | (since it will be used in urpmi.cfg too, it needs a less verbose name) | ||||
* | create _new_distribconf_and_download() and use it | Pascal Rigaux | 2008-02-21 | 1 | -6/+15 |
| | | | | | (for future commit) | ||||
* | - fix typo _is_local_virtual() and _is_remote_virtual() | Pascal Rigaux | 2008-02-21 | 1 | -6/+11 |
| | | | | | - introduce _local_file() | ||||
* | - urpmi handles /etc/urpmi/media.d/*.cfg | Pascal Rigaux | 2008-02-14 | 1 | -4/+36 |
| | | | | | | | as an alternative to using urpmi.addmedia nb: need documentation | ||||
* | - urpmi.update, urpmi.addmedia: | Pascal Rigaux | 2008-02-06 | 1 | -6/+31 |
| | | | | | | o handle --virtual for remove media (a better name would be "auto-update", a la yum) | ||||
* | nocheck_access is quite wrong nowadays afaik | Pascal Rigaux | 2008-02-05 | 1 | -10/+7 |
| | |||||
* | - urpmi.update, urpmi.addmedia: | Pascal Rigaux | 2008-02-05 | 1 | -49/+6 |
| | | | | | | o do not parse synthesis o drop /var/lib/urpmi/names.<medium> | ||||
* | - urpmi, urpme, urpmq, urpmf: | Pascal Rigaux | 2008-02-05 | 1 | -1/+1 |
| | | | | | | | o fix --use-distrib (and add test to ensure it never breaks again) | ||||
* | - library: | Pascal Rigaux | 2008-02-04 | 1 | -9/+10 |
| | | | | | o since any_xml_info can be slow, add a "callback" option (#37264) | ||||
* | - urpmi.cfg: | Pascal Rigaux | 2008-02-04 | 1 | -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 with | Pascal Rigaux | 2008-02-01 | 1 | -5/+0 |
| | | | | | $medium->{modified} set | ||||
* | changing the way --synthesis is done in urpm::media::configure. | Pascal Rigaux | 2008-01-30 | 1 | -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.0 | Pascal Rigaux | 2008-01-11 | 1 | -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 Rigaux | 2008-01-11 | 1 | -3/+7 |
| | |||||
* | create _copy_media_info_file() out of _get_list_or_pubkey__local() | Pascal Rigaux | 2008-01-11 | 1 | -5/+14 |
| | |||||
* | no_second_pass option is no more (since "drop hdlist support") | Pascal Rigaux | 2008-01-10 | 1 | -1/+0 |
| | |||||
* | when doing urpmi.addmedia on a remote medium, we first look for | Pascal Rigaux | 2008-01-08 | 1 | -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 Rigaux | 2008-01-08 | 1 | -1/+1 |
| | | | | "retrieval" works better for both copied/retrieved cases | ||||
* | drop synthesis_for_virtual_medium() since it is unused | Pascal Rigaux | 2008-01-08 | 1 | -4/+0 |
| | |||||
* | create _download_MD5SUM() out of ↵ | Pascal Rigaux | 2008-01-08 | 1 | -6/+12 |
| | | | | _update_medium__parse_if_unmodified__remote() for future use | ||||
* | cosmetic: display "updated medium xxx" when we're done with it | Pascal Rigaux | 2008-01-08 | 1 | -5/+4 |
| | |||||
* | - rename _get_list_or_pubkey__remote() into _download_list_or_pubkey() | Pascal Rigaux | 2008-01-08 | 1 | -4/+11 |
| | | | | | - create _download_media_info_file() out of _download_list_or_pubkey() for future use |