Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | 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 | 3 | -19/+23 |
| | |||||
* | simplify (%urpm::args::options is exported) | Pascal Rigaux | 2006-11-24 | 2 | -3/+9 |
| | |||||
* | 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 |
| | |||||
* | fix protocol_from_url for things like /foo/@86875:bar.src.rpm | Pascal Rigaux | 2006-11-24 | 1 | -2/+2 |
| | |||||
* | add urpm/lock.pm | Pascal Rigaux | 2006-11-23 | 1 | -0/+11 |
| | |||||
* | remove a "Use of uninitialized value ..." | Pascal Rigaux | 2006-11-23 | 1 | -1/+1 |
| | |||||
* | remove a "Use of undefined value ..." | Pascal Rigaux | 2006-11-23 | 1 | -1/+1 |
| | |||||
* | - move lock functions to a full blown module | Pascal Rigaux | 2006-11-23 | 11 | -78/+112 |
| | | | | | | | | | | | | - 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 | ||||
* | 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 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 | 7 | -52/+42 |
| | | | | | non-exclusive | ||||
* | release 4.9.0 | Pascal Rigaux | 2006-11-22 | 1 | -0/+1679 |
| | |||||
* | 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 | 6 | -450/+466 |
| | |||||
* | - move download_packages_of_distant_media() from urpm.pm to urpm::get_pkgs | Pascal Rigaux | 2006-11-21 | 5 | -213/+229 |
| | | | | | - move urpm::get_source_packages() -> urpm::get_pkgs::selected2list() | ||||
* | create urpm::signature out of urpm.pm | Pascal Rigaux | 2006-11-21 | 4 | -67/+79 |
| | |||||
* | 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 |
| |