pkgcheck icon indicating copy to clipboard operation
pkgcheck copied to clipboard

[Commits Bug]: pkgcheck should compare to merge-base rather than origin

Open mgorny opened this issue 5 months ago • 4 comments

Is there an existing issue for this?

  • [x] I have searched the existing issues

Current Behavior

Running pkgcheck scan --commits check all packages changed compared to origin. When you have an unrebased branch, this means reporting results for packages that have changed in origin rather than your changes, which are entirely irrelevant and clutter the output.

Expected Behavior

I think it would be better to compare against merge-base between origin and the current branch.

master commit id

n/a

HEAD link

n/a

pkgcheck version

pkgcheck 0.10.38-4-g35bc261 -- Fri, 1 Aug 2025 18:16:44 +0300

pkgcore version

pkgcore 0.12.31-5-ge9e19ac -- Sat, 23 Aug 2025 10:05:02 +0300

git remotes configuration

mgorny [email protected]:mgorny/gentoo (fetch) mgorny [email protected]:mgorny/gentoo (push) origin [email protected]:repo/gentoo.git (fetch) origin [email protected]:repo/gentoo.git (push)

mgorny avatar Sep 20 '25 05:09 mgorny