* [gentoo-commits] proj/webapp-config:master commit in: config/, WebappConfig/
@ 2015-06-19 19:52 Devan Franchini
0 siblings, 0 replies; 2+ messages in thread
From: Devan Franchini @ 2015-06-19 19:52 UTC (permalink / raw
To: gentoo-commits
commit: 2ca7fb72196b0d19973cd0f422367ef4df8b121c
Author: Devan Franchini <twitch153 <AT> gentoo <DOT> org>
AuthorDate: Thu Oct 16 19:28:43 2014 +0000
Commit: Devan Franchini <twitch153 <AT> gentoo <DOT> org>
CommitDate: Fri Jun 19 19:47:48 2015 +0000
URL: https://gitweb.gentoo.org/proj/webapp-config.git/commit/?id=2ca7fb72
{config, server}.py: Adds Tracd server support
config/webapp-config: Adds changes to config to reflect the addition
of new server support.
WebappConfig/config.py | 3 ++-
WebappConfig/server.py | 13 ++++++++++++-
config/webapp-config | 1 +
3 files changed, 15 insertions(+), 2 deletions(-)
diff --git a/WebappConfig/config.py b/WebappConfig/config.py
index 5eb4584..cdae149 100644
--- a/WebappConfig/config.py
+++ b/WebappConfig/config.py
@@ -1557,7 +1557,8 @@ class Config:
'lighttpd' : WebappConfig.server.Lighttpd,
'cherokee' : WebappConfig.server.Cherokee,
'nginx' : WebappConfig.server.Nginx,
- 'gatling' : WebappConfig.server.Gatling}
+ 'gatling' : WebappConfig.server.Gatling,
+ 'tracd' : WebappConfig.server.Tracd,}
server = self.config.get('USER', 'vhost_server')
diff --git a/WebappConfig/server.py b/WebappConfig/server.py
index a2b8e3f..ec9c141 100644
--- a/WebappConfig/server.py
+++ b/WebappConfig/server.py
@@ -356,10 +356,21 @@ class Gatling(Basic):
self.vhost_server_uid = get_user('gatling')
self.vhost_server_gid = get_group('gatling')
+class Tracd(Basic):
+
+ name = 'Tracd'
+ desc = 'supports installation on Trac standalone server'
+ dep = 'www-apps/trac'
+
+ def set_server_user(self):
+ self.vhost_server_uid = get_user('tracd')
+ self.vhost_server_gid = get_group('tracd')
+
def listservers():
OUT.notice('\n'.join(['apache',
'lighttpd',
'cherokee',
'nginx',
- 'gatling']))
+ 'gatling',
+ 'tracd',]))
diff --git a/config/webapp-config b/config/webapp-config
index b93c314..da01bc6 100755
--- a/config/webapp-config
+++ b/config/webapp-config
@@ -69,6 +69,7 @@ vhost_hostname="localhost"
# cherokee
# nginx
# gatling
+# tracd
#
# you can override this setting by using the -s switch to webapp-config
^ permalink raw reply related [flat|nested] 2+ messages in thread
* [gentoo-commits] proj/webapp-config:master commit in: config/, WebappConfig/
@ 2017-06-22 23:04 Devan Franchini
0 siblings, 0 replies; 2+ messages in thread
From: Devan Franchini @ 2017-06-22 23:04 UTC (permalink / raw
To: gentoo-commits
commit: b68584681207baa80012345d2800764b1b338dfb
Author: Vladimir Pavljuchenkov (SpiderX) <spiderx <AT> spiderx <DOT> dp <DOT> ua>
AuthorDate: Mon Jan 9 09:31:54 2017 +0000
Commit: Devan Franchini <twitch153 <AT> gentoo <DOT> org>
CommitDate: Mon Jan 9 09:31:54 2017 +0000
URL: https://gitweb.gentoo.org/proj/webapp-config.git/commit/?id=b6858468
Adds uWSGI server support
WebappConfig/config.py | 3 ++-
WebappConfig/server.py | 13 ++++++++++++-
config/webapp-config | 1 +
3 files changed, 15 insertions(+), 2 deletions(-)
diff --git a/WebappConfig/config.py b/WebappConfig/config.py
index 3a176a0..c66d146 100644
--- a/WebappConfig/config.py
+++ b/WebappConfig/config.py
@@ -1581,7 +1581,8 @@ class Config:
'cherokee' : WebappConfig.server.Cherokee,
'nginx' : WebappConfig.server.Nginx,
'gatling' : WebappConfig.server.Gatling,
- 'tracd' : WebappConfig.server.Tracd,}
+ 'tracd' : WebappConfig.server.Tracd,
+ 'uwsgi' : WebappConfig.server.uWSGI,}
server = self.config.get('USER', 'vhost_server')
diff --git a/WebappConfig/server.py b/WebappConfig/server.py
index ec9c141..a458505 100644
--- a/WebappConfig/server.py
+++ b/WebappConfig/server.py
@@ -366,6 +366,16 @@ class Tracd(Basic):
self.vhost_server_uid = get_user('tracd')
self.vhost_server_gid = get_group('tracd')
+class uWSGI(Basic):
+
+ name = 'uWSGI'
+ desc = 'supports installation on uWSGI'
+ dep = 'www-servers/uwsgi'
+
+ def set_server_user(self):
+ self.vhost_server_uid = get_user('uwsgi')
+ self.vhost_server_gid = get_group('uwsgi')
+
def listservers():
OUT.notice('\n'.join(['apache',
@@ -373,4 +383,5 @@ def listservers():
'cherokee',
'nginx',
'gatling',
- 'tracd',]))
+ 'tracd',
+ 'uwsgi',]))
diff --git a/config/webapp-config b/config/webapp-config
index da01bc6..e8d1d8a 100755
--- a/config/webapp-config
+++ b/config/webapp-config
@@ -70,6 +70,7 @@ vhost_hostname="localhost"
# nginx
# gatling
# tracd
+# uwsgi
#
# you can override this setting by using the -s switch to webapp-config
^ permalink raw reply related [flat|nested] 2+ messages in thread
end of thread, other threads:[~2017-06-22 23:04 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-06-22 23:04 [gentoo-commits] proj/webapp-config:master commit in: config/, WebappConfig/ Devan Franchini
-- strict thread matches above, loose matches on Subject: below --
2015-06-19 19:52 Devan Franchini
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox