CC.NET and LastChangeLabeller

If you are having a problem using Vault, post a message here.

Moderator: SourceGear

Post Reply
bnott
Posts: 28
Joined: Thu Feb 15, 2007 10:03 am
Contact:

CC.NET and LastChangeLabeller

Post by bnott » Thu Feb 15, 2007 10:07 am

I am using the latest versions of vault and CC.NET (1.3.0.2711). I would like to label my builds, and of course the assemblies go with them, using the folder version number from vault.

There is a new "LastChangeLabeller" in CC.NET that seems to be for this purpose, but I believe the Vault Source Control block would need to be updated to make this possible. Is this something that could be done?

Brian

lbauer
Posts: 9736
Joined: Tue Dec 16, 2003 1:25 pm
Location: SourceGear

Post by lbauer » Thu Feb 15, 2007 12:52 pm

I'll log a feature request and we'll look into it.
Linda Bauer
SourceGear
Technical Support Manager

bnott
Posts: 28
Joined: Thu Feb 15, 2007 10:03 am
Contact:

Post by bnott » Thu Feb 15, 2007 2:02 pm

I looked into it a bit more to maybe speed the process a bit :)...

It looks like the "LastChangeNumber" the labeller uses comes from the highest ChangeNumber from the Modifications reported from the source control block.

As far as I can tell there are two reasons this does not work with Vault:
1) The ChangeNumber for each Modification is the "txid" reported by Vault, not the folder version.
2) If there were no modifications (i.e. a ForceBuild), then it won't find a ChangeNumber at all, and the label becomes 1.0.0.unknown.

Thanks,
Brian

lbauer
Posts: 9736
Joined: Tue Dec 16, 2003 1:25 pm
Location: SourceGear

Post by lbauer » Thu Feb 15, 2007 2:55 pm

Thanks for the additional information.
Linda Bauer
SourceGear
Technical Support Manager

samuel_d_jack
Posts: 27
Joined: Wed Oct 20, 2004 2:19 am

Post by samuel_d_jack » Mon Feb 26, 2007 8:52 am

Just to say that I would like to do the same thing: incorporating the Vault folder revision number as the Build number of my product.

Any idea when this could be accomplished
Samuel Jack
Paragon Simulation

abova
Posts: 26
Joined: Mon Mar 08, 2004 8:50 pm

I love this idea also

Post by abova » Sun Jun 24, 2007 11:58 pm

It would be great to have this. Then I could base my build numbers on Vault rather then the build numbers generated from ccnet.

samuel_d_jack
Posts: 27
Joined: Wed Oct 20, 2004 2:19 am

Re: CC.NET and LastChangeLabeller

Post by samuel_d_jack » Fri Sep 19, 2008 4:49 am

I've just implemented a CCNet Labeller plugin to do this. You can find out about it at http://blog.functionalfun.net/2008/09/h ... uilds.html.
Samuel Jack
Paragon Simulation

lbauer
Posts: 9736
Joined: Tue Dec 16, 2003 1:25 pm
Location: SourceGear

Re: CC.NET and LastChangeLabeller

Post by lbauer » Fri Sep 19, 2008 3:08 pm

Thanks.
Linda Bauer
SourceGear
Technical Support Manager

Post Reply