From mboxrd@z Thu Jan 1 00:00:00 1970 From: Cyprien Nicolas Subject: Re: Goals for 0.4 Date: Fri, 30 Aug 2013 18:09:48 +0200 Message-ID: <20130830160948.GB5927@kubera.inria.fr> References: <87vc2o4qwc.fsf@gnu.org> <87eh9c9sb8.fsf@gnu.org> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="rwEMma7ioTxnRzrJ" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:48942) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VFRGq-0004ys-Gj for guix-devel@gnu.org; Fri, 30 Aug 2013 12:10:07 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VFRGj-0007Lu-6p for guix-devel@gnu.org; Fri, 30 Aug 2013 12:10:00 -0400 Content-Disposition: inline In-Reply-To: <87eh9c9sb8.fsf@gnu.org> List-Id: 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: Ludovic =?utf-8?Q?Court=C3=A8s?= Cc: guix-devel@gnu.org --rwEMma7ioTxnRzrJ Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Il y a 20 heures, Ludovic Court=C3=A8s =C3=A9crivit=C2=A0: > Amirouche Boubekki skribis: > > > What about the possiblity to use overlays ? > > Could you elaborate? > > I hear this comes from the Gentoo jargon, but I=E2=80=99m not sure what > that means. I like the idea. I'll try to elaborate myself, as a Gentoo user for years ;-) I describe them from my own experience, official documentation can be found there [1] In Gentoo, ebuilds (the files that specify how to build a package from source) are stored in the "portage tree", which is the official repository. The tree consists of directories, one per category, plus one sub-directory par package, where package directories contains one or more ebuilds, one ebuild per package version. (plus some additional files, like patches.) "Portage" (the tool used to install packages from source, through the "emerge" command) looks for ebuild in that directory, but it can also looks from other directories which follow the same structure, those directories are called "overlays", as they can mask packages from the official tree, but also extend it. They are plenty of overlays usage: experimental packages, user-contributed packages, locally used packages for testing purposes=E2=80= =A6 However, overlay create new concerns. First, priority of overlays, if two provide the same package-version combination, which one to choose? If Overlay A provide Package P, which depends on Library L, not in Overlay A but in the "base" repository, and that Overlay B provide a newer version of Library L, which L to choose? Handling build failure of packages using overlays can be quite tricky too. ;-) And last, how and where to "centralize" overlays, in order to give user a tool to easily add, remove, update overlays. 1. http://www.gentoo.org/proj/en/overlays/userguide.xml --=20 Cyprien/Fulax --rwEMma7ioTxnRzrJ Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.20 (GNU/Linux) iQEcBAEBAgAGBQJSIMPMAAoJEGeOLLwllM0z4xoIAKOGZ8qfOlb7n7ur2JnLAXvw w7iKJ9/7jYV+Z1gz6F1cnuLHVv6FplSGFrq6DYwxGK2e0tf7iPoHmikJSE432YTo mOU/j10xPV+/xTeRDRFzU1qL5676m9Rf1P3NSMBrAsP6l4jKD34RjvnCO+EdY8ml 0clPSpJKNKXcCc1fQ9pXn08RXx6Q3yP14dQQTYJH//fv36t3808Tt/q2aPD1X5zF vj1XE2rFDfe/OJIWYP93uywLu/W5mVDROpJuEdGzz4HB0CMZIgtdaeiEid6gx2Fx bc+RHlnA2T/fFMRa3Sbjkt8yScsCwxZ0hsyPwnNppUKz+PBQLgEF3t7Ha9uCPak= =eMaZ -----END PGP SIGNATURE----- --rwEMma7ioTxnRzrJ--