Skip to content

Support peeking at remote history / tags? #261

@cb-nezasa

Description

@cb-nezasa

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions