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

Artifact registry as remote entity #220

Closed
francesco086 opened this issue Jul 28, 2022 · 2 comments
Closed

Artifact registry as remote entity #220

francesco086 opened this issue Jul 28, 2022 · 2 comments
Labels
remote-repository Working with repositories not cloned locally

Comments

@francesco086
Copy link
Contributor

I am using GTO for my projects at work. I believe that GTO could be much more than what is now. For now I created some patch-scripts to do what I need, but I would be happy to contribute to make GTO more "powerful" if this is in line with iterative's vision. Here are my scripts:
https://gitlab.com/francesco-calcavecchia/git-repo-as-versioned-storage

@aguschin aguschin added the remote-repository Working with repositories not cloned locally label Jul 28, 2022
@aguschin
Copy link
Contributor

Thanks, @francesco086! Those are very interesting scripts!

From what I see, those fall into a few categories:

  1. Running GTO commands against remote repos Make show and other commands work with remote repos #25

    • "read-only" commands like which - easier to implement
    • "r/w" commands - register, promote that require pushing a git tag - may be a bit trickier. Somehow relevant ticket about adding a status command Add status command #115
  2. publishing files in DVC repo (git-dvc-remote-commit-and-push). I think we need a ticket in the DVC repo for this. Doesn't require GTO.

  3. dvc-remote-get should work with $ dvc get only. If you want to download exactly "mymodel" in Stage "prod" or "mymodel" version "v0.0.1", you could combine GTO and DVC like this: $ dvc get mymodel.pkl --rev $(gto which mymodel prod) -o mymodel (this requires you to know the path to model binary and the name for it in GTO). If that doesn't solve your case, please add more details :). Relevant issue is Downloading artifacts from registry #80

Overall, please feel free to post more suggestions/ideas, create a ticket about 2. in DVC repo to get DVC some suggestions on it, and contribute to any of this in GTO or DVC :) I believe everything here is in line with Iterative's vision but does not always in line with our capacity 😂

@francesco086
Copy link
Contributor Author

Thanks @aguschin for the awesome work! It is very helpful, I will create a issue in the dvc repo for 2..

I am happy to contribute, I think I will start from the easy remote gto which. But only after my vacations :D

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
remote-repository Working with repositories not cloned locally
Projects
None yet
Development

No branches or pull requests

2 participants