[cvsnt] Bug id format?

Matthew McClellan MMcClellan at merkleinc.com
Wed Jan 7 05:26:00 GMT 2009

Community technical support mailing list was retired 2010 and replaced with a professional technical support team. For assistance please contact: Pre-sales Technical support via email to sales@march-hare.com.

I just recently started using the "Mark Bug" feature, and we happen to
be using JIRA for most of our development issue tracking.  In our
current environment we have a few separate projects in JIRA whose code
is all managed in the same CVSNT repository - running; this
particular senario needs that prefix to be included in the "Bug Number"
textbox on commit - otherwise there would be no way of matching that Bug
to the correct JIRA project.  Anyway, so far things have worked great;
the CVSNT audit database correctly stores the entire string in the BugId
column, the commit messages are consistently correct, TortoiseCVS (from
March-Hare) must be sending the Bug Number correctly too, and even
CVSMailer can find the Bug comment and add the correct link to the JIRA
issue in the email messages.

Very cool that it works as a string so far.  Does EVS treat it as a
string?  Has anyone encountered an issue where an alpha-numeric Bug
Number has been mangled?

- Matt

-----Original Message-----
From: cvsnt-bounces at cvsnt.org [mailto:cvsnt-bounces at cvsnt.org] On Behalf
Of Arthur Barrett
Sent: Tuesday, January 06, 2009 8:55 PM
To: Gerhard Fiedler; cvsnt at cvsnt.org cvsnt downloads at march-hare.com @CVSNT on Twitter CVSNT on Facebook
Subject: Re: [cvsnt] Bug id format?


> is the bug id a string or a number? 

As Tony indicated it is stored in the RCS file as an ID, so it could be
anything.  However at various points in the code it is treated as an
integer - so best to stick to numbers only.  The 'message to bugid'
stuff in the current commercial release that should be in the next CVSNT
release also treats it as an integer (I think some of the patches I
submitted to TortoiseCVS may also treat it as an integer).

It would have been 'better' to treat it as a string all along, and the
RCS format gives us that option in future - it's particularly tricky to
integrate to bug systems like JIRA that use a 'prefix' on the bug number
- however it does have it's advantages too (even in Jira it really is a
bug number with a project prefix and treating the bug number as a bug
number means it can be used cross project).


cvsnt mailing list
cvsnt at cvsnt.org cvsnt downloads at march-hare.com @CVSNT on Twitter CVSNT on Facebook
http://www.cvsnt.org/cgi-bin/mailman/listinfo/cvsnt https://www.march-hare.com/cvspro/en.asp#downcvs

Upgrade to CVS Suite for more features and support:

More information about the cvsnt mailing list
Download the latest CVSNT, TortosieCVS, WinCVS etc. for Windows 8 etc.
@CVSNT on Twitter   CVSNT on Facebook