moinsetup

Changeset

64:1e9b08dec335
2012-07-13 Paul Boddie raw files shortlog changelog graph Added feedback on hosting in the show_config method. Added authentication method details to the help text.
moinsetup.py (file)
     1.1 --- a/moinsetup.py	Fri Jul 13 21:52:07 2012 +0200
     1.2 +++ b/moinsetup.py	Fri Jul 13 22:20:23 2012 +0200
     1.3 @@ -547,6 +547,13 @@
     1.4          "Show the configuration."
     1.5  
     1.6          print
     1.7 +        if self.limited_hosting():
     1.8 +            print "Limited hosting configuration detected."
     1.9 +            print "Published resources will be configured using .htaccess."
    1.10 +        else:
    1.11 +            print "Privileged hosting configuration detected..."
    1.12 +            print "Published resources will be configured using site definition files."
    1.13 +        print
    1.14          for section in ("source", "instance", "site"):
    1.15              print section.title()
    1.16              print "-" * len(section)
    1.17 @@ -1118,6 +1125,12 @@
    1.18          Edit the installed Wiki configuration file, configuring the
    1.19          authentication method having the given 'method_name'.
    1.20  
    1.21 +        Currently recognised authentication methods are:
    1.22 +
    1.23 +          * openid             (uses OpenIDAuth to access OpenID providers)
    1.24 +          * moin, default      (use MoinAuth to provide a login form)
    1.25 +          * given, remote-user (use HTTPAuth to obtain Web server credentials)
    1.26 +
    1.27          If the 'farm_config' setting is defined, the Wiki farm configuration
    1.28          will be changed.
    1.29          """