SVN Integration - Setting SVN project properties
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 |
|
Friday, December 23, 2011, 12:07:40 AM |
0
|
Yes, that should be it. |
||||
|
0
|
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 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 |
||||
|
0
|
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
|
||||
|
0
|
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) |
||||
|
0
|
Yes, as long as you change the "search" code to look for CR:project code-item id |
||||
|
0
|
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.) |
||||
|
0
|
It should be on the server under your repository folder. |
||||
|
0
|
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 |
||||
|
0
|
Yes, that should be it. |
||||
|