Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 56577

Summary: Suggestion: pseudo-webapp that sets up skeleton dirs via webapp-config
Product: Gentoo Linux Reporter: Mike Nerone <mike>
Component: New packagesAssignee: Gentoo Web Application Packages Maintainers <web-apps>
Status: RESOLVED WONTFIX    
Severity: enhancement    
Priority: High    
Version: 2004.0   
Hardware: All   
OS: All   
Whiteboard:
Package list:
Runtime testing required: ---

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.