Bug 452962 - Update periodically "External Bugzilla References" with the current state of the upstream bugs
Summary: Update periodically "External Bugzilla References" with the current state of ...
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Bugzilla
Classification: Community
Component: Bugzilla General
Version: 3.6
Hardware: All
OS: Linux
low
low
Target Milestone: ---
Assignee: Simon Green
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks: 189813
TreeView+ depends on / blocked
 
Reported: 2008-06-26 09:43 UTC by Matěj Cepl
Modified: 2014-10-12 22:45 UTC (History)
8 users (show)

Fixed In Version:
Doc Type: Enhancement
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-05-20 10:49:26 UTC
Embargoed:


Attachments (Terms of Use)

Description Matěj Cepl 2008-06-26 09:43:06 UTC
Description of problem:
Given that many non-RH have now XML-RPC interfaces as well, it should be
possible to at least provide get status of all upstream bugs and display it in
the External Bugzilla References.

Seems to me much possible than overambitious bug 189813 (which needs to be fixed
as well, but it will take much more time and effort).

Comment 1 David Lawrence 2008-06-26 21:53:22 UTC
This was the original intent at the time the feature was added. The status
updates are dependent on the other tracking system supporting the same XMLRPC
API and at the time Red Hat's Bugzilla was the only one who had that support.
With the release of upstream Bugzilla 3.0 and soon to be released 3.2 there is
now pretty standard API for getting information about a bug report given a bug
id and that the bug is publicly accessible. After we get 3.2 out here we will
work on this feature and start utilizing the standard API. 

We will also need to discuss things like caching results, etc. since having to
update the status each time a bug is displayed may turn out to be a performance
hit. Especially if a single bug report has many external references.

This is still very Bugzilla centric and will not work for other tracking systems
even though you can still add their bugs as a reference.

Dave

Comment 2 Matěj Cepl 2008-06-27 11:59:41 UTC
(In reply to comment #1)
> This is still very Bugzilla centric and will not work for other tracking
> systems even though you can still add their bugs as a reference.

Probably, but a) I believe that still majority of our upstream bugs are
bugzillas (and maybe even bugzillas >= 3.*), b) it is worthy to have at least
the implementation of our side ready and then we could just add some more
connectors for non-bugzilla bug repositories.


Comment 3 David Lawrence 2008-06-27 17:38:04 UTC
(In reply to comment #2)
> Probably, but a) I believe that still majority of our upstream bugs are
> bugzillas (and maybe even bugzillas >= 3.*), b) it is worthy to have at least
> the implementation of our side ready and then we could just add some more
> connectors for non-bugzilla bug repositories.

Agreed and is part of our plan. We will try to access the remote site in an eval
block and if it works show the current bugs status and summary.



Comment 4 Juha Tuomala 2009-04-23 11:30:18 UTC
related bug 189813

Comment 5 Matěj Cepl 2009-06-03 09:01:34 UTC
(In reply to comment #1)
> We will also need to discuss things like caching results, etc. since having to
> update the status each time a bug is displayed may turn out to be a performance
> hit. Especially if a single bug report has many external references.

Actually, this could be quite easily just some daily cron job IMHO ... it may not be that important if this information is accurate just as of last 24 hours. What do you think?

Comment 6 David Lawrence 2009-06-03 16:01:59 UTC
A cron job could be used. I was originally thinking more off just storing a timestamp along with the db bug mapping that the Bugzilla code can use to determing the last time the data was refreshed. 24hours sounds reasonable.

Note to self: also along with the last_refreshed timestamp, also need to add bug status and summary columns to the db mapping table.

Comment 7 David Lawrence 2010-01-15 17:32:16 UTC
Red Hat Bugzilla is now using version 3.4 of the Bugzilla codebase and
therefore this feature will need to be implemented against the new release.
Updating bug version to 3.2.

Comment 8 Matěj Cepl 2010-01-16 07:04:49 UTC
Of course, this is very much alive.

(BTW, you should needinfo flag on these requests for retesting)

Comment 9 David Lawrence 2010-08-25 21:42:34 UTC
Red Hat has now upgraded to Bugzilla 3.6 and this bug will now be reassigned to that version. It would be helpful to the Bugzilla Development Team if this bug is verified to still be an issue with the latest version. If it is no longer an issue, then feel free to close, otherwise please comment that it is still a problem and we will try to address the issue as soon as we can.

Thanks
Bugzilla Development Team

Comment 10 Matěj Cepl 2010-08-26 10:21:48 UTC
Comment 8 applies here without any change in all its parts :) (still no needinfo used)

Comment 11 David Lawrence 2010-08-26 17:27:05 UTC
This feature is coming soon as it is a requirement for our current JIRA to Bugzilla migration efforts. 

https://bugzilla.redhat.com/show_bug.cgi?id=619547

You can see work so far installed on our test server at https://bz-web2-test.devel.redhat.com

I only have the functionality enabled for bugzilla.redhat.com and jira.jboss.org attached references at this time. I can add in others such as mozilla.bugzilla.org and any others running at least 3.0 or higher.

Dave

Comment 12 Matěj Cepl 2010-08-26 22:34:34 UTC
(In reply to comment #11)
> I only have the functionality enabled for bugzilla.redhat.com and
> jira.jboss.org attached references at this time. I can add in others such as
> mozilla.bugzilla.org and any others running at least 3.0 or higher.

That's a great news!

Certainly my personal preferences would be https://bugzilla.mozilla.org and https://bugs.freedesktop.org, but I guess others will want something (from the huge projects at least https://bugzilla.kernel.org/). All of these have at least 3.* bugzillas. Are there any statistics on number of external references in our bugzilla by external bugzilla?

And how does it relate to "See Also" field?


Note You need to log in before you can comment on or make changes to this bug.