GNU Astronomy Utilities - Tasks: task #13778, For v0.1: Script to prepare the...
You are not allowed to post comments on this tracker with your current authentication level.
task #13778: For v0.1: Script to prepare the raw VC source
Submitter: | Mohammad Akhlaghi <makhlaghi> | ||
Submitted: | Fri 16 Oct 2015 08:35:39 AM UTC | ||
Should Start On: | Thu 15 Oct 2015 03:00:00 PM UTC | Should be Finished on: | Thu 15 Oct 2015 03:00:00 PM UTC |
Category: | Installation | Priority: | 8 |
Item Group: | Enhancement | Status: | Done |
Privacy: | Public | Assigned to: | makhlaghi |
Percent Complete: | 100% | Open/Closed: | Closed |
Effort: | 0.00 |
Jump to the original submission
Sat 30 Apr 2016 10:10:53 AM UTC, comment #7: |
Mohammad Akhlaghi <makhlaghi> |
Mon 09 Nov 2015 12:40:10 AM UTC, comment #6: Thanks, this is really interesting. I will try it out and merge it in master if there are no issues.
|
Mohammad Akhlaghi <makhlaghi> |
Sun 08 Nov 2015 04:28:04 PM UTC, comment #5: In my "bootstrap" branch I included the "bootstrap" script and "boostrap.conf" configuration file.
|
Mosè Giordano <giordano> |
Sat 07 Nov 2015 09:41:01 AM UTC, comment #4: I just found another solution to ease the initial configuration: http://git.savannah.gnu.org/cgit/gnulib.git/tree/build-aux/bootstrap I think this does what you want. In addition, it seems the name "bootstrap" is nowadays preferred over "autogen.sh" by the Autotools project (see https://www.gnu.org/software/automake/faq/autotools-faq.html#What-does-_002e_002fbootstrap-or-_002e_002fautogen_002esh-do_003f). |
Mosè Giordano <giordano> |
Sat 07 Nov 2015 03:17:03 AM UTC, comment #3: The Emacs example is great, thanks ;-). I will do this when ever I have some time, but definitely prior to the version 0.1 release.
|
Mohammad Akhlaghi <makhlaghi> |
Wed 04 Nov 2015 10:33:14 AM UTC, comment #2: Emacs has a script to merge Gnulib into Emacs source: http://git.savannah.gnu.org/gitweb/?p=emacs.git;a=blob;f=admin/merge-gnulib;hb=HEAD We can take it and adapt to our needs, if needed. In this way, the autogen.sh script can be given optionally the path to Gnulib, in case one already has it, otherwise it'll run the above script to fetch it from the repository. |
Mosè Giordano <giordano> |
Fri 16 Oct 2015 12:03:25 PM UTC, comment #1: I add that in order for the "install" make rule to success one needs to install also help2man, this should be mentioned in the compilation instructions. |
Mosè Giordano <giordano> |
Fri 16 Oct 2015 08:35:39 AM UTC, original submission:
This was actually suggested by Mosè.
|
Mohammad Akhlaghi <makhlaghi> |
No files currently attached
Depends on the following items: None found
Items that depend on this one: None found
There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.
Follow 7 latest changes.
Date | Changed by | Updated Field | Previous Value | => | Replaced by |
---|---|---|---|---|---|
2016-04-30 | makhlaghi | Status | Postponed | Done | |
Percent Complete | 90% | 100% | |||
Open/Closed | Open | Closed | |||
2015-11-08 | giordano | Percent Complete | 10% | 90% | |
2015-11-07 | makhlaghi | Percent Complete | 0% | 10% | |
Assigned to | None | makhlaghi | |||
Summary | Script to prepare the raw VC source | For v0.1: Script to prepare the raw VC source |
Powered by Savane 3.13-4b48.
Corresponding source code
Thanks to your great work in your bootstrap branch, I implemented in Gnuastro and it is now possible to prepare the version controlled source for ./configure with the single command below (after cloning Gnulib and Autoconf-archives):
The full "Version controlled source" of the book was also re-written and a section ("Bootstrapping") was added to thoroughly explain the process:
http://www.gnu.org/software/gnuastro/manual/html_node/Bootstrapping.html
I just had a comment: there were no comments in your bootstrap.conf file, so to understand everything (and implement and run it) I had to spend a lot of time (maybe as much as you did) trying to understand what these variables are and why you defined them like this.
In the current bootstrap.conf file, the variables and functions that we have added to the Gnulib bootstrap.conf are clearly sparated from from the ones we changed the value of and the ones we didnot change. Also, the reasoning behind the variables and their values is explained.
Since this file will not be updated a lot, even we will forget the details in a few months and have to invest a lot of time again to change something or make an update. Also Gnulib distributes a the bootstrap.conf file also, so it was important to clearly separte our additions/changes from the default ones to be able to easily update our bootstrap.conf if the default one changes. Besides these, in Gnuastro we want to encourage scientists (not necessary trained in these steps) to hack into it. So it is very important to heavily comment everything. If you feel anything is lacking in the current version (and its comments), please feel free to add to them.
Thanks again for the great suggestion and work, Mosè.