From: Jeroen Roovers <jer@gentoo.org>
To: gentoo-dev@lists.gentoo.org
Subject: Re: [gentoo-dev] Versioning of eclasses and possibly functions inside ebuilds
Date: Thu, 29 Dec 2011 16:28:31 +0100 [thread overview]
Message-ID: <20111229162831.6575916c@epia.jer-c2.orkz.net> (raw)
In-Reply-To: <20111229033601.GA18706@localhost>
On Wed, 28 Dec 2011 19:36:01 -0800
Brian Harring <ferringb@gmail.com> wrote:
> People have problems as is dealing w/ eclasses changing and their
> dependencies in external repositories not being updated; this
> complicates that issue and introduces the same potential into
> gentoo-x86 itself. That's not beneficial.
I agree with nearly all of that: introducing changes to an eclass
usually means going through the whole tree and fixing what breaks.
That's a lot more easy to fix than adding more layers of indirection
based on a variable's value and adjusting the value according to the
time the ebuild was written versus when the eclass was changed.
> Thing to keep in mind beyond the potential for confusion the
> proposals entail were they implemented, is the implementation
> itself. Timeslices? python eclass api versions (when people have
> problems figuring out the existing, *singular* version)? These
> things aren't going to be simple which means more than likely,
> they're going to break, and more than likely it's going to be a PITA
> to maintain it.
Last time I took tranquilisers and set myself up to read python.eclass,
I found that it still doesn't break at 80 characters. Apparently even
that can't be fixed in a timely fashion.
Assing even more layers of mystification like:
if [[ PYTHON_ECLASS_API = 2 ]]; then
python_pkg_setup() {
or even:
python_pkg_setup() {
if [[ PYTHON_ECLASS_API = 2 ]]; then
would be insane, in my opinion.
Also, from the perspective of an ebuild writer, setting
PYTHON_ECLASS_API=2
inherit python
would be meaningless lacking a very clear description of what the
number 2 means.
jer
prev parent reply other threads:[~2011-12-29 15:29 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-12-28 13:12 [gentoo-dev] Versioning of eclasses and possibly functions inside ebuilds Francesco Riosa
2011-12-28 19:01 ` Zac Medico
2011-12-29 2:28 ` Francesco Riosa
2011-12-28 19:21 ` Zac Medico
2011-12-29 2:37 ` Francesco Riosa
2011-12-29 3:36 ` Brian Harring
2011-12-29 10:49 ` Francesco Riosa
2011-12-29 15:28 ` Jeroen Roovers [this message]
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=20111229162831.6575916c@epia.jer-c2.orkz.net \
--to=jer@gentoo.org \
--cc=gentoo-dev@lists.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