dynamic version string (generate version by running a command)
Bug #2056490 reported by
Richard Hansen
This bug affects 2 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
git-build-recipe |
Incomplete
|
Undecided
|
Unassigned |
Bug Description
The version number substitution variables are quite limited; it is not possible to automatically derive the version string from the upstream version. This makes it difficult to maintain daily snapshot recipes. I would like to be able to run a command to dynamically compute the version. For example:
# git-build-recipe format 0.5 deb-version {versioncmd}
lp:upstream-example
merge packaging lp:~username/upstream-example/+git/upstream-example-packaging
versioncmd ./configure -V | sed -n -e '1s/.* //p'
To post a comment you must log in.
Thanks for your feature request.
The main contributor to this package has moved on from Canonical.
We will certainly continue to maintain this package, but we have very limited capacity.
I have not used this package before, and it seems to lack documentation, so I had a quick look in the source for the mentioned substitution variables, but did not see anything helpful.
Again, I have not used this package before, but it seems like there should be a solution available.
I think the very reason for this package is to be able to test new commits easily.
Richard, maybe you can give me some more background infos. Have you used this package for a long time? Is your requirement new?
I think I could reach out to some colleagues here at Canonical who might be active users of it for some feedback.