#3218: [project] is actually the name of the directory
-----------------------+----------------------------------------------------
Reporter: santagada | Owner: jonas
Type: defect | Status: new
Priority: normal | Milestone:
Component: tracd | Version: devel
Severity: minor | Resolution:
Keywords: |
-----------------------+----------------------------------------------------
Comment (by santagada):
if my project name is "My project" and my project dir is "kkkk" then
passing --basic-auth "My Project",kkkk/passwd,localhost is not going to
work, and it gives a cryptic error message. Here is something that would
help to clarify the property to users.
{{{
Index: standalone.py
===================================================================
--- standalone.py (revisão 3359)
+++ standalone.py (cópia de trabalho)
@@ -120,11 +120,11 @@
parser.add_option('-a', '--auth', action='callback', type='string',
metavar='DIGESTAUTH', callback=_auth_callback,
callback_args=(DigestAuthentication,),
- help='[project],[htdigest_file],[realm]')
+ help='[projectdir],[htdigest_file],[realm]')
parser.add_option('--basic-auth', action='callback', type='string',
metavar='BASICAUTH', callback=_auth_callback,
callback_args=(BasicAuthentication,),
- help='[project],[htpasswd_file],[realm]')
+ help='[projectdir],[htpasswd_file],[realm]')
parser.add_option('-p', '--port', action='store', type='int',
dest='port',
help='the port number to bind to')
}}}
Another good idea would be to give a better error message.
--
Ticket URL: <http://projects.edgewall.com/trac/ticket/3218>
The Trac Project <http://trac.edgewall.com/>
_______________________________________________
Trac-Tickets mailing list
[email protected]
http://lists.edgewall.com/mailman/listinfo/trac-tickets