I have now updated the git-bz-moz and moz-git-tools repositories with my
REST API rewrite. Let me know if you have any problems or feedback (I'm
mccr8 on IRC). Thanks to everybody who gave me feedback, and to froydnj who
looked over the many patches.

Andrew

On Wed, Sep 23, 2015 at 1:49 PM, Andrew McCreight <[email protected]>
wrote:

> I've updated my repository for my git-bz REST API branch:
>   https://github.com/amccreight/git-bz-moz/tree/RestAPI
>
> I think everything is fixed now, so please try it out and let me know if
> you encounter problems or something seems slow. (There's some initial
> caching thing that takes a while, but it should show a message and doesn't
> happen very often.) You have to set up an API key, but thanks to feedback
> from people it now spams your console with instructions on how to do that
> if you don't have one set.
>
> I removed |git bz edit --fix| and |git bz push|, as well as |git edit
> --pushed| though as far as I can tell the latter doesn't actually do
> anything. Hopefully nobody uses those given that we have Pulsebot.
>
> One nice feature of the new version (inherited with little effort by me
> from bzexport) is that if the user you have set for a r? etc. flag is
> ambiguous it will present a menu for you to select a user rather than just
> exiting immediately.
>
> I'll submit a pull request in the next few days to the main git-bz-moz
> repo in the next few days barring anybody finding some problems. Nathan
> Froyd has graciously offered to review this stack of 28 patches. (Though he
> volunteered before he knew it was that many patches.)
>
> The current set of patches copies over a few files from the
> version-control-tools repository. The next step will be to properly
> integrate those files, maybe via a subrepo, until git-bz-moz gets moved
> into that repo per gps's plan. [1]
>
> [1]
> https://groups.google.com/forum/#!topic/mozilla.dev.version-control/z9z9N7_vWiY
>
> Andrew
>
>
>
> On Tue, Sep 15, 2015 at 2:37 PM, Andrew McCreight <[email protected]>
> wrote:
>
>> Apparently Bugzilla 2fa breaks the weird cookie authentication method
>> that git-bz-moz and bzexport use. I think I've read that this is a bugzilla
>> bug, but in the meanwhile I've been working on making git-bz-moz use the
>> Bugzilla backend of bexport, which is less hacky and supports using API
>> keys for authentication. Setting up an API key is extremely easy.
>>
>> If you want to try it out, it is available from my github repo here:
>>   https://github.com/amccreight/git-bz-moz/tree/RestAPI
>>
>> git bz edit and git bz push don't work, but the rest should, so please
>> file issues at https://github.com/mozilla/git-bz-moz or email me if you
>> notice them. (Oh, I think setting reviewer flags for Firefox product bugs
>> doesn't work, is a known issue.) The patches are still a little hacky and
>> probably don't cache as much as they should.
>>
>> Andrew
>>
>
>
_______________________________________________
dev-platform mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-platform

Reply via email to