Skip to content
This repository was archived by the owner on Oct 21, 2022. It is now read-only.

Pinning does not handle repositories without any tags #273

Open
euanh opened this issue May 16, 2016 · 0 comments
Open

Pinning does not handle repositories without any tags #273

euanh opened this issue May 16, 2016 · 0 comments
Labels

Comments

@euanh
Copy link
Contributor

euanh commented May 16, 2016

On a repository with no tags, git describe HEAD fails:

$ git describe HEAD
fatal: No names found, cannot describe anything.

The --all and --long options return something more useful:

$ git describe --all --long HEAD
heads/master-0-gbc76db9

However to be useful as a version number for RPM upgrades, we need some sort of increasing number, such as the number of commits since the root commit. We might have to tag the root (temporarily) as 0.0.0 to get that.

@euanh euanh added the bug label May 16, 2016
@euanh euanh added this to the next-maintenance milestone May 16, 2016
@euanh euanh changed the title planex-pin does not handle repositories without any tags Pinning does not handle repositories without any tags Jan 10, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

1 participant