summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* factorize code with new function _error(). make separate message for either ↵Pascal Rigaux2006-11-281-6/+13
| | | | bad exit status or signal caught
* factorizePascal Rigaux2006-11-281-4/+2
|
* we don't need to pass $hdlist_or to ↵Pascal Rigaux2006-11-281-5/+5
| | | | _read_existing_synthesis_and_hdlist_if_same_time_and_msize() anymore :)
* stop using {hdlist} name in cache/partial, use the downloaded namePascal Rigaux2006-11-281-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 $basenamePascal Rigaux2006-11-271-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 Rigaux2006-11-271-14/+11
|
* "hdlist:" is not mandatory nor useful any morePascal Rigaux2006-11-271-1/+0
|
* add commented line allowing to have rpmlib debug messagesPascal Rigaux2006-11-271-0/+1
|
* when parsing virtual media, do check for new missing provides, those may comePascal Rigaux2006-11-271-5/+7
| | | | | from non virtual media
* simplifyPascal Rigaux2006-11-271-8/+9
|
* simplifyPascal Rigaux2006-11-271-1/+3
|
* add --auto-update to "urpmi --help", and move --no-md5sum and --force-key ↵Pascal Rigaux2006-11-271-2/+3
| | | | next to it
* fix display error message when need_hdlist and no hdlistPascal Rigaux2006-11-241-2/+5
|
* parse a statedir synthesis if it exists, even on virtualPascal Rigaux2006-11-241-14/+19
| | | | | (preparing for having a synthesis built on virtual & hdlist)
* use _parse_hdlist_or_synthesis()Pascal Rigaux2006-11-241-13/+7
|
* create _parse_hdlist_or_synthesis() and use it.Pascal Rigaux2006-11-241-10/+16
| | | | | | (nb: {must_build_synthesis} can still be set on {virtual} media, it won't do anything... for now :)
* do display the errorPascal Rigaux2006-11-241-2/+3
|
* remove defensive programming checks, which are already done inPascal Rigaux2006-11-241-17/+6
| | | | | check_existing_medium() or add_medium()
* remove check already done in check_existing_medium()Pascal Rigaux2006-11-241-36/+39
|
* don't allow --probe-synthesis or --probe-hdlist without --use-distrib forPascal Rigaux2006-11-241-0/+4
| | | | | urpmi/urpmq/urpme
* use $options{usedistrib} for all progs (prepare for next commit)Pascal Rigaux2006-11-243-19/+23
|
* simplify (%urpm::args::options is exported)Pascal Rigaux2006-11-242-3/+9
|
* add partition (from MDK::Common)Pascal Rigaux2006-11-241-0/+10
|
* bugfix: allow empty urpmi.cfgPascal Rigaux2006-11-241-1/+2
|
* better var name ($medium is always used to hold a medium, not a number)Pascal Rigaux2006-11-241-3/+3
|
* cleanerPascal Rigaux2006-11-241-0/+1
|
* rename var $second_pass into $need_second_pass (more clear)Pascal Rigaux2006-11-241-16/+17
|
* fix protocol_from_url for things like /foo/@86875:bar.src.rpmPascal Rigaux2006-11-241-2/+2
|
* add urpm/lock.pmPascal Rigaux2006-11-231-0/+11
|
* remove a "Use of uninitialized value ..."Pascal Rigaux2006-11-231-1/+1
|
* remove a "Use of undefined value ..."Pascal Rigaux2006-11-231-1/+1
|
* - move lock functions to a full blown modulePascal Rigaux2006-11-2311-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 functionPascal Rigaux2006-11-231-2/+0
|
* db_open_or_die: better parameter namePascal Rigaux2006-11-231-2/+2
|
* don't say "urpmi database locked" when it's the rpm database that is lockedPascal Rigaux2006-11-231-6/+7
|
* don't have a global variable to hold locks, otherwise code can't lock twicePascal Rigaux2006-11-237-52/+42
| | | | | non-exclusive
* release 4.9.0Pascal Rigaux2006-11-221-0/+1679
|
* remove md5sum from @PER_MEDIA_OPT (which only list per-medium options inPascal Rigaux2006-11-222-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::mediaPascal Rigaux2006-11-221-1/+1
|
* move many functions from urpm.pm to new module urpm/select.pmPascal Rigaux2006-11-216-450/+466
|
* - move download_packages_of_distant_media() from urpm.pm to urpm::get_pkgsPascal Rigaux2006-11-215-213/+229
| | | | | - move urpm::get_source_packages() -> urpm::get_pkgs::selected2list()
* create urpm::signature out of urpm.pmPascal Rigaux2006-11-214-67/+79
|
* create urpm::removable out of urpm.pmPascal Rigaux2006-11-217-194/+207
|
* move clean_dir()Pascal Rigaux2006-11-212-9/+9
|
* move many functions from urpm.pm to urpm/media.pmPascal Rigaux2006-11-2115-1846/+1960
|
* help perl_checkerPascal Rigaux2006-11-211-0/+1
|
* move create_transaction() and prepare_transaction() from urpm.pm into ↵Pascal Rigaux2006-11-214-42/+43
| | | | urpm/install.pm
* add Id svn keywordPascal Rigaux2006-11-213-3/+3
|
* move urpm::install() into urpm::install::install() (new module)Pascal Rigaux2006-11-215-150/+166
|
* add svn IdPascal Rigaux2006-11-213-3/+3
|