summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 12f3928)
raw | patch | inline | side by side (parent: 12f3928)
author | anthonybaxter <anthonybaxter@57a73879-2fb5-44c3-a270-3262357dd7e2> | |
Thu, 19 Jul 2001 06:27:07 +0000 (06:27 +0000) | ||
committer | anthonybaxter <anthonybaxter@57a73879-2fb5-44c3-a270-3262357dd7e2> | |
Thu, 19 Jul 2001 06:27:07 +0000 (06:27 +0000) |
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
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 | patch | blob | history | |
config.py | patch | blob | history | |
date.py | patch | blob | history | |
hyperdb.py | patch | blob | history | |
roundup-mailgw.py | patch | blob | history | |
roundup.py | patch | blob | history | |
roundup_cgi.py | patch | blob | history | |
roundupdb.py | patch | blob | history | |
server.py | patch | blob | history | |
template.py | patch | blob | history |
diff --git a/cgitb.py b/cgitb.py
index b7e2bdac18d2e6688953bc03d44b58eea0998737..6eb0848d09e3ce297f565d7b4483f494758580ad 100644 (file)
--- a/cgitb.py
+++ b/cgitb.py
-# $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
#
# $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 cd363a457fa1ae2dee185514792cbb74d7687b0d..9261da81a77e8cc189df4e9b386bc8915330eee7 100644 (file)
--- a/config.py
+++ b/config.py
-# $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
#
# $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.
+#
#
index 06580a64b46f80302e6696fd8eede5e3c13650e8..fc1bc480249b92e51adc00d1884ebf10fbdac128 100644 (file)
--- a/date.py
+++ b/date.py
-# $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
#
# $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 ae8a654b33e278928dc26d9cc6e23a13fc204d90..1110390662f5cb0dce7b87cdbfff32d2d842a859 100644 (file)
--- a/hyperdb.py
+++ b/hyperdb.py
-# $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
#
# $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 91cd5a86196248fb5513460777ce292780ac7689..a83cb061f63011fd3dd424028bb75760c1619a67 100755 (executable)
--- a/roundup-mailgw.py
+++ b/roundup-mailgw.py
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
#
# $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 e9c8d69b6219ed93b202149bdc05c7072ab8a50f..8aa660f152492a5fc4c7f0aad13d896e344c137d 100755 (executable)
--- a/roundup.py
+++ b/roundup.py
#! /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:
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
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
#
# $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 589964236792e9901d68669d7883fcf8dadfaeb3..ea4fe0d946d393f7f5d566c59df2294eafed973d 100644 (file)
--- a/roundup_cgi.py
+++ b/roundup_cgi.py
-# $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
#
# $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 d71d02ad85f64baeaccb9e7ce0ec45fe5ac3dbaf..d00258790ea161ab2f15502809966412cfe87b2b 100644 (file)
--- a/roundupdb.py
+++ b/roundupdb.py
-# $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
#
# $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 7d20fc8ecddabe78d2b57f8423ae37d80535cfbb..fdb48255da8a64f395c0582f4f34acf26ba9d97f 100755 (executable)
--- a/server.py
+++ b/server.py
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
#
# $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 b7cf1673988e7062e87594f29c26631e4c757a33..cb0a3924f3491e5592f8764da96c5506615772da 100644 (file)
--- a/template.py
+++ b/template.py
-# $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
#
# $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.
+#
#