From df2813d70eb986ff87815b0c2c6738029e112a23 Mon Sep 17 00:00:00 2001 From: anthonybaxter Date: Thu, 19 Jul 2001 06:27:07 +0000 Subject: [PATCH] fixing (manually) the (dollarsign)Log(dollarsign) entries caused by my using the magic (dollarsign)Id(dollarsign) and (dollarsign)Log(dollarsign) strings in a commit message. I'm a twonk. Also broke the help string in two. git-svn-id: http://svn.roundup-tracker.org/svnroot/roundup/trunk@13 57a73879-2fb5-44c3-a270-3262357dd7e2 --- cgitb.py | 5 ++++- config.py | 5 ++++- date.py | 5 ++++- hyperdb.py | 5 ++++- roundup-mailgw.py | 5 ++++- roundup.py | 34 +++++++++++++++++++++++++++++++--- roundup_cgi.py | 5 ++++- roundupdb.py | 5 ++++- server.py | 5 ++++- template.py | 5 ++++- 10 files changed, 67 insertions(+), 12 deletions(-) diff --git a/cgitb.py b/cgitb.py index b7e2bda..6eb0848 100644 --- a/cgitb.py +++ b/cgitb.py @@ -1,4 +1,4 @@ -# $Id: cgitb.py,v 1.2 2001-07-19 05:52:22 anthonybaxter Exp $ +# $Id: cgitb.py,v 1.3 2001-07-19 06:27:07 anthonybaxter Exp $ import sys, os, types, string, keyword, linecache, tokenize, inspect, pydoc @@ -115,4 +115,7 @@ def handler(): # # $Log: not supported by cvs2svn $ +# Revision 1.2 2001/07/19 05:52:22 anthonybaxter +# Added CVS keywords Id and Log to all python files. +# # diff --git a/config.py b/config.py index cd363a4..9261da8 100644 --- a/config.py +++ b/config.py @@ -1,4 +1,4 @@ -# $Id: config.py,v 1.4 2001-07-19 05:52:22 anthonybaxter Exp $ +# $Id: config.py,v 1.5 2001-07-19 06:27:07 anthonybaxter Exp $ ROUNDUP_HOME=MAIL_DOMAIN=MAILHOST=None @@ -37,5 +37,8 @@ del os # # $Log: not supported by cvs2svn $ +# Revision 1.4 2001/07/19 05:52:22 anthonybaxter +# Added CVS keywords Id and Log to all python files. +# # diff --git a/date.py b/date.py index 06580a6..fc1bc48 100644 --- a/date.py +++ b/date.py @@ -1,4 +1,4 @@ -# $Id: date.py,v 1.2 2001-07-19 05:52:22 anthonybaxter Exp $ +# $Id: date.py,v 1.3 2001-07-19 06:27:07 anthonybaxter Exp $ import time, re, calendar @@ -344,5 +344,8 @@ if __name__ == '__main__': # # $Log: not supported by cvs2svn $ +# Revision 1.2 2001/07/19 05:52:22 anthonybaxter +# Added CVS keywords Id and Log to all python files. +# # diff --git a/hyperdb.py b/hyperdb.py index ae8a654..1110390 100644 --- a/hyperdb.py +++ b/hyperdb.py @@ -1,4 +1,4 @@ -# $Id: hyperdb.py,v 1.3 2001-07-19 05:52:22 anthonybaxter Exp $ +# $Id: hyperdb.py,v 1.4 2001-07-19 06:27:07 anthonybaxter Exp $ import bsddb, os, cPickle, re, string @@ -921,5 +921,8 @@ if __name__ == '__main__': # # $Log: not supported by cvs2svn $ +# Revision 1.3 2001/07/19 05:52:22 anthonybaxter +# Added CVS keywords Id and Log to all python files. +# # diff --git a/roundup-mailgw.py b/roundup-mailgw.py index 91cd5a8..a83cb06 100755 --- a/roundup-mailgw.py +++ b/roundup-mailgw.py @@ -45,7 +45,7 @@ are calling the create() method to create a new node). If an auditor raises an exception, the original message is bounced back to the sender with the explanatory message given in the exception. -$Id: roundup-mailgw.py,v 1.2 2001-07-19 05:52:22 anthonybaxter Exp $ +$Id: roundup-mailgw.py,v 1.3 2001-07-19 06:27:07 anthonybaxter Exp $ ''' import sys @@ -275,5 +275,8 @@ if __name__ == '__main__': # # $Log: not supported by cvs2svn $ +# Revision 1.2 2001/07/19 05:52:22 anthonybaxter +# Added CVS keywords Id and Log to all python files. +# # diff --git a/roundup.py b/roundup.py index e9c8d69..8aa660f 100755 --- a/roundup.py +++ b/roundup.py @@ -1,6 +1,6 @@ #! /usr/bin/python -# $Id: roundup.py,v 1.3 2001-07-19 06:08:24 anthonybaxter Exp $ +# $Id: roundup.py,v 1.4 2001-07-19 06:27:07 anthonybaxter Exp $ import sys if int(sys.version[0]) < 2: @@ -34,15 +34,32 @@ def usage(): print '''Usage: roundup init + -- initialise the database roundup spec classname + -- show the properties for a classname roundup create [-user login] classname propname=value ... + -- create a new entry of a given class roundup list [-list] classname + -- list the instances of a class roundup history [-list] designator + -- show the history entries of a designator roundup get [-list] designator[,designator,...] propname + -- get the given property of one or more designator(s) roundup set [-user login] designator[,designator,...] propname=value ... + -- set the given property of one or more designator(s) roundup find [-list] classname propname=value ... + -- find the class instances with a given property roundup retire designator[,designator,...] + -- "retire" a designator + roundup help + -- this help + roundup morehelp + -- even more detailed help +''' +def moreusage(): + usage() + print ''' A designator is a classname and a nodeid concatenated, eg. bug1, user10, ... Property values are represented as strings in command arguments and in the @@ -194,7 +211,16 @@ def main(): classname, nodeid = roundupdb.splitDesignator(designator) db.getclass(classname).retire(nodeid) + elif command == 'help': + usage() + return 0 + + elif command == 'morehelp': + moreusage() + return 0 + else: + print "Unknown command '%s'"%command usage() return 1 @@ -206,8 +232,10 @@ if __name__ == '__main__': # # $Log: not supported by cvs2svn $ -# Revision 1.2 2001/07/19 05:52:22 anthonybaxter -# Added CVS keywords $Id: roundup.py,v 1.3 2001-07-19 06:08:24 anthonybaxter Exp $ and $Log: not supported by cvs2svn $ to all python files. +# Revision 1.3 2001/07/19 06:08:24 anthonybaxter +# fixed typo in usage string because it was bugging me each time I saw it. # +# Revision 1.2 2001/07/19 05:52:22 anthonybaxter +# Added CVS keywords Id and Log # diff --git a/roundup_cgi.py b/roundup_cgi.py index 5899642..ea4fe0d 100644 --- a/roundup_cgi.py +++ b/roundup_cgi.py @@ -1,4 +1,4 @@ -# $Id: roundup_cgi.py,v 1.3 2001-07-19 05:52:22 anthonybaxter Exp $ +# $Id: roundup_cgi.py,v 1.4 2001-07-19 06:27:07 anthonybaxter Exp $ import os, cgi, pprint, StringIO, urlparse, re, traceback @@ -482,5 +482,8 @@ class Client: # # $Log: not supported by cvs2svn $ +# Revision 1.3 2001/07/19 05:52:22 anthonybaxter +# Added CVS keywords Id and Log to all python files. +# # diff --git a/roundupdb.py b/roundupdb.py index d71d02a..d002587 100644 --- a/roundupdb.py +++ b/roundupdb.py @@ -1,4 +1,4 @@ -# $Id: roundupdb.py,v 1.3 2001-07-19 05:52:22 anthonybaxter Exp $ +# $Id: roundupdb.py,v 1.4 2001-07-19 06:27:07 anthonybaxter Exp $ import re, os, smtplib, socket @@ -374,5 +374,8 @@ def initDB(storagelocator, password): # # $Log: not supported by cvs2svn $ +# Revision 1.3 2001/07/19 05:52:22 anthonybaxter +# Added CVS keywords Id and Log to all python files. +# # diff --git a/server.py b/server.py index 7d20fc8..fdb4825 100755 --- a/server.py +++ b/server.py @@ -3,7 +3,7 @@ Stolen from CGIHTTPServer -$Id: server.py,v 1.2 2001-07-19 05:52:22 anthonybaxter Exp $ +$Id: server.py,v 1.3 2001-07-19 06:27:07 anthonybaxter Exp $ """ import sys @@ -152,5 +152,8 @@ if __name__ == '__main__': # # $Log: not supported by cvs2svn $ +# Revision 1.2 2001/07/19 05:52:22 anthonybaxter +# Added CVS keywords Id and Log to all python files. +# # diff --git a/template.py b/template.py index b7cf167..cb0a392 100644 --- a/template.py +++ b/template.py @@ -1,4 +1,4 @@ -# $Id: template.py,v 1.3 2001-07-19 05:52:22 anthonybaxter Exp $ +# $Id: template.py,v 1.4 2001-07-19 06:27:07 anthonybaxter Exp $ import os, re, StringIO, urllib @@ -697,5 +697,8 @@ def newitem(fp, db, classname, form, replace=re.compile( # # $Log: not supported by cvs2svn $ +# Revision 1.3 2001/07/19 05:52:22 anthonybaxter +# Added CVS keywords Id and Log to all python files. +# # -- 2.30.2