On Sat, Jul 16, 2022 at 10:20:01PM +0200, Ulrich Mueller wrote: > >>>>> On Sat, 16 Jul 2022, William Hubbs wrote: > > The only question is, is there a way to reliably tell whether or not > > we are in the main tree? > > An eclass has no legitimate way to find out in which repository it is. > The rationale is that users should be able to copy ebuilds and eclasses > to their local overlays, and they should work there in the same way. > > There is an internal (and undocumented) Portage variable, but that > shouldn't be used.
In that case, I'm left with two options. 1) continue with deprecating and removing EGO_SUM. 2) (suggested on IRC) allow EGO_SUM as long as it has below a certain low number of entries. It would need to be kept small to keep ebuilds and manifests from bloating too much. Thoughts? William
signature.asc
Description: PGP signature