Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | typo in comment | Pascal Rigaux | 2007-09-08 | 1 | -1/+1 |
| | |||||
* | rename lists with "closure" in the name to things like "xxx_todo" or | Pascal Rigaux | 2007-09-08 | 1 | -15/+17 |
| | | | | | | "all_xxx", i find it more readable, and it helps making the difference with {closure} field | ||||
* | rename local var for clarity | Pascal Rigaux | 2007-09-08 | 1 | -6/+6 |
| | |||||
* | rename local var | Pascal Rigaux | 2007-09-08 | 1 | -4/+4 |
| | |||||
* | document $state fields | Pascal Rigaux | 2007-09-08 | 1 | -10/+24 |
| | |||||
* | rename a local variable for clarity | Pascal Rigaux | 2007-09-08 | 1 | -4/+4 |
| | |||||
* | create _handle_conflicts() out of resolve_requested__no_suggests() | Pascal Rigaux | 2007-09-08 | 1 | -38/+43 |
| | |||||
* | fix typo in older commit | Pascal Rigaux | 2007-09-08 | 1 | -1/+1 |
| | |||||
* | use function calls instead of method calls (it allows perl_checker checks when | Pascal Rigaux | 2007-09-08 | 1 | -26/+26 |
| | | | | | temporarilly renaming URPM/Resolve.pm package name to URPM) | ||||
* | create _handle_diff_provides() out of resolve_requested__no_suggests() | Pascal Rigaux | 2007-09-07 | 1 | -51/+54 |
| | |||||
* | create _compute_diff_provides() and _compute_diff_provides_one() out of ↵ | Pascal Rigaux | 2007-09-07 | 1 | -90/+103 |
| | | | | resolve_requested__no_suggests() | ||||
* | factorize regexps into functions | Pascal Rigaux | 2007-09-07 | 1 | -14/+26 |
| | |||||
* | make it more clear | Pascal Rigaux | 2007-09-07 | 1 | -7/+6 |
| | |||||
* | cleanup | Pascal Rigaux | 2007-09-07 | 1 | -1/+1 |
| | |||||
* | create _ids_to_fullnames() and _ids_to_names() | Pascal Rigaux | 2007-09-07 | 1 | -4/+14 |
| | |||||
* | fix typo in recent commit | Pascal Rigaux | 2007-09-07 | 1 | -1/+1 |
| | |||||
* | make it clear that resolve_rejected_ is modifying @properties from | Pascal Rigaux | 2007-09-07 | 1 | -14/+14 |
| | | | | | resolve_requested() | ||||
* | revert previous commit: compute_deps() is still used by mkcd | Pascal Rigaux | 2007-09-07 | 1 | -0/+214 |
| | |||||
* | remove unused compute_deps() \o/ | Pascal Rigaux | 2007-09-07 | 1 | -213/+0 |
| | |||||
* | simplify: nopromoteepoch is always 1 (no caller ever define it) | Pascal Rigaux | 2007-09-07 | 1 | -5/+3 |
| | |||||
* | cleanup: nopromoteepoch is 1 by default in find_candidate_packages | Pascal Rigaux | 2007-09-07 | 1 | -1/+0 |
| | |||||
* | factorize code in functions whatrequires() and whatrequires_id() | Pascal Rigaux | 2007-09-07 | 1 | -9/+17 |
| | |||||
* | simplify: whatrequires is a hash with provides_nosense as key, don't need to | Pascal Rigaux | 2007-09-07 | 1 | -3/+1 |
| | | | | | use ->provides then remove the sense | ||||
* | hoist a debug message so that it occurs for other uses of | Pascal Rigaux | 2007-09-07 | 1 | -1/+1 |
| | | | | | with_db_unsatisfied_requires() | ||||
* | re-use same code for conflict from installed package as is used for conflict | Pascal Rigaux | 2007-09-07 | 1 | -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 Rigaux | 2007-09-07 | 1 | -33/+40 |
| | | | | _handle_provides_overlap() | ||||
* | prepare to factorize code handling property becoming unavailable. | Pascal Rigaux | 2007-09-07 | 1 | -1/+1 |
| | | | | | | it really seems {why}{conflicts} is only used for debugging purpose, so this change won't break. | ||||
* | one more debug message | Pascal Rigaux | 2007-09-07 | 1 | -0/+1 |
| | |||||
* | small cleanup | Pascal Rigaux | 2007-09-07 | 1 | -4/+4 |
| | |||||
* | add some debug messages | Pascal Rigaux | 2007-09-07 | 1 | -0/+5 |
| | |||||
* | - fix displaying @sorted whereas some elements have been removed from it | Pascal Rigaux | 2007-09-05 | 1 | -4/+5 |
| | | | | | - more complete error message | ||||
* | add debug code | Pascal Rigaux | 2007-09-05 | 1 | -0/+2 |
| | |||||
* | - fix bug in sort_graph (used by build_transaction_set) | Pascal Rigaux | 2007-09-03 | 1 | -18/+49 |
| | |||||
* | - fix bug in sort_graph (used by build_transaction_set) | Pascal Rigaux | 2007-09-03 | 1 | -10/+15 |
| | |||||
* | fix dead-loop in build_transaction_set (#33020) | Pascal Rigaux | 2007-08-31 | 1 | -8/+38 |
| | | | | | and ensure the resulting graph is correct by checking it | ||||
* | ensure #31969 doesn't occur anymore. if somethings goes wrong: | Pascal Rigaux | 2007-08-28 | 1 | -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 of | Pascal Rigaux | 2007-08-28 | 1 | -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 Rigaux | 2007-08-24 | 1 | -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 messages | Pascal Rigaux | 2007-08-24 | 1 | -14/+16 |
| | | | | | - little rewrite | ||||
* | - sort choices per media, then per version | Pascal Rigaux | 2007-08-12 | 1 | -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 Rigaux | 2007-08-12 | 1 | -2/+2 |
| | |||||
* | - "suggests" are no more handled as "requires" | Pascal Rigaux | 2007-08-09 | 1 | -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 Rigaux | 2007-08-08 | 1 | -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_requires | Pascal Rigaux | 2007-08-08 | 1 | -2/+2 |
| | |||||
* | - fix --auto-select skipping some packages because of other packages providing | Pascal Rigaux | 2007-07-02 | 1 | -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 code | Pascal Rigaux | 2007-07-02 | 1 | -1/+4 |
| | |||||
* | document the fact that build_synthesis returns true on success | Pascal Rigaux | 2007-06-15 | 1 | -1/+2 |
| | |||||
* | - pass the virtual package name as a parameter to {callback_choices} in | Pascal Rigaux | 2007-05-03 | 1 | -1/+1 |
| | | | | | ->resolve_requested | ||||
* | re-sync after the big svn loss | Pascal Rigaux | 2007-04-27 | 1 | -0/+1 |
| | |||||
* | re-sync after the big svn loss1.581.571.561.55 | Pascal Rigaux | 2007-04-24 | 2 | -14/+22 |
| |