From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([69.77.167.62] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1Lbus3-0002aG-9V for garchives@archives.gentoo.org; Tue, 24 Feb 2009 10:50:39 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 1C41CE0266; Tue, 24 Feb 2009 10:50:37 +0000 (UTC) Received: from mailfilter11.ihug.co.nz (mailfilter11.ihug.co.nz [203.109.136.11]) by pigeon.gentoo.org (Postfix) with ESMTP id 3A879E0266 for ; Tue, 24 Feb 2009 10:50:36 +0000 (UTC) X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AigBAKxfo0l2XGXQ/2dsb2JhbAAI1lqEEQaDVw X-IronPort-AV: E=Sophos;i="4.38,258,1233486000"; d="scan'208";a="166292834" Received: from 118-92-101-208.dsl.dyn.ihug.co.nz (HELO [10.1.1.3]) ([118.92.101.208]) by smtp.mailfilter5.ihug.co.nz with ESMTP; 24 Feb 2009 23:50:34 +1300 Message-ID: <49A3D0F6.6080307@gentoo.org> Date: Tue, 24 Feb 2009 23:50:30 +1300 From: Alistair Bush User-Agent: Thunderbird 2.0.0.19 (X11/20090102) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-dev@lists.gentoo.org Reply-to: gentoo-dev@lists.gentoo.org MIME-Version: 1.0 To: gentoo-dev@lists.gentoo.org Subject: Re: [gentoo-dev] Issues regarding glep-55 (Was: [gentoo-council] Re: Preliminary Meeting-Topics for 12 February 2009) References: <1234257125.18160.2016.camel@localhost> <1234450419.20950.2.camel@localhost> <20090212160045.GB3642@comet> <20090212161644.GD3642@comet> <20090212162103.256b003f@snowcone> <20090212171055.GA3652@comet> <20090212172109.778fb268@snowcone> <20090212173743.GD3652@comet> <20090212180350.0d9a9df5@snowcone> <1235037961.13198.779.camel@localhost> <20090219125124.33eaa66c@snowcone> <1235077892.13198.1923.camel@localhost> <20090222171658.278ae167@halo.dirtyepic.sk.ca> <49A1E1CB.1000806@gentoo.org> <20090222234800.29d64b8d@snowcone> <49A206A7.3050604@gentoo.org> <49A39CE7.4010201@gentoo.org> <49A3AAA1.6080207@gentoo.org> <49A3B947.2020907@gentoo.org> In-Reply-To: <49A3B947.2020907@gentoo.org> X-Enigmail-Version: 0.95.7 OpenPGP: url= Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Archives-Salt: 78d5b11c-1e8e-47d0-93c0-64a391ec24e8 X-Archives-Hash: ea093d380e08fd08d2d86f48d4bbc201 Luca Barbato wrote: > Alistair Bush wrote: >> I just don't think those numbers tell us anything and that should be >> obvious from anyone who has read GLEP 55[1], we ain't really attempting >> to solve a problem that exists within the tree currently (well the bash >> issue does, in a way ). We are trying to solve issues that ware stopping >> the "tree" moving forward. Lets evaluate GLEP 55 in the problems it is >> attempting to solve. > > I'm afraid you missed the whole point... > > - what is in the proposal is a solution looking for a problem: nobody > updated the glep with the required sections, nobody put up a list of > bugs/rfe from bugzilla it helps to solve. Vague "leading to the future > change" declaration aren't what I'd expect. > So im mean't to start committing ebuilds into the tree that expect a certain unimplemented functionality, only to file bugs against portage for it not supporting them? Or can we be smart enough to realise that there are limitation to the current standard and then attempt to fix them before they become a problem. Plus we already know of at least one case where we will encounter a problem in the future, why? because we have already. Not sure if there is a open bug about it tho. This actually eats at me, your basically saying GLEP's should only be reactive. Why don't we all just roll over and die. > - Assuming there is an actual reason to move forward (by digging > bugzilla yourself or deciding to do so as academic exercise) you could > think about the problem and its solutions (my the email starting this > thread on dev) I have already considered the problems, and believe GLEP 55 is the **best** solution to them. Is it perfect, no. But I have yet to see anything better. > > - Given all you need is just to have a way to get the information about > EAPI before you actually parse the ebuild since the eapi defines how you > parse it, you can come up with various solutions, the simplest being > first extract the eapi, being it in a fixed place, and then do the parse. > Yes exactly, you need to know the EAPI before you __parse__ the ebuild. At least we agree that nothing should have to read the contents of the file to determine EAPI (doing so would be parsing now wouldn't it). So seeing that we agree with that, where should we stick the EAPI. mmmmm.... 1) How about in a flat txt file: That would become a developers nightmare. 2) In an xml file. Package managers would have to support xml. Not the best thing in the world. also could be a nightmare, adding an entry for every ebuild. 3) As an xattr. Well this idea is novel. I bet it would make the tree nice and stable too. Lets not forget how annoying it will be for devs. 4) Parsing the ebuild. But what are we parsing?, lets not limit ourselves to bash, we might want to change languages completely. If it is bash, what version, what if EAPI is set multiple times, what if its set in an eclass. 5) Mmmmm...On the file name sounds like a good idea. especially as an extension. provides information to a package manager, person, script/program without them needing to open anything. identifies the contents just like .txt, .c, .o, .jpeg, etc > - Extracting such information could have different costs depending on > where to place it. I believe it being on the filename would be the least costly, in terms of processor/io at least.