BugNET

Open source issue tracking & project management

Forums

HomeHomeDevelopment and...Development and...Building ExtensionsBuilding ExtensionsOther Extension...Other Extension...VCS integration in general and Bazaar specificallyVCS integration in general and Bazaar specifically
Previous
 
Next
New Post
6/5/2010 3:47 AM
 
I've looked at the Subversion documentation here and also the Application Configuration -> Subversion settings. That's all good, but I'm using Bazzar, which ain't Subversion.

However what I need is fairly simple, and if someone made the Subversion stuff work, I'd be surprised if I can't make it work with Bazaar as it's logically the same thing.

The Bazaar VCS can be configured to "ping" any old url when I make a commit, and the URL can include any old parameters, like the BugNet defect number for example. So I think I need a little more information on these Subversion application integration settings:
http://bugnetproject.com/Documentation/tabid/57/Default.aspx?topic=Application+Configuration
Maybe I can tweak those so that BugNet will recognize *incoming* html gets from Bazaar?

Alternatively, is there a BugNet url which I can hit to add a comment to a defect, or mark it as fixed?

Otherwise, can anyone help me understand what precisely I need to "feed" BugNet in order for the VCS to "drive" it? I can then write that stuff for Bazaar and the job's done.
 
New Post
6/5/2010 10:40 PM
 
I too am keen on Bazaar support if anyone has the know how.
 
New Post
6/6/2010 7:49 AM
 
Hi Philw, No There isn't such integration currently.

The class SubversionIntegration in src\Old_App_Code\BLL might help. The command logic is simple.

There is also the UserControl ProjectSubversion in src\Administration\projects\UsersControls. That is the settings screen on the administration pages. Perhaps if the page could flip modes (between bazzar and svn). We can handle saving the setting.

Then the inherit SubversionIntergration, or derive a similar class for bazzar logic.

Let us know if you want to go that far.

Follow me on twitter: @stewartmoss http://www.twitter.com/stewartmoss
Follow BugNETProject on twitter: @bugnetproject http://www.twitter.com/bugnetproject
 
New Post
6/6/2010 10:43 AM
 
Thanks - I'll look at it when I get a second.

I have to figure out the other end also. That is, I'm not sure what Bazaar does precisely.

What I'm trying to do is get Bazaar to automatically "tell" BugNet when some files have been commited for a specific defect ID. So there needs to be a way for Bazaar to push defect ID plus a list of files and a comment to BugNet. At the BugNet end I would just need to catch that incoming data and write it to the relevant defect ID as a comment.

I'm not sure if that's similar to Subversion; probably not.

It may take a little while to get time to figure that out.
 
New Post
6/7/2010 6:04 AM
 
philw wrote:
Thanks - I'll look at it when I get a second.

I have to figure out the other end also. That is, I'm not sure what Bazaar does precisely.

What I'm trying to do is get Bazaar to automatically "tell" BugNet when some files have been commited for a specific defect ID. So there needs to be a way for Bazaar to push defect ID plus a list of files and a comment to BugNet. At the BugNet end I would just need to catch that incoming data and write it to the relevant defect ID as a comment.

I'm not sure if that's similar to Subversion; probably not.

It may take a little while to get time to figure that out.

I am not too familiar with Bazaar, but the subversion hooks exe runs after each commit to the repository, and calls a web service method in BugNET to add the new revision.  I would suggest that any integration with other systems work through services as opposed to referencing BugNET classes directly.  Here is the code documentation for current service methods.   

There is also some basic documentation on how to get started with the webservices.

Davin Dubeau

follow us on twitter facebook users group google plus
 
Previous
 
Next
HomeHomeDevelopment and...Development and...Building ExtensionsBuilding ExtensionsOther Extension...Other Extension...VCS integration in general and Bazaar specificallyVCS integration in general and Bazaar specifically


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.