From owner-freebsd-git@FreeBSD.ORG Mon Nov 17 05:57:37 2014 Return-Path: Delivered-To: freebsd-git@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id E4A463A2; Mon, 17 Nov 2014 05:57:37 +0000 (UTC) Received: from mail-lb0-x235.google.com (mail-lb0-x235.google.com [IPv6:2a00:1450:4010:c04::235]) (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 65E78FE6; Mon, 17 Nov 2014 05:57:34 +0000 (UTC) Received: by mail-lb0-f181.google.com with SMTP id l4so15648162lbv.12 for ; Sun, 16 Nov 2014 21:57:32 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date:message-id:subject :from:to:cc:content-type; bh=cVzfKbWaiOtQisu4MBV4+Qyzff4rXTJRZ3aQFE2C5zk=; b=njghyXDcdLSbMnXeI86C0kUoPvY8xDYavstYqO4AS1gSJuZ8ClI8XznNsr5JcOOE8U FDMynPL9ThOvttYiWWoj/vloU9IgNNhbDQY2rPYSsqi4wRFosYIxzfDU1AtFlU9I6TQ5 uNR7h4i4E0rOQD81hYg30/eVlru2nCb7qsFUyJ885jNMhEuI7f3/k+0pXbn1aw75XTKs 2nUsujG0ZZxmHhhelfXNb5RsNk5zMhFph1Ya7NewDBisX/wKBVg1kCZeV6f3M10OlFLk dd7vVTUurgBAyTuv6pNeSZ4Yv8yMlnIugDrQY5GS4ywatxKUHWE65FWlbtYlSNgpgPkX txXw== MIME-Version: 1.0 X-Received: by 10.112.137.39 with SMTP id qf7mr24592873lbb.47.1416203852300; Sun, 16 Nov 2014 21:57:32 -0800 (PST) Sender: crodr001@gmail.com Received: by 10.112.130.168 with HTTP; Sun, 16 Nov 2014 21:57:32 -0800 (PST) In-Reply-To: <9A004225-B20E-4795-971A-B363F02B78BC@FreeBSD.org> References: <9A004225-B20E-4795-971A-B363F02B78BC@FreeBSD.org> Date: Sun, 16 Nov 2014 21:57:32 -0800 X-Google-Sender-Auth: _8gQ_w0nW_UUkwFkCBr1FYaJ6x0 Message-ID: Subject: Re: First step towards GitHub integration From: Craig Rodrigues To: git-admin@freebsd.org Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.18-1 Cc: freebsd-git@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 05:57:38 -0000 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 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! :) >