[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: Bump of release?

From: Greg Stein <gstein_at_lyra.org>
Date: 2003-01-11 03:11:36 CET

On Fri, Jan 10, 2003 at 11:25:41PM +0000, Philip Martin wrote:
> Kevin Pilch-Bisson <kevin@pilch-bisson.net> writes:
>
> > I'm in favour of have a revnum in the version, but I don't really like the
> > idea of the build system crawling my entire wc and reading all of the entries
> > files to see what revisions of files I have.
>
> I got as far as writing a program that did scan the working copy using
> svn_client_status. It took about 1-2 seconds to run on my not-so-fast
> machine. My vague plan was a build process something like:
>
> - build the libraries
> - build svnversion (my new program)
> - run svnversion to produce a C header file containing the version string
> - build svn with one file including the new header

I think we'd need to run this each time that we link the programs. It's
doable, but it will certainly cost some time during the build process. I'd
think we could find a way to integrate it.

>...
> I never got as far as working out how to integrate it into the build
> system, or how to handle the regression tests that see the version
> number. I could dig it out if people are interested.

At first, I was going to say to check it into trunk/build/, but should make
this a "real" tool to ship with Subversion?

And, I'm +0 on the various options and whatnot.

Cheers,
-g

-- 
Greg Stein, http://www.lyra.org/
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Sat Jan 11 03:10:19 2003

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.