Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | - add {debug} level messages | Pascal Rigaux | 2006-11-28 | 3 | -5/+9 |
| | | | | | | - add some debug message before downloading - always display the retrieved url (using {log}) | ||||
* | - factorize code from _update_medium__parse_if_unmodified__remote() to make it | Pascal Rigaux | 2006-11-28 | 1 | -28/+53 |
| | | | | | | similar to _update_medium__parse_if_unmodified__local() - rationalize error handling | ||||
* | factorize code with new function _error(). make separate message for either ↵ | Pascal Rigaux | 2006-11-28 | 1 | -6/+13 |
| | | | | bad exit status or signal caught | ||||
* | factorize | Pascal Rigaux | 2006-11-28 | 1 | -4/+2 |
| | |||||
* | we don't need to pass $hdlist_or to ↵ | Pascal Rigaux | 2006-11-28 | 1 | -5/+5 |
| | | | | _read_existing_synthesis_and_hdlist_if_same_time_and_msize() anymore :) | ||||
* | stop using {hdlist} name in cache/partial, use the downloaded name | Pascal Rigaux | 2006-11-28 | 1 | -23/+20 |
| | | | | | | (otherwise things are handled differently for local and remote, and the partial file name for synthesis.hdlist.cz is hdlist.cz which is misleading) | ||||
* | - create cachedir_with_hdlist() and use it to get rid of $basename | Pascal Rigaux | 2006-11-27 | 1 | -24/+22 |
| | | | | | | - _read_existing_synthesis_and_hdlist_if_same_time_and_msize() now takes a hdlist_or instead of the basename | ||||
* | fix previous commit (it was the case where {hdlist} was unset and we set it) | Pascal Rigaux | 2006-11-27 | 1 | -14/+11 |
| | |||||
* | when parsing virtual media, do check for new missing provides, those may come | Pascal Rigaux | 2006-11-27 | 1 | -5/+7 |
| | | | | | from non virtual media | ||||
* | simplify | Pascal Rigaux | 2006-11-27 | 1 | -8/+9 |
| | |||||
* | simplify | Pascal Rigaux | 2006-11-27 | 1 | -1/+3 |
| | |||||
* | fix display error message when need_hdlist and no hdlist | Pascal Rigaux | 2006-11-24 | 1 | -2/+5 |
| | |||||
* | parse a statedir synthesis if it exists, even on virtual | Pascal Rigaux | 2006-11-24 | 1 | -14/+19 |
| | | | | | (preparing for having a synthesis built on virtual & hdlist) | ||||
* | use _parse_hdlist_or_synthesis() | Pascal Rigaux | 2006-11-24 | 1 | -13/+7 |
| | |||||
* | create _parse_hdlist_or_synthesis() and use it. | Pascal Rigaux | 2006-11-24 | 1 | -10/+16 |
| | | | | | | (nb: {must_build_synthesis} can still be set on {virtual} media, it won't do anything... for now :) | ||||
* | do display the error | Pascal Rigaux | 2006-11-24 | 1 | -2/+3 |
| | |||||
* | remove defensive programming checks, which are already done in | Pascal Rigaux | 2006-11-24 | 1 | -17/+6 |
| | | | | | check_existing_medium() or add_medium() | ||||
* | remove check already done in check_existing_medium() | Pascal Rigaux | 2006-11-24 | 1 | -36/+39 |
| | |||||
* | don't allow --probe-synthesis or --probe-hdlist without --use-distrib for | Pascal Rigaux | 2006-11-24 | 1 | -0/+4 |
| | | | | | urpmi/urpmq/urpme | ||||
* | use $options{usedistrib} for all progs (prepare for next commit) | Pascal Rigaux | 2006-11-24 | 1 | -13/+18 |
| | |||||
* | add partition (from MDK::Common) | Pascal Rigaux | 2006-11-24 | 1 | -0/+10 |
| | |||||
* | bugfix: allow empty urpmi.cfg | Pascal Rigaux | 2006-11-24 | 1 | -1/+2 |
| | |||||
* | better var name ($medium is always used to hold a medium, not a number) | Pascal Rigaux | 2006-11-24 | 1 | -3/+3 |
| | |||||
* | cleaner | Pascal Rigaux | 2006-11-24 | 1 | -0/+1 |
| | |||||
* | rename var $second_pass into $need_second_pass (more clear) | Pascal Rigaux | 2006-11-24 | 1 | -16/+17 |
| | |||||
* | - move lock functions to a full blown module | Pascal Rigaux | 2006-11-23 | 3 | -55/+94 |
| | | | | | | | | | | | | - handle get_exclusive and release_exclusive on existing lock, *but* don't use it for now! (not useful) - remove urpmi_db locking from add_medium and update_media - move rpm_db locking into _read_cachedir_pubkey - update_media: restrict rpm_db exclusive locking to parse_pubkeys - urpmi: move locking rpm_db near its use - handle lock directly in urpmi.addmedia, urpmi.update, urpme, urpmf - log locking/unlocking | ||||
* | don't say "urpmi database locked" when it's the rpm database that is locked | Pascal Rigaux | 2006-11-23 | 1 | -6/+7 |
| | |||||
* | don't have a global variable to hold locks, otherwise code can't lock twice | Pascal Rigaux | 2006-11-23 | 2 | -26/+19 |
| | | | | | non-exclusive | ||||
* | remove md5sum from @PER_MEDIA_OPT (which only list per-medium options in | Pascal Rigaux | 2006-11-22 | 2 | -3/+3 |
| | | | | | | | | | | urpmi.cfg), so that urpmi.cfg do not contain the md5sum (and so urpmi.cfg doesn't need to be modified on urpmi.update, only /var/lib/urpmi/MD5SUM is modified) (bug introduced when creating @PER_MEDIA_OPT in r35745, fixed in r35832, but broken again in r35953) | ||||
* | @PER_MEDIA_OPT is now in urpm::media | Pascal Rigaux | 2006-11-22 | 1 | -1/+1 |
| | |||||
* | move many functions from urpm.pm to new module urpm/select.pm | Pascal Rigaux | 2006-11-21 | 1 | -0/+442 |
| | |||||
* | - move download_packages_of_distant_media() from urpm.pm to urpm::get_pkgs | Pascal Rigaux | 2006-11-21 | 1 | -0/+218 |
| | | | | | - move urpm::get_source_packages() -> urpm::get_pkgs::selected2list() | ||||
* | create urpm::signature out of urpm.pm | Pascal Rigaux | 2006-11-21 | 1 | -0/+75 |
| | |||||
* | create urpm::removable out of urpm.pm | Pascal Rigaux | 2006-11-21 | 2 | -4/+200 |
| | |||||
* | move clean_dir() | Pascal Rigaux | 2006-11-21 | 1 | -0/+8 |
| | |||||
* | move many functions from urpm.pm to urpm/media.pm | Pascal Rigaux | 2006-11-21 | 6 | -20/+1915 |
| | |||||
* | 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 | 1 | -0/+39 |
| | | | | 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 | 1 | -0/+156 |
| | |||||
* | add svn Id | Pascal Rigaux | 2006-11-21 | 3 | -3/+3 |
| | |||||
* | create urpm::md5sum, move md5sum functions into it: | Pascal Rigaux | 2006-11-21 | 2 | -16/+65 |
| | | | | | | - 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 | 2 | -1/+20 |
| | |||||
* | move lock functions to urpm::sys | Pascal Rigaux | 2006-11-21 | 1 | -21/+70 |
| | |||||
* | move urpm::parallel_remove to urpm::parallel::remove | Pascal Rigaux | 2006-11-21 | 1 | -0/+12 |
| | | | | | (but keep urpm::parallel_remove for backward compatibility since rpmdrake uses it) | ||||
* | create urpm::parallel and move some things from urpm.pm | Pascal Rigaux | 2006-11-21 | 1 | -0/+57 |
| | |||||
* | move some things to new module urpm::bug_report | Pascal Rigaux | 2006-11-20 | 1 | -0/+57 |
| | |||||
* | oops, remove debug code wrongly introduced in previous commit | Pascal Rigaux | 2006-11-20 | 1 | -1/+0 |
| | |||||
* | simplify | Pascal Rigaux | 2006-11-20 | 1 | -3/+2 |
| | |||||
* | don't set priority for global values (this will allow taking all of them in ↵ | Pascal Rigaux | 2006-11-16 | 1 | -2/+2 |
| | | | | urpm::read_config()) |