-
Notifications
You must be signed in to change notification settings - Fork 92
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
Support git fetch --tags
#209
Comments
Hi @reinerp, If you specify the tag instead of a branch name, it should work out of the box 🙂 |
I tried that. It works if the VCS cache is disabled, because that uses a The recent commit 4179ac5 looks like it would also "fix" my issue, but it would do so by effectively disabling the VCS cache, since every single tag fetch will be a cache miss and a full repository fetch. What I'm asking for here is to make tags work under the VCS cache, by extending the |
Oh this seems to be an issue with the git pull (that is called on the VCS cache) but for some reason not updating the new tags (or the tags that moved). |
Thanks! |
@reinerp, if you move a tag, does using |
My team is considering an approach where each experiment we run is pushed to a git tag on our repo. Ideally we'd like ClearML to run from that tag.
However, the ClearML agent uses
git fetch --all --recurse-submodules
on its VCS cache, which only fetches commits from branches, and it ignores commits that are only reachable from tags. Would it be possible to extend the pull command to begit fetch --all --recurse-submodules --tags
?clearml-agent/clearml_agent/helper/repo.py
Line 601 in 6b31883
The text was updated successfully, but these errors were encountered: