aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* 3.38.53.38.5Thierry Vignaud2011-12-192-1/+3
|
* (Urpm_spec2srcheader) fix parsing a spec file with rpm-4.9Thierry Vignaud2011-12-192-1/+3
| | | | | | (regression introduced when adding support for rpm-4.9) (TODO: add a regression test in the testsuite)
* reduce even more perl_checker SNR by also checking against URPM's perlThierry Vignaud2011-09-214-0/+4
| | | | methods instead of only the XS ones
* perl_checker cleanupThierry Vignaud2011-09-211-1/+1
|
* kill dead codeThierry Vignaud2011-09-201-4/+0
|
* (compute_flags) fix slow matching of individual regexes for skippingThierry Vignaud2011-09-202-2/+6
| | | | | dependencies by creating a large regex to match them all at once (mdv#61389, Shlomi Fish)
* add perl_checker hintsThierry Vignaud2011-09-204-0/+6
|
* perl_checker cleanupsThierry Vignaud2011-09-204-13/+13
|
* (rpmtag_from_string) enable to traverse db by fullnameThierry Vignaud2011-09-202-0/+4
|
* 3.38.43.38.4Thierry Vignaud2011-09-172-1/+3
|
* fix datesThierry Vignaud2011-09-171-2/+2
|
* (request_packages_to_upgrade) fix calling method in stringThierry Vignaud2011-09-172-1/+5
| | | | | (spoted by perl_checker, introduced in revision mga#267800 ("honour search medias when using --auto-select") but teuf on Fri Apr 23 2010
* 3.38.23.38.3Thierry Vignaud2011-09-122-1/+3
|
* (Urpm_spec2srcheader) fix urpmi segfaulting on 'urpmi foobar.spec' when someThierry Vignaud2011-09-122-1/+3
| | | | | files are missing
* use xz compressionThierry Vignaud2011-09-091-1/+1
|
* 3.38.23.38.2Thierry Vignaud2011-09-092-1/+3
|
* (spec2srcheader) fix it for rpm-4.9.xThierry Vignaud2011-09-092-1/+6
|
* 3.38.13.38.1Thierry Vignaud2011-04-212-1/+3
|
* (Urpm_spec2srcheader) revers a rpm-4.9.0 change that breaks the testsuiteThierry Vignaud2011-04-211-1/+1
|
* document previous changesThierry Vignaud2011-04-211-0/+1
|
* (return_list_str) memset some struct, thus fixing crashing while removing ↵Thierry Vignaud2011-04-212-0/+4
| | | | several packages (#248)
* fix building after last commitThierry Vignaud2011-04-211-1/+1
|
* (spec2srcheader) replace malloc()+memset() by calloc()Thierry Vignaud2011-04-161-2/+1
|
* clean rpm5 support outThierry Vignaud2011-04-162-108/+2
|
* Backport thierry fix (first try to build with rpm-4.9.1)Dexter Morgan2011-04-152-6/+60
|
* Synthesized commit during git-svn import combining previous Mandriva history ↵Mageia SVN-Git Migration2011-02-048-8/+8
| | | | | | | | | | | | with Magiea. This commit consitsts of the following subversion commits: ------------------------------------------------------------------------ r419 | dmorgan | 2011-02-04 13:41:50 +0000 (Fri, 04 Feb 2011) | 1 line Import cleaned perl-URPM ------------------------------------------------------------------------
* 3.383.38João Victor Duarte Martins2010-11-162-1/+3
|
* Update NEWS.João Victor Duarte Martins2010-11-161-0/+3
|
* (parse_pubkeys_): fix the key parsing to handle PEM encapsulatedJoão Victor Duarte Martins2010-11-161-15/+22
| | | | | header portion (bug #61636)
* 3.373.37Thierry Vignaud2010-10-202-1/+3
|
* fix crashing on undefined packages (#54521)Thierry Vignaud2010-10-202-1/+3
|
* - enable 'use warnings'Olivier Thauvin2010-07-305-1/+7
| | | | - fix some warnings
* - fix warning on perl 5.12, spotted by olivier thauvin ( Odd number of ↵Michael Scherer2010-07-301-1/+1
| | | | elements in anonymous hash at URPM/Resolve.pm line 1192. )
* - 3.36Olivier Thauvin2010-07-233-1/+1246
|
* - fix deferencement on hash (instead hashref), warning triggered by perl 5.12Olivier Thauvin2010-07-231-1/+1
|
* only print debug message if debug callback is definedChristophe Fergeau2010-04-231-1/+1
|
* 3.353.35Christophe Fergeau2010-04-232-1/+3
|
* honour search medias when using --auto-selectChristophe Fergeau2010-04-232-1/+6
|
* 3.34.13.34.1Christophe Fergeau2010-03-232-1/+3
|
* check selected packages for unsatisfied requires when a promoted package is ↵Christophe Fergeau2010-03-232-0/+8
| | | | | | backtracked and no replacement is found (#57224, Anssi Hannula)
* 3.343.34Christophe Fergeau2010-03-232-1/+3
|
* adjust rpm.org/rpm5.org detection codeChristophe Fergeau2010-02-241-1/+1
| | | | | | It used to assume that rpm.org had version numbers < 4.7, but it's no longer true with rpm 4.8 being released. Test against 5.0 since rpm5.org releases started at 5.0
* check for conflicting selected packages before selecting a packageChristophe Fergeau2010-02-122-4/+8
| | | | | | | | | | | | | | | | check for conflicting selected packages before selecting a package instead of after selecting it, to avoid having to unselect package in case of conflict (which incorrectly unselected packages with unsatisfied dependencies as well, making the following backtrack_selected call behave wrongly as it simply noticed that the package is no longer required) Here's the second patch again, now with the function comment updated and added _remove_all_rejected_from() call so that prerejections are still cleared (this was previously called from the removed disable_selected() call). Testsuites pass. Patch by Anssi Hannula, fixes #57224
* 3.333.33Christophe Fergeau2009-10-052-2/+4
|
* Improve previous fixPascal Terjan2009-10-031-2/+2
|
* fix lookup of existing pubkeys (#53710)Pascal Terjan2009-10-032-2/+4
|
* update NEWS for 3.32Christophe Fergeau2009-08-101-0/+2
|
* 3.323.32Christophe Fergeau2009-08-101-1/+1
|
* comment out unused codeChristophe Fergeau2009-08-101-0/+2
|
* use set_rejected_and_compute_diff_provides for package removalChristophe Fergeau2009-08-102-10/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Patch by Anssi Hannula, fixes bug #52667 k1-1 provides k, but not k1-2 l-1 and l-2 requires k m-1 requires k but not m-2 n requires m User has l-1, m-1, n-1, k1-1. There is only one upgrade path: k1-1 -> k1-2 m-1 -> m-2 removal of l-1 When transaction is created with all of them (e.g. what --auto-select does first), the path is resolved correctly. However, when the upgrade is triggered with the upgrade of k1, and l is in RPM db before n, resolving proceeds as follows: 1. k1 selected and old version rejected 2. l is promoted 3. m is promoted 4. l-2 is therefore selected 5. no packages are found for k (as k1-1 was rejected in step 1) 6. backtrack_selected calls resolve_rejected to reject the chain 7. rejection process rejects l, m, n 8. m-2 is selected because of step 3 End result: n is wrongly removed. Therefore, when using --auto-select (with --split-length 1 --split-level 1 in this small case, to force splitting) to trigger the upgrade, the early resolve is done correctly, but the first splitted transaction ("rpms sorted by dependencies" has k1 and m separately, so split is tried) tries to remove n and URPM fallbacks to single big transaction. In reverse, when using "urpmi k1" to trigger the upgrade, urpmi asks user confirmation for n removal, but the transaction is created with both k1 and m ("rpms sorted by dependencies" has k1+m, so they are put in same transaction), thus triggering the correct behaviour and n is not really removed after all, even if user agreed to it. Attached patch fixes this by switching backtrack_selected() to use set_rejected_and_compute_diff_provides() for package removal instead of resolve_rejected_(). The code already contained a comment indicating that diff_provides code should be applied. The patch introduces no regression in the urpmi and perl-URPM testsuites.