Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add DistURL to metadata #209

Open
lnussel opened this issue Feb 20, 2020 · 4 comments
Open

add DistURL to metadata #209

lnussel opened this issue Feb 20, 2020 · 4 comments
Assignees

Comments

@lnussel
Copy link

lnussel commented Feb 20, 2020

(open)SUSE distributions use the disturl tag to store a link to the actual distribution sources used for building a package. Basically tells where the source rpm comes from, eg.

$ rpm -q --qf '%{DISTURL}\n' device-mapper
obs://build.opensuse.org/openSUSE:Maintenance:11561/openSUSE_Leap_15.1_Update/a00e7ff16d7ac559f427261934a55364-device-mapper.openSUSE_Leap_15.1_Update

So far this information is missing in repomd though. Any chance to add it?

@Conan-Kudo Conan-Kudo changed the title add disturl to metadata add DistURL to metadata Feb 22, 2020
@Conan-Kudo
Copy link
Member

This is something I think may make some sense, as well as with BugURL (which Fedora uses to indicate where to file bugs for packages). Some discussion about what we should do here is required first, since changing RPM-MD is not exactly something that should be done lightly...

@Conan-Kudo
Copy link
Member

@lnussel There's also the VCS tag, which might be more appropriate for your specific use-case. We've been considering using it in Fedora to map to our Dist-Git sources automatically for a while now.

@dmnks dmnks assigned kontura and unassigned dmnks Feb 22, 2020
@lnussel
Copy link
Author

lnussel commented Feb 24, 2020

Whether or not another tag would be more appropriate doesn't really help as OBS uses DISTURL for more than a decade already. Changing that would be something for @mlschroe to consider.

@lnussel
Copy link
Author

lnussel commented Feb 24, 2020

looking at the git history of those tags it looks like the VCS tag is meant to point at the upstream VCS so using DISTURL for the distro looks correct.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

5 participants