GNU bug report logs -
#31786
'pre-inst-env guix --version' is not updated by new commits"
Previous Next
Full log
View this message in rfc822 format
Hello George,
George Clemmer <myglc2 <at> gmail.com> skribis:
> But with subsequent git commit/make cycles the version does not
> change. It doesn't change when the guix package is updated either. For
> example, after pulling and building the recent commit updating the guix
> package ...
Currently the version number is hardcoded in ‘configure.ac’, so the fact
that running “git pull && make” doesn’t change it is expected. So to
me, it’s not a bug.
We could improve on that (see for instance how Guile does it with
build-aux/git-version-gen), but it still won’t be updated at each commit
because that’d be inconvenient: ‘config.h’ would regenerated, so in turn
we’d need to rebuild all of the C++ code.
‘guix pull’ does the right thing though, which I think is more important
than the build tree.
> Side questions:
>
> 1) why don't you gitignore "doc/stamp-1"?
Good idea, done! :-)
> 2) why don't you gitignore .po files?
Because they are checked in.
Thanks for your report.
Ludo’.
This bug report was last modified 6 years and 359 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.