The VCS RPM tag in Fedora packages

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

I accidentally realized today (in [1]), that RPM has a VCS tag. 396 Fedora packages use it, yay \o/

The tag is described (at [2]) as:

"""
(Public) upstream source code VCS location. Format <vcs>:<address> with <vcs> being the VCS command used (e.g. git, svn, hg, …) and <address> being the location of the repository as used by the VCS tool to clone/checkout the repository (e.g. https://github.com/rpm-software-management/rpm.git).
"""

My understanding is the tag should look like this:

  VCS:  git:https://github.com/fedora-python/marshalparser.git


However, the 396 Fedora packages use it very weirdly.

268 packages omit the <vcs>: prefix (and the .git suffix, but most of the forges redirect without it, so it's likely moot):

  VCS:		https://github.com/zenon-prover/zenon

or

  VCS:            %{forgeurl}


109 packages add an extra scm: prefix (why?):

  VCS:		scm:git:https://github.com/SIPp/sipp.git

5 packages use git+ssh://:

  VCS:            git+git@xxxxxxxxxx:ryncsn/memstrack.git

4 of them with a hardcoded commit hash:

VCS: git+https://pagure.io/rpm-git-tag-sort.git#0b8afd628229a41858f24692946e3b905d6e46c6:

2 packages use git://:

  VCS: git://git.kernel.org/pub/scm/linux/kernel/git/colyli/bcache-tools.git

Only 11 packages use git:, all of them with %{forgeurl0}:

  VCS:      git:%{forgeurl0}

or

  Vcs: git:%{forgeurl0}


Are the 396-11 packages wrong?


[1] https://src.fedoraproject.org/rpms/python-BTrees/c/b13e97f40b840a21efddfa3f9c1a25387eacb40d?branch=rawhide
[2] https://rpm-software-management.github.io/rpm/manual/tags.html
--
Miro Hrončok
--
Phone: +420777974800
IRC: mhroncok
--
_______________________________________________
packaging mailing list -- packaging@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to packaging-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/packaging@xxxxxxxxxxxxxxxxxxxxxxx
Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue




[Index of Archives]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite Forum]     [KDE Users]

  Powered by Linux