From mboxrd@z Thu Jan 1 00:00:00 1970 From: Marius Bakke Subject: Re: 02/02: gnu: libical: Add upstream patch to preserve API compatibility. Date: Wed, 05 Feb 2020 22:29:38 +0100 Message-ID: <87o8uc4ta5.fsf@devup.no> References: <20200203142557.25275.13298@vcs0.savannah.gnu.org> <20200203142559.6BA8E20A10@vcs0.savannah.gnu.org> <87zhdyt25c.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 ([2001:470:142:3::10]:44282) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1izSEx-0002WN-MM for guix-devel@gnu.org; Wed, 05 Feb 2020 16:29:44 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1izSEw-0001aF-IC for guix-devel@gnu.org; Wed, 05 Feb 2020 16:29:43 -0500 In-Reply-To: <87zhdyt25c.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-mx.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: > Howdy! > > guix-commits@gnu.org skribis: > >> + (list (origin >> + (method url-fetch) >> + (uri (string-append >> + "https://github.com/libical/libical/commit= /" >> + "ae394010c889e4c185160da5e81527849f9de350.= patch")) > > IIRC, those generated patches are not stable, like generated tarballs, > no? What are the available options? I haven't seen GitHub change such generated patch files yet[*], but I do agree it's "fragile", because they can be difficult to reproduce when GitHub inevitably disappears, or _do_ change the format. I wonder if it's feasible to use Guile-Git to generate the patches instead, at the expense of having to download the entire repository for the purpose of extracting one or more (substitutable) patches. [*] There was one instance where it had changed, but that was a merge commit(!), which is a pretty extreme case (whoops): https://git.savannah.gnu.org/cgit/guix.git/commit/?id=3D7670efefe4fb4aca12c= b19ea5d89ff37c48e3ea6 --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAEBCgAdFiEEu7At3yzq9qgNHeZDoqBt8qM6VPoFAl47M8IACgkQoqBt8qM6 VPo6xQf+OwD052skLr7/V7hzNoojgO35lNbjau14jRMn5/51MHylEK1JSxL4OAj7 Uj8PRFwdnrJUyx44nqrk9oLfszKQEh8sxtStkeCK/xRWPMvcD/kHU1jGMEodXQWE UXQFoZ2MrijN/crRKrDXnmtahmoW33ezb7BkHmLqsEtRe71yKK4lHKxCw/pcH/pH 1M7JJW2kbINhzS1I9uoYrXP5rK62Y9OZj8jq5f2u9YtjDuOZjcj2uEh/TQlNUA9Q zTMsf0N/33V6icKOf8Q+F4V5vjAG7sT9GNXNmmwQni5oQ25b6+2sAeBn6lnl+Vy7 qAcicwRqZE/uA5ztkGiU3TOw3yzcqw== =oAVN -----END PGP SIGNATURE----- --=-=-=--