Gemini Community Support Site

This Gemini community support site can be used to find solutions to product issues. You can log in using Open Id, Google Profile and even Facebook. Feel free to ask a question or browse FAQs and documentation. Product tour videos are also available along with how-to videos demonstrating key Gemini capabilities.




SVN Integration - Setting SVN project properties

add-ons
source-control

Hi,

I am working with the CounterSoft.Gemini.SourceControl.SVN project (v4.2.1) and made a change to the Utilities.cs file. Our standard SVN check-in comments start with the string "CR: <ProjCode>-<IssueID>" (e.g. "CR: FBAR3-2468"). I changed the Regex pattern in ParseCheckinCommentForIssueIDs() from "GEM:(?<issueid>[0-9]+)" to "CR: [A-Z0-9]+-(?<issueid>[0-9]+)" to handle our format.

So now I come to my question. How do I deal with the SVN project properties settings? Specifically, I'm not sure what setting to use for "bugtraq:message". The example screenshot shows "GEM:%BUGID%". Does this value need to match the pattern which I referred to above ("CR: <ProjCode>-<IssueID>")? If so, it's not obvious to me how to handle this.

Thanks very much for any help on this!

-Dan

User57545
· 1
User57545
Replies (9)
helpful
0
not helpful

Yes, that should be it.


Mark Wing
· 9108
Mark Wing
helpful
0
not helpful

I'm sorry Mark, but I don't know how to interpret your answer. (What are you referring to when you say "Yes"?)

Maybe I need to more clearly state my questions:

Should I set "bugtraq:message" to "GEM:%BUGID%" (even though we want to use a different format "CR: <ProjCode>-<IssueID>" )?

If not, then what should I set as the value for "bugtraq:message"?

Or, is it not possible to include the project code in the SVN check-in comments and have this integration work correctly?

Thanks again.

-Dan


User57545
· 1
User57545
helpful
0
not helpful

The message need to be in the format your changes expect. For the default we look for GEM:BUGID for the item id. For you it seems like you'd like it to be CR:%BUGID%

··· So "CR: %BUGID%" would work even if the check-in comment looks like "CR: PROJ2-1234" (and not like "CR: 1234")?User57545Tuesday, December 27, 2011, 6:37:57 PM

Saar Cohen
· 5000
Saar Cohen
helpful
0
not helpful

Saar,

So "CR: %BUGID%" would work even if the check-in comment looks like "CR: PROJ2-1234" (and not like "CR: 1234")?

(sorry, meant to reply and not just comment on your reply)


User57545
· 1
User57545
helpful
0
not helpful

Yes, as long as you change the "search" code to look for CR:project code-item id


Saar Cohen
· 5000
Saar Cohen
helpful
0
not helpful

Thanks. I will give this a try.

Now I have a really simple question... :)

The readme instructions state: "Place the following files into "hooks" folder of your Subversion repository".

Where would I find the "hooks" folder within a Windows installation of SVN? (I do not currently have access to the server, but I'm requesting access to the "hooks" folder and IT can't find it.)


User57545
· 1
User57545
helpful
0
not helpful

It should be on the server under your repository folder.


Saar Cohen
· 5000
Saar Cohen
helpful
0
not helpful

I think this will be my last question. :)

I got everything working in a test branch of our SVN repository. Now I need to implement this across all of our repositories. I assume that for each repository, I will need to update (and commit) the project properties at the root directory and apply those properties recursively so the changes will propagate throughout the tree. Is that correct?

Thanks.

-Dan


User57545
· 1
User57545
helpful
0
not helpful

Yes, that should be it.


Mark Wing
· 9108
Mark Wing