Hello,
I'm trying to define different RepoPathConfig elements for different ControlledPaths, for example:
<RepoPathConfig ControlledPaths="/trunk/project1" ControlledRepos="E:/SVNRepositories/myCompany">
<RepoPathConfig ControlledPaths="/trunk/project2" ControlledRepos="E:/SVNRepositories/myCompany">
<RepoPathConfig ControlledPaths="/trunk/project3" ControlledRepos="E:/SVNRepositories/myCompany">
When i commit to project2 or project3 it looks like the configuration is taken from the first configuration (project1) and thus I don't emails sent because project3 isn't a controlled path in the first RepoPathConfig.
Is it not possible to create this separate RepoPathConfig elements for the same ControlledRepos with different ControlledPaths?
Thanks,
Dudi.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Dudi,
What you are trying to do is very much possible. In fact, I'm a bit baffled as to why you are seeing the results you are. Can you set your LoggingLevel to DEBUG and try another commit? Then, please e-mail me the SubversionNotify.cfg and Subversion Notify.log files that you have and I'll see if I can troubleshoot for you.
Thanks,
Mike
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi Mike,
Below is the log output and the relevant config data.
Log:
[31/07/2008 10:15:23] *************************
[31/07/2008 10:15:23] Starting process for Revision 581-1 [E:/SVNRepositories/myCompany]
[31/07/2008 10:15:24] Configuration file deserialized. Logging level set to: DEBUG
[31/07/2008 10:15:24] SubversionNotify, Version=2.0.7.0, Culture=neutral, PublicKeyToken=null
[31/07/2008 10:15:24] No ItemTrackerRegistration entries found.
[31/07/2008 10:15:24] Processing type: pre-commit
[31/07/2008 10:15:24] Commit Paths: /trunk/App1/
[31/07/2008 10:15:24] Controlled Paths List: /trunk/App2
[31/07/2008 10:15:24] SetRepoPathPrecidence :: Incomming configs = 0 ; Returning configs = 0
[31/07/2008 10:15:24] SelectApplicableReproConfigs :: Returning 0 RepoPathConfig objects
[31/07/2008 10:15:24] LockedPaths :: No check elements found.
[31/07/2008 10:15:24] PreCommitProcessing :: Generating SvnLook directory file listing
[31/07/2008 10:15:24] PreCommitProcessing :: Checking for case-insensitive file match
[31/07/2008 10:15:24] Passed Folder Name Exclusion test.
[31/07/2008 10:15:24] Passed File Type Exclusion test.
[31/07/2008 10:15:24] Checking for FileTypeTag Requirements complete. Not Required.
[31/07/2008 10:15:24] Checking for LogMessageCheck Requirements. Configs to check: 0
[31/07/2008 10:15:24] LogMessageCheck checking log message: updated App1_format.txt with the current App1 header data format.
[31/07/2008 10:15:24] LogMessageCheck file list: U trunk/App1/App1.suo
; U trunk/App1/App1_format.txt
[31/07/2008 10:15:24] LogMessageCheck complete and not required.
[31/07/2008 10:15:24] GleenItemNumbers :: Returning 0 ItemTrackingSet objects
[31/07/2008 10:15:24] All Pre-commit checks passed.
[31/07/2008 10:15:24] *************************
[31/07/2008 10:15:24] Starting process for Revision 582 [E:/SVNRepositories/myCompany]
[31/07/2008 10:15:25] Configuration file deserialized. Logging level set to: DEBUG
[31/07/2008 10:15:25] SubversionNotify, Version=2.0.7.0, Culture=neutral, PublicKeyToken=null
[31/07/2008 10:15:25] No ItemTrackerRegistration entries found.
[31/07/2008 10:15:25] Processing type: post-commit
[31/07/2008 10:15:25] SelectApplicableReproConfigs :: ChangedFiles list: U trunk/App1/App1.suo
U trunk/App1/App1_format.txt
[31/07/2008 10:15:25] SelectApplicableReproConfigs :: Modified file name: trunk/App1/App1.suo
[31/07/2008 10:15:25] SelectApplicableReproConfigs :: Modified file name: trunk/App1/App1_format.txt
[31/07/2008 10:15:25] Controlled Paths List: /trunk/App2
[31/07/2008 10:15:25] SetRepoPathPrecidence :: Incomming configs = 0 ; Returning configs = 0
[31/07/2008 10:15:25] SelectApplicableReproConfigs :: Returning 0 RepoPathConfig objects
[31/07/2008 10:15:25] GleenItemNumbers :: Returning 0 ItemTrackingSet objects
[31/07/2008 10:15:25] InfoHeader :: Raw Header message -
dudi
2008-07-31 10:15:24 +0300 (TsfáS, 31 Ts8 2008)
65
updated App1_format.txt with the current App1 header data format.
[31/07/2008 10:15:25] Controlled Paths List: /trunk/App2
[31/07/2008 10:15:25] SetRepoPathPrecidence :: Incomming configs = 0 ; Returning configs = 0
[31/07/2008 10:15:25] SelectApplicableReproConfigs :: Returning 0 RepoPathConfig objects
[31/07/2008 10:15:25] HTML file written to C:\Program Files (x86)\SubversionNotify\log\Revision 582.html
[31/07/2008 10:15:25] HTML Message Generated
[31/07/2008 10:15:26] Generating e-mail message
[31/07/2008 10:15:26]
Unable to locate matching ReproPathConfig -> ControlledPaths / ControlledRepros properties. No e-mail will be sent.
File Paths committed are:
/trunk/App1
To send e-mail for these path(s), you must have a ControlledPaths attribute set to the folder name (including the leading "/") or one of its parents.
Also, be sure the ControlledPaths is set to a repro URL path and not a physical drive path.
To control your entire repository, use the setting: controlledPaths="/"
For further details, see the manual at http://www.SubversionNotify.com
[31/07/2008 10:15:26] Finished e-mail processing.
[31/07/2008 10:15:26] Finished processing Revision 582
Cfg: (I omitted all the data inside the RepoPathConfig elements, this is the elements' order in the cfg file)
<RepoPathConfig ControlledPaths="/trunk/App2" ControlledRepos="E:/SVNRepositories/myCompany">
<RepoPathConfig ControlledPaths="/trunk/App1,/trunk/App3" ControlledRepos="E:/SVNRepositories/myCompany">
<RepoPathConfig ControlledPaths="/trunk/App4" ControlledRepos="E:/SVNRepositories/myCompany">
<RepoPathConfig ControlledPaths="/trunk/App5" ControlledRepos="E:/SVNRepositories/myCompany">
Thank in advance,
Dudi.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Dudi,
So far, I'm stumped. Clearly, from the log, it is only recognizing the first RepoPathConfig and not looking at or finding the other ones. Can you send me the full cfg file so I can check for any other issues? If you don't want to post the contents in the forum, can you e-mail it to me (and please remove any passwords, etc) :-)
Thanks,
Mike
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
When I tried copying the file from the server I actually saw that the cfg file didn't change after saving it because I wasn't logged in as an administrator :)
I logged in as an admin and saved the file, now all works well!
Thank again for your support.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hello,
I'm trying to define different RepoPathConfig elements for different ControlledPaths, for example:
<RepoPathConfig ControlledPaths="/trunk/project1" ControlledRepos="E:/SVNRepositories/myCompany">
<RepoPathConfig ControlledPaths="/trunk/project2" ControlledRepos="E:/SVNRepositories/myCompany">
<RepoPathConfig ControlledPaths="/trunk/project3" ControlledRepos="E:/SVNRepositories/myCompany">
When i commit to project2 or project3 it looks like the configuration is taken from the first configuration (project1) and thus I don't emails sent because project3 isn't a controlled path in the first RepoPathConfig.
Is it not possible to create this separate RepoPathConfig elements for the same ControlledRepos with different ControlledPaths?
Thanks,
Dudi.
Dudi,
What you are trying to do is very much possible. In fact, I'm a bit baffled as to why you are seeing the results you are. Can you set your LoggingLevel to DEBUG and try another commit? Then, please e-mail me the SubversionNotify.cfg and Subversion Notify.log files that you have and I'll see if I can troubleshoot for you.
Thanks,
Mike
Hi Mike,
Below is the log output and the relevant config data.
Log:
[31/07/2008 10:15:23] *************************
[31/07/2008 10:15:23] Starting process for Revision 581-1 [E:/SVNRepositories/myCompany]
[31/07/2008 10:15:24] Configuration file deserialized. Logging level set to: DEBUG
[31/07/2008 10:15:24] SubversionNotify, Version=2.0.7.0, Culture=neutral, PublicKeyToken=null
[31/07/2008 10:15:24] No ItemTrackerRegistration entries found.
[31/07/2008 10:15:24] Processing type: pre-commit
[31/07/2008 10:15:24] Commit Paths: /trunk/App1/
[31/07/2008 10:15:24] Controlled Paths List: /trunk/App2
[31/07/2008 10:15:24] SetRepoPathPrecidence :: Incomming configs = 0 ; Returning configs = 0
[31/07/2008 10:15:24] SelectApplicableReproConfigs :: Returning 0 RepoPathConfig objects
[31/07/2008 10:15:24] LockedPaths :: No check elements found.
[31/07/2008 10:15:24] PreCommitProcessing :: Generating SvnLook directory file listing
[31/07/2008 10:15:24] PreCommitProcessing :: Checking for case-insensitive file match
[31/07/2008 10:15:24] Passed Folder Name Exclusion test.
[31/07/2008 10:15:24] Passed File Type Exclusion test.
[31/07/2008 10:15:24] Checking for FileTypeTag Requirements complete. Not Required.
[31/07/2008 10:15:24] Checking for LogMessageCheck Requirements. Configs to check: 0
[31/07/2008 10:15:24] LogMessageCheck checking log message: updated App1_format.txt with the current App1 header data format.
[31/07/2008 10:15:24] LogMessageCheck file list: U trunk/App1/App1.suo
; U trunk/App1/App1_format.txt
[31/07/2008 10:15:24] LogMessageCheck complete and not required.
[31/07/2008 10:15:24] GleenItemNumbers :: Returning 0 ItemTrackingSet objects
[31/07/2008 10:15:24] All Pre-commit checks passed.
[31/07/2008 10:15:24] *************************
[31/07/2008 10:15:24] Starting process for Revision 582 [E:/SVNRepositories/myCompany]
[31/07/2008 10:15:25] Configuration file deserialized. Logging level set to: DEBUG
[31/07/2008 10:15:25] SubversionNotify, Version=2.0.7.0, Culture=neutral, PublicKeyToken=null
[31/07/2008 10:15:25] No ItemTrackerRegistration entries found.
[31/07/2008 10:15:25] Processing type: post-commit
[31/07/2008 10:15:25] SelectApplicableReproConfigs :: ChangedFiles list: U trunk/App1/App1.suo
U trunk/App1/App1_format.txt
[31/07/2008 10:15:25] SelectApplicableReproConfigs :: Modified file name: trunk/App1/App1.suo
[31/07/2008 10:15:25] SelectApplicableReproConfigs :: Modified file name: trunk/App1/App1_format.txt
[31/07/2008 10:15:25] Controlled Paths List: /trunk/App2
[31/07/2008 10:15:25] SetRepoPathPrecidence :: Incomming configs = 0 ; Returning configs = 0
[31/07/2008 10:15:25] SelectApplicableReproConfigs :: Returning 0 RepoPathConfig objects
[31/07/2008 10:15:25] GleenItemNumbers :: Returning 0 ItemTrackingSet objects
[31/07/2008 10:15:25] InfoHeader :: Raw Header message -
dudi
2008-07-31 10:15:24 +0300 (TsfáS, 31 Ts8 2008)
65
updated App1_format.txt with the current App1 header data format.
[31/07/2008 10:15:25] Controlled Paths List: /trunk/App2
[31/07/2008 10:15:25] SetRepoPathPrecidence :: Incomming configs = 0 ; Returning configs = 0
[31/07/2008 10:15:25] SelectApplicableReproConfigs :: Returning 0 RepoPathConfig objects
[31/07/2008 10:15:25] HTML file written to C:\Program Files (x86)\SubversionNotify\log\Revision 582.html
[31/07/2008 10:15:25] HTML Message Generated
[31/07/2008 10:15:26] Generating e-mail message
[31/07/2008 10:15:26]
Unable to locate matching ReproPathConfig -> ControlledPaths / ControlledRepros properties. No e-mail will be sent.
File Paths committed are:
/trunk/App1
To send e-mail for these path(s), you must have a ControlledPaths attribute set to the folder name (including the leading "/") or one of its parents.
Also, be sure the ControlledPaths is set to a repro URL path and not a physical drive path.
To control your entire repository, use the setting: controlledPaths="/"
For further details, see the manual at http://www.SubversionNotify.com
[31/07/2008 10:15:26] Finished e-mail processing.
[31/07/2008 10:15:26] Finished processing Revision 582
Cfg: (I omitted all the data inside the RepoPathConfig elements, this is the elements' order in the cfg file)
<RepoPathConfig ControlledPaths="/trunk/App2" ControlledRepos="E:/SVNRepositories/myCompany">
<RepoPathConfig ControlledPaths="/trunk/App1,/trunk/App3" ControlledRepos="E:/SVNRepositories/myCompany">
<RepoPathConfig ControlledPaths="/trunk/App4" ControlledRepos="E:/SVNRepositories/myCompany">
<RepoPathConfig ControlledPaths="/trunk/App5" ControlledRepos="E:/SVNRepositories/myCompany">
Thank in advance,
Dudi.
Dudi,
So far, I'm stumped. Clearly, from the log, it is only recognizing the first RepoPathConfig and not looking at or finding the other ones. Can you send me the full cfg file so I can check for any other issues? If you don't want to post the contents in the forum, can you e-mail it to me (and please remove any passwords, etc) :-)
Thanks,
Mike
Thank you for your help Mike, I'll send you the cfg file shortly.
When I tried copying the file from the server I actually saw that the cfg file didn't change after saving it because I wasn't logged in as an administrator :)
I logged in as an admin and saved the file, now all works well!
Thank again for your support.