aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* bump copyrightThierry Vignaud2016-10-163-3/+3
|
* log previous fixThierry Vignaud2016-10-161-0/+2
|
* silent perl_checkerThierry Vignaud2016-10-161-3/+4
|
* mga#15353 don't crash if re is wrongAngelo Naselli2016-10-161-7/+10
|
* fix compiling on 32bitThierry Vignaud2016-10-141-1/+1
|
* 5.085.08Thierry Vignaud2016-10-142-1/+3
|
* Revert "prevent distepoch & disttag to be added and appended to package ↵Thierry Vignaud2016-10-141-5/+0
| | | | | | filename" This reverts commit a4b836dfe43cf1a498e93094d54d498a55142fef.
* reports obsoletes issues tooThierry Vignaud2016-10-141-0/+3
| | | | | RPMPROB_OBSOLETE was added in rpm-4.9.0 (5 years ago) but wasn't handled until now
* (check) fix reporting problemsThierry Vignaud2016-10-142-7/+2
| | | | | | | | | | | | | | | | | for at least 12 years, since swiching rpm to 4.2 (see commit 60031191b7012fdfe8e1af6bd43ff9b36b0c5825) $trans->check() failed to actually report issues rationale: rpmtsCheck() only actually return !0 if it fails to open rpmdb... in order to check if any problem was found by rpmtsCheck(), one must call retrieving the problem set with rpmtsProblems() rpmtsCheck() success only means that the resolution was successfully attempted for all packages in the set, which isn't that usefull... this might help mga#15350...
* fix reporting size on big packages (mga#19571)Thierry Vignaud2016-10-132-6/+6
|
* simplify: do not reinvent get_arch()Thierry Vignaud2016-10-131-1/+1
|
* perl_checker cleanupThierry Vignaud2016-10-131-1/+1
|
* shrink .perl_checker blacklistsThierry Vignaud2016-09-162-1/+0
| | | | (need latest perl_checker)
* shrink .perl_checker blacklistsThierry Vignaud2016-09-161-16/+0
| | | | (need latest perl_checker)
* 5.075.07Thierry Vignaud2016-04-142-1/+3
|
* don't push $fullname to callback stackThierry Vignaud2016-04-142-7/+2
| | | | that's no more needed...
* add support for "elem" callbackThierry Vignaud2016-04-143-2/+16
| | | | | This callback will be fired before each pkg being installed/removed Needs rpm >= rpm-4.13.0-0.rc1.28
* 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
|