Marrying bugzilla issues with git pull requests
Andrew Edwards via Digitalmars-d
digitalmars-d at puremagic.com
Thu Sep 25 07:38:26 PDT 2014
On 9/25/14, 11:11 PM, Vladimir Panteleev wrote:
> On Thursday, 25 September 2014 at 13:53:15 UTC, Andrew Edwards wrote:
>> This would provide a uniformed location to see if a pull exists for a
>> specific issue
>
> For the record, for this particular problem we use the "pull" keyword.
> Posting a fixing pull URL as a comment by itself is also prevalently
> common, perhaps it would be easier to standardize that instead.
Understood, but there is no way for me to actually identify THE pull
request(s) that fix(es) an issue among the comments, even if pulls are
placed in their own comments. There is always a chance that a linked
comment is incorrect or that the pull didn't actually address the issue
and was closed in favor of a better implemented solution (or simply
closed with no alternative provided). At those times there are multiple
links, and only some (or one) of them may actually apply.
Since the comment cannot be deleted or modified once posted, it is not
the best place to put such information. Better to have a modifiable
field where errors can be corrected, additional information can be
added, and irrelevant information removed.
>> If there is a better way, I would appreciate guidance toward that
>> direction also.
>
> Well, ideally, it would be better to use an API instead of parsing HTML.
>
> The current Bugzilla does not expose an API (I understand it's planned
> for the next major Bugzilla version). The blessed way to
> programmatically query a Bugzilla instance seems to be to use BzAPI,
> which works like a proxy - exposing an API while talking to a
> slighty-patched Bugzilla instance:
>
> https://wiki.mozilla.org/Bugzilla:BzAPI#Your_Own_Installation
>
> However, I don't think we'll be able to convince Brad to patch D's
> Bugzilla installation to support BzAPI, since he declined previous
> similar requests.
Noted... but since I am relying on the implementation that Brad uses,
this will do very little to aid my current situation.
More information about the Digitalmars-d
mailing list