[PATCH] Derive version numbers from git

2010-04-09 Thread Carl Worth
On Thu, 08 Apr 2010 13:49:22 +0200, Michal Sojka wrote: > On Wed, 07 Apr 2010, Carl Worth wrote: > I have modified the patch slightly and I think that it could solve the > above points. The release process should be modified this way: you skip > point 5 (increment the notmuch version in

Re: [PATCH] Derive version numbers from git

2010-04-09 Thread Carl Worth
On Thu, 08 Apr 2010 13:49:22 +0200, Michal Sojka sojk...@fel.cvut.cz wrote: On Wed, 07 Apr 2010, Carl Worth wrote: I have modified the patch slightly and I think that it could solve the above points. The release process should be modified this way: you skip point 5 (increment the notmuch

[PATCH] Derive version numbers from git

2010-04-08 Thread Michal Sojka
enough. Then > we could drop this rule: > > > +version: > > + git describe > $@ I put it completely as part of TAR_FILE creation. If it was only generated during release process, make dist would produce non-compilable archives. -Michal --8<-------cut here-------

[PATCH] Derive version numbers from git

2010-04-07 Thread Carl Worth
On Tue, 06 Apr 2010 18:11:28 +0200, Michal Sojka wrote: > On Tue, 06 Apr 2010, Sebastian Spaeth wrote: > > > But, there are people without git installed that download the release > > tarball. So if this patch makes it, we need to replace this with a > > static version number when baking a

Re: [PATCH] Derive version numbers from git

2010-04-07 Thread Carl Worth
On Tue, 06 Apr 2010 18:11:28 +0200, Michal Sojka sojk...@fel.cvut.cz wrote: On Tue, 06 Apr 2010, Sebastian Spaeth wrote: But, there are people without git installed that download the release tarball. So if this patch makes it, we need to replace this with a static version number when

[PATCH] Derive version numbers from git

2010-04-06 Thread Michal Sojka
On Tue, 06 Apr 2010, Sebastian Spaeth wrote: > On 2010-04-06, Michal Sojka wrote: > > I often have several versions of notmuch compiled and it would be very > > helpful to be able to distinguish between them. Git has a very nice > > feature to make intermediate numbering automatic and

[PATCH] Derive version numbers from git

2010-04-06 Thread Sebastian Spaeth
On 2010-04-06, Michal Sojka wrote: > I often have several versions of notmuch compiled and it would be very > helpful to be able to distinguish between them. Git has a very nice > feature to make intermediate numbering automatic and unambiguous so > let's use it here. But, there are people

[PATCH] Derive version numbers from git

2010-04-06 Thread Michal Sojka
On Tue, 06 Apr 2010, Carl Worth wrote: > In trying to get notmuch to grow up a little bit, I've just added a > version number (0.1 initially) and have started doing releases. My idea > for now is to have 2-part versions for releases, and 3-part versions to > indicate intermediate states within