-
Notifications
You must be signed in to change notification settings - Fork 27
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
Display commit revision for latest Tag, or first commit #156
Labels
enhancement
New feature or request
Comments
hdevalke
added a commit
that referenced
this issue
Nov 6, 2023
Print out the commit sha of the version when running `convco version --commit-sha` Refs: #156
I used this is what it prints for this repository at e9d98f7.
|
hdevalke
added a commit
that referenced
this issue
Nov 6, 2023
Print the prefix before the semantic version using `convco version --print-prefix` or `convco version --pp`. Refs: #156
hdevalke
added a commit
that referenced
this issue
Nov 6, 2023
Print out the commit sha of the version when running `convco version --commit-sha` Refs: #156
hdevalke
added a commit
that referenced
this issue
Nov 6, 2023
Print the prefix before the semantic version using `convco version --print-prefix` or `convco version --pp`. Refs: #156
I also added an option to print the prefix in front of the semantic version |
Very nice. Thanks ! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I am integrating convco into a monorepo that uses pants for the build of many artefacts (packages)
Pants, given a commit can detail with filters (paths, types) which packages are impacted.
It can also build the said packages with the same filters.
An example of the usage would be
pants --changes-since=$(convco version --tagrev --prefix my/lib/v --paths my/lib ) package list
Convco knows for a given paths (path/to/package) and for a given tag prefix path/to/package/v , what the latest tag is.
What I am looking for is to ask convco for the commit of that tag instead (version --tagrev)
Currently I do this lookup in shell with calls to convco and to git log
It will be nice to do this only with convco
In scenario where there is no tag then convco should print the first introducing commit (if paths or the first commit if no paths)
Thoughts ?
The text was updated successfully, but these errors were encountered: