Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 56577 - Suggestion: pseudo-webapp that sets up skeleton dirs via webapp-config
Summary: Suggestion: pseudo-webapp that sets up skeleton dirs via webapp-config
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All All
: High enhancement (vote)
Assignee: Gentoo Web Application Packages Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-07-09 15:08 UTC by Mike Nerone
Modified: 2007-01-03 23:50 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Mike Nerone 2004-07-09 15:08:31 UTC
Just a thought:

Purely as a convenience for Gentoo users, since webapps (i.e. ebuilds that inherit the webapp eclass) create a good skeleton directory structure for a site (cgi-bin, htdocs, icons, etc. with proper permissions), perhaps it makes sense to have a pseudo-webapp ebuild (say, "webapp-skel") that does ONLY that.

Once that's merged, an empty site can quickly be setup with
  webapp-config -I -h www.example.com webapp-skel <ver>

Such an ebuild is, of course, trivial:

========================================================================
IUSE=""

inherit webapp

DESCRIPTION="webapp-skel is a pseudo-webapp that simply sets up skeleton dirs for a web site."

LICENSE="GPL-2"
KEYWORDS="x86"

src_install() {
    webapp_src_preinst
    webapp_src_install
}
========================================================================

On the other hand, this may be something that's slated for vhost-config (unless that *is* webapp-config - there's still uncertainty on this out here in the non-dev world).
Comment 1 Renat Lumpau (RETIRED) gentoo-dev 2007-01-02 17:00:57 UTC
wrobel: should we add this to w-c?
Comment 2 Gunnar Wrobel (RETIRED) gentoo-dev 2007-01-03 23:50:13 UTC
No, this ebuild would just create three directories. The structure is created once you install any of our webapps. I don't really see a benefit in having this.

Marking as won't fix for now.