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 A6C731382C5 for ; Fri, 23 Feb 2018 17:35:41 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 5473BE0830; Fri, 23 Feb 2018 17:35:35 +0000 (UTC) Received: from smtp.laposte.net (smtpoutz26.laposte.net [194.117.213.101]) (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 D0DD9E0825 for ; Fri, 23 Feb 2018 17:35:34 +0000 (UTC) Received: from smtp.laposte.net (localhost [127.0.0.1]) by lpn-prd-vrout014 (Postfix) with ESMTP id 4481D121F3E for ; Fri, 23 Feb 2018 18:35:33 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=laposte.net; s=mail0; t=1519407333; bh=8/T75dYlkudktVdBTjxHnkEix29/8NlqE7k2+BhOs7o=; h=From:Subject:To:Date; b=NGvxpZkPbgHOdEgZRlsoDyvoE50ufD7c2FR2f8c+l+eZmKKBx9nhzUVSSNX710BX9 Qa8khbbzh6Le71lJ+xt01hHDjGRWuWiHIj6S0XUoHyI/RPFcpSHctAznVuOneguwcS bkGTX2VyxZvu+ub8h0vfr2FOltGZZYKmskVc08sDVfWhiZkLDKKPsmDHmz4sJiPDKK sBPHAgGter6ZyIXlHrbFpi6ZIsvOEXk4m+jp2zhb9Fuw3x4pnGJIjGcFo5QNMIOFqM 4uiYvbB3l39Rk4zspZ4S0Rnpjyv3xwOYCMdYekIl9AUxjM5t90qnEPHOXxDkDHBUR1 gfsw/DFzVkkLw== Received: from smtp.laposte.net (localhost [127.0.0.1]) by lpn-prd-vrout014 (Postfix) with ESMTP id 360371225FE for ; Fri, 23 Feb 2018 18:35:33 +0100 (CET) Received: from lpn-prd-vrin002 (lpn-prd-vrin002.prosodie [10.128.63.3]) by lpn-prd-vrout014 (Postfix) with ESMTP id 313B1122109 for ; Fri, 23 Feb 2018 18:35:33 +0100 (CET) Received: from lpn-prd-vrin002 (localhost [127.0.0.1]) by lpn-prd-vrin002 (Postfix) with ESMTP id 2114C5C3DD9 for ; Fri, 23 Feb 2018 18:35:33 +0100 (CET) Received: from [192.168.1.2] (unknown [151.60.5.226]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by lpn-prd-vrin002 (Postfix) with ESMTPSA id 8605B5C3DDB for ; Fri, 23 Feb 2018 18:35:32 +0100 (CET) From: Michael Lienhardt Subject: [gentoo-dev] Questions on overlays, repositories and PMS To: gentoo-dev@lists.gentoo.org Message-ID: <7390233c-9b93-d1be-2005-4f28b61e4289@laposte.net> Date: Fri, 23 Feb 2018 18:36:07 +0100 User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.6.0 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 MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-15; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-VR-FullState: 0 X-VR-Score: 0 X-VR-Cause-1: gggruggvucftvghtrhhoucdtuddrgedtfedrheehgddutddvucetufdoteggodetrfdotffvucfrrhho X-VR-Cause-2: fhhilhgvmecunfetrffquffvgfenuceurghilhhouhhtmecuhedttdenucenucfjughrpefhuffvkfff X-VR-Cause-3: fgggtgfgsehtjeertddtfeelnecuhfhrohhmpefoihgthhgrvghlucfnihgvnhhhrghrughtuceomhhi X-VR-Cause-4: tghhrggvlhdrlhhivghnhhgrrhgutheslhgrphhoshhtvgdrnhgvtheqnecuffhomhgrihhnpehgvghn X-VR-Cause-5: thhoohdrohhrghdpghhithhhuhgsrdgtohhmnecukfhppeduhedurdeitddrhedrvddvieenucfrrghr X-VR-Cause-6: rghmpehmohguvgepshhmthhpohhuthdphhgvlhhopegludelvddrudeikedruddrvdgnpdhinhgvthep X-VR-Cause-7: udehuddriedtrdehrddvvdeipdhmrghilhhfrhhomhepmhhitghhrggvlhdrlhhivghnhhgrrhguthes X-VR-Cause-8: lhgrphhoshhtvgdrnhgvthdprhgtphhtthhopehgvghnthhoohdquggvvheslhhishhtshdrghgvnhht X-VR-Cause-9: ohhordhorhhgnecuvehluhhsthgvrhfuihiivgeptd X-VR-AvState: No X-VR-State: 0 X-VR-State: 0 X-Archives-Salt: f76541a1-9cde-4a1c-ae37-d2e0b60198b0 X-Archives-Hash: 20c008dca9ed9ea8c28b97c5504cbb33 I started refactoring my solver to make it more modular, to fix some details w.r.t. the PMS and to manage different repositories. I thus have several questions on how multiple repositories work in portage. 1. My understanding was that /etc/portage/repos.conf replaced the PORTDIR_OVERLAY variable, however this variable is still documented (e.g. in https://devmanual.gentoo.org/general-concepts/overlay/index.html). Was my intuition right? Or in other word, it is enough to only look at /etc/portage/repos.conf? In general, an overlay is a repository, i.e., a valid tree layout for the PMS, right (as stated in https://devmanual.gentoo.org/general-concepts/overlay/index.html)? 2. the PMS states that any valid repository has a profiles folder which can contain profiles and a package.mask file. - can the profiles in a repository different from DEFAULT be selected? - is the package.mask file apply only on the packages of that repository, or on every packages of every repositories listed in /etc/portage/repos.conf? 3. many repositories do not have an eclass folder, and miss many (optional) configuration files in the profiles folder (like arch.list, categories): - is such information implicitly inherited from the DEFAULT repository (even though https://wiki.gentoo.org/wiki//etc/portage/repos.conf states that it is not)? the brother overlay (https://github.com/stefan-langenmaier/brother-overlay) does not specify any masters - when the eclass folder, profiles/arch.list and such are present, is the data from the DEFAULT repository still implicitly inherited? - when the eclass folder, profiles/arch.list and such are present, are they visible globally (i.e., a package from another repository can use a keyword of the arch.list and inherit from one of the eclass)? 4. is the "masters" attribute in /etc/portage/repos.conf make the repository inherit other data than the eclasses? 5. since every repos can have a profiles/categories file, is the file /etc/portage/categories obsolete (or should it be)? Best Regards, Michael Lienhardt