LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices


Reply
  Search this Thread
Old 11-04-2008, 01:46 PM   #1
ShaqDiesel
Member
 
Registered: Jul 2005
Posts: 144

Rep: Reputation: 15
anyone ever play with the bugzilla db?


sorry if I'm posting in the wrong forum, but the irc channel at bugzilla is pretty quiet.

I'm trying to write a script that will iterate through bug_ids and add a bug number to the blocked field. I looked at the columns in the dependencies table and it contains blocked but no bug_id! How does bugzilla associate a bug and its dependencies without a bug_id column? Is one of the columns a foreign key to another table that contains bug_ids?
 
Old 11-04-2008, 08:49 PM   #2
paulsm4
LQ Guru
 
Registered: Mar 2004
Distribution: SusE 8.2
Posts: 5,863
Blog Entries: 1

Rep: Reputation: Disabled
Hi -

"bug_id" is, of course, the primary key in table "bugs".

"blocked" and "dependson" are both foreign keys in table "dependencies". If one bug depends on another, then "blocked" is the bug ID of the dependent bug, and "dependson" is the bug ID of the bug it depends on.

There is one row in "dependencies" for each "blocked" bug in the system.

'Hope that helps .. PSM
 
  


Reply



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 01:54 AM
Something other than bugzilla custangro Solaris / OpenSolaris 0 11-30-2007 06:11 PM
LQ Bugzilla? dombrowsky LQ Suggestions & Feedback 11 01-26-2006 03:20 AM
Bugzilla abhijeetudas Linux - Software 0 01-13-2005 01:28 AM
bugzilla help glock19 Linux - General 3 08-29-2001 05:21 PM

LinuxQuestions.org > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 07:02 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
Open Source Consulting | Domain Registration