From mboxrd@z Thu Jan 1 00:00:00 1970 From: Efraim Flashner Subject: Re: [REQ/DISCUSSION] patch managing system Date: Thu, 31 Mar 2016 09:39:19 +0300 Message-ID: <20160331063919.GD7964@debian-netbook> References: <87h9g0eq1c.fsf@grrlz.net> <87d1qogcfw.fsf@grrlz.net> <87wpoval25.fsf@gnu.org> <56FC3C7F.5010200@gmail.com> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="YToU2i3Vx8H2dn7O" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:34875) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1alWGN-0000Vd-2D for guix-devel@gnu.org; Thu, 31 Mar 2016 02:39:28 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1alWGJ-0004Kv-0P for guix-devel@gnu.org; Thu, 31 Mar 2016 02:39:26 -0400 Content-Disposition: inline In-Reply-To: <56FC3C7F.5010200@gmail.com> 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-bounces+gcggd-guix-devel=m.gmane.org@gnu.org To: Cyril Roelandt Cc: guix-devel@gnu.org, Nils Gillmann --YToU2i3Vx8H2dn7O Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Mar 30, 2016 at 10:52:15PM +0200, Cyril Roelandt wrote: > On 03/21/2016 04:48 PM, Mathieu Lirzin wrote: > > To automate the repetitive tasks, Cyril Roelandt had started sometimes > > ago to work on a bot that was continuously applying and building > > incoming patches on top of master and report (by email) if things were > > building correctly. I think that is a good idea that could be extended > > by providing a way to send commands to the bot like what is done for > > Debbugs. >=20 > Yeah, it was a fun experiment. The main issue is that reading mail is > harder than it looks. People attach patches to their mails, they send > them using git-send-email, they attach the output of "git format-patch" > to a regular mail, they have weird encodings, etc. That means there are > lots of cases to tests, and lots of potential bugs. If the "patches" > tool from QEMU does that well already, I'd be in favor of not recoding it= :) >=20 > That being said, something we really need is a tool that helps us handle > trivial update patches (basically, patches that just update the version > and the hash of a given package). It should apply the patch and run a > script like this one: >=20 > $ cat check-update.sh > make || exit 1 > for pkg in $(./pre-inst-env guix refresh -l $1 | sed 's/.*: //') > do > echo "[+] Rebuilding $pkg" > ./pre-inst-env guix build $pkg > if [ "$?" -ne "0" ]; then > echo "[+] Rebuilding $pkg: KO" > exit 1 > else > echo "[+] Rebuilding $pkg: OK" > fi > done It'd be best to have it check against hydra also, so we would know to "not care" if a package that failed to build previously still fails to build. >=20 > I think we could have a mailing-list dedicated to these trivial update > patches. I'd also be in favor of splitting the mailing-list into many > smaller ones, such as: > - core; > - packages; > - trivial updates. >=20 > WDYT? >=20 > Cyril. >=20 I think it really comes down to if we've outgrown GNU's mailing-lists. We have guix-devel, bugs-guix and help-guix (and guix-commits). As an interm suggestion we might do better with tagging the subject line with what it is. The gnunet patches were much easier to find with the [PATCH] tag. --=20 Efraim Flashner =D7=90=D7=A4=D7=A8=D7=99=D7=9D = =D7=A4=D7=9C=D7=A9=D7=A0=D7=A8 GPG key =3D A28B F40C 3E55 1372 662D 14F7 41AA E7DC CA3D 8351 Confidentiality cannot be guaranteed on emails sent or received unencrypted --YToU2i3Vx8H2dn7O Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQIcBAEBCgAGBQJW/MYUAAoJEPTB05F+rO6TG5cP/jvQuB9fj6esj76laZNcHjQi 0OtLmqRZlJpGIVS5LHJXvBTq1yLpKATHVG+DWoiXWS/WYOwVcQh/J4sIHK2tPyqK o2LiwpFAKrz2oOtzoUTbxoHDDP9BWB28lQCbRPdgCDGjNwrX9kGuHOE20LavUNDQ XHodr1+80IqIoUIGXK/N72HPdmIeiGKTRLf4nWL609+aV55dKgkFhlcr5Eyeq/EC 4yrgDLbnWeTxoYzoV9E7BQXdlKMWEuAArehUR2tN1Ypb2XvcBHTcyAGx0OpKv4bl JvXTeKFumMTGtoTiqSAhKkKP+sTIPB1UcN7L2o38MqJ+NBWvkZXCajNs5RN9z6nn 0Vgg57AoDNAUlzJCFQI+YnM/F0lrnXIYygRtbfcX+QnNh+pZT2Q4fLckvYvzVVma ZOIdSy1hvyxwpJWgEaqsg9Ec3qtvXx2UE6z/ci2Ep8DUw0ydYcLQL2o+afU1RjCW VEvE4clQ6oEpDU0KCz+tTD2gxkFEqyhmAhVb0MuWsZujqyODKW+UjfhTmsOMeaSr WqZCw9Ch8xgy6iisEfTYP49L/ZxsMfCeVQBPidqAO9hvEQosBQXXYm7eM01q8k71 E9jELlBeMnH+3Ytfoq4M/PHrvNAJB4Lhs714oLf7sfk8mDdOvAqZDeVVoEnv30Rl LJHZX0YnqsK3zh6JgeUF =Rkac -----END PGP SIGNATURE----- --YToU2i3Vx8H2dn7O--