aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* 5.06.35.06.3distro/mga5Thierry Vignaud2016-10-202-1/+3
|
* fix crash introduced by mga#15353 fix (mga#19618)Thierry Vignaud2016-10-202-1/+3
| | | | | | | | | | rationale: - {debug_URPM} only exists if we're in debug mode - as this is an actual error, let's just always report it bug introduced in commit 070f1be3d5c3aa813f61d061c2a0fd38c2477c08 (cherry picked from commit 49d5faf692708da20ce26dd4e0b7d6ab6da2b71f)
* 5.06.25.06.2Thierry Vignaud2016-10-162-1/+3
|
* mga#15353 don't crash if re is wrongAngelo Naselli2016-10-162-7/+12
|
* fix dateThierry Vignaud2016-10-161-1/+1
|
* fix compiling on 32bitThierry Vignaud2016-10-141-1/+1
|
* 5.06.15.06.1Thierry Vignaud2016-10-142-1/+3
|
* fix reporting size on big packages (mga#19571)Thierry Vignaud2016-10-142-6/+6
|
* 5.065.06Thierry Vignaud2015-04-122-1/+3
|
* fix upgrade when package's in several mediaThierry Vignaud2015-04-122-2/+4
| | | | | | | | sort by ids (like in other places) when promoting (b/c of eg: conflicts), thus fixing upgrade when the same package is offered in several media (mga#15350) see commit 53e38beae4d9638f41b219521b802a2969d68909 for similar issue
* 5.055.05Thierry Vignaud2015-02-262-1/+3
|
* fix a segfault when callbacks don't get a headerPascal Terjan2015-02-262-2/+8
|
* 5.045.04Thierry Vignaud2015-02-262-1/+3
|
* callbacks now get pkg name instead of just pkg idThierry Vignaud2015-02-263-5/+12
| | | | thus fixing unknown package name on erases (mga#15032)
* move PUTBACK in branchThierry Vignaud2014-11-171-1/+1
|
* 5.035.03Thierry Vignaud2014-11-142-1/+3
|
* Handle non numeric returns for traverse_tag_find callbackPascal Terjan2014-11-142-3/+7
| | | | fix a warning spot by Angelo Naselli
* add a missing PUTBACK in traverse_tag_find()Thierry Vignaud2014-11-142-0/+3
| | | | | | this is needed after using POPi bug introduced in commit 4294365db5d78909ae5a490e0714db379502cd80
* 5.025.02Thierry Vignaud2014-10-262-1/+3
|
* add >recommends method (mga#14376)Thierry Vignaud2014-10-263-0/+6
| | | | unlike recommends_nosense, it returns version too
* add bug IDThierry Vignaud2014-10-231-1/+1
|
* typo fixThierry Vignaud2014-10-231-1/+1
|
* 5.015.01Thierry Vignaud2014-10-232-1/+3
|
* fix crashing in ptread when using log callback with rpm-4.12Thierry Vignaud2014-10-232-2/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | fix by Panu Matilainen When rpmlog() occurs, it now grabs a read/write lock on the log context depending on whether it needs to save the log or not. The callback executes while the context lock is held, so when one call rpmlogMessage() or pretty much any rpmlog-related function from the callback, it'll try to lock the context again. Which is okay as long as rpmlog() only needed a read-lock on the context. However if it has a write-lock then attempting to grab a read-lock for rpmlogMessage() fails, but due to the largely missing error handling in rpmlog.c it falls through to crash and burn. The only reason we need to call rpmlogMessage() is that the callback does not match the callback function type in rpm >= 4.6: typedef int (*rpmlogCallback) (rpmlogRec rec, rpmlogCallbackData data); We shouldn't call that from log callback. We can avoid the issue by using rpmlogRecMessage() instead of rpmlogMessage() inside the callback. These are not the same, rpmlogRecMessage() returns the message of the *current* log event, whereas rpmlogMessage() returns the last *saved* log event. Which might not exist, might be from an earlier event or it might be the current event. ...and it'll not only work in all rpm >= 4.6 versions, but also give the actual log message at hand, instead of something that might have happened in the past.
* kill bogus filesThierry Vignaud2014-09-143-132/+0
|
* 5.005.00Thierry Vignaud2014-09-122-1/+3
|
* rename a variableThierry Vignaud2014-09-121-3/+3
|
* s/suggested/recommended/Thierry Vignaud2014-09-121-3/+3
|
* {suggested} is renamed {recommended} in stateThierry Vignaud2014-09-122-1/+2
| | | | Veuillez saisir le message de validation pour vos modifications. Les lignes
* kill unused argumentThierry Vignaud2014-09-121-2/+2
|
* add aliases for compatibilityThierry Vignaud2014-09-121-0/+3
|
* rename "no_suggests" option as "no_recommends"Thierry Vignaud2014-09-122-2/+3
|
* s/suggests/recommends/ in method namesThierry Vignaud2014-09-122-14/+15
|
* s/suggests/recommends/ in comments & variable namesThierry Vignaud2014-09-121-12/+12
|
* add support for generating recommends in synthesisThierry Vignaud2014-09-123-3/+7
| | | | aka having @recommends@ lines instead of @suggests@ ones
* recognize "recommends" lines in synthesisThierry Vignaud2014-09-121-1/+1
|
* rename "suggests" method as "recommends_nosense"Thierry Vignaud2014-09-124-4/+6
| | | | | in order to reflect reality but keep a suggests alias for compatibility for the time being
* rename "suggests" field to "recommends"Thierry Vignaud2014-09-124-8/+140
| | | | as this really what it is
* make it compatible with rpm-4.12.0Thierry Vignaud2014-09-122-2/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | rpm-4.12.0 introduces a new weak deps implementation (the 3rd one to be used in mdv/mga!) The tag we used to use (RPMTAG_SUGGESTSNAME) is now OLDSUGGESTSNAME => we need to handle both old & new tags Hopefully rpm-4.12.x enables to check both old & new tags when using xxxNVRS variants We thus have a choice between RECOMMEND & SUGGEST tags, that both fallback on older SUGGESTS tags if no new ones are found. The difference is that they filter old suggests depending on RPMSENSE_STRONG hint. As we used suggests in the recommends role, this is the perfect time to switch from suggests to recommends (with a patch on rpm in order to fallback RECOMMEND on weak (old) SUGGESTS instead of on strong (old) ENHANCES as we didn't used the later in mga) Our rpm is patched so that RECOMMENDNAME fallbacks too. In Suse, only RECOMMENDNEVRS is the only RECOMMEND variant that handle the fallback on old tags. However, using RPMTAG_RECOMMENDNEVRS makes URPM->suggest_nosense to return versionated suggests, which while not supported by urpmi, do are used by a couple packages (such as git or gnome-user-share) This breaks urpmi as suggests on "foo >= x.y" is not interpreted by urpmi which thinks that "foo" is a new suggests and reinstalls a previously removed suggests Hence we patched rpm.
* use HEADERGET_EXT instead of HEADERGET_DEFAULTThierry Vignaud2014-08-271-2/+2
| | | | | in order to access to extension tags such as new weak deps tags (needed for next commit)
* 4.314.31Thierry Vignaud2014-06-272-1/+3
|
* (compare) croak if used on URPM::Package object (mga#12766)Thierry Vignaud2014-05-172-0/+3
| | | | | | suggests to use compare_pkg instead (needs a new rpmdrake)
* simplify after commit 307fdff9e12f783b01d0275d92c22b4cf7dd020fThierry Vignaud2014-05-141-3/+1
| | | | | | | | | | | its return value is now always () rationale: resolve_rejected() was wrong, since it blindly removes installed pkgs w/o trying to promote anything and @diff_provides can be nicely used to handle rejecting package one by one, then _handle_diff_provides() should do the right job. (spot by perl_checker)
* kill support for kernel-*source-strippedThierry Vignaud2014-05-122-7/+3
| | | | We don't have those since 2004 (10 years+)...
* document pack_header()Thierry Vignaud2014-05-122-0/+14
|
* kill useless "$Id: " linesThierry Vignaud2014-05-095-5/+0
| | | | they're obsolete since switching to git
* kill frenglishThierry Vignaud2014-05-091-2/+2
| | | | | present since commit 74c3cfe40e76d2cf047e7cbc57653298a460b658 (12 years ago...)
* typo fixThierry Vignaud2014-05-091-3/+3
|
* typo fixThierry Vignaud2014-05-071-1/+1
|
* 4.304.30Thierry Vignaud2014-05-012-1/+3
|