]> scripts.mit.edu Git - wizard.git/commitdiff
Add human readable names to applications.
authorEdward Z. Yang <ezyang@cs.stanford.edu>
Fri, 11 Apr 2014 01:00:05 +0000 (18:00 -0700)
committerEdward Z. Yang <ezyang@cs.stanford.edu>
Fri, 11 Apr 2014 01:00:05 +0000 (18:00 -0700)
Signed-off-by: Edward Z. Yang <ezyang@cs.stanford.edu>
wizard/app/__init__.py
wizard/app/mediawiki.py
wizard/app/phpBB.py
wizard/app/wordpress.py

index 6a5ee6a05ac00588e33df8af2961cf9e5020dfa6..b653f524074eb5a3038041f6baa8e9f1473be1b0 100644 (file)
@@ -96,6 +96,8 @@ class Application(object):
     """
     #: String name of the application
     name = None
+    #: Human-readable name of the application
+    fullname = None
     #: Dictionary of version strings to :class:`ApplicationVersion`.
     #: See also :meth:`makeVersion`.
     versions = None
index 01cfcaf7cf095c01382bb4d799ac86e7ea5bf5e0..1f665040bafe8e404188e8959ef9c5ec78c218ba 100644 (file)
@@ -35,6 +35,7 @@ seed = util.dictmap(make_filename_regex, {
         })
 
 class Application(app.Application):
+    fullname = "MediaWiki"
     database = "mysql"
     parametrized_files = ['LocalSettings.php'] + php.parametrized_files
     deprecated_keys = set(['WIZARD_IP']) | php.deprecated_keys
index c8fa1f591d9bb4627e55a4e094e7b1132213ecc6..99d8078290f5f1783c27ac410a638b8881843339 100644 (file)
@@ -22,6 +22,7 @@ seed = util.dictmap(make_filename_regex, {
         'WIZARD_DBPASSWORD' : 'dbpasswd' })
 
 class Application(app.Application):
+    fullname = "phpBB"
     install_schema = install.ArgSchema('db', 'admin', 'email', 'title')
     database = 'mysql'
     parametrized_files = [ CONFIG ] + php.parametrized_files
index bf77db40058f0f7ed6b8f20a999c2fb8c525a7bd..3dccb044ee3cbd18c1873ebcf1f449651311b05b 100644 (file)
@@ -32,6 +32,7 @@ seed = util.dictmap(make_filename_regex_define, {
     })
 
 class Application(app.Application):
+    fullname = "WordPress"
     database = "mysql"
     parametrized_files = ['wp-config.php'] + php.parametrized_files
     extractors = app.make_extractors(seed)