Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | simplify: "$urpm->{cachedir}/partial" is the default "dir" where files are ↵ | Pascal Rigaux | 2008-09-23 | 1 | -4/+3 |
| | | | | downloaded | ||||
* | modify _download_media_info_file() prototype | Pascal Rigaux | 2008-09-23 | 1 | -10/+11 |
| | |||||
* | _retrieve_media_info_file_and_check_MD5SUM() is called from | Pascal Rigaux | 2008-09-23 | 1 | -2/+0 |
| | | | | | | _retrieve_xml_media_info_or_remove() which is called from _update_medium_(), so we are sure {parsed_md5sum} is already computed | ||||
* | use _download_media_info_file() in get_synthesis__remote() | Pascal Rigaux | 2008-09-23 | 1 | -4/+3 |
| | |||||
* | - normalize synthesis downloading: rename it in cachedir asap just like any ↵ | Pascal Rigaux | 2008-09-23 | 1 | -6/+7 |
| | | | | | | | other media_info files - create urpm::download::sync_rel_to() | ||||
* | prepare next commits: introduce $medium->{parsed_md5sum} | Pascal Rigaux | 2008-09-22 | 1 | -2/+6 |
| | |||||
* | move check_synthesis_md5sum() inside get_synthesis__remote() | Pascal Rigaux | 2008-09-22 | 1 | -2/+3 |
| | |||||
* | change parameter passing mode of get_synthesis__remote() | Pascal Rigaux | 2008-09-22 | 1 | -3/+3 |
| | |||||
* | - urpmi.addmedia: | Pascal Rigaux | 2008-09-22 | 1 | -44/+9 |
| | | | | | | | | | o for remote media, do not probe for media_info files in "./", do it only in "media_info/" the goal is to simplify the code, and to ensure things work nicely with mirrorlist/aria2 | ||||
* | create urpm::mirrors::try_probe() as a alternative solution to | Pascal Rigaux | 2008-09-22 | 1 | -10/+13 |
| | | | | | | urpm::mirrors::try() which ensure wrong path given by the user doesn't lead to mirrors being all blacklisted | ||||
* | move {allow_metalink} from $urpm to $medium, and take into account user's | Pascal Rigaux | 2008-09-22 | 1 | -2/+2 |
| | | | | | requested downloader before choosing wether we will retry or rely on aria2 | ||||
* | - urpmi.addmedia: | Pascal Rigaux | 2008-09-19 | 1 | -2/+1 |
| | | | | | | | | o --distrib: do not skip "debug_for=" media (debug media will be added with flag "ignore" if noauto=1) as requested by fcrozat and tvignaud | ||||
* | much nicer userdir() functions: | Pascal Rigaux | 2008-09-04 | 1 | -5/+3 |
| | | | | | | | | | - userdir() does not modify $urpm->{cachedir} anymore, if you must ensure $urpm->{cachedir} to be modified, use ensure_valid_cachedir() - valid_cachedir() gives you a valid cachedir (works for root or simple-user), but does not modify $urpm->{cachedir} | ||||
* | if we use metalink, don't try various mirrors, aria2 will take care of ↵ | Pascal Rigaux | 2008-09-03 | 1 | -2/+10 |
| | | | | everything | ||||
* | use sync_rel() instead of sync_url() | Pascal Rigaux | 2008-09-03 | 1 | -5/+5 |
| | | | | | (this requires changing _new_distribconf_and_download parameters) | ||||
* | modify _probe_with_try_list() to be able to use sync_rel() | Pascal Rigaux | 2008-09-03 | 1 | -5/+6 |
| | |||||
* | simplify (as suggested by perl_checker) | Pascal Rigaux | 2008-09-03 | 1 | -3/+2 |
| | |||||
* | create urpm::download::sync_url() and use it | Pascal Rigaux | 2008-09-03 | 1 | -2/+2 |
| | |||||
* | use urpm::download::sync_rel() | Pascal Rigaux | 2008-09-03 | 1 | -2/+2 |
| | |||||
* | - fix _synthesis_dir() (from previous commit) | Pascal Rigaux | 2008-09-03 | 1 | -8/+14 |
| | | | | | | - create _url_with_synthesis_rel() out of _url_with_synthesis() and use it - use sync_rel() | ||||
* | - create _synthesis_dir_rel() out of _synthesis_dir() | Pascal Rigaux | 2008-09-03 | 1 | -5/+11 |
| | | | | | - fix typo in previous commit | ||||
* | create urpm::download::sync_rel() and use it | Pascal Rigaux | 2008-09-03 | 1 | -3/+3 |
| | |||||
* | minimal re-indent to make things clear | Pascal Rigaux | 2008-08-21 | 1 | -2/+3 |
| | |||||
* | shut up the "adding medium "Virtual"" when using --synthesis or --use-distrib | Pascal Rigaux | 2008-07-10 | 1 | -5/+5 |
| | |||||
* | - urpmi.addmedia | Pascal Rigaux | 2008-07-08 | 1 | -1/+3 |
| | | | | | o --interactive: fix selecting "noauto" media (#39522) | ||||
* | skip non-updates media before doing ask_media | Pascal Rigaux | 2008-07-08 | 1 | -5/+6 |
| | | | | | | (for urpmi.addmedia --interactive), otherwise we prompt for a media, then discard it | ||||
* | with --urpmi-root, we do not use statedir_media_info_file to allow ↵ | Pascal Rigaux | 2008-07-07 | 1 | -1/+4 |
| | | | | compatibility with older urpmi | ||||
* | use db_open_or_die_() | Pascal Rigaux | 2008-07-01 | 1 | -1/+1 |
| | |||||
* | - all tools: | Pascal Rigaux | 2008-06-24 | 1 | -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 Rigaux | 2008-06-24 | 1 | -2/+11 |
| | | | | | (useful for next commit) | ||||
* | create statedir_media_info_basename() and use it | Pascal Rigaux | 2008-06-24 | 1 | -3/+8 |
| | |||||
* | cleanup | Pascal Rigaux | 2008-06-24 | 1 | -8/+7 |
| | |||||
* | - urpmi.addmedia, urpmi.update: | Pascal Rigaux | 2008-06-05 | 1 | -2/+2 |
| | | | | | o fix --no-md5sum (regression introduced in 5.20) (#41237) | ||||
* | - urpmi.addmedia, urpmi.update: | Pascal Rigaux | 2008-05-15 | 1 | -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 found | Pascal Rigaux | 2008-05-15 | 1 | -2/+2 |
| | |||||
* | - urpmi.addmedia, urpmi.update: | Pascal Rigaux | 2008-05-15 | 1 | -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 Rigaux | 2008-05-15 | 1 | -2/+2 |
| | | | | | | | o fix checking synthesis MD5SUM ie fix typo | ||||
* | - urpmf | Pascal Rigaux | 2008-04-01 | 1 | -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 Rigaux | 2008-03-31 | 1 | -3/+5 |
| | | | | | | o --mirrorlist: if the retrieved media.cfg is broken, try another mirror (#39591, it also workarounds #39592) | ||||
* | - urpmi.addmedia, urpmi.update: | Pascal Rigaux | 2008-03-31 | 1 | -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 Rigaux | 2008-03-31 | 1 | -3/+8 |
| | | | | next commit | ||||
* | 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) |