On Thu, Sep 29, 2022 at 3:12 PM Ludwig Nussel <ludwig.nussel@suse.de> wrote:
Hi,
Some spec files contain commented pseudo tags like e.g
#Git-Web: http://git.kernel.org/?p=utils/kernel/kmod/kmod.git;a=summary #Git-Clone: git://git.kernel.org/pub/scm/utils/kernel/kmod/kmod
The format is too widespread to be coincidence. Is this convention documented somewhere or just packagers adopting it randomly?
Usually such a URL leads to the main upstream development branch. However for the context of the spec file it might be interesting to also specify the exact tag or commit the package is about. With that information one could simplify importing patches to git before rebase to a new version.
So in case of kmod the spec file could have:
#Git-Tag: v30
It's probably people cribbing off each other. I don't know of anything that uses that stuff. There's certainly nothing documented to work that way. -- 真実はいつも一つ!/ Always, there's only one truth!