public inbox for gentoo-dev@lists.gentoo.org
 help / color / mirror / Atom feed
From: William Hubbs <williamh@gentoo.org>
To: gentoo development <gentoo-dev@lists.gentoo.org>
Cc: mgorny@gentoo.org
Subject: [gentoo-dev] rfc: eclass issues
Date: Sun, 17 Aug 2014 10:38:54 -0500	[thread overview]
Message-ID: <20140817153854.GA22840@linux1> (raw)

[-- Attachment #1: Type: text/plain, Size: 845 bytes --]

All,

I spoke with mgorny on IRC and found out what his concerns are about our
current eclasses.

First, he thinks we should get rid of base.eclass.

I know there is work going on to get rid of it, but I haven't really
looked into the status much yet. I do agree though, we shouldn't have a
general-purpose eclass like this that overrides default phase functions.
Things like this belong in PMS; not in an eclass.

The other concern he mentioned was indirectly inherited eclasses being
able to override phase functions.

He said for example that if an ebuild inherits foo and foo inherits bar,
foo should export all of the phase functions bar exports.

This may cause some boilerplating in some of the eclasses, so I'm
wondering if it would be feasible to make EXPORT_FUNCTIONS work only for
the first level of inheritance?

Thoughts?

William


[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 181 bytes --]

             reply	other threads:[~2014-08-17 15:39 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-08-17 15:38 William Hubbs [this message]
2014-08-17 17:29 ` [gentoo-dev] rfc: eclass issues Rich Freeman
2014-08-18 12:12 ` hasufell
2014-08-18 13:18   ` Rich Freeman

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20140817153854.GA22840@linux1 \
    --to=williamh@gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    --cc=mgorny@gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox