Date: Sun, 16 Nov 2014 21:57:32 -0800 From: Craig Rodrigues <rodrigc@FreeBSD.org> To: git-admin@freebsd.org Cc: freebsd-git@freebsd.org Subject: Re: First step towards GitHub integration Message-ID: <CAG=rPVfopkNwJ0Oq4vycu%2BQFbDmifs_LL_OMZOcVbJQoM1oPxg@mail.gmail.com> In-Reply-To: <9A004225-B20E-4795-971A-B363F02B78BC@FreeBSD.org> References: <9A004225-B20E-4795-971A-B363F02B78BC@FreeBSD.org>
next in thread | previous in thread | raw e-mail | index | archive | help
git-admin, Bartlomiej is interested in integrating github and Bugzilla via the github REST interface. Can you work with him to give him any access he needs to accomplish this? I am not 100% sure on what Bartlomiej needs, but he may need to be able to set up commit hooks that use the REST API. Can you help him? Thanks. -- Craig On Sun, Nov 16, 2014 at 10:08 AM, Bart=C5=82omiej Rutkowski <robak@freebsd.= org> wrote: > Hi everyone, > > Following the recent discussion on the developers mailing list about > opening to wider audience by increasing our presence on GitHub (and > perhaps, in future, switching to Git) I volunteered to take care of the > very first step, that is - stop closing pull requests on GitHub without a= ny > action on them. > > My first, rough, idea is to create a GitHub hook that would act on pull > requests aganist our repositories. Such hook would call an application, > written by me (some sort of REST-ish Python based application, small thin= g) > hosted on our infrastructure, that would get the pull request data in JSO= N > from that hook call, validate it, and after proper transformation (not su= re > yet how much, if any, will be required) send it to our Bugzilla via XMLRP= C > interface. > > Once such PR is successfuly created, it would then send back a link to > that PR and some additional information (encouraging the original sender = to > create his Bugzilla account, reach out to us on mailing lists, IRC and so > on) as a comment to the original pull request, closing it at the same tim= e. > > So, that's the idea for the very first step, very limited, one way only, > no bells&whistles, but the idea behind is to do one thing and one thing > only, yet to do it well. Comments welcome! :) >
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAG=rPVfopkNwJ0Oq4vycu%2BQFbDmifs_LL_OMZOcVbJQoM1oPxg>