Re: [PATCH] GIT-VERSION-GEN: Do not require tags to be annotated

2 messages, 2 authors, 2016-06-15 · open the first message on its own page

Re: [PATCH] GIT-VERSION-GEN: Do not require tags to be annotated

From: Junio C Hamano <hidden>
Date: 2016-06-15 22:58:42

Sebastian Schuberth [off-list ref] writes:
Right, but do we really need DEF_VER *and* version? Couldn't we just
package official source tarballs in a way that they already contain an
auto-generated version file?
If you read our Makefile, you will see that we do include the
version file in our official tarball with "make dist".

That however does not help those who use a tarball obtained from
git-archive, perhaps via gitweb running at the distribution site.

Theoretically speaking, you can rip out everything but "version" and
tell those who have been relying on the way other parts of G-V-G
worked to change their workflow to stuff their favorite version
string to that file before building, so in that sense, we do not
*need* DEF_VER and version.  But they have been there for a long
time, and I do not think it gives us a good trade-off between
risking regression and reducing the linecount to change it to remove
one.

Re: [PATCH] GIT-VERSION-GEN: Do not require tags to be annotated

From: Sebastian Schuberth <hidden>
Date: 2016-06-15 22:58:43

On Tue, Sep 10, 2013 at 5:59 PM, Junio C Hamano [off-list ref] wrote:
string to that file before building, so in that sense, we do not
*need* DEF_VER and version.  But they have been there for a long
time, and I do not think it gives us a good trade-off between
risking regression and reducing the linecount to change it to remove
one.
Fair enough!

-- 
Sebastian Schuberth
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help