-
Notifications
You must be signed in to change notification settings - Fork 15
Closed
Labels
Description
Hi guys. Long story short, now we have this GTO tool that allows you to build an Artifact Registry on top of your repo (see example here). I would like to get your advice on how to use scmrepo in it.
Basically, artifacts are listed in artifacts.yaml. To make sense of the repo,
- GTO needs to traverse all commits (starting from heads and going back) and read the content of this
artifacts.yamlin each commit. - GTO needs to get a list of git tags will all information (who created that tag, when, etc).
To solve both, I use GitPython now. Everything works pretty well when I have a repo cloned locally, but doesn't work with remote repos. OFC I can clone a repo to a temporary folder and do the same things, but it looks like scmrepo should solve the same kind of tasks for DVC.
So, I would be grateful if you could help me out with this:
- Am I right and I can use scmrepo for my task? Does it look like the intended usage?
- What is the right way/right methods/functions to call? Maybe you have some simple examples to start with, that would be awesome.
shortcipher3