From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id CA224138334 for ; Thu, 12 Sep 2019 21:10:59 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id E5A5CE0C53; Thu, 12 Sep 2019 21:10:54 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 54B31E0C48 for ; Thu, 12 Sep 2019 21:10:54 +0000 (UTC) Received: from pomiot (c134-66.icpnet.pl [85.221.134.66]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: mgorny) by smtp.gentoo.org (Postfix) with ESMTPSA id 831AE34B0CD; Thu, 12 Sep 2019 21:10:52 +0000 (UTC) Message-ID: Subject: Re: [gentoo-dev] [PATCH 1/3] go-module.eclass: introduce new eclass to handle go modules From: =?UTF-8?Q?Micha=C5=82_G=C3=B3rny?= To: gentoo-dev@lists.gentoo.org Date: Thu, 12 Sep 2019 23:10:48 +0200 In-Reply-To: <20190913081638.757b2817@katipo2.lan> References: <20190911172128.18885-1-williamh@gentoo.org> <20190911172128.18885-2-williamh@gentoo.org> <1839d49b6adcfeba3c807543e0ba01e0f2888a36.camel@gentoo.org> <20190911182238.GA19361@whubbs1.dev.av1.gaikai.org> <20190911194041.GA19620@whubbs1.dev.av1.gaikai.org> <20190911231115.GA20687@whubbs1.dev.av1.gaikai.org> <06381929-4520-4284-B868-EB83D5AE3D6B@gentoo.org> <20190912163954.GA24121@whubbs1.dev.av1.gaikai.org> <20190913081638.757b2817@katipo2.lan> Organization: Gentoo Content-Type: multipart/signed; micalg="pgp-sha512"; protocol="application/pgp-signature"; boundary="=-R0SfOUzOnRI6jCL8rHTm" User-Agent: Evolution 3.32.4 Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-dev@lists.gentoo.org Reply-to: gentoo-dev@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply MIME-Version: 1.0 X-Archives-Salt: 28591060-6249-439a-b7a7-5b59725a897c X-Archives-Hash: b75b448d4b1c150c15191748387327e0 --=-R0SfOUzOnRI6jCL8rHTm Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Fri, 2019-09-13 at 08:16 +1200, Kent Fredric wrote: > On Thu, 12 Sep 2019 19:03:02 +0200 > Micha=C5=82 G=C3=B3rny wrote: >=20 > > ebuild spire-0.8.1.ebuild fetch > > tar -xf ${DISTDIR}/spire-0.8.1.tar.gz > > cd spire-0.8.1/ > > go mod vendor > > cd ../ > > tar -cf spire-0.8.1-vendor.tar spire-0.8.1/vendor > >=20 > > Now you don't need special src_prepare() to unpack it. >=20 > Of course, that means if spire-0.8.1 and spire-0.8.2 use identical > vendor dirs, you can no longer trivially bump the version on the dist > without a manual re-tar. It also means you won't mistakenly re-tar with old vendor because you forget to do the whole magic. Or just re-tar with wrong tag checked out. --=20 Best regards, Micha=C5=82 G=C3=B3rny --=-R0SfOUzOnRI6jCL8rHTm Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part Content-Transfer-Encoding: 7bit -----BEGIN PGP SIGNATURE----- iQGTBAABCgB9FiEEx2qEUJQJjSjMiybFY5ra4jKeJA4FAl16tFhfFIAAAAAALgAo aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldEM3 NkE4NDUwOTQwOThEMjhDQzhCMjZDNTYzOUFEQUUyMzI5RTI0MEUACgkQY5ra4jKe JA5N+wf+N8WlJ7NLV95Q5oIm8YlFzWqY3D/BlpmcOQ+B+fBjyaQhKee4hk/aFCL5 mufkM0mnp6vf6VTok8Z+n+cVTFNPEupMA933P2kfWCRKbcJWUSPA7y20SwYkpsKn W2twSrqqeqd9UqfK14NkZThHfVVOpj81ex2f3lDAEXFm/FurdlaKgGMGYUhbnAeC hvjXD72pKXMpfGtIznyxwkbZNBYwAhWeWFwaSEq/SKfPSTDlfh6jKWv8j+IWHZ8E O9OP0/DU0k+dr1z/JqJKAtvNl37giIG0KRVTd3TT4MSo9plvpx1o8OJm/cGth1ZJ cFTeRl1SNXEjQS/Ds7izg0+5lWDfOQ== =fZmV -----END PGP SIGNATURE----- --=-R0SfOUzOnRI6jCL8rHTm--