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

Support peeking at remote history / tags? #261

Open
cb-nezasa opened this issue Jun 8, 2023 · 1 comment
Open

Support peeking at remote history / tags? #261

cb-nezasa opened this issue Jun 8, 2023 · 1 comment

Comments

@cb-nezasa
Copy link

For larger repos in resource constrained CI/CD environments, having to unshallow the history can be a show stopper.

At least for the mayor use-cases, it would however be possible to find the "closest" tag by peeking at the upstream history without a (deep) clone, as described in the top answer to this stackoverflow post: https://stackoverflow.com/questions/10649814/get-last-git-tag-from-a-remote-repo-without-cloning. The key idea is to leverage git ls-remote.

Are there any plans or ideas to support such an approach or is this considered out of scope for sbt-dynver?

@SethTisue
Copy link
Member

I don't think it's come up before. If it were opt-in so that the default behavior of the plugin didn't change, then I can't think of any reason we shouldn't accept a PR on this.

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

No branches or pull requests

2 participants