public inbox for gentoo-dev@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-dev] Questions on overlays, repositories and PMS
@ 2018-02-23 17:36 Michael Lienhardt
  2018-02-23 18:09 ` Vadim A. Misbakh-Soloviov
                   ` (2 more replies)
  0 siblings, 3 replies; 7+ messages in thread
From: Michael Lienhardt @ 2018-02-23 17:36 UTC (permalink / raw
  To: gentoo-dev

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



^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2018-02-24 17:26 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-02-23 17:36 [gentoo-dev] Questions on overlays, repositories and PMS Michael Lienhardt
2018-02-23 18:09 ` Vadim A. Misbakh-Soloviov
2018-02-23 23:42   ` Michael Lienhardt
2018-02-23 19:37 ` Alec Warner
2018-02-24  1:32   ` Michael Lienhardt
2018-02-24 17:26     ` Roy Bamford
2018-02-24  3:26 ` Brian Dolbec

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox