Hi, all. On Tue, May 3, 2011 at 6:21 AM, Jonathan Wakely <jwakely....@gmail.com> wrote: > On 3 May 2011 10:51, Andrew Stubbs wrote: >> On 27/04/11 18:29, Deryck Hodge wrote: >>> >>> I work at Canonical on Launchpad and am trying to setup syncing >>> between our bug tracker and the GCC bug tracker. Specifically, we >>> want to enable comment syncing between linked bugs on our trackers and >>> back links from your Bugzilla to the Launchpad bug. Currently we only >>> sync status and importance from your tracker to ours. We need >>> credentials for an account on your tracker to setup this additional >>> syncing. If we had such credentials, we would sync comments and back >>> links only if a Launchpad bug is linked to a GCC Bugzilla bug. We >>> store these credentials in private configs on Launchpad. We have this >>> setup for a number of other trackers. The Mozilla Bugzilla comes to >>> mind as a tracker we do this with already. >> >> Will it be possible to post comments to Launchpad, and not have them >> automatically posted to bugzilla? >> >> I sometimes post Linaro-specific details to the Launchpad bug which would be >> meaningless noise in upstream bugzilla. The bug is linked because the >> problem is the same, but typically the source-base is different, and/or we >> want to add additional tracking details, or whatever. >> >> e.g. I don't think bugzilla readers are interested in a comment like "Bug >> targeted at Linaro x.x release", or "Patch committed to lp:gcc-linaro/4.5 >> revision 99456". > > Completely agreed. I imagine the majority of comments on the > downstream bug tracker are irrelevant for the upstream tracker. > Patches and discussion of fixes should be submitted upstream as normal > (to gcc-patches and/or in GCC bugzilla) not by syncing from a > downstream tracker. Or if the patch isn't suitable for upstream, we > don't want to know about it in GCC's bugzilla. > > It would be useful to see some examples of bugs in Mozilla's bugzilla > which get synced with Launchpad bugs. > > Assuming only relevant comments get synced I think it would be useful, > and it should be possible with a normal bugzilla user with no extra > privileges (I don't think we want the Launchpad account to be able to > modify arbitrary bugs, only its own.) >
The way this works is that once we have an account on your bug tracker, we will sync comments from the GCC Bugzilla to Launchpad and create a "see also" link to our bug on your bug. Without the account, we will keep the Launchpad bug in sync with your upstream tracker status only. With the account, we will pull comments from your bug into the Launchpad bug. We do not automatically sync any comments or attachments on the Launchpad bug back to the GCC bugzilla. We do provide a "Reply on GCC Bugzilla" link on imported comments, so someone can watch the activity on the Launchpad bug and comment upstream from our bug if they need to do so. If someone does this, the comment from Launchpad is listed as from the user "Launchpad" (or whatever we call the Launchpad account on your tracker that I setup), and the comment also has "Foo Bar added the following comment to Launchpad bug report XXX" at the top of the comment. Some examples: == Typical Bug Linked with Imported Upstream Comments == Launchpad: https://bugs.launchpad.net/firefox/+bug/394912 Mozilla: https://bugzilla.mozilla.org/show_bug.cgi?id=488605 == Bug Linked where Launchpad users commented upstream == Launchpad: https://bugs.launchpad.net/ubuntu/+source/firefox-3.0/+bug/10910?comments=all Mozilla: https://bugzilla.mozilla.org/show_bug.cgi?id=147419 I believe this will work in the way the covers everyones concerns. Please let me know if there are other concerns. If not, I would like to go ahead and set this up. Cheers, deryck -- Deryck Hodge https://launchpad.net/~deryck http://www.devurandom.org/