Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | - add {debug} level messages | Pascal Rigaux | 2006-11-28 | 1 | -1/+3 |
| | | | | | | - add some debug message before downloading - always display the retrieved url (using {log}) | ||||
* | fix protocol_from_url for things like /foo/@86875:bar.src.rpm | Pascal Rigaux | 2006-11-24 | 1 | -2/+2 |
| | |||||
* | remove a "Use of undefined value ..." | Pascal Rigaux | 2006-11-23 | 1 | -1/+1 |
| | |||||
* | better no lock than bad lock on should-not-be-used function | Pascal Rigaux | 2006-11-23 | 1 | -2/+0 |
| | |||||
* | db_open_or_die: better parameter name | Pascal Rigaux | 2006-11-23 | 1 | -2/+2 |
| | |||||
* | don't have a global variable to hold locks, otherwise code can't lock twice | Pascal Rigaux | 2006-11-23 | 1 | -9/+3 |
| | | | | | non-exclusive | ||||
* | move many functions from urpm.pm to new module urpm/select.pm | Pascal Rigaux | 2006-11-21 | 1 | -431/+0 |
| | |||||
* | - move download_packages_of_distant_media() from urpm.pm to urpm::get_pkgs | Pascal Rigaux | 2006-11-21 | 1 | -207/+2 |
| | | | | | - move urpm::get_source_packages() -> urpm::get_pkgs::selected2list() | ||||
* | create urpm::signature out of urpm.pm | Pascal Rigaux | 2006-11-21 | 1 | -65/+0 |
| | |||||
* | create urpm::removable out of urpm.pm | Pascal Rigaux | 2006-11-21 | 1 | -184/+1 |
| | |||||
* | move clean_dir() | Pascal Rigaux | 2006-11-21 | 1 | -9/+1 |
| | |||||
* | move many functions from urpm.pm to urpm/media.pm | Pascal Rigaux | 2006-11-21 | 1 | -1797/+10 |
| | |||||
* | move create_transaction() and prepare_transaction() from urpm.pm into ↵ | Pascal Rigaux | 2006-11-21 | 1 | -38/+0 |
| | | | | urpm/install.pm | ||||
* | move urpm::install() into urpm::install::install() (new module) | Pascal Rigaux | 2006-11-21 | 1 | -145/+2 |
| | |||||
* | create urpm::md5sum, move md5sum functions into it: | Pascal Rigaux | 2006-11-21 | 1 | -47/+8 |
| | | | | | | - 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 | 1 | -121/+28 |
| | |||||
* | - 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 | 1 | -58/+9 |
| | |||||
* | move urpm::parallel_remove to urpm::parallel::remove | Pascal Rigaux | 2006-11-21 | 1 | -11/+2 |
| | | | | | (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 | 1 | -7/+0 |
| | |||||
* | create urpm::parallel and move some things from urpm.pm | Pascal Rigaux | 2006-11-21 | 1 | -45/+3 |
| | |||||
* | 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 |
| |