From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1M1EEt-0003mY-6m for garchives@archives.gentoo.org; Tue, 05 May 2009 06:34:51 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 77EFBE0732; Tue, 5 May 2009 06:34:50 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) by pigeon.gentoo.org (Postfix) with ESMTP id 577B3E0732 for ; Tue, 5 May 2009 06:34:50 +0000 (UTC) Received: from vapier.localnet (localhost [127.0.0.1]) by smtp.gentoo.org (Postfix) with ESMTP id D709966301; Tue, 5 May 2009 06:34:49 +0000 (UTC) From: Mike Frysinger Organization: wh0rd.org To: gentoo-portage-dev@lists.gentoo.org Subject: Re: [gentoo-portage-dev] files in ${FILESDIR} Date: Tue, 5 May 2009 02:34:48 -0400 User-Agent: KMail/1.11.2 (Linux/2.6.29.2; KDE/4.2.2; x86_64; ; ) Cc: Toha References: <20090423122341.GO15099@gentoo.org> <49F0AAD9.4060400@gentoo.org> <20090505102621.55ffa379@tonich.warlock.ru> In-Reply-To: <20090505102621.55ffa379@tonich.warlock.ru> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-portage-dev@lists.gentoo.org Reply-to: gentoo-portage-dev@lists.gentoo.org MIME-Version: 1.0 Content-Type: multipart/signed; boundary="nextPart1881639.S1UrZo4j3r"; protocol="application/pgp-signature"; micalg=pgp-sha1 Content-Transfer-Encoding: 7bit Message-Id: <200905050234.49299.vapier@gentoo.org> X-Archives-Salt: 1ceffe5d-8d4e-49d1-b4d8-0f6d277c38e2 X-Archives-Hash: 5fad6630b7b876b0e5f530a195ea402c --nextPart1881639.S1UrZo4j3r Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline On Tuesday 05 May 2009 02:26:21 Toha wrote: > What about this idea: list all files in ${FILESDIR} (patches, init > scripts), related to ebuild in this ebuild like: > > FLS=3D( "some-init-script" "${PN}-patch1.patch" "${PN}-${PV}-patch2.patch" > ... "${PN}-patchN.patch" ) > > then using this files by addressing his index in ${FLS} array > > applying patches with command: epatch 1 ( or in batch mode: epatch 1 2 3 ) > and init scripts like: doinitd 0 > etc. > > reason: easy automated way to moving ebuilds with all required files betw= en > repositories/overlays downsides: updating of array causes ugly cascading of changes throughout th= e=20 entire ebuild instead of one or two lines. maintaining the info indirectly= =20 with numbers makes reading ebuilds harder to understand and harder to maint= ain=20 (adding/dropping files). such changes should be proposed on the gentoo-dev mailing list anyways ...= =20 you'll get a lot more feedback as to why this is more "con" than "pro". =2Dmike --nextPart1881639.S1UrZo4j3r Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part. -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.11 (GNU/Linux) iQIcBAABAgAGBQJJ/94JAAoJEEFjO5/oN/WBlN0P/03DydGp4mg7jezAIuQDnYGk 1FCuSlUmvawVqvp0v17qZx+vtkowZGgMcT+lXdLSAfxMqrsMij2KYQxwDyfqVsR6 hSub+gbAx7eCFcZ5PYPxdnTK0qUd5wVScQoTRfTqeOksLv52k52SdpN2En+lf1LY HCr0hppalPVxmjnv81u9NnOi3eZixoMLV6LjjDdrCJ98kqqS5bmNFFvyUZnCsTjR Wsf/PYpxtb8V418GoZNmOFt3nycymm4+9JGxb/HVBJc51ygaXIyPjDmXzb4I+yT6 H7UcldEJj9PlpaTeekbBy+amzgHDFiWUI2tSWDyBlEQ74xWn4yBXhH+XVuM8Ft8V ABu3uuRU/2f5TJsFkx8uLpHDt8sm00efcSkL0LugAUEj1jQN7CRiyIAyA01P2Kuw dcpUB5xN4Sa8Bhe8sKZDtumYrD+rJUBGXmOb3ZlBod5I82dYeY37LKFJKpnrc5EB vlhbU9fzPML6LBp4BOoOeTxcJSumFkcfoDSXfewtCHmgFRY/hMcYfmHNuy6dQQo1 DBxGSIXn+Bjl35HXmujR6Ii3CZJsslOCEEruy2XgNyjIbAi0Vkh+h9ogc+fnAqXI UKQrU6CGUsvM+sMNemQIjmIHmJJBZtdXaxdfPMteA5SF8pqHe+7IvY3n6+sOExQ5 62EltQbd+6uL0hN74J6Z =xIRn -----END PGP SIGNATURE----- --nextPart1881639.S1UrZo4j3r--