Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | create urpm::removable out of urpm.pm | Pascal Rigaux | 2006-11-21 | 7 | -194/+207 |
| | |||||
* | move clean_dir() | Pascal Rigaux | 2006-11-21 | 2 | -9/+9 |
| | |||||
* | move many functions from urpm.pm to urpm/media.pm | Pascal Rigaux | 2006-11-21 | 15 | -1846/+1960 |
| | |||||
* | help perl_checker | Pascal Rigaux | 2006-11-21 | 1 | -0/+1 |
| | |||||
* | move create_transaction() and prepare_transaction() from urpm.pm into ↵ | Pascal Rigaux | 2006-11-21 | 4 | -42/+43 |
| | | | | urpm/install.pm | ||||
* | add Id svn keyword | Pascal Rigaux | 2006-11-21 | 3 | -3/+3 |
| | |||||
* | move urpm::install() into urpm::install::install() (new module) | Pascal Rigaux | 2006-11-21 | 5 | -150/+166 |
| | |||||
* | add svn Id | Pascal Rigaux | 2006-11-21 | 3 | -3/+3 |
| | |||||
* | create urpm::md5sum, move md5sum functions into it: | Pascal Rigaux | 2006-11-21 | 3 | -63/+73 |
| | | | | | | - urpm::util::md5sum() -> urpm::md5sum::compute() - urpm::local_md5sum() -> urpm::md5sum::on_local_medium() | ||||
* | move open_safe, opendir_safe and syserror to urpm::sys | Pascal Rigaux | 2006-11-21 | 3 | -122/+48 |
| | |||||
* | - rename get_md5sum() into from_MD5SUM() | Pascal Rigaux | 2006-11-21 | 1 | -9/+7 |
| | | | | | | - rename parse_md5sum() into from_MD5SUM__or_warn() - in from_MD5SUM__or_warn(), display the name of the MD5SUM file used | ||||
* | when computing the md5sum of an hdlist, display the file name in the log | Pascal Rigaux | 2006-11-21 | 1 | -1/+1 |
| | |||||
* | fix an optimisation i introduced which breaks generated /var/lib/urpmi/MD5SUM | Pascal Rigaux | 2006-11-21 | 1 | -1/+3 |
| | |||||
* | 20 is the minimal valid size for an empty synthesis (which should be valid) | Pascal Rigaux | 2006-11-21 | 1 | -7/+7 |
| | |||||
* | move lock functions to urpm::sys | Pascal Rigaux | 2006-11-21 | 6 | -93/+93 |
| | |||||
* | move urpm::parallel_remove to urpm::parallel::remove | Pascal Rigaux | 2006-11-21 | 3 | -12/+15 |
| | | | | | (but keep urpm::parallel_remove for backward compatibility since rpmdrake uses it) | ||||
* | drop urpm::parallel_install(), directly use {parallel_handler}->parallel_install | Pascal Rigaux | 2006-11-21 | 2 | -10/+5 |
| | |||||
* | create urpm::parallel and move some things from urpm.pm | Pascal Rigaux | 2006-11-21 | 2 | -45/+60 |
| | |||||
* | cleanup | Pascal Rigaux | 2006-11-21 | 1 | -5/+3 |
| | |||||
* | create _parse_media() out of configure() | Pascal Rigaux | 2006-11-21 | 1 | -53/+56 |
| | |||||
* | create _compute_flags_for_skiplist() and _compute_flags_for_instlist() out ↵ | Pascal Rigaux | 2006-11-21 | 1 | -25/+35 |
| | | | | of configure() | ||||
* | only do generate_medium_names() on really_modified (ie updated) media | Pascal Rigaux | 2006-11-21 | 1 | -17/+12 |
| | |||||
* | introduce $medium->{really_modified} which is what $medium->{modified} should | Pascal Rigaux | 2006-11-21 | 1 | -4/+6 |
| | | | | | be... but {modified} is over-used (eg: it often means "to update") | ||||
* | use function names more appropriate | Pascal Rigaux | 2006-11-21 | 1 | -4/+4 |
| | |||||
* | adapt function names to pubkey and descriptions being done later | Pascal Rigaux | 2006-11-21 | 1 | -5/+5 |
| | |||||
* | handle pubkey and descriptions after the whole hdlist/synthesis/list mess is ↵ | Pascal Rigaux | 2006-11-21 | 1 | -5/+6 |
| | | | | settled down | ||||
* | restore removing {list} (it was done in _write_rpm_list_if_needed) | Pascal Rigaux | 2006-11-21 | 1 | -16/+11 |
| | |||||
* | set $medium->{list} only when needed | Pascal Rigaux | 2006-11-21 | 1 | -5/+2 |
| | |||||
* | create _get_pubkey_and_descriptions() out of various code that was done in the | Pascal Rigaux | 2006-11-21 | 1 | -14/+15 |
| | | | | | middle of code parsing hdlist/synthesis | ||||
* | don't pass rpm_files around, use $medium->{rpm_files} | Pascal Rigaux | 2006-11-21 | 1 | -16/+10 |
| | |||||
* | don't pass around $retrieved_md5sum, set $medium->{md5sum} as soon as we | Pascal Rigaux | 2006-11-21 | 1 | -8/+17 |
| | | | | | | | | checked against {md5sum}. but remove it if parsing fail later on. also restore parsing current synthesis when new hdlist/synthesis is buggy. (it was in _update_medium_first_pass_failed()) | ||||
* | create _read_rpms_from_dir() out of ↵ | Pascal Rigaux | 2006-11-21 | 1 | -46/+56 |
| | | | | _update_medium__parse_if_unmodified__or_get_files__local | ||||
* | no {with_hdlist} is valid (it will end up setting {force_building_hdlist} ↵ | Pascal Rigaux | 2006-11-21 | 1 | -1/+1 |
| | | | | and using *.rpm) | ||||
* | remove hopefully now non useful reparsing of synthesis on error | Pascal Rigaux | 2006-11-21 | 1 | -5/+0 |
| | | | | | (since URPM 1.48, parse_synthesis doesn't modify {depslist} if it doesn't succeed) | ||||
* | create get_hdlist_or_synthesis_and_check_md5sum__local() out of | Pascal Rigaux | 2006-11-21 | 1 | -26/+29 |
| | | | | | | _update_medium__parse_if_unmodified__or_get_files__local() and so make things clearer | ||||
* | rename recompute_local_md5sum() to local_md5sum() | Pascal Rigaux | 2006-11-21 | 1 | -3/+3 |
| | |||||
* | simplify | Pascal Rigaux | 2006-11-21 | 1 | -8/+5 |
| | |||||
* | handle error by returning | Pascal Rigaux | 2006-11-21 | 1 | -15/+14 |
| | |||||
* | _update_medium_second_pass: move what is not $second_pass dependent in ↵ | Pascal Rigaux | 2006-11-21 | 1 | -6/+14 |
| | | | | _update_medium_build_hdlist_synthesis() | ||||
* | separate what is dependent on $second_pass and what is not | Pascal Rigaux | 2006-11-21 | 1 | -12/+14 |
| | |||||
* | use _parse_maybe_hdlist_or_synthesis() | Pascal Rigaux | 2006-11-21 | 1 | -5/+1 |
| | |||||
* | revert buggy change | Pascal Rigaux | 2006-11-21 | 1 | -2/+5 |
| | |||||
* | use _parse_maybe_hdlist_or_synthesis() | Pascal Rigaux | 2006-11-21 | 1 | -5/+2 |
| | |||||
* | fully clean {cachedir}/partial/ on error | Pascal Rigaux | 2006-11-21 | 1 | -2/+1 |
| | |||||
* | handle error by returning, it allows removing many unless ($error) ... | Pascal Rigaux | 2006-11-21 | 1 | -30/+29 |
| | |||||
* | factorize code in _parse_maybe_hdlist_or_synthesis() | Pascal Rigaux | 2006-11-21 | 1 | -27/+28 |
| | |||||
* | fix typo | Pascal Rigaux | 2006-11-21 | 1 | -6/+5 |
| | |||||
* | don't blindly probe for named hdlist. This feature is only available through | Pascal Rigaux | 2006-11-20 | 1 | -6/+3 |
| | | | | | media.cfg which gives things precisely without having to probe in the dark | ||||
* | deprecate [with <relative path of synthesis|hdlist>]: don't document it anymore | Pascal Rigaux | 2006-11-20 | 3 | -37/+20 |
| | |||||
* | cleanup (at last!) the f*cking $with_hdlist_dir, use the better _hdlist_dir(), | Pascal Rigaux | 2006-11-20 | 1 | -23/+26 |
| | | | | | which really returns a dir, with reduce_pathname already called. |