Re: [Fwd: Re: Allow bootstrap from git repository]

2008-04-16 Thread Jim Meyering
Peter O'Gorman [EMAIL PROTECTED] wrote: ... Thanks for looking at this. I still can not push though :( Total 9 (delta 0), reused 0 (delta 0) error: Unable to append to logs/refs/heads/master: Permission denied ng refs/heads/master failed to write error: failed to push to 'ssh://[EMAIL

Re: [Fwd: Re: Allow bootstrap from git repository]

2008-04-16 Thread Peter O'Gorman
Jim Meyering wrote: Peter O'Gorman [EMAIL PROTECTED] wrote: ... Thanks for looking at this. I still can not push though :( Total 9 (delta 0), reused 0 (delta 0) error: Unable to append to logs/refs/heads/master: Permission denied ng refs/heads/master failed to write error: failed to push

Re: Allow bootstrap from git repository

2008-04-15 Thread Peter O'Gorman
] Allow bootstrap from git repository. * Makefile.am: Pass srcdir as an argument to mkstamp and expect only 2 fields in mkstamps output. * clcommit.m4sh: Ditto. * configure.ac: Ditto. * libltdl/config/mkstamp: return a revision and date based on the number of lines which look like dates in all

Re: Allow bootstrap from git repository

2008-04-15 Thread Ralf Wildenhues
Hi Peter, * Peter O'Gorman wrote on Tue, Apr 15, 2008 at 04:54:10PM CEST: I looked again, and at first counted all the lines in all the changelogs, but then it seemed better to count only what looked like dates. Better. I don't mind that multiple commits like this count as one: 2008-xx-xx

Re: Allow bootstrap from git repository

2008-04-15 Thread Bob Friesenhahn
If we need an increasing serial number, can't we obtain one from git? Does git offer the ability to update an RCS-style string in a text file each time it is modified? If that is the case, then we would just need to arrange to modify that file each time there is a commit to git. Of course

Re: Allow bootstrap from git repository

2008-04-15 Thread Ralf Wildenhues
* Bob Friesenhahn wrote on Tue, Apr 15, 2008 at 08:15:45PM CEST: If we need an increasing serial number, can't we obtain one from git? Does git offer the ability to update an RCS-style string in a text file each time it is modified? If that is the case, then we would just need to arrange

Re: Allow bootstrap from git repository

2008-04-15 Thread Bob Friesenhahn
On Tue, 15 Apr 2008, Ralf Wildenhues wrote: bootstrapping without having git available. If you're now OK with needing git for bootstrapping, then we can go similar to Autoconf. No, that is not ok for me. :-) I had a different idea but now I realize that it was unworkable. Bob

Re: Allow bootstrap from git repository

2008-04-15 Thread Peter O'Gorman
Ralf Wildenhues wrote: Please make the latter be $1/ChangeLog.[12][0-9][0-9][0-9] so backup files don't count (I tend to cp foo foo.bak at times). OK with that change. git push fails for me with: [EMAIL PROTECTED] libtool]$ git push updating 'refs/heads/master' from

Allow bootstrap from git repository

2008-04-14 Thread Peter O'Gorman
--git a/ChangeLog b/ChangeLog index b4fac02..3eba77e 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,10 @@ +2008-04-14 Peter O'Gorman [EMAIL PROTECTED] + + Allow bootstrap from git repository. + * Makefile.am: Expect mkstamp to return only rev date. + * libltdl/config/mkstamp: return a revision

Re: Allow bootstrap from git repository

2008-04-14 Thread Ralf Wildenhues
Hi Peter, * Peter O'Gorman wrote on Tue, Apr 15, 2008 at 05:43:36AM CEST: * Makefile.am: Expect mkstamp to return only rev date. * libltdl/config/mkstamp: return a revision and date based on the number of lines in the input and the topmost date. Hmm, I was almost saying OK, except the last

Re: Allow bootstrap from git repository

2008-04-14 Thread Ralf Wildenhues
* Peter O'Gorman wrote on Tue, Apr 15, 2008 at 07:40:54AM CEST: Ralf Wildenhues wrote: But how do you ensure @MACRO_SERIAL@ increases after ChangeLog rotation? Ha! Having never done a ChangeLog rotation or paid it much attention, I figured that the new ChangeLog would have a commit