b4 icon indicating copy to clipboard operation
b4 copied to clipboard

b4 shazam missing commits and applying wrong tags

Open marcosps opened this issue 9 months ago • 4 comments

When trying to grab the two commits from https://lore.kernel.org/live-patching/[email protected], b4 only picks the last commits, and also adds reviewed and tested by that doesn't exists for the patches.

On a second look, it grabs a v2 of the patchset, which is older than the current one that I'm using to grab the patches (the patches don't contain the version of the patchset this time, I'm not sure if b4 had a bug or if Filipe did something).

This was the command that I used: b4 shazam [email protected]

b4 version: 0.14.2, installed using pipx

marcosps avatar Mar 11 '25 18:03 marcosps

+1

felipeagger avatar Mar 11 '25 18:03 felipeagger

It's happening because it's finding the following thread:

https://lore.kernel.org/all/[email protected]/

b4 gets confused because it's the same subject from the same author, and it's marked as v2. What we should be doing is ignoring any "newer series" that have a date that is in the past compared to the version we are comparing against.

mricon avatar Mar 11 '25 19:03 mricon

To work around this problem, use -v1 with your shazam command, and I'll work on adding logic to ignore older patch series with the same subject/author combo.

mricon avatar Mar 11 '25 19:03 mricon

To work around this problem, use -v1 with your shazam command, and I'll work on adding logic to ignore older patch series with the same subject/author combo.

the workaround worked as expected, thanks!

marcosps avatar Mar 11 '25 20:03 marcosps