From mboxrd@z Thu Jan 1 00:00:00 1970 From: Christopher Baines Subject: Re: Patchwork + automated checking and testing of patches Date: Fri, 08 Feb 2019 12:04:20 +0000 Message-ID: <87lg2q5vwb.fsf@cbaines.net> References: <87h8h29z2j.fsf@cbaines.net> <87sgx71xg8.fsf@cbaines.net> <87pns7p7x6.fsf@gnu.org> Mime-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" Return-path: Received: from eggs.gnu.org ([209.51.188.92]:43034) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gs4tT-0001NY-4B for guix-devel@gnu.org; Fri, 08 Feb 2019 07:04:32 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gs4tS-0006ux-3N for guix-devel@gnu.org; Fri, 08 Feb 2019 07:04:31 -0500 In-reply-to: <87pns7p7x6.fsf@gnu.org> List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: "Guix-devel" To: Ludovic =?utf-8?Q?Court=C3=A8s?= Cc: Guix-devel --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Ludovic Court=C3=A8s writes: > Heya! > > Christopher Baines skribis: > >> So, today at the Guix Days event in Brussels I've made a small change to >> the Laminar configuration related to patchwork.cbaines.net. > > Damn it, I didn=E2=80=99t know you had done that while we were there, kud= os! > >> Now, when processing a series of patches, it should create a Git branch >> and push it to a repository. >> >> For example, for this patch series [1], you can see it being processed >> here [2]. The result of applying the patches is pushed up to this Git >> repository [3], and you can see the commit range here [4]. >> >> 1: https://patchwork.cbaines.net/project/guix-patches/list/?series=3D482 >> 2: https://laminar.cbaines.net/jobs/patchwork-test-series/826 >> 3: https://git.cbaines.net/guix/patches/log/?h=3Dseries-482-version-1 >> 4: https://git.cbaines.net/guix/patches/log/?h=3Dseries-482-version-1&qt= =3Drange&q=3Dbase-for-series-482-version-1..series-482-version-1 > > Neat! Thanks, however, one thing I've noticed is that git apply seems to be much more reliable at applying patches than git am. It often fails with "Patch is empty". I'm not sure why, it seems to work for the patches I've sent with git send-email, but maybe it's very particular about the formatting... >> I'm hoping that having the patches in a Git repository can enable using >> things like `guix pull` to build a Guix with the patches to then extract >> information about what's changed, as well as potentially being useful >> for getting Cuirass to build things... > > Yup, this is really promising, looks like you=E2=80=99re getting there! = As > discussed at the Greek restaurant, it=E2=80=99d be nice to see how much o= f the > job Laminar runs can be turned into (guix =E2=80=A6) modules, though that= can > come later. > > Anyway, as this is shaping up, let us know if you need input on the > remaining bits, like using the channel API to extract information about > the new branch, or fiddling with Cuirass. I've made a bit more progress with this over the last couple of days, I'll start another thread for that though. Thanks, Chris --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQKTBAEBCgB9FiEEPonu50WOcg2XVOCyXiijOwuE9XcFAlxdcERfFIAAAAAALgAo aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldDNF ODlFRUU3NDU4RTcyMEQ5NzU0RTBCMjVFMjhBMzNCMEI4NEY1NzcACgkQXiijOwuE 9Xep7A/9HrjchGl13wqpBFkXxgzDxes1gwg3qhzMo5KdxLX1ZttSsXrxBMk9ktG1 /G6Ots5mZRLpZYZ6z1YPZJF9uEpC3eJkE3XTt+6aI1CMxo39eOQg/iEkPtzFoL49 am7HiJNtfs5JBe08MnFB6PETa8EeBdm08pWd9ereOMsgr8FQ/343yhVuMRtHCKA8 PyIymBn0S/DiaGSmSj/SHIJ/Z9BrZWB+C3ml2e+zJ7jUYqvoIdkCOwasAeizTcLo aC+l25vwMwk97+prdJiWdrsW5SrwDPGc/2qGsJ1MmLgsT23MynLIb9ycoRbKk5Qb AfnSDPy+0Fy1UjMCDHAlNm7z1jUHmO8rHgeodWONzni0La0pjVg7ZAsaZDkMPrF0 oXEqD1RuyZeeeKgjUv1MXjLrcCJB5e99oxVHHmhkWmbcm0kT87RfmXpWTyo+dpBh cjSxWf6T8HT2fxwRCPaECdAxG+GBTo7OkcURTAkr1kS0ox2JWvGBPL8KZF+lZTW7 76/H25rrd7z7FVal9Gq+7n2CyEjgf64+Gludpk/CeL87zr/T/i9tg8+EHSIUDaDH Y1jKZSikoBjGsqGzETxcbULFdy1W45W7oZTyjptn+4lP4srVkzUApWbs1YdYCok/ pFndbBf5o8sWlchSQhpvEpYNEK9FbEMXVs7G2ZI4i0eWenGizuA= =SabH -----END PGP SIGNATURE----- --=-=-=--