From owner-freebsd-git@FreeBSD.ORG Mon Nov 17 06:25:32 2014 Return-Path: Delivered-To: freebsd-git@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 5FCAAABF; Mon, 17 Nov 2014 06:25:32 +0000 (UTC) Received: from mail-pd0-x22d.google.com (mail-pd0-x22d.google.com [IPv6:2607:f8b0:400e:c02::22d]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 314A62D3; Mon, 17 Nov 2014 06:25:32 +0000 (UTC) Received: by mail-pd0-f173.google.com with SMTP id v10so20512977pde.4 for ; Sun, 16 Nov 2014 22:25:31 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:message-id:date:from:reply-to:user-agent:mime-version:to:cc :subject:references:in-reply-to:content-type :content-transfer-encoding; bh=axeocyjee6b0RKEEL8yANfYpX+aoxelCr9A48uKgbBE=; b=R8WhU/LU0lY8ngpipBg1Om18pQ6KPp9wwWNtP/NsIPGfbqmBjCp08FTR6Hbhmc/OUM J0MT8Onxm3qNsDP3rGHtNizbs6J4VadizjpI8qP3SYZYZULmtwMbnmJlxgPz4dbcs938 EkiCWD34mLir0GqSEN2cxVQbOvV6y5tz+IcQfunRnoEVfH8ceTJqnGTYJNdn/Z4fHmwn TVxO0t7Jdb0M/9Q6tWqXbf2smi1U5PX+Y2nIaHs8BvxqEgODxlnpj2hEH3z5NznautE3 bXZrXsZLt8lrnPu8nzfl4nxM0yKKOQ+A26sAZbvakM6EXMkIE25Lnitk2YcijrzV6Jn4 nYdg== X-Received: by 10.70.45.72 with SMTP id k8mr1415178pdm.146.1416205531469; Sun, 16 Nov 2014 22:25:31 -0800 (PST) Received: from [192.168.1.1] (ppp59-167-128-11.static.internode.on.net. [59.167.128.11]) by mx.google.com with ESMTPSA id nb5sm33973789pbc.25.2014.11.16.22.25.28 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 16 Nov 2014 22:25:31 -0800 (PST) Sender: Kubilay Kocak Message-ID: <546994CC.6010803@FreeBSD.org> Date: Mon, 17 Nov 2014 17:25:16 +1100 From: Kubilay Kocak Reply-To: koobs@FreeBSD.org User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:33.0) Gecko/20100101 Thunderbird/33.0 MIME-Version: 1.0 To: git-admin@freebsd.org Subject: Re: First step towards GitHub integration References: <9A004225-B20E-4795-971A-B363F02B78BC@FreeBSD.org> In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Cc: freebsd-git@freebsd.org, , =?UTF-8?Q?robak@FreeBSD.org_ X-BeenThere: freebsd-git@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Discussion of git use in the FreeBSD project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 17 Nov 2014 06:25:32 -0000 On 17/11/2014 4:57 PM, Craig Rodrigues wrote: > 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? Absolutely happy to assist. I don't believe Github provides for a commit hook permission, so we may have to set it up given instructions from robak@. Bartłomiej, I'm available on IRC or if you'd like you can create a PR with the relevant details and assign it to me. > > Thanks. > -- > Craig > > On Sun, Nov 16, 2014 at 10:08 AM, Bartłomiej Rutkowski > 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 any >> 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 thing) >> hosted on our infrastructure, that would get the pull request data in JSON >> from that hook call, validate it, and after proper transformation (not sure >> yet how much, if any, will be required) send it to our Bugzilla via XMLRPC >> 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 time. >> >> 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! :) >> >