[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[gnuastro-devel] [task #13991] Automatically generate Gnuastro's version
From: |
Mohammad Akhlaghi |
Subject: |
[gnuastro-devel] [task #13991] Automatically generate Gnuastro's version number from Git |
Date: |
Fri, 06 May 2016 09:22:11 +0000 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:46.0) Gecko/20100101 Firefox/46.0 |
URL:
<http://savannah.gnu.org/task/?13991>
Summary: Automatically generate Gnuastro's version number
from Git
Project: GNU Astronomy Utilities
Submitted by: makhlaghi
Submitted on: Fri 06 May 2016 06:22:10 PM JST
Should Start On: Fri 06 May 2016 12:00:00 AM JST
Should be Finished on: Fri 06 May 2016 12:00:00 AM JST
Category: Development
Priority: 5 - Normal
Item Group: Enhancement
Status: In Progress
Privacy: Public
Percent Complete: 80%
Assigned to: makhlaghi
Open/Closed: Open
Discussion Lock: Any
Effort: 0.00
_______________________________________________________
Details:
Once Gnuastro is released, an astronomer might clone Gnuastro, and use the
most recent version in their research which they want to publish. To be
reproducible, they have to report the Gnuastro version number in their paper
and with the current system, they will have to report the last available
version which is not correct since they have been using the most recently
pulled master branch (which might have undergone significant updates)
eversince the last tagged commit.
Therefore we have to allow Autoconf to build the version number from the Git
repository automatically. Fortunately Gnulib has the perfect tool for the job:
the `build-aux/git-version-gen' script. This script will use the output of
`git describe' to generate a version number. The great thing is that if
anything is not commited, it will also add a `-dirty' string to the version
number (reminding the author to commit their work)!
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/task/?13991>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/
- [gnuastro-devel] [task #13991] Automatically generate Gnuastro's version number from Git,
Mohammad Akhlaghi <=
- [gnuastro-devel] [task #13991] Automatically generate Gnuastro's version number from Git, Mohammad Akhlaghi, 2016/05/08
- [gnuastro-devel] [task #13991] Automatically generate Gnuastro's version number from Git, Mosè Giordano, 2016/05/08
- [gnuastro-devel] [task #13991] Automatically generate Gnuastro's version number from Git, Mohammad Akhlaghi, 2016/05/08
- [gnuastro-devel] [task #13991] Automatically generate Gnuastro's version number from Git, Mosè Giordano, 2016/05/08
- [gnuastro-devel] [task #13991] Automatically generate Gnuastro's version number from Git, Mosè Giordano, 2016/05/08
- [gnuastro-devel] [task #13991] Automatically generate Gnuastro's version number from Git, Mosè Giordano, 2016/05/08
- [gnuastro-devel] [task #13991] Automatically generate Gnuastro's version number from Git, Mohammad Akhlaghi, 2016/05/09
- [gnuastro-devel] [task #13991] Automatically generate Gnuastro's version number from Git, Mohammad Akhlaghi, 2016/05/13
- [gnuastro-devel] [task #13991] Automatically generate Gnuastro's version number from Git, Mohammad Akhlaghi, 2016/05/14