Use version in ./configure script
Bug #433452 reported by
Neil J. Patel
This bug affects 2 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
bzr-builder |
Confirmed
|
High
|
Unassigned |
Bug Description
For autotool'ed projects, it would be really useful to have the package version grabbed automatically from the configure script, rather than having to update the recipe every time the version changes.
The issue with this is obviously that some (most?) projects that are autotool'ed don't hold the configure script in Bzr, instead the recipe has a `run ./autogen.sh` line after the checkout. This means that you wouldn't know the version until quite late in the process...
tags: | added: hard usability |
To post a comment you must log in.
On Sun Sep 20 10:53:38 UTC 2009 Neil J. Patel wrote:
> Public bug reported:
>
> For autotool'ed projects, it would be really useful to have the package
> version grabbed automatically from the configure script, rather than
> having to update the recipe every time the version changes.
>
> The issue with this is obviously that some (most?) projects that are
> autotool'ed don't hold the configure script in Bzr, instead the recipe
> has a `run ./autogen.sh` line after the checkout. This means that you
> wouldn't know the version until quite late in the process...
I'm not sure that's particularly an issue, we don't currently need
to know the version until after the recipe has finished, so I think
that would be reasonable.
My main concern with this is that I would like to have a solution that
isn't specific to autotools. There's also setup.py and a million other
ways to specify the version.
I recently posted about this to the dailydebs-team list, with no /lists. launchpad. net/dailydebs- team/msg00014. html.
feedback yet: https:/
I'm keen to do this if we can find an elegant solution that allows
most of the million ways to do it to work.
Thanks,
James