From: Stuart Herbert <stuart@gentoo.org>
To: Max Kalika <max@gentoo.org>, Troy Dack <tad@gentoo.org>,
gentoo-dev@gentoo.org
Subject: Re: [gentoo-dev] [GLEP] Web Application Installation
Date: Sun, 3 Aug 2003 20:43:10 +0100 [thread overview]
Message-ID: <200308032043.21287.stuart@gentoo.org> (raw)
In-Reply-To: <2147483647.1059912184@[192.168.26.4]>
[-- Attachment #1: signed data --]
[-- Type: text/plain, Size: 5130 bytes --]
On Sunday 03 August 2003 8:03 pm, Max Kalika wrote:
> Chugga chugga chugga! :-)
Lots of laughter.
> You're absolutely right, and in fact this is what the eclass does right now
> (as shown by the example I posted earlier).
;-)
> > Thanks for the example - it helps a great deal. Now, how would you deal
> > with a site needing to run two copies of horde under the one web server?
>
> Hmm. This depends on the app. Some apps have virtual hosting built-in
> others do not. Those that do not, may need some sysadmin intervention,
> doing some parallel installs, symlinking, what-have-you. I think we need
> to have a limit to how much we can do at install time and how much we can
> configure for the user out-of-the-box. For example, we don't have any way
> of having two postfix instances installed and running on the same box with
> the ebuild, but the sysadmin can go ahead and configure the installed
> product to achieve the needed functionality.
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.
> > Yeah - but how do you handle sites (like ISPs) that need to run multiple
> > installations of the same app on the same box? You can't have a single
> > globla configuration file for that. Makes sense for the home user, but
> > not for ISPs.
>
> Continuing from above, it seems best left to the systems admin in designing
> how to implement virtual hosting. For example, horde has built-in virtual
> hosting where you specify multiple servers and the specific one gets chosen
> based on the server hostname. Of course this isn't foolproof as things
> like SSL will break it, but in any case, this decision has to be left to
> the person installing it. It seems like the gentoo philosophy is to install
> the necessary minimum to have a running product and leave the major
> tinkering to the admin.
Quoting www.gentoo.org again, the phrase 'automatically configured' can be
found. Where we can do a sensible minimum, I think we should.
> 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.
> 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.
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.
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.
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
<grin>. Not exactly like I've gone and moved stuff into the proposed
'web-???' categories yet ;-)
> Fair enough. So something like "webapp-config <application> <webserver>" ?
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.
> > How do you make an app install on (say) Zeus or (say) iPlanet or (say)
> > n.e.other web server if the ebuild itself is server-specific? We're
> > boxing ourselves in, for no good reason.
>
> No idea. :-)
Exactly ;-) This is the problem that I think we should be solving.
Anyway, take a look at the eclass, and let's talk about what else needs adding
to it - and let's get it added.
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 ;-)
Robin (if you're following this!) I think you could make mod_php inherit this
class safely too, to reduce duplication still further.
Take care,
Stu
--
Stuart Herbert stuart@gentoo.org
Gentoo Developer http://www.gentoo.org/
Beta packages for download http://dev.gentoo.org/~stuart/packages/
GnuGP key id# F9AFC57C available from http://pgp.mit.edu
Key fingerprint = 31FB 50D4 1F88 E227 F319 C549 0C2F 80BA F9AF C57C
--
[-- Attachment #2: signature --]
[-- Type: application/pgp-signature, Size: 189 bytes --]
next prev parent reply other threads:[~2003-08-03 19:45 UTC|newest]
Thread overview: 38+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-08-02 16:50 [gentoo-dev] [GLEP] Web Application Installation Troy Dack
2003-08-02 20:39 ` Robin H.Johnson
2003-08-02 23:11 ` [gentoo-dev] Re: [gentoo-core] " Max Kalika
2003-08-02 23:51 ` Stuart Herbert
2003-08-03 2:26 ` [gentoo-dev] " Max Kalika
2003-08-03 14:46 ` Stuart Herbert
2003-08-03 15:20 ` Max Kalika
2003-08-03 17:43 ` Stuart Herbert
2003-08-03 19:03 ` Max Kalika
2003-08-03 19:43 ` Stuart Herbert [this message]
2003-08-04 4:29 ` Max Kalika
2003-08-04 10:43 ` Stuart Herbert
2003-08-03 0:30 ` Austin Frank
2003-08-03 7:50 ` Tal Peer
2003-08-03 14:45 ` Don Seiler
2003-08-03 14:49 ` [gentoo-dev] Re: [gentoo-core] " Stuart Herbert
2003-08-05 3:46 ` Robin H.Johnson
2003-08-05 10:21 ` Stuart Herbert
2003-08-05 8:12 ` Troy Dack
-- strict thread matches above, loose matches on Subject: below --
2003-08-04 17:11 Max Kalika
2003-08-04 22:16 ` Stuart Herbert
2003-08-05 9:49 ` Michael Cummings
2003-08-04 23:16 Max Kalika
2003-08-05 0:14 ` Stuart Herbert
2003-08-05 2:30 ` Donny Davies
2003-08-05 10:12 ` Stuart Herbert
2003-08-06 4:01 ` Donny Davies
2003-08-05 3:04 ` Max Kalika
2003-08-05 10:39 ` Stuart Herbert
2003-08-05 9:34 ` Paul de Vrieze
2003-08-05 11:19 ` Stuart Herbert
2003-08-05 11:37 ` Paul de Vrieze
2003-08-05 21:00 ` Max Kalika
2003-08-05 23:43 ` Cal Evans
2003-08-06 1:54 ` Stuart Herbert
2003-08-06 2:16 ` Robin H.Johnson
2003-08-06 2:44 ` Stuart Herbert
2003-08-07 1:08 Troy Dack
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=200308032043.21287.stuart@gentoo.org \
--to=stuart@gentoo.org \
--cc=gentoo-dev@gentoo.org \
--cc=max@gentoo.org \
--cc=tad@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