aboutsummaryrefslogtreecommitdiffstats
path: root/URPM
Commit message (Collapse)AuthorAgeFilesLines
* typo in commentPascal Rigaux2007-09-081-1/+1
|
* rename lists with "closure" in the name to things like "xxx_todo" orPascal Rigaux2007-09-081-15/+17
| | | | | | "all_xxx", i find it more readable, and it helps making the difference with {closure} field
* rename local var for clarityPascal Rigaux2007-09-081-6/+6
|
* rename local varPascal Rigaux2007-09-081-4/+4
|
* document $state fieldsPascal Rigaux2007-09-081-10/+24
|
* rename a local variable for clarityPascal Rigaux2007-09-081-4/+4
|
* create _handle_conflicts() out of resolve_requested__no_suggests()Pascal Rigaux2007-09-081-38/+43
|
* fix typo in older commitPascal Rigaux2007-09-081-1/+1
|
* use function calls instead of method calls (it allows perl_checker checks whenPascal Rigaux2007-09-081-26/+26
| | | | | temporarilly renaming URPM/Resolve.pm package name to URPM)
* create _handle_diff_provides() out of resolve_requested__no_suggests()Pascal Rigaux2007-09-071-51/+54
|
* create _compute_diff_provides() and _compute_diff_provides_one() out of ↵Pascal Rigaux2007-09-071-90/+103
| | | | resolve_requested__no_suggests()
* factorize regexps into functionsPascal Rigaux2007-09-071-14/+26
|
* make it more clearPascal Rigaux2007-09-071-7/+6
|
* cleanupPascal Rigaux2007-09-071-1/+1
|
* create _ids_to_fullnames() and _ids_to_names()Pascal Rigaux2007-09-071-4/+14
|
* fix typo in recent commitPascal Rigaux2007-09-071-1/+1
|
* make it clear that resolve_rejected_ is modifying @properties fromPascal Rigaux2007-09-071-14/+14
| | | | | resolve_requested()
* revert previous commit: compute_deps() is still used by mkcdPascal Rigaux2007-09-071-0/+214
|
* remove unused compute_deps() \o/Pascal Rigaux2007-09-071-213/+0
|
* simplify: nopromoteepoch is always 1 (no caller ever define it)Pascal Rigaux2007-09-071-5/+3
|
* cleanup: nopromoteepoch is 1 by default in find_candidate_packagesPascal Rigaux2007-09-071-1/+0
|
* factorize code in functions whatrequires() and whatrequires_id()Pascal Rigaux2007-09-071-9/+17
|
* simplify: whatrequires is a hash with provides_nosense as key, don't need toPascal Rigaux2007-09-071-3/+1
| | | | | use ->provides then remove the sense
* hoist a debug message so that it occurs for other uses ofPascal Rigaux2007-09-071-1/+1
| | | | | with_db_unsatisfied_requires()
* re-use same code for conflict from installed package as is used for conflictPascal Rigaux2007-09-071-10/+1
| | | | | | from selected package. this fixes test_gh() from urpmi split-transactions--promote test case
* move code from resolve_requested__no_suggests() into new function ↵Pascal Rigaux2007-09-071-33/+40
| | | | _handle_provides_overlap()
* prepare to factorize code handling property becoming unavailable.Pascal Rigaux2007-09-071-1/+1
| | | | | | it really seems {why}{conflicts} is only used for debugging purpose, so this change won't break.
* one more debug messagePascal Rigaux2007-09-071-0/+1
|
* small cleanupPascal Rigaux2007-09-071-4/+4
|
* add some debug messagesPascal Rigaux2007-09-071-0/+5
|
* - fix displaying @sorted whereas some elements have been removed from itPascal Rigaux2007-09-051-4/+5
| | | | | - more complete error message
* add debug codePascal Rigaux2007-09-051-0/+2
|
* - fix bug in sort_graph (used by build_transaction_set)Pascal Rigaux2007-09-031-18/+49
|
* - fix bug in sort_graph (used by build_transaction_set)Pascal Rigaux2007-09-031-10/+15
|
* fix dead-loop in build_transaction_set (#33020)Pascal Rigaux2007-08-311-8/+38
| | | | | and ensure the resulting graph is correct by checking it
* ensure #31969 doesn't occur anymore. if somethings goes wrong:Pascal Rigaux2007-08-281-5/+17
| | | | | | | | | - display error message - then default to one big transaction also display error message "using one big transaction" in the old check (which i don't really know what it does)
* - build_transaction_set: new sort algorithm which allow returning sets ofPascal Rigaux2007-08-281-26/+98
| | | | | | | | | | | | | | | circular dependent packages, taking into account obsoleted packages (fixes #31969). It may still fail in presence of conflicts a better fix would be to make ->resolve_requested__no_suggests handle obsolete. ie: - a requires b : bb or b - bb requires c-1 - b requires c-2 - b obsoletes bb => with a, bb and c-1 installed, "urpmi c" should upgrade bb into b instead of removing a and bb.
* - fix split_length > 1 Pascal Rigaux2007-08-241-6/+4
| | | | | | | | (eg: "urpmi --split-length 2 a b c" will only install 2 pkgs) (this bug has not been reported, just discovered it while reading the code) - cleanup
* - more debug messagesPascal Rigaux2007-08-241-14/+16
| | | | | - little rewrite
* - sort choices per media, then per versionPascal Rigaux2007-08-121-5/+28
| | | | | | | | | | | | | nb: on 2004-12-13, rgs replaced "$a->id <=> $b->id" with "$b->compare_pkg($a) || $a->id <=> $b->id" Return the list of chosen packages sorted by descending version (bug #12645). the end result is the sorting by media was dropped :-/
* cleanup (easier to read)Pascal Rigaux2007-08-121-2/+2
|
* - "suggests" are no more handled as "requires"Pascal Rigaux2007-08-091-2/+34
| | | | | | | | | - resolve_requested support "suggests": a newly suggested package is installed as if required (can be disabled with option no_suggests) nb: URPM.xs change is quite complex since suggests are mostly seen as requires inside rpmlib.
* factorize some code into with_db_unsatisfied_requires:Pascal Rigaux2007-08-081-13/+20
| | | | | | | #- this function is "suggests vs requires" safe: #- 'whatrequires' will give both requires & suggests, but unsatisfied_requires #- will check $p->requires and so filter out suggests
* "nopromoteepoch => 1" is the default option in ->unsatisfied_requiresPascal Rigaux2007-08-081-2/+2
|
* - fix --auto-select skipping some packages because of other packages providingPascal Rigaux2007-07-021-24/+1
| | | | | | | | | | | | | | | a more recent version, but no obsolete between those packages. the fix is to revert commit from Aug 2002: "fixed propable old package (according provides) requested by request_packages_to_upgrade." hopefully this change won't break too much... for the record, a few issues: - skipping java-1.5.0-gcj-1.5.0.0-14.7mdv2008.0.i586 since java-1.7.0-icedtea-1.7.0.0-1.3mdv2008.0.i586 provides a more recent version of jre (1.7.0 vs 1.5.0) - skipping emacs-common-22.1-2mdv2008.0.i586 since gnus-emacs-5.10.8-1mdv2007.0.noarch provides a more recent vers whereas java-1.5.0-gcj-1.5.0.0-14.6mdv and emacs-common-22.1-1mdv are installed
* help debugging the strange behaviour of this codePascal Rigaux2007-07-021-1/+4
|
* document the fact that build_synthesis returns true on successPascal Rigaux2007-06-151-1/+2
|
* - pass the virtual package name as a parameter to {callback_choices} inPascal Rigaux2007-05-031-1/+1
| | | | | ->resolve_requested
* re-sync after the big svn lossPascal Rigaux2007-04-271-0/+1
|
* re-sync after the big svn loss1.581.571.561.55Pascal Rigaux2007-04-242-14/+22
|