From: Mark Bateman <couldbe@soon.com>
To: gentoo-dev@lists.gentoo.org
Subject: [gentoo-dev] Re: The fallacies of GLEP55
Date: Sun, 17 May 2009 04:07:18 +0000 (UTC) [thread overview]
Message-ID: <loom.20090517T030714-575@post.gmane.org> (raw)
In-Reply-To: 20090516230603.1a689107@snowmobile
Ciaran McCreesh <ciaran.mccreesh <at> googlemail.com> writes:
>
> On Sat, 16 May 2009 21:58:10 +0000 (UTC)
> Mark Bateman <couldbe <at> soon.com> wrote:
> > "The current way of specifying the EAPI in ebuilds is flawed"
> > That is not defining the problem, that is an opening statement.
>
> That is the problem.
No, that is a summary of the problem. Not once has the actual problem been
described or documented. It has been requested multiple times by multiple
people and yet a description detailing the problem has yet to materialise.
Repeated use of *problem* doesn't suddenly expand on the definition of the word
*problem* to encompass details needed in a technical proposal within a GLEP.
If you do not understand the problems associated with determining the EAPI of
an ebuild before sourcing it, please stop championing this GLEP until someone
does provide a complete breakdown of the process.
Until such information is provided continued discussion of this GLEP is not
going to progress since words like *obviously* are substituted for actual
facts, a substitution which does not provide anything new to this discussion
> > "In order to get the EAPI the package manager needs to source the
> > ebuild, which itself needs the EAPI in the first place."
> > It then describes "a" mechanism utilising an ebuild
> > (source /usr/portage...) to obtain the EAPI from within the ebuild
> > (EAPI=...). Using this method the entire content of GLEP55 is
> > accurate.
> >
> > However, this is not the only method to determine the EAPI of an
> > ebuild that exists and as such the viability of GLEP55 as the best
> > solution is brought into question
>
> Yes, it is the only method.
No it is the only method you are willing to accept, there is a big difference.
Many people have mentioned in passing other means of determining the EAPI of
an ebuild pre-sourcing (thus allowing the PM to source the correct eclass
or flag up warnings...) YET they have just been shot down with no
actual technical reason, except "they do not involve coding the EAPI
into the filename". Please provide detailed technical description of
the problem, as has been requested by a number of people, as well as
providing details of why in-filename encoding of EAPI is technically
as well as practically the best solution.
>
> > Where is it defined that the ebuild must be sourced 1st?
> > Why does the ebuild have to be sourced 1st?
>
> Such things are obviously true to anyone with a basic understanding of
> the domain.
So you are unable to actually reference any credible source of information to
back up your claims then.
>
> > GLEP55 explicitly states that the EAPI to be recorded in the file
> > extension, while, as this thread has shown, a number of methods can
> > be used to source the EAPI version of the ebuild *without* the need
> > of actually source'ing the ebuild (grep, sed, metacache) all of which
> > are viable solutions to the problem, the problem that is so obvious
> > it doesn't actually have to be defined
>
> Except that that isn't true. With the current rules, an ebuild has to
> be sourced to get EAPI. And you can't just say "use the metadata
> cache", since the package manager has to know how to generate the
> metadata cache in the first place.
>
> Please make sure you're familiar with the basics of how metadata works
> before commenting any further.
>
What has my understanding or lack of understanding of "metadata" have to do
with my statement that other means exist to determine the EAPI of an ebuild
before sourcing said ebuild? This is meant to be a discussion about "The
fallacies of GLEP55"
Refusal to accept any other possible solution as well as refusal to discuss any
other solution to the problem, all wrapped up in an awe of supremacy on the
matter (without ONCE providing details) is not beneficial to Gentoo in finding
the best solution.
Simple fact is there are many methods available to determine the EAPI of an
ebuild without having to encode it in the filename (or its extension).
In fact you yourself have mentioned that eclasses change the EAPI
http://article.gmane.org/gmane.linux.gentoo.devel/61255
"But eclasses have tried changing it. This is something people have
done, not some hypothetical."
So the need to have it actually encoded in the filename is not needed, since
other method's of actually setting the EAPI exist and work.
Blindly dismissing a solution without actually providing any technical
information of the problem AS well as why a *proposed* solution isn't the best
is of no benefit to solving the problem
For instance SheBangs are very useful
FILE:test1.py
#!/usr/bin/python2.5
#-*- coding: utf-8 -*-
def bin(number,count):
return '0b'+"".join([str((number >> y) & 1) for y in range(count-1,-1,-1)])
print 'hello world ',bin(170,8)
FILE:test2.py
#!/usr/bin/python2.6
#-*- coding: utf-8 -*-
print('hello world',bin(170))
executing ./test1 and ./test2 both work WHILE "python2.5 test2.py" fails on
NameError.
There is no need for the python version to be encoded into the filename (like
*.py-2.6) and yet it still works.
next prev parent reply other threads:[~2009-05-17 4:07 UTC|newest]
Thread overview: 113+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-05-14 18:06 [gentoo-dev] The fallacies of GLEP55 Patrick Lauer
2009-05-14 18:39 ` Ciaran McCreesh
2009-05-14 19:05 ` Patrick Lauer
2009-05-14 19:11 ` Ciaran McCreesh
2009-05-14 19:17 ` RB
2009-05-14 19:20 ` Ciaran McCreesh
2009-05-14 19:24 ` Patrick Lauer
2009-05-14 19:33 ` Ciaran McCreesh
2009-05-14 19:16 ` Robert Bridge
2009-05-15 19:29 ` [gentoo-dev] " Steven J Long
2009-05-14 19:09 ` [gentoo-dev] " Tomáš Chvátal
2009-05-14 19:17 ` Ciaran McCreesh
2009-05-15 1:42 ` George Prowse
2009-05-15 7:30 ` David Leverton
2009-05-15 10:44 ` Richard Freeman
2009-05-15 16:16 ` Robert R. Russell
2009-05-15 16:29 ` Ciaran McCreesh
2009-05-15 19:12 ` [gentoo-dev] " Steven J Long
2009-05-15 19:17 ` Ciaran McCreesh
2009-05-15 20:06 ` [gentoo-dev] " Steven J Long
2009-05-15 20:13 ` Ciaran McCreesh
2009-05-24 20:53 ` [gentoo-dev] " Steven J Long
2009-05-24 21:10 ` Ciaran McCreesh
2009-05-15 20:32 ` [gentoo-dev] " David Leverton
2009-05-24 20:40 ` [gentoo-dev] " Steven J Long
2009-05-24 20:58 ` David Leverton
2009-05-14 19:06 ` [gentoo-dev] " David Leverton
2009-05-14 19:15 ` Jeremy Olexa
2009-05-14 19:24 ` Ciaran McCreesh
2009-05-14 20:03 ` Ben de Groot
2009-05-14 21:16 ` Peter Alfredsen
2009-05-14 21:49 ` William Hubbs
2009-05-14 21:53 ` Ciaran McCreesh
2009-05-14 22:44 ` Patrick Lauer
2009-05-15 18:58 ` Arun Raghavan
2009-05-15 19:11 ` Ciaran McCreesh
2009-05-26 14:06 ` [gentoo-dev] " Steven J Long
2009-05-15 19:43 ` [gentoo-dev] " William Hubbs
2009-05-15 19:49 ` Ciaran McCreesh
2009-05-16 9:27 ` Tobias Klausmann
2009-05-16 11:33 ` [gentoo-dev] " Duncan
2009-05-26 14:01 ` Steven J Long
2009-05-16 14:12 ` [gentoo-dev] " Ciaran McCreesh
2009-05-16 14:50 ` [gentoo-dev] " Steven J Long
2009-05-16 14:57 ` Ciaran McCreesh
2009-05-16 15:15 ` Richard Freeman
2009-05-16 15:20 ` Ciaran McCreesh
2009-05-16 15:34 ` Richard Freeman
2009-05-16 15:36 ` Ciaran McCreesh
2009-05-16 15:32 ` [gentoo-dev] " Tobias Klausmann
2009-05-16 15:34 ` Ciaran McCreesh
2009-05-16 15:43 ` Tobias Klausmann
2009-05-16 15:49 ` Ciaran McCreesh
2009-05-16 15:55 ` Tobias Klausmann
2009-05-16 15:57 ` Ciaran McCreesh
2009-05-16 16:15 ` Tobias Klausmann
2009-05-16 16:19 ` Ciaran McCreesh
2009-05-16 16:31 ` Tobias Klausmann
2009-05-16 16:38 ` Ciaran McCreesh
2009-05-16 16:54 ` Tobias Klausmann
2009-05-16 16:58 ` Ciaran McCreesh
2009-05-16 17:13 ` Tobias Klausmann
2009-05-16 17:53 ` Ciaran McCreesh
2009-05-17 4:54 ` Richard Freeman
2009-05-16 16:35 ` Arun Raghavan
2009-05-16 16:39 ` Thomas Anderson
2009-05-16 16:44 ` Arun Raghavan
2009-05-16 16:47 ` Ciaran McCreesh
2009-05-16 16:54 ` Arun Raghavan
2009-05-16 16:59 ` Ciaran McCreesh
2009-05-16 17:09 ` Arun Raghavan
2009-05-16 17:55 ` Ciaran McCreesh
2009-05-16 19:12 ` Arun Raghavan
2009-05-16 19:21 ` Ciaran McCreesh
2009-05-17 4:56 ` Arun Raghavan
2009-05-16 23:39 ` Nick Fortino
2009-05-16 23:48 ` Ciaran McCreesh
2009-05-17 1:17 ` Nick Fortino
2009-05-22 2:04 ` Robert R. Russell
2009-05-17 0:31 ` Ravi Pinjala
2009-05-17 4:35 ` Richard Freeman
2009-05-17 11:40 ` Thomas Anderson
2009-05-17 12:00 ` Arun Raghavan
2009-05-17 0:35 ` [gentoo-dev] " Duncan
2009-05-17 0:50 ` Ciaran McCreesh
2009-05-17 1:58 ` Duncan
2009-05-17 4:43 ` Richard Freeman
2009-05-17 7:29 ` Patrick Lauer
2009-05-17 11:14 ` David Leverton
2009-05-17 7:40 ` Tiziano Müller
2009-05-17 8:01 ` Patrick Lauer
2009-05-16 16:39 ` [gentoo-dev] " Ciaran McCreesh
2009-05-16 18:38 ` Robert Buchholz
2009-05-16 18:42 ` Ciaran McCreesh
2009-05-16 9:27 ` Marijn Schouten (hkBst)
2009-05-16 9:59 ` David Leverton
2009-05-16 11:11 ` Ben de Groot
2009-05-16 18:10 ` William Hubbs
2009-05-16 18:14 ` Ciaran McCreesh
2009-05-16 18:22 ` William Hubbs
2009-05-16 12:14 ` [gentoo-dev] " Duncan
2009-05-16 14:15 ` Ciaran McCreesh
2009-05-16 17:28 ` David Leverton
2009-05-16 20:00 ` Joe Peterson
2009-05-16 20:11 ` Denis Dupeyron
2009-05-16 20:13 ` Denis Dupeyron
2009-05-17 8:29 ` [gentoo-dev] " Alistair Bush
2009-05-17 13:04 ` Richard Freeman
2009-05-16 21:58 ` [gentoo-dev] " Mark Bateman
2009-05-16 22:06 ` Ciaran McCreesh
2009-05-17 4:07 ` Mark Bateman [this message]
2009-05-17 16:35 ` Ciaran McCreesh
2009-05-17 16:54 ` Patrick Lauer
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=loom.20090517T030714-575@post.gmane.org \
--to=couldbe@soon.com \
--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