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

HydraFetcher unable to fetch meta.json of older builds #16

Closed
TypingKoala opened this issue Jul 31, 2020 · 0 comments · Fixed by #17
Closed

HydraFetcher unable to fetch meta.json of older builds #16

TypingKoala opened this issue Jul 31, 2020 · 0 comments · Fixed by #17

Comments

@TypingKoala
Copy link
Collaborator

The current hydrafetcher assumes that meta.json is the only build product when fetching it from Hydra. Thus, it fetches the meta.json file from the following link:

"https://hydra.vtr.tools/build/{build_num}/download/1/meta.json"

This assumption does not hold for older builds (example), since the 1 in the path could actually be a different number (in the example, 8).

This can be resolved by first fetching the build info using the Hydra API and searching for the file named meta.json.

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

Successfully merging a pull request may close this issue.

1 participant