LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 07-24-2009, 11:44 PM   #16
paulsm4
LQ Guru
 
Registered: Mar 2004
Distribution: SusE 8.2
Posts: 5,863
Blog Entries: 1

Rep: Reputation: Disabled

your_shadow03 -

Strictly speaking, Bugzilla and SVN don't necessarily have anything to do with each other. They are completely separate programs.

As Agrouf said, Bugzilla allows you to create and manage "bugs". It keeps a history from when a problem or issue was first reported, through when and how it was resolved.

Subversion, on the other hand, is a "version control system". It keeps a record of all code changes. SVN doesn't link back to Bugzilla, and Bugzilla doesn't link to SVN. The same is equally true of any version control system: SVN, CVS, VSS, etc etc.

So how the two systems (version control and bug tracking) related?

Typically "by convention".

When you change source code to make a bug fix, your developers will generally write the bug# as a comment in the source checkin. By the same token, when a bug is closed, the developer will typically write the source version# as a comment in the bug report.
 
Old 07-24-2009, 11:58 PM   #17
your_shadow03
Senior Member
 
Registered: Jun 2008
Location: Germany
Distribution: Slackware
Posts: 1,462
Blog Entries: 6

Original Poster
Rep: Reputation: 51
Thanks Paul..
My PM has asked me to install Bugzilla for SVN. I read the link sent bu Agrouf for Integrating SVN and Bugzilla and had Bugzilla working on my Linux Machine. But I am not able to find the point to point steps for the same. Which file to edit?
Google said there is a script at http://sean-janus.optionpc.com/me/software/bugtraq/ but that too unreachable.
Can You help me with hint what exactly I shud do?
 
Old 07-25-2009, 01:46 AM   #18
paulsm4
LQ Guru
 
Registered: Mar 2004
Distribution: SusE 8.2
Posts: 5,863
Blog Entries: 1

Rep: Reputation: Disabled
There *are* no "point to point steps" for integrating Bugzilla and Subversion. Any more than integrating Visual Source Safe (for version control) and MS Sharepoint (for bug tracking).

It's entirely possible you're done actually *done*, if:

a) Bugzilla is installed and working
b) You've defined the components and sub-components that Bugzilla will track
c) You've set it up so that users can log on to Bugzilla

Talk to your project manager and see what (if anything) he (or she) would like you to do from here.
 
Old 07-25-2009, 04:42 AM   #19
Agrouf
Senior Member
 
Registered: Sep 2005
Location: France
Distribution: LFS
Posts: 1,591

Rep: Reputation: 79
Well, most of the time, SVN and bugzilla are used next to each other and there is no automatic integration at all. Developers just put their bugId in svn commits and their revision id in bugzilla. They do it manually.

What you can do to make svn work with bugzilla for instance is to use the post-commit script to send an email to bugzilla and use bugzilla's email_in.pl script to append a comment to the bug saying for instance that svn revision ### fixes that bug.

This is explained in the link provided, in the "SVN Configuration" section.
 
Old 07-25-2009, 02:29 PM   #20
paulsm4
LQ Guru
 
Registered: Mar 2004
Distribution: SusE 8.2
Posts: 5,863
Blog Entries: 1

Rep: Reputation: Disabled
your_shadow03 -

Agrouf is absolutely correct:
Quote:
most of the time, SVN and bugzilla are used next to each other and there is no automatic integration at all. Developers just put their bugId in svn commits and their revision id in bugzilla. They do it manually.
In other words:
Quote:
When you change source code to make a bug fix, your developers will generally write the bug# as a comment in the source checkin. By the same token, when a bug is closed, the developer will typically write the source version# as a comment in the bug report.
Sooooooo.....

You've gone just about as far as you can with "out of the box" functionality. In essence, you're probably "done". Congratulations!

You really need to talk to your Project Mgr to see what - if anything - he wants to do from here.

IMHO .. PSM

Last edited by paulsm4; 07-25-2009 at 02:31 PM.
 
Old 07-25-2009, 02:39 PM   #21
Agrouf
Senior Member
 
Registered: Sep 2005
Location: France
Distribution: LFS
Posts: 1,591

Rep: Reputation: 79
Sorry I repeated what paulsm4 said. I didn't realize there was a 2nd page to this thread when I replied. I thought the last post was the last one of page 1.
 
Old 07-25-2009, 06:17 PM   #22
paulsm4
LQ Guru
 
Registered: Mar 2004
Distribution: SusE 8.2
Posts: 5,863
Blog Entries: 1

Rep: Reputation: Disabled
Agrouf - no apologies necessary. I'm just glad we're in agreement with each other :-)

The point I wanted to emphasize is that your_shadow03 has gone has far as he realistically can with what we *know* needs to be accomplished. Thanks in no small part thanks to your help, Agrouf. Good job!

There are other things that *could* be done (your link to using MediaWiki to provide a common UI to both SVN and Bugzilla is a good example. One of many, many possibilities).

But, since the OP is doing this for his team, on behalf of his project manager ... I believe it would be unwise to proceed any further without touching bases with the project manager.

IMHO .. PSM
 
Old 07-26-2009, 10:30 AM   #23
your_shadow03
Senior Member
 
Registered: Jun 2008
Location: Germany
Distribution: Slackware
Posts: 1,462
Blog Entries: 6

Original Poster
Rep: Reputation: 51
Thanks to you both for advising me with this thread.
But Still something remain doubtful for me.
Hope I could understand. What I recall :
Last Year I installed TRAC and configured SVN to work with TRAC and that worked.I mentioned that too in one of my Blogs(http://www.linuxquestions.org/blog/y...on-linux-1146/).
Developers login and could Browse the overall projects and source codes.
Trac I understand is Bug Tracking Tool and so do Bugzilla.Now how come Bugzilla different from Trac functionality?
Correct me if I am really mistaken with the term.How Can I see SVN projects and user login into SVN through same WebDAV Pasword. I can login into TRAC with same password for all users which I setup with SVN WEBDAV.
I am really sorry if i am not able to understand.May be one more attempt can make me think a bit more.
Sorry..If this thread and my understanding is really panic for you both.
 
Old 07-26-2009, 02:10 PM   #24
Agrouf
Senior Member
 
Registered: Sep 2005
Location: France
Distribution: LFS
Posts: 1,591

Rep: Reputation: 79
Well, I believe you need to define "working with". What do you expect svn to do with bugzilla when you say "configure svn to work with bugzilla" exactly?
 
Old 07-26-2009, 11:48 PM   #25
your_shadow03
Senior Member
 
Registered: Jun 2008
Location: Germany
Distribution: Slackware
Posts: 1,462
Blog Entries: 6

Original Poster
Rep: Reputation: 51
Take an example of TRAC. Becoz I am familiar with that.It is Bug tracking tool and works with SVN with few tweaking. Isn't it? Bugzilla is too Bug Tracking Tool.Cant we have SVN included on the same.
 
Old 07-27-2009, 01:14 AM   #26
Agrouf
Senior Member
 
Registered: Sep 2005
Location: France
Distribution: LFS
Posts: 1,591

Rep: Reputation: 79
What does TRAC do with SVN?
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
bugzilla muditcse@yahoo.com Linux - Newbie 1 06-19-2008 02:54 AM
Something other than bugzilla custangro Solaris / OpenSolaris 0 11-30-2007 07:11 PM
Bugzilla Chiabert Linux - Newbie 1 11-22-2006 07:17 PM
LQ Bugzilla? dombrowsky LQ Suggestions & Feedback 11 01-26-2006 04:20 AM
Bugzilla abhijeetudas Linux - Software 0 01-13-2005 02:28 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 07:57 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration