summaryrefslogtreecommitdiffstats
path: root/urpm/media.pm
Commit message (Collapse)AuthorAgeFilesLines
* use db_open_or_die_()Pascal Rigaux2008-07-011-1/+1
|
* - all tools:Pascal Rigaux2008-06-241-3/+23
| | | | | | | | o statedir files are now in /var/lib/urpmi/<medium-name>/ for eg: /var/lib/urpmi/synthesis.hdlist.<medium-name> is now /var/lib/urpmi/<medium-name>/synthesis.hdlist.cz it allows easier medium update without using urpmi.update (#31893)
* use @media_info_prefix_suffix and statedir_media_info_file()Pascal Rigaux2008-06-241-2/+11
| | | | | (useful for next commit)
* create statedir_media_info_basename() and use itPascal Rigaux2008-06-241-3/+8
|
* cleanupPascal Rigaux2008-06-241-8/+7
|
* - urpmi.addmedia, urpmi.update:Pascal Rigaux2008-06-051-2/+2
| | | | | o fix --no-md5sum (regression introduced in 5.20) (#41237)
* - urpmi.addmedia, urpmi.update:Pascal Rigaux2008-05-151-8/+24
| | | | | | | 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)
* display "reconfiguring urpmi" only if the reconfig.urpmi magic is foundPascal Rigaux2008-05-151-2/+2
|
* - urpmi.addmedia, urpmi.update:Pascal Rigaux2008-05-151-2/+14
| | | | | | o check downloaded synthesis is not invalid HTML code (#39918) (useful for servers not returning a valid HTTP error)
* - urpmi.addmedia, urpmi.update:Pascal Rigaux2008-05-151-2/+2
| | | | | | | o fix checking synthesis MD5SUM ie fix typo
* - urpmfPascal Rigaux2008-04-011-0/+6
| | | | | | 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
* - urpmi.addmedia:Pascal Rigaux2008-03-311-3/+5
| | | | | | o --mirrorlist: if the retrieved media.cfg is broken, try another mirror (#39591, it also workarounds #39592)
* - urpmi.addmedia, urpmi.update:Pascal Rigaux2008-03-311-2/+3
| | | | | | o correctly handle media with no xml-info when using "xml-info: always" (#39521)
* create _maybe_in_statedir_MD5SUM() out of _any_media_info__or_download() for ↵Pascal Rigaux2008-03-311-3/+8
| | | | next commit
* add_distrib_media(): be sure to override "with-dir" when calling add_medium()Pascal Rigaux2008-03-281-1/+1
| | | | | (gurpmi.addmedia was plaggued by this, but it is fixed in gurpmi.addmedia too)
* nicer error messagePascal Rigaux2008-03-061-1/+1
|
* simplifyPascal Rigaux2008-03-031-1/+1
|
* correctly name function since it's outside of its modulePascal Rigaux2008-03-031-2/+2
|
* - urpmq:Pascal Rigaux2008-03-031-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 itPascal Rigaux2008-03-031-8/+14
| | | | | - rename _parse_media() into parse_media() for next commit
* - urpmf, urpmq:Pascal Rigaux2008-03-031-2/+2
| | | | | o never display raw downloader output, otherwise output is very messy (#38125)
* move is_iso to urpm::media and rename itPascal Rigaux2008-02-291-1/+6
|
* do not download on the fly xml-info unless we know if it is availablePascal Rigaux2008-02-291-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_devicePascal Rigaux2008-02-291-1/+3
|
* - urpmf, urpmq:Pascal Rigaux2008-02-281-0/+5
| | | | | o do not try to download xml-info if it's not available (#38125)
* fix typoPascal Rigaux2008-02-271-2/+2
|
* - create _migrate_removable_url out of _migrate_removable_devicePascal Rigaux2008-02-271-9/+23
| | | | | - do keep our url scheme for cdroms (#30613)
* - adapt "we want to copy lzma from cds" to new cdrom:// schemePascal Rigaux2008-02-271-1/+2
| | | | | - missing lzma on cds is not a failure
* - all tools:Pascal Rigaux2008-02-271-39/+23
| | | | | o cdrom:// replaces removable://
* - create file_from_local_medium(), and use it where possible instead ofPascal Rigaux2008-02-271-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 Rigaux2008-02-271-4/+4
|
* internally use {iso} instead of {removable} for iso filesPascal Rigaux2008-02-271-4/+4
| | | | | (to make things more clear)
* there is no reason not to use {removable} only for isoPascal Rigaux2008-02-271-2/+1
|
* what we really want here is the place where the synthesis is, so in the casePascal Rigaux2008-02-271-3/+3
| | | | | of {with_synthesis}, we want to check/mount there
* 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)