public inbox for gentoo-council@lists.gentoo.org
 help / color / mirror / Atom feed
From: Peter Volkov <pva@gentoo.org>
To: Ciaran McCreesh <ciaran.mccreesh@googlemail.com>
Cc: gentoo-council@lists.gentoo.org
Subject: Re: [gentoo-council] Preliminary Meeting-Topics for 12 February 2009
Date: Fri, 20 Feb 2009 00:11:32 +0300	[thread overview]
Message-ID: <1235077892.13198.1923.camel@localhost> (raw)
In-Reply-To: <20090219125124.33eaa66c@snowcone>

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

Filename extension is a "suffix to the name of a computer file, designed
to show its format" (-- wikipedia). General format of ebuilds is bash.
Putting version of bash scripts inside filename extension just breaks
common convention people got accustomed to.

В Чтв, 19/02/2009 в 12:51 +0000, Ciaran McCreesh пишет:
> On Thu, 19 Feb 2009 13:06:01 +0300
> Peter Volkov <pva@gentoo.org> wrote:
> > If you and think that EAPI is meta-information then it should not be
> > inside file name and then it's possible to parse ebuild and get EAPI
> > from some defined-format line. Performance penalties can be mitigated
> > by some new caching (you know better than me that it's good idea to
> > re-implement caching in any case).
> 
> The only thing that can parse ebuilds is bash, and it can only do that
> once it already knows the EAPI.

You don't need to parse full bash script. You just need to get

EAPI="something"

string from there. If you wish to implement new ebuild format, e.g.
ebuilds in xml, in such a case you'll change extension on .xebuild or
whatever suits better.

> Another cache won't solve anything since there's no way to generate
> that cache to begin with -- and a second level of cache would slow
> things down, not speed them up.

I told about caching just to avoid "it's slow to get EAPI from ebuild"
argument.

> Because all the alternatives are worse, and none of the objections to
> the extension have been technical in nature. They've all been "we don't
> want you to apply anti-mould paint to the rotting bikeshed because it's
> only available in brown".

If by technical objection you mean 'explanation why technically it's
impossible or bad to implement .eapi extensions' I agree with you. It is
possible to code it and it will work. But ... again. Statement is:

Filename extension is a "suffix to the name of a computer file, designed
to show its format". General format of ebuilds is bash. Putting version
of bash scripts inside filename extension just breaks common convention
people got accustomed to. Although this is not a technical objection it
is not unimportant. Even color is important if your are talking about
things people will see/use on daily basis. I doubt you'll paint your
room in violet only because you can easy get this paint right now.

That said, technically there are other solutions for this problem, e.g.
1) it is possible to read one line of defined format from any file 2) it
is possible to make eapi inside ebuild name (foo-1.0-eapi2.ebuild), but
not as extension. Any solution, even breaking compatibility solution, we
could already start using if we had forgotten about GLEP 55 long time
ago...

Putting GLEP 55 infinite number of times on council agenda makes me feel
that this issue has something common with perpetuum mobile. At least I'd
like similar resolution from our council as the Royal Academy of
Sciences in Paris did in 1775. It's hard to tell anything new about GLEP
55 but people still don't like it, so, council, please, ban it forever
and let something else arise.

-- 
Peter.

[-- Attachment #2: Эта часть сообщения подписана цифровой подписью --]
[-- Type: application/pgp-signature, Size: 197 bytes --]

  parent reply	other threads:[~2009-02-19 21:12 UTC|newest]

Thread overview: 44+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-02-10  9:12 [gentoo-council] Preliminary Meeting-Topics for 12 February 2009 Tiziano Müller
2009-02-10 21:25 ` Donnie Berkholz
2009-02-12  6:53   ` Tiziano Müller
2009-02-12 15:50     ` Donnie Berkholz
2009-02-12 15:55       ` Ciaran McCreesh
2009-02-12 16:01         ` Donnie Berkholz
2009-02-12 16:12           ` Ciaran McCreesh
2009-02-12 17:28             ` Donnie Berkholz
2009-02-12 16:47           ` Tiziano Müller
2009-02-12 17:20             ` Donnie Berkholz
2009-02-10 23:11 ` [gentoo-council] Website changes [WAS] " Donnie Berkholz
2009-02-11 15:51   ` Tiziano Müller
2009-02-11 19:19     ` Donnie Berkholz
2009-02-11 20:01       ` Luca Barbato
2009-02-10 23:13 ` [gentoo-council] GSoC results from 2008 " Donnie Berkholz
2009-02-12  5:48   ` Alec Warner
2009-02-12 14:53 ` [gentoo-council] " Tiziano Müller
2009-02-12 16:00   ` Donnie Berkholz
2009-02-12 16:16     ` Donnie Berkholz
2009-02-12 16:21       ` Ciaran McCreesh
2009-02-12 17:10         ` Donnie Berkholz
2009-02-12 17:21           ` Ciaran McCreesh
2009-02-12 17:37             ` Donnie Berkholz
2009-02-12 18:03               ` Ciaran McCreesh
2009-02-12 19:01                 ` Alistair Bush
2009-02-12 19:08                   ` Ciaran McCreesh
2009-02-12 19:54                   ` Luca Barbato
2009-02-12 20:01                     ` Ciaran McCreesh
2009-02-19 10:06                 ` Peter Volkov
2009-02-19 12:51                   ` Ciaran McCreesh
2009-02-19 13:30                     ` Luca Barbato
2009-02-19 15:23                       ` Ciaran McCreesh
2009-02-19 21:11                     ` Peter Volkov [this message]
2009-02-19 21:21                       ` Ciaran McCreesh
2009-02-22 23:16                       ` [gentoo-council] " Ryan Hill
2009-02-22 23:37                         ` Luca Barbato
2009-02-22 23:48                           ` Ciaran McCreesh
2009-02-23  2:15                             ` Issues regarding glep-55 (Was: [gentoo-council] Re: Preliminary Meeting-Topics for 12 February 2009) Luca Barbato
2009-02-23  8:38                               ` Tiziano Müller
2009-02-23 13:21                                 ` [gentoo-dev] " Luca Barbato
2009-02-23 13:40                                   ` Thomas Anderson
2009-02-23 13:57                               ` Ciaran McCreesh
2009-02-23 14:46                                 ` Luca Barbato
2009-02-23 14:59                                   ` Ciaran McCreesh

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=1235077892.13198.1923.camel@localhost \
    --to=pva@gentoo.org \
    --cc=ciaran.mccreesh@googlemail.com \
    --cc=gentoo-council@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