Re: The VCS RPM tag in Fedora packages

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

 



On 6/10/24 23:30, Fabio Valentini wrote:
On Mon, Jun 10, 2024 at 10:25 PM Miro Hrončok <mhroncok@xxxxxxxxxx> wrote:

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).
"""


(snip)

Are the 396-11 packages wrong?

I encountered this a few weeks ago too (due to
https://pagure.io/fedora-rust/rust2rpm/pull-request/274).

Short answer to your question: As far as I can tell, yes.
Apparently 396-11 packages that use this tag in Fedora do it in a way
that does *not* match what is documented in the RPM docs.

The docs were added years after the tag itself, and there's zero enforcing on the format, so it's no wonder usage commonly doesn't match up with the description.


Maybe there should be a discussion around deprecating the tag and
removing it from packages, similar to what happened to Group tags?

The VCS tag was one of the most popular requests at the time.
I'd maybe try pointing people to the intended format instead, now that it's at least loosely documented.

	- Panu -
--
_______________________________________________
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