Skip to content

✨ Need "local" support for git repos that are directories on the filesystem #8720

Closed

Description

@jpadams

What are you trying to do?

Today you can only refer to remote git urls so if you have a known git repo directory (has a .git dir), there is no easy way to get the current repo name, commit sha, current branch, current tags, etc.

@vmaffet-fast

Why is this important to you?

Users are implementing modules for this functionality which may before in core instead.

It's often useful for tagging containers with the git sha or using in a go release process, for example.

How are you currently working around this?

Writing own module for "local git" or running commands

Activity

  1. jedevc commented on Apr 11, 2025

    @jedevc
    Contributor

    Oops, this is fixed by #9730, and should have been closed then!

    cc @vmaffet-fast

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions