From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 8257 invoked by uid 1002); 4 Aug 2003 04:29:22 -0000 Mailing-List: contact gentoo-dev-help@gentoo.org; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-dev@gentoo.org Received: (qmail 31047 invoked from network); 4 Aug 2003 04:29:22 -0000 Date: Sun, 03 Aug 2003 21:29:19 -0700 From: Max Kalika To: stuart@gentoo.org, Max Kalika , Troy Dack , gentoo-dev@gentoo.org Message-ID: <5291843.1059946159@[192.168.23.5]> In-Reply-To: <200308032043.21287.stuart@gentoo.org> References: <1059843010.5023.80.camel@carbon.internal.lan> <200308031843.10426.stuart@gentoo.org> <2147483647.1059912184@[192.168.26.4]> <200308032043.21287.stuart@gentoo.org> X-Mailer: Mulberry/3.0.3 (Win32) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Content-Disposition: inline Subject: Re: [gentoo-dev] [GLEP] Web Application Installation X-Archives-Salt: e7f722d5-0bcb-4c58-b2db-4ec4536bdee4 X-Archives-Hash: d3195ec7830198b909f2a46336d3c2ea I don't know if I'm being overly abrasive -- the weather is really hot, and I think I ate something that didn't agree with me. Please don't take offense at anything I say. :-) Quoting Stuart Herbert : > On Sunday 03 August 2003 8:03 pm, Max Kalika wrote: > True. But most webapps will rely on the webserver to handle the virtual > hosting side of things - and that's something we *can* support through > user-space tools. Eh? Elaborate please. >> Going back to the postfix example, although the >> package has support for delivering mail to LMTP through a content filter >> that will scan for spam and viruses, it doesn't do it out of the box and >> takes a bit of tinkering to get right. I'm of the opinion that if >> someone wants to set up an ISP, they better know what they're doing and >> will be able to figure out how to virtualize the necessary packages they >> want to offer to their clients. > > Problem with that is that it prevents 'emerge -u world' from being > something that you can safely put in cron. How is that? Aside from the fact that no sysadmin who values his/her job would do this on a production system, I don't see why this would be a problem/impediment? >> Ok. If there's a lot of language-specific work that needs to be done, >> then breaking it up into separate eclasses makes sense, otherwise, I'm >> worried about clutter. :) > > Yeah, clutter is a problem - but so is ten ebuilds each with their own > way of achieving the same piece of testing. Correct, which is what eclasses are for. > And on that note ... (drum roll please) ... take a look at the new > webapp-apache.eclass file that I've just committed to CVS. All it does > (for now) is provide a standardised way of determine where HTDOCSDIR is, > and which Apache version to install support for. Ugh! Won't this get in the way when we actually try to implement this GLEP (most of which is already done by my eclass). The way you did it has already been tried and shot down: > I admit it's a stop-gap solution; it's not enough on its own to make > ebuilds webserver-neutral. But at least we can move all the > apache-specific crud into the one place, as a starter for ten. Double Ugh! See these please: > Yeah, okay, I'm jumping ahead of the GLEP being approved perhaps, but I > needed this to close two outstanding bugs this afternoon, so that's my > justification . Not exactly like I've gone and moved stuff into > the proposed 'web-???' categories yet ;-) See, this GLEP was more about where/how to install these ebuilds and not about their place in the tree. I held off including at least 10 ebuilds waiting for the outcome of this discussion, but now you jumped the gun. Hopefully the transition can be painless. >> Fair enough. So something like "webapp-config >> " ? > > I think so, yeah. Robin's the best person to talk about this, as he had > very firm ideas about what he wanted to implement. Will wait for Robin's response. > Exactly ;-) This is the problem that I think we should be solving. Well, perhaps a question in the original GLEP should be readdressed. I'm beginning to strongly agree with: # 1. Default Web Server # --------------------- # A common default web server will have to be selected and ebuild authors # should ensure that their applications contain configuration directives # suitable for that server. Given the popularity of the Apache web server # it is suggested that Apache be selected as the Gentoo default web server. # Whilst it is acknowledged that other web servers do exist and are used, # there has to be an assumption made somewhere that people who choose to use # something other than a default have enough knowledge to adapt # configurations accordingly. Flexibility is one thing, maintainability with a limited developer time is quite another. The balance between the two is critical. > Anyway, take a look at the eclass, and let's talk about what else needs > adding to it - and let's get it added. I did. It looks like a trimmed version of the original proposed by Ned Ludd. > A word of warning - although the eclass is called 'webapp-apache', it's > designed to *hide* apache-specificness as much as possible behind its > interface. If you add anything to the eclass, I'd appreciate it if you > followed this design idea ;-) But you completely ignored all my work and the GLEP which we're discussing. My eclass follows your proposed philosophy, but you basically threw it out the window. I'm confused. > Robin (if you're following this!) I think you could make mod_php inherit > this class safely too, to reduce duplication still further. How is mod_php related to the way applications are installed? --mk -- gentoo-dev@gentoo.org mailing list