BugNET

Open source issue tracking & project management
Welcome to BugNET Register | Login |

BugNET Forums

 
ForumForumSupportSupportGeneral SupportGeneral SupportBugNet 8 and SubversionBugNet 8 and Subversion
Previous Previous
 
Next Next
New Post
 12/7/2009 9:19 AM
 
carlowahlstedt wrote:
  1. Added the hooks in.
  2. Setup BugNET -> Admin -> Application Configuration -> Subversion to use and look at SVN.
  3. And gave Projects -> Project Name -> Subversion the Subversion URL.

After a commit it still didn't show in the comments or the revisions tab. Anything I'm missing?

Did you edit the config file for the hooks executable? bugnet.subversionhooks.exe.config ?

Any log in that directory also?


Davin Dubeau
BugNET - Core Developer
twitter.com/bugnetproject

New Post
 12/7/2009 9:58 AM
 
admin wrote:
carlowahlstedt wrote:
  1. Added the hooks in.
  2. Setup BugNET -> Admin -> Application Configuration -> Subversion to use and look at SVN.
  3. And gave Projects -> Project Name -> Subversion the Subversion URL.

After a commit it still didn't show in the comments or the revisions tab. Anything I'm missing?

Did you edit the config file for the hooks executable? bugnet.subversionhooks.exe.config ?

Any log in that directory also?

Added the username/password in the bugnet.subversionhooks config. The log file is there and getting updated. Is there a certain svn comment formatted needed? The log file says: DEBUG - Looking for search pattern
INFO - Found 1 matches...

New Post
 12/7/2009 10:05 AM
 
carlowahlstedt wrote:
admin wrote:
carlowahlstedt wrote:
  1. Added the hooks in.
  2. Setup BugNET -> Admin -> Application Configuration -> Subversion to use and look at SVN.
  3. And gave Projects -> Project Name -> Subversion the Subversion URL.

After a commit it still didn't show in the comments or the revisions tab. Anything I'm missing?

Did you edit the config file for the hooks executable? bugnet.subversionhooks.exe.config ?

Any log in that directory also?

Added the username/password in the bugnet.subversionhooks config. The log file is there and getting updated. Is there a certain svn comment formatted needed? The log file says: DEBUG - Looking for search pattern
INFO - Found 1 matches...

The regular expression is currently hardcoded but here it is \[?([A-Za-z]{3}-\d+)\]?.+ which will match ABC-123 . This will be a problem if your project code is longer than 3 characters.


Davin Dubeau
BugNET - Core Developer
twitter.com/bugnetproject

New Post
 12/7/2009 10:07 AM
 

The Regex shouldn't be the issue. It's finding it in the log file. Just not making it to BugNET. I might try to fire it up in debug mode and see what I can get to happen.

New Post
 12/7/2009 10:11 AM
 
carlowahlstedt wrote:

The Regex shouldn't be the issue. It's finding it in the log file. Just not making it to BugNET. I might try to fire it up in debug mode and see what I can get to happen.

Directly after the INFO matches log line the code parses the match results to get the issue ids. If it gets past that you should see some more entries in the log file. Getting svn log message and then logging in to bugnet webservices.


Davin Dubeau
BugNET - Core Developer
twitter.com/bugnetproject

Previous Previous
 
Next Next
ForumForumSupportSupportGeneral SupportGeneral SupportBugNet 8 and SubversionBugNet 8 and Subversion

Forum Policy

These Discussion Forums are dedicated to the discussion of the BugNET issue tracker.

For the benefit of the community and to protect the integrity of the project, please observe the following posting guidelines:
1. No Advertising.
2. No Flaming or Trolling.
3. No Profanity, Racism, or Prejudice.
4. Site Moderators have the final word on approving/removing a thread or post or comment.
5. English language posting only, please.