clearml-agent
clearml-agent copied to clipboard
Support `git fetch --tags`
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 be git fetch --all --recurse-submodules --tags
?
https://github.com/allegroai/clearml-agent/blob/6b31883e4579380ad654afcf0736aaa8074aa1dd/clearml_agent/helper/repo.py#L601