Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | make it clear that resolve_rejected_ is modifying @properties from | Pascal Rigaux | 2007-09-07 | 1 | -14/+14 | |
| | | | | | resolve_requested() | |||||
* | 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 | |
| | ||||||
* | - 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 loss1.581.571.561.55 | Pascal Rigaux | 2007-04-24 | 1 | -5/+12 | |
| | ||||||
* | document what bug is fixedtopic/1.60 | Pascal Rigaux | 2007-03-29 | 1 | -1/+1 | |
| | ||||||
* | perl_checker compliance | Pascal Rigaux | 2007-03-08 | 1 | -12/+7 | |
| | ||||||
* | split request_packages_to_upgrade() in 2 functions | Pascal Rigaux | 2007-03-06 | 1 | -2/+18 | |
| | ||||||
* | rewrite | Pascal Rigaux | 2007-03-06 | 1 | -6/+7 | |
| | ||||||
* | simplify | Pascal Rigaux | 2007-03-06 | 1 | -2/+8 | |
| | ||||||
* | fix regexp detecting the need for strict-arch (on x86_64) | Pascal Rigaux | 2007-01-19 | 1 | -2/+2 | |
| | ||||||
* | better debug text1.54 | Pascal Rigaux | 2007-01-09 | 1 | -2/+2 | |
| | ||||||
* | @chosen is always non empty, and @chosen == 1 is already handled | Pascal Rigaux | 2007-01-09 | 1 | -1/+1 | |
| | ||||||
* | use a sort to make things clear | Pascal Rigaux | 2007-01-09 | 1 | -20/+15 | |
| | ||||||
* | factorize | Pascal Rigaux | 2007-01-09 | 1 | -12/+10 | |
| | ||||||
* | factorize code into _set_flag_installed_and_upgrade_if_no_newer() | Pascal Rigaux | 2007-01-09 | 1 | -31/+21 | |
| | ||||||
* | suggest a valid reason why a package was not found | Pascal Rigaux | 2007-01-09 | 1 | -1/+1 | |
| | ||||||
* | fix previous commit | Pascal Rigaux | 2007-01-09 | 1 | -4/+4 | |
| | ||||||
* | create _id_to_name() and use it | Pascal Rigaux | 2007-01-09 | 1 | -12/+37 | |
| | ||||||
* | allow toggling debugging and handling it through a callback | Pascal Rigaux | 2007-01-09 | 1 | -14/+28 | |
| | ||||||
* | Patch by Pixel to ignore self-obsoletes | Rafael Garcia-Suarez | 2006-10-16 | 1 | -0/+6 | |
| | ||||||
* | Invert bogus check | Rafael Garcia-Suarez | 2006-09-21 | 1 | -5/+5 | |
| | ||||||
* | Oops, remove debug code | Rafael Garcia-Suarez | 2006-09-06 | 1 | -1/+0 | |
| | ||||||
* | prefer kernel-source-stripped over kernel-source | Rafael Garcia-Suarez | 2006-09-06 | 1 | -0/+18 | |
| | ||||||
* | Micro-optimisation, and make comments more explicit | Rafael Garcia-Suarez | 2006-09-05 | 1 | -4/+9 | |
| |