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

Provide mapping from a debian distros versions and codenames #187

Open
andrewschoen opened this issue Aug 17, 2016 · 4 comments
Open

Provide mapping from a debian distros versions and codenames #187

andrewschoen opened this issue Aug 17, 2016 · 4 comments

Comments

@andrewschoen
Copy link
Contributor

For example, these two urls should provide the same output:

https://chacra.ceph.com/binaries/ceph/jewel/HEAD/ubuntu/xenial/ https://chacra.ceph.com/binaries/ceph/jewel/HEAD/ubuntu/16.04/

I don't think we care about this for rpm-based distros.

@andrewschoen
Copy link
Contributor Author

I think we'd want to actually store distro_version and distro_codename on the Binary and Repo models as well.

@dmick
Copy link
Member

dmick commented Aug 17, 2016

It could be useful for RPM as well; RHEL seems to actually use codename, and if it can be supported by the same mechanism without huge effort. CentOS seems to be the standout. No idea about others (Fedora?....SUSE?...)

@alfredodeza
Copy link
Contributor

alfredodeza commented Aug 18, 2016

I don't think we need to provide the naming shim for chacra. Everything/anything that will be consumed is already provided by shaman. URLs in chacra could very well be a url using a short/unique sha1 (bit.ly style) and it would still be OK.

The main consumer of these will be teuthology, but teuthology will not need to ever contact a chacra API at all. The end goal is to provide a single API for asking for repos. Chacra is out of scope for that.

@andrewschoen
Copy link
Contributor Author

Yeah, I can see the point in only doing this in Shaman as it's going to be what people are going to use to query for the status of repos, not Chacra.

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

No branches or pull requests

3 participants