summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: afd0986)
raw | patch | inline | side by side (parent: afd0986)
author | richard <richard@57a73879-2fb5-44c3-a270-3262357dd7e2> | |
Thu, 13 Dec 2001 00:20:01 +0000 (00:20 +0000) | ||
committer | richard <richard@57a73879-2fb5-44c3-a270-3262357dd7e2> | |
Thu, 13 Dec 2001 00:20:01 +0000 (00:20 +0000) |
needs to be 2.1.2, but that isn't released yet :)
git-svn-id: http://svn.roundup-tracker.org/svnroot/roundup/trunk@461 57a73879-2fb5-44c3-a270-3262357dd7e2
git-svn-id: http://svn.roundup-tracker.org/svnroot/roundup/trunk@461 57a73879-2fb5-44c3-a270-3262357dd7e2
CHANGES.txt | patch | blob | history | |
cgi-bin/roundup.cgi | patch | blob | history | |
doc/index.html | patch | blob | history | |
roundup-admin | patch | blob | history | |
roundup-mailgw | patch | blob | history | |
roundup-server | patch | blob | history | |
roundup/version_check.py | [new file with mode: 0644] | patch | blob |
diff --git a/CHANGES.txt b/CHANGES.txt
index 027debad760555b2e2e4b225234cdcea07c8957a..7d44745c06f6471c2f8c3c8d5797a7c37be48683 100644 (file)
--- a/CHANGES.txt
+++ b/CHANGES.txt
. Message author's name appears in From: instead of roundup instance name
(which still appears in the Reply-To:)
. Added a Zope frontend for roundup.
+ . Centralised the python version check code, bumped version to 2.1.1 (really
+ needs to be 2.1.2, but that isn't released yet :)
Fixed:
. Lots of bugs, thanks Roché and others on the devel mailing list!
diff --git a/cgi-bin/roundup.cgi b/cgi-bin/roundup.cgi
index 8434db1c0b8f9c3e4de7d960d2ca4e77a78fd1e8..f1d55180e65c1500889337e9147273d2dc4384e9 100755 (executable)
--- a/cgi-bin/roundup.cgi
+++ b/cgi-bin/roundup.cgi
# BASIS, AND THERE IS NO OBLIGATION WHATSOEVER TO PROVIDE MAINTENANCE,
# SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS.
#
-# $Id: roundup.cgi,v 1.21 2001-12-02 05:06:16 richard Exp $
+# $Id: roundup.cgi,v 1.22 2001-12-13 00:20:01 richard Exp $
# python version check
-import sys
-if not hasattr(sys, 'version_info') or sys.version_info[:2] < (2,1):
- print "Content-Type: text/plain\n"
- print "Roundup requires Python 2.1 or newer."
- sys.exit(0)
+from roundup import version_check
#
## Configuration
#
# $Log: not supported by cvs2svn $
+# Revision 1.21 2001/12/02 05:06:16 richard
+# . We now use weakrefs in the Classes to keep the database reference, so
+# the close() method on the database is no longer needed.
+# I bumped the minimum python requirement up to 2.1 accordingly.
+# . #487480 ] roundup-server
+# . #487476 ] INSTALL.txt
+#
+# I also cleaned up the change message / post-edit stuff in the cgi client.
+# There's now a clearly marked "TODO: append the change note" where I believe
+# the change note should be added there. The "changes" list will obviously
+# have to be modified to be a dict of the changes, or somesuch.
+#
+# More testing needed.
+#
# Revision 1.20 2001/11/26 22:55:56 richard
# Feature:
# . Added INSTANCE_NAME to configuration - used in web and email to identify
diff --git a/doc/index.html b/doc/index.html
index 342e02d10658b1f149e5cdfb449463351030cecf..59d2f35b4e46eea683fb7c7415607944933f14ea 100644 (file)
--- a/doc/index.html
+++ b/doc/index.html
<h2><a name="requires">Prerequisites</a></h2>
<dl>
- <dt>Either:
- <dd>Python 2.0 with pydoc installed. See http://www.lfw.org/ for pydoc.
- <dt>or
- <dd>Python 2.1 or later
+ <dd>Python 2.1.1 is required for the correct operation of roundup
</dl>
Download the latest version from
<p> </p>
<hr>
-$Id: index.html,v 1.20 2001-12-10 00:57:38 richard Exp $
+$Id: index.html,v 1.21 2001-12-13 00:20:01 richard Exp $
<p> </p>
</body></html>
diff --git a/roundup-admin b/roundup-admin
index 83306f6b9744e4b728c1be6aab0192cc117d67c1..3bfaed19d413ef010c29503cfde8a610c9700ce0 100755 (executable)
--- a/roundup-admin
+++ b/roundup-admin
# BASIS, AND THERE IS NO OBLIGATION WHATSOEVER TO PROVIDE MAINTENANCE,
# SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS.
#
-# $Id: roundup-admin,v 1.52 2001-12-12 21:47:45 richard Exp $
+# $Id: roundup-admin,v 1.53 2001-12-13 00:20:00 richard Exp $
-import sys
-if not hasattr(sys, 'version_info') or sys.version_info[:2] < (2,1):
- print 'Roundup requires python 2.1 or later.'
- sys.exit(1)
+# python version check
+from roundup import version_check
import string, os, getpass, getopt, re, UserDict
try:
#
# $Log: not supported by cvs2svn $
+# Revision 1.52 2001/12/12 21:47:45 richard
+# . Message author's name appears in From: instead of roundup instance name
+# (which still appears in the Reply-To:)
+# . envelope-from is now set to the roundup-admin and not roundup itself so
+# delivery reports aren't sent to roundup (thanks Patrick Ohly)
+#
# Revision 1.51 2001/12/10 00:57:38 richard
# From CHANGES:
# . Added the "display" command to the admin tool - displays a node's values
diff --git a/roundup-mailgw b/roundup-mailgw
index 9e3a006ae3ce9c2e8cd62cad0062883898551940..1e1f4b4527423d0f3cf58d6b7defeabbbee0fb6a 100755 (executable)
--- a/roundup-mailgw
+++ b/roundup-mailgw
# BASIS, AND THERE IS NO OBLIGATION WHATSOEVER TO PROVIDE MAINTENANCE,
# SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS.
#
-# $Id: roundup-mailgw,v 1.17 2001-12-02 05:06:16 richard Exp $
+# $Id: roundup-mailgw,v 1.18 2001-12-13 00:20:01 richard Exp $
+
+# python version check
+from roundup import version_check
import sys, os, re, cStringIO
-if not hasattr(sys, 'version_info') or sys.version_info[:2] < (2,1):
- print "Roundup requires Python 2.1 or newer."
- sys.exit(1)
from roundup.mailgw import Message
#
# $Log: not supported by cvs2svn $
+# Revision 1.17 2001/12/02 05:06:16 richard
+# . We now use weakrefs in the Classes to keep the database reference, so
+# the close() method on the database is no longer needed.
+# I bumped the minimum python requirement up to 2.1 accordingly.
+# . #487480 ] roundup-server
+# . #487476 ] INSTALL.txt
+#
+# I also cleaned up the change message / post-edit stuff in the cgi client.
+# There's now a clearly marked "TODO: append the change note" where I believe
+# the change note should be added there. The "changes" list will obviously
+# have to be modified to be a dict of the changes, or somesuch.
+#
+# More testing needed.
+#
# Revision 1.16 2001/11/30 18:23:55 jhermann
# Cleaned up strange import (less pollution, too)
#
diff --git a/roundup-server b/roundup-server
index b56e644afe2601314188fccf092d7f3c8fbea168..dbf2b229b575f1f4d2d9cca1d118dc95c257b1e0 100755 (executable)
--- a/roundup-server
+++ b/roundup-server
Based on CGIHTTPServer in the Python library.
-$Id: roundup-server,v 1.21 2001-12-02 05:06:16 richard Exp $
+$Id: roundup-server,v 1.22 2001-12-13 00:20:01 richard Exp $
"""
-import sys
-if not hasattr(sys, 'version_info') or sys.version_info[:2] < (2,1):
- print "Roundup requires Python 2.1 or newer."
- sys.exit(0)
+
+# python version check
+from roundup import version_check
import os, urllib, StringIO, traceback, cgi, binascii, string, getopt, imp
import BaseHTTPServer
#
# $Log: not supported by cvs2svn $
+# Revision 1.21 2001/12/02 05:06:16 richard
+# . We now use weakrefs in the Classes to keep the database reference, so
+# the close() method on the database is no longer needed.
+# I bumped the minimum python requirement up to 2.1 accordingly.
+# . #487480 ] roundup-server
+# . #487476 ] INSTALL.txt
+#
+# I also cleaned up the change message / post-edit stuff in the cgi client.
+# There's now a clearly marked "TODO: append the change note" where I believe
+# the change note should be added there. The "changes" list will obviously
+# have to be modified to be a dict of the changes, or somesuch.
+#
+# More testing needed.
+#
# Revision 1.20 2001/11/26 22:55:56 richard
# Feature:
# . Added INSTANCE_NAME to configuration - used in web and email to identify
diff --git a/roundup/version_check.py b/roundup/version_check.py
--- /dev/null
+++ b/roundup/version_check.py
@@ -0,0 +1,31 @@
+#!/usr/bin/env python
+#
+# Copyright (c) 2001 Bizar Software Pty Ltd (http://www.bizarsoftware.com.au/)
+# This module is free software, and you may redistribute it and/or modify
+# under the same terms as Python, so long as this copyright message and
+# disclaimer are retained in their original form.
+#
+# IN NO EVENT SHALL BIZAR SOFTWARE PTY LTD BE LIABLE TO ANY PARTY FOR
+# DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES ARISING
+# OUT OF THE USE OF THIS CODE, EVEN IF THE AUTHOR HAS BEEN ADVISED OF THE
+# POSSIBILITY OF SUCH DAMAGE.
+#
+# BIZAR SOFTWARE PTY LTD SPECIFICALLY DISCLAIMS ANY WARRANTIES, INCLUDING,
+# BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
+# FOR A PARTICULAR PURPOSE. THE CODE PROVIDED HEREUNDER IS ON AN "AS IS"
+# BASIS, AND THERE IS NO OBLIGATION WHATSOEVER TO PROVIDE MAINTENANCE,
+# SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS.
+#
+# $Id: version_check.py,v 1.1 2001-12-13 00:20:01 richard Exp $
+
+import sys
+if not hasattr(sys, 'version_info') or sys.version_info[:2] < (2,1,1):
+ print "Content-Type: text/plain\n"
+ print "Roundup requires Python 2.1.1 or newer."
+ sys.exit(0)
+
+#
+# $Log: not supported by cvs2svn $
+#
+#
+# vim: set filetype=python ts=4 sw=4 et si