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

Use galaxy.yml to figure out the right API call #15

Open
GregSutcliffe opened this issue Oct 1, 2020 · 1 comment
Open

Use galaxy.yml to figure out the right API call #15

GregSutcliffe opened this issue Oct 1, 2020 · 1 comment

Comments

@GregSutcliffe
Copy link
Contributor

Rather than assuming x.y format from the repo name, we could use galaxy.yml from the repo.

Would need an extra GET from GitHub (since we don't clone the repos for this tool), but that should be fairly fast if we get the raw file. However, raw files contain the primary branch name (https://raw.githubusercontent.com/ansible-collections/community.general/main/galaxy.yml), so we'd have to figure that out too.

cc @gundalow thanks for the idea :)

@GregSutcliffe
Copy link
Contributor Author

As per #25 we probably want to move to using GH tags for this - although that means we can't easily quantify non-GH repos (e.g. openstack) and I'm not sure it helps with multi-collection repos like pure. We may need some hand-written config in the crawler...

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

1 participant