Do you often need to check if a patch was merged to the #Linux #kernel and which version it showed up in?
Or check through which tree a particular patch was merged?
I have to do this and a few other things all the time, hence I wrote a script to make these tasks a little easier for me:
#linuxscru, the #LinuxKernel scrutiny tool – https://gitlab.com/knurd42/linuxscru
It's tailored for my needs and my setup; but that could change if other people show an interest in it.
README: https://gitlab.com/knurd42/linuxscru/-/blob/main/README.md?ref_type=heads
Haha, by brain hadn't made that connection yet (and had to to read "linux SRCU" two times before my brain saw the difference).
Side note: "linuxscru" didn't take much of a thought; if others show and interest in it it might be wise to consider a better name
ha, nice hack, guess that will be a whole lot faster. 😬
For my use case something like that wasn't needed, as the lookup was fast enough for my needs. But to be honest I recently thought about going a similar route for some other problem (one my head already forgot about… 🥴)
Guess your remotes have different names:
https://gitlab.com/knurd42/kernel-scripts/-/blob/master/linuxscru/linuxscru?ref_type=heads#L52
See the README as well.
https://gitlab.com/knurd42/kernel-scripts/-/blob/master/linuxscru/README.md?ref_type=heads
Side note: needs a tree that contains mainline, next and stable, not sure if that's the case for you.
Guess I should fix these things up and include a few checks, but I first wanted to see if anyone is interested in this…
@gregkh @kernellogger This is from a tool I did, although the main goal was to attach all this info to individual commits through git notes and have it displayed on git.kernel.org.