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

Re: Automate the version number

From: Simon Large <simon.tortoisesvn_at_googlemail.com>
Date: 2007-05-10 16:47:55 CEST

On 10/05/07, Jon Daley <jon@limedaley.com> wrote:
> On Thu, 10 May 2007, Lübbe Onken wrote:
> >> And what happens after you check in another file? The $Rev$
> >> keyword is not touched in your version.h file.
> >
> > No it isn't. The $Rev$ keyword reflects the revision in which that
> > particular file was last changed.
> I agree.
>
> > IMNSHO storing the current revision number of a repository inside a file in
> > the repository is for wimps (people who don't trust their own build
> > process). Forgive my harsh words, I don't want to start a religious war
> > here, but I don't like the idea.
> That's fine. We do change the version number for each official
> release, but it is nice having every revision tagged, so if people are
> mildly clueless about which version they downloaded, we would know, so
> when they report a bug, we know if they are running the current release or
> not.
> We added the version information because people don't remember
> which version they downloaded, so we added it to the HTML comments, so if
> they give us their URL we can check if they are actually running the
> version they say they are.
>
> > We have a version file that contains our software release number (x.y.z)
> > which is edited manually and which is under revision control. The repository
> > revision number is only added at build time when a release is made.
> Right, and then anyone using anything in between "official"
> releases are completely untagged.

In this context "release" means anything made publicly available. Our
nightly build always includes running SubWCRev so as to generate the
repository revision, so every nightly is uniquely identified.

> > You also have to ensure that every client has the client side hook
> > installed.
> Correct, that will kill this feature for me, since the ones I care
> about the most are the clueless folks, not the developers.

The client side hooks are only required if your build process is not
able to call SubWCRev.

I am a little confused about your process now. Why are the clueless
folks using a subversion client anyway? Aren't they downloading from
your distribution rather than directly from the SVN repo?

Simon

-- 
       ___
  oo  // \\      "De Chelonian Mobile"
 (_,\/ \_/ \     TortoiseSVN
   \ \_/_\_/>    The coolest Interface to (Sub)Version Control
   /_/   \_\     http://tortoisesvn.net
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tortoisesvn.tigris.org
For additional commands, e-mail: users-help@tortoisesvn.tigris.org
Received on Thu May 10 16:48:01 2007

This is an archived mail posted to the TortoiseSVN Users mailing list.

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