openSUSE Commits
Threads by month
- ----- 2025 -----
- January
- ----- 2024 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2023 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2022 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2021 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2020 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2019 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2018 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2017 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2016 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2015 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2014 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2013 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2012 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2011 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2010 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2009 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2008 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2007 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2006 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
October 2006
- 1 participants
- 1670 discussions
Hello community,
here is the log from the commit of package python-twisted-words
checked in at Thu Oct 26 21:07:55 CEST 2006.
--------
--- python-twisted-words/python-twisted-words.changes 2006-02-28 16:46:03.000000000 +0100
+++ /mounts/work_src_done/STABLE/python-twisted-words/python-twisted-words.changes 2006-10-26 18:50:12.000000000 +0200
@@ -1,0 +2,10 @@
+Thu Oct 26 18:49:04 CEST 2006 - jmatejek(a)suse.cz
+
+- update to 0.4.0
+ - upgrade to Twisted 2.4 install system
+ - support for MSN capability messages
+ - improved support for jabber
+ - improved support for xish
+ - minor bugfixes
+
+-------------------------------------------------------------------
Old:
----
TwistedWords-0.3.0.tar.bz2
New:
----
TwistedWords-0.4.0.tar.bz2
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-twisted-words.spec ++++++
--- /var/tmp/diff_new_pack.wQAETr/_old 2006-10-26 21:07:52.000000000 +0200
+++ /var/tmp/diff_new_pack.wQAETr/_new 2006-10-26 21:07:52.000000000 +0200
@@ -1,5 +1,5 @@
#
-# spec file for package python-twisted-words (Version 0.3.0)
+# spec file for package python-twisted-words (Version 0.4.0)
#
# Copyright (c) 2006 SUSE LINUX Products GmbH, Nuernberg, Germany.
# This file and all modifications and additions to the pristine
@@ -13,13 +13,13 @@
Name: python-twisted-words
BuildRequires: python-devel python-twisted
Summary: Twisted Words
-Version: 0.3.0
-Release: 5
+Version: 0.4.0
+Release: 1
%define tarname TwistedWords
Source: %{tarname}-%{version}.tar.bz2
License: X11/MIT
Group: Development/Languages/Python
-URL: http://twistedmatrix.com/projects/words/
+URL: http://twistedmatrix.com/trac/wiki/TwistedWords
BuildRoot: %{_tmppath}/%{name}-%{version}-build
Requires: python-twisted
%{py_requires}
@@ -52,6 +52,13 @@
%doc LICENSE README NEWS
%changelog -n python-twisted-words
+* Thu Oct 26 2006 - jmatejek(a)suse.cz
+- update to 0.4.0
+ - upgrade to Twisted 2.4 install system
+ - support for MSN capability messages
+ - improved support for jabber
+ - improved support for xish
+ - minor bugfixes
* Tue Feb 28 2006 - jmatejek(a)suse.cz
- updated to reflect python changes due to #149809
* Wed Jan 25 2006 - mls(a)suse.de
++++++ TwistedWords-0.3.0.tar.bz2 -> TwistedWords-0.4.0.tar.bz2 ++++++
++++ 2675 lines of diff (skipped)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Remember to have fun...
---------------------------------------------------------------------
To unsubscribe, e-mail: opensuse-commit+unsubscribe(a)opensuse.org
For additional commands, e-mail: opensuse-commit+help(a)opensuse.org
1
0
Hello community,
here is the log from the commit of package python-twisted-web
checked in at Thu Oct 26 21:07:46 CEST 2006.
--------
--- python-twisted-web/python-twisted-web.changes 2006-02-28 16:46:03.000000000 +0100
+++ /mounts/work_src_done/STABLE/python-twisted-web/python-twisted-web.changes 2006-10-26 18:47:23.000000000 +0200
@@ -1,0 +2,11 @@
+Thu Oct 26 18:46:00 CEST 2006 - jmatejek(a)suse.cz
+
+- update to 0.6.0
+ - upgrade to Twisted 2.4 install system
+ - basic auth support for xmlrpc client
+ - improved efficiency
+ - better datetime parsing
+ - support for some buggy server headers and broken html
+ - minor fixes
+
+-------------------------------------------------------------------
Old:
----
TwistedWeb-0.5.0.tar.bz2
New:
----
TwistedWeb-0.6.0.tar.bz2
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-twisted-web.spec ++++++
--- /var/tmp/diff_new_pack.OUZuSv/_old 2006-10-26 21:07:43.000000000 +0200
+++ /var/tmp/diff_new_pack.OUZuSv/_new 2006-10-26 21:07:43.000000000 +0200
@@ -1,5 +1,5 @@
#
-# spec file for package python-twisted-web (Version 0.5.0)
+# spec file for package python-twisted-web (Version 0.6.0)
#
# Copyright (c) 2006 SUSE LINUX Products GmbH, Nuernberg, Germany.
# This file and all modifications and additions to the pristine
@@ -13,13 +13,13 @@
Name: python-twisted-web
BuildRequires: python-devel python-twisted
Summary: Twisted Web
-Version: 0.5.0
-Release: 6
+Version: 0.6.0
+Release: 1
%define tarname TwistedWeb
Source: %{tarname}-%{version}.tar.bz2
License: X11/MIT
Group: Development/Languages/Python
-URL: http://twistedmatrix.com/projects/web/
+URL: http://twistedmatrix.com/trac/wiki/TwistedWeb
BuildRoot: %{_tmppath}/%{name}-%{version}-build
Requires: python-twisted
%{py_requires}
@@ -51,6 +51,14 @@
%doc LICENSE README NEWS
%changelog -n python-twisted-web
+* Thu Oct 26 2006 - jmatejek(a)suse.cz
+- update to 0.6.0
+ - upgrade to Twisted 2.4 install system
+ - basic auth support for xmlrpc client
+ - improved efficiency
+ - better datetime parsing
+ - support for some buggy server headers and broken html
+ - minor fixes
* Tue Feb 28 2006 - jmatejek(a)suse.cz
- updated to reflect python changes due to #149809
* Wed Jan 25 2006 - mls(a)suse.de
++++++ TwistedWeb-0.5.0.tar.bz2 -> TwistedWeb-0.6.0.tar.bz2 ++++++
++++ 2798 lines of diff (skipped)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Remember to have fun...
---------------------------------------------------------------------
To unsubscribe, e-mail: opensuse-commit+unsubscribe(a)opensuse.org
For additional commands, e-mail: opensuse-commit+help(a)opensuse.org
1
0
Hello community,
here is the log from the commit of package python-twisted-runner
checked in at Thu Oct 26 21:07:38 CEST 2006.
--------
--- python-twisted-runner/python-twisted-runner.changes 2006-02-28 16:46:03.000000000 +0100
+++ /mounts/work_src_done/STABLE/python-twisted-runner/python-twisted-runner.changes 2006-10-26 18:44:31.000000000 +0200
@@ -1,0 +2,7 @@
+Thu Oct 26 18:43:58 CEST 2006 - jmatejek(a)suse.cz
+
+- update to 0.2.0
+ - upgrade to Twisted 2.4 install system
+ - fixed a bug that broke inetdtap.RPCServer
+
+-------------------------------------------------------------------
Old:
----
TwistedRunner-0.1.0.tar.bz2
New:
----
TwistedRunner-0.2.0.tar.bz2
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-twisted-runner.spec ++++++
--- /var/tmp/diff_new_pack.XkAeaZ/_old 2006-10-26 21:07:35.000000000 +0200
+++ /var/tmp/diff_new_pack.XkAeaZ/_new 2006-10-26 21:07:35.000000000 +0200
@@ -1,5 +1,5 @@
#
-# spec file for package python-twisted-runner (Version 0.1.0)
+# spec file for package python-twisted-runner (Version 0.2.0)
#
# Copyright (c) 2006 SUSE LINUX Products GmbH, Nuernberg, Germany.
# This file and all modifications and additions to the pristine
@@ -13,13 +13,13 @@
Name: python-twisted-runner
BuildRequires: python-devel python-twisted
Summary: Twisted Runner
-Version: 0.1.0
-Release: 6
+Version: 0.2.0
+Release: 1
%define tarname TwistedRunner
Source: %{tarname}-%{version}.tar.bz2
License: X11/MIT
Group: Development/Languages/Python
-URL: http://twistedmatrix.com/projects/runner/
+URL: http://twistedmatrix.com/trac/wiki/TwistedRunner
BuildRoot: %{_tmppath}/%{name}-%{version}-build
Requires: python-twisted
%{py_requires}
@@ -51,6 +51,10 @@
%doc LICENSE README NEWS
%changelog -n python-twisted-runner
+* Thu Oct 26 2006 - jmatejek(a)suse.cz
+- update to 0.2.0
+ - upgrade to Twisted 2.4 install system
+ - fixed a bug that broke inetdtap.RPCServer
* Tue Feb 28 2006 - jmatejek(a)suse.cz
- updated to reflect python changes due to #149809
* Wed Jan 25 2006 - mls(a)suse.de
++++++ TwistedRunner-0.1.0.tar.bz2 -> TwistedRunner-0.2.0.tar.bz2 ++++++
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/TwistedRunner-0.1.0/LICENSE new/TwistedRunner-0.2.0/LICENSE
--- old/TwistedRunner-0.1.0/LICENSE 2005-02-12 00:28:49.000000000 +0100
+++ new/TwistedRunner-0.2.0/LICENSE 2006-04-18 04:43:54.000000000 +0200
@@ -1,11 +1,13 @@
-
-Copyright (c) 2004
+Copyright (c) 2001-2006
Allen Short
Andrew Bennetts
+Apple Computer, Inc.
Benjamin Bruheim
Bob Ippolito
+Canonical Limited
Christopher Armstrong
Donovan Preston
+Eric Mangold
Itamar Shtull-Trauring
James Knight
Jason A. Mobarak
@@ -20,11 +22,10 @@
Moshe Zadka
Paul Swartz
Pavel Pergamenshchik
+Ralph Meijer
Sean Riley
Travis B. Hartwell
-except as noted at the end of this file.
-
Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
"Software"), to deal in the Software without restriction, including
@@ -43,7 +44,3 @@
LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
-
-
-Copyright Exceptions:
-
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/TwistedRunner-0.1.0/NEWS new/TwistedRunner-0.2.0/NEWS
--- old/TwistedRunner-0.1.0/NEWS 2005-03-12 07:56:04.000000000 +0100
+++ new/TwistedRunner-0.2.0/NEWS 2006-05-24 16:56:34.000000000 +0200
@@ -1,2 +1,12 @@
-0.1.0:
+0.2.0 (2006-05-24)
+==================
+
+Fixes
+-----
+ - Fix a bug that broke inetdtap.RPCServer.
+ - Misc: #1142
+
+
+0.1.0
+=====
- Pass *blocking* sockets to subprocesses run by inetd
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/TwistedRunner-0.1.0/README new/TwistedRunner-0.2.0/README
--- old/TwistedRunner-0.1.0/README 2005-03-22 12:14:01.000000000 +0100
+++ new/TwistedRunner-0.2.0/README 2006-05-24 16:56:34.000000000 +0200
@@ -1,4 +1,2 @@
-Twisted Runner 0.1.0
-
-Twisted Runner was recently split out of Twisted.
+Twisted Runner 0.2.0
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/TwistedRunner-0.1.0/setup.py new/TwistedRunner-0.2.0/setup.py
--- old/TwistedRunner-0.1.0/setup.py 2005-03-22 12:14:01.000000000 +0100
+++ new/TwistedRunner-0.2.0/setup.py 2006-05-13 21:26:09.000000000 +0200
@@ -1,8 +1,12 @@
-import sys
from distutils.core import Extension
-from twisted.python import dist
+try:
+ from twisted.python import dist
+except ImportError:
+ raise SystemExit("twisted.python.dist module not found. Make sure you "
+ "have installed the Twisted core package before "
+ "attempting to install any other Twisted projects.")
def detectExtensions(builder):
if builder._check_header("rpc/rpc.h"):
@@ -19,13 +23,12 @@
twisted_subproject="runner",
# metadata
name="Twisted Runner",
- version="0.1.0",
description="Twisted Runner is a process management library and inetd replacement.",
author="Twisted Matrix Laboratories",
author_email="twisted-python(a)twistedmatrix.com",
maintainer="Andrew Bennetts",
maintainer_email="spiv(a)twistedmatrix.com",
- url="http://twistedmatrix.com/projects/runner/",
+ url="http://twistedmatrix.com/trac/wiki/TwistedRunner",
license="MIT",
long_description="""\
Twisted Runner contains code useful for persistent process management
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/TwistedRunner-0.1.0/twisted/runner/__init__.py new/TwistedRunner-0.2.0/twisted/runner/__init__.py
--- old/TwistedRunner-0.1.0/twisted/runner/__init__.py 2005-03-22 12:14:01.000000000 +0100
+++ new/TwistedRunner-0.2.0/twisted/runner/__init__.py 2006-05-25 03:08:06.000000000 +0200
@@ -12,4 +12,5 @@
procmon:monitor and restart processes
"""
-__version__ = '0.1.0'
+from twisted.runner._version import version
+__version__ = version.short()
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/TwistedRunner-0.1.0/twisted/runner/_version.py new/TwistedRunner-0.2.0/twisted/runner/_version.py
--- old/TwistedRunner-0.1.0/twisted/runner/_version.py 1970-01-01 01:00:00.000000000 +0100
+++ new/TwistedRunner-0.2.0/twisted/runner/_version.py 2006-05-24 16:56:34.000000000 +0200
@@ -0,0 +1,3 @@
+# This is an auto-generated file. Use admin/change-versions to update.
+from twisted.python import versions
+version = versions.Version(__name__[:__name__.rfind('.')], 0, 2, 0)
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/TwistedRunner-0.1.0/twisted/runner/inetd.py new/TwistedRunner-0.2.0/twisted/runner/inetd.py
--- old/TwistedRunner-0.1.0/twisted/runner/inetd.py 2004-12-08 14:58:54.000000000 +0100
+++ new/TwistedRunner-0.2.0/twisted/runner/inetd.py 2005-08-21 15:31:20.000000000 +0200
@@ -7,7 +7,7 @@
Stability: semi-stable
-Maintainer: U{Andrew Bennetts<spiv(a)twistedmatrix.com>}
+Maintainer: U{Andrew Bennetts<mailto:spiv@twistedmatrix.com>}
Future Plans: Bugfixes. Specifically for UDP and Sun-RPC, which don't work
correctly yet.
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/TwistedRunner-0.1.0/twisted/runner/inetdtap.py new/TwistedRunner-0.2.0/twisted/runner/inetdtap.py
--- old/TwistedRunner-0.1.0/twisted/runner/inetdtap.py 2005-03-22 08:24:47.000000000 +0100
+++ new/TwistedRunner-0.2.0/twisted/runner/inetdtap.py 2005-11-10 04:18:15.000000000 +0100
@@ -7,12 +7,13 @@
Stability: semi-stable
-Maintainer: U{Andrew Bennetts<spiv(a)twistedmatrix.com>}
+Maintainer: U{Andrew Bennetts<mailto:spiv@twistedmatrix.com>}
Future Plans: more configurability.
"""
-import pwd, grp, socket
+import os, pwd, grp, socket
+
from twisted.runner import inetd, inetdconf
from twisted.python import log, usage
from twisted.internet.protocol import ServerFactory
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Remember to have fun...
---------------------------------------------------------------------
To unsubscribe, e-mail: opensuse-commit+unsubscribe(a)opensuse.org
For additional commands, e-mail: opensuse-commit+help(a)opensuse.org
1
0
Hello community,
here is the log from the commit of package python-twisted-pair
checked in at Thu Oct 26 21:07:31 CEST 2006.
--------
--- python-twisted-pair/python-twisted-pair.changes 2006-02-28 16:46:03.000000000 +0100
+++ /mounts/work_src_done/STABLE/python-twisted-pair/python-twisted-pair.changes 2006-10-26 18:43:16.000000000 +0200
@@ -1,0 +2,5 @@
+Thu Oct 26 18:43:02 CEST 2006 - jmatejek(a)suse.cz
+
+- added _version.py, necessary for Twisted 2.4 install process
+
+-------------------------------------------------------------------
New:
----
_version.py
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-twisted-pair.spec ++++++
--- /var/tmp/diff_new_pack.1QKMfh/_old 2006-10-26 21:07:28.000000000 +0200
+++ /var/tmp/diff_new_pack.1QKMfh/_new 2006-10-26 21:07:28.000000000 +0200
@@ -14,12 +14,13 @@
BuildRequires: python-devel python-twisted
Summary: Twisted Pair
Version: 0.1.0
-Release: 6
+Release: 30
%define tarname TwistedPair
Source: %{tarname}-%{version}.tar.bz2
+Source1: _version.py
License: X11/MIT
Group: Development/Languages/Python
-URL: http://twistedmatrix.com/projects/pair/
+URL: http://twistedmatrix.com/trac/wiki/TwistedPair
BuildRoot: %{_tmppath}/%{name}-%{version}-build
Requires: python-twisted
%{py_requires}
@@ -35,6 +36,7 @@
%prep
%setup -n %{tarname}-%{version}
+cp %{S:1} twisted/pair
%build
export CFLAGS="$RPM_OPT_FLAGS"
@@ -51,6 +53,8 @@
%doc LICENSE README
%changelog -n python-twisted-pair
+* Thu Oct 26 2006 - jmatejek(a)suse.cz
+- added _version.py, necessary for Twisted 2.4 install process
* Tue Feb 28 2006 - jmatejek(a)suse.cz
- updated to reflect python changes due to #149809
* Wed Jan 25 2006 - mls(a)suse.de
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Remember to have fun...
---------------------------------------------------------------------
To unsubscribe, e-mail: opensuse-commit+unsubscribe(a)opensuse.org
For additional commands, e-mail: opensuse-commit+help(a)opensuse.org
1
0
Hello community,
here is the log from the commit of package python-twisted-news
checked in at Thu Oct 26 21:07:22 CEST 2006.
--------
--- python-twisted-news/python-twisted-news.changes 2006-02-28 16:46:03.000000000 +0100
+++ /mounts/work_src_done/STABLE/python-twisted-news/python-twisted-news.changes 2006-10-26 18:40:38.000000000 +0200
@@ -1,0 +2,7 @@
+Thu Oct 26 18:40:08 CEST 2006 - jmatejek(a)suse.cz
+
+- update to 0.2.0
+ - upgrade to Twisted 2.4 install system
+ - fixed critical bug in news moderation support
+
+-------------------------------------------------------------------
Old:
----
TwistedNews-0.1.0.tar.bz2
New:
----
TwistedNews-0.2.0.tar.bz2
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-twisted-news.spec ++++++
--- /var/tmp/diff_new_pack.E6oGnw/_old 2006-10-26 21:07:20.000000000 +0200
+++ /var/tmp/diff_new_pack.E6oGnw/_new 2006-10-26 21:07:20.000000000 +0200
@@ -1,5 +1,5 @@
#
-# spec file for package python-twisted-news (Version 0.1.0)
+# spec file for package python-twisted-news (Version 0.2.0)
#
# Copyright (c) 2006 SUSE LINUX Products GmbH, Nuernberg, Germany.
# This file and all modifications and additions to the pristine
@@ -13,13 +13,13 @@
Name: python-twisted-news
BuildRequires: python-devel python-twisted
Summary: Twisted News
-Version: 0.1.0
-Release: 6
+Version: 0.2.0
+Release: 1
%define tarname TwistedNews
Source: %{tarname}-%{version}.tar.bz2
License: X11/MIT
Group: Development/Languages/Python
-URL: http://twistedmatrix.com/projects/news/
+URL: http://twistedmatrix.com/trac/wiki/TwistedNews
BuildRoot: %{_tmppath}/%{name}-%{version}-build
Requires: python-twisted
%{py_requires}
@@ -56,6 +56,10 @@
%doc LICENSE README
%changelog -n python-twisted-news
+* Thu Oct 26 2006 - jmatejek(a)suse.cz
+- update to 0.2.0
+ - upgrade to Twisted 2.4 install system
+ - fixed critical bug in news moderation support
* Tue Feb 28 2006 - jmatejek(a)suse.cz
- updated to reflect python changes due to #149809
* Wed Jan 25 2006 - mls(a)suse.de
++++++ TwistedNews-0.1.0.tar.bz2 -> TwistedNews-0.2.0.tar.bz2 ++++++
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/TwistedNews-0.1.0/LICENSE new/TwistedNews-0.2.0/LICENSE
--- old/TwistedNews-0.1.0/LICENSE 2005-02-12 00:28:49.000000000 +0100
+++ new/TwistedNews-0.2.0/LICENSE 2006-04-18 04:43:54.000000000 +0200
@@ -1,11 +1,13 @@
-
-Copyright (c) 2004
+Copyright (c) 2001-2006
Allen Short
Andrew Bennetts
+Apple Computer, Inc.
Benjamin Bruheim
Bob Ippolito
+Canonical Limited
Christopher Armstrong
Donovan Preston
+Eric Mangold
Itamar Shtull-Trauring
James Knight
Jason A. Mobarak
@@ -20,11 +22,10 @@
Moshe Zadka
Paul Swartz
Pavel Pergamenshchik
+Ralph Meijer
Sean Riley
Travis B. Hartwell
-except as noted at the end of this file.
-
Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
"Software"), to deal in the Software without restriction, including
@@ -43,7 +44,3 @@
LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
-
-
-Copyright Exceptions:
-
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/TwistedNews-0.1.0/NEWS new/TwistedNews-0.2.0/NEWS
--- old/TwistedNews-0.1.0/NEWS 1970-01-01 01:00:00.000000000 +0100
+++ new/TwistedNews-0.2.0/NEWS 2006-05-25 03:26:06.000000000 +0200
@@ -0,0 +1,6 @@
+0.2.0 (2006-05-24)
+==================
+
+Fixes:
+ - Fixed a critical bug in moderation support.
+
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/TwistedNews-0.1.0/README new/TwistedNews-0.2.0/README
--- old/TwistedNews-0.1.0/README 2005-03-22 12:14:01.000000000 +0100
+++ new/TwistedNews-0.2.0/README 2006-05-25 03:26:06.000000000 +0200
@@ -1,6 +1,4 @@
-Twisted News 0.1.0
-
-News was recently split out of Twisted.
+Twisted News 0.2.0
News depends on Twisted, and, if you want to use the moderation
features, Twisted Mail.
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/TwistedNews-0.1.0/setup.py new/TwistedNews-0.2.0/setup.py
--- old/TwistedNews-0.1.0/setup.py 2005-03-22 12:14:01.000000000 +0100
+++ new/TwistedNews-0.2.0/setup.py 2006-05-13 21:26:09.000000000 +0200
@@ -1,19 +1,22 @@
-import sys
-from twisted.python import dist
+try:
+ from twisted.python import dist
+except ImportError:
+ raise SystemExit("twisted.python.dist module not found. Make sure you "
+ "have installed the Twisted core package before "
+ "attempting to install any other Twisted projects.")
if __name__ == '__main__':
dist.setup(
twisted_subproject="news",
# metadata
name="Twisted News",
- version="0.1.0",
description="Twisted News is an NNTP server and programming library.",
author="Twisted Matrix Laboratories",
author_email="twisted-python(a)twistedmatrix.com",
maintainer="Jp Calderone",
maintainer_email="exarkun(a)divmod.com",
- url="http://twistedmatrix.com/projects/news/",
+ url="http://twistedmatrix.com/trac/wiki/TwistedNews",
license="MIT",
long_description="""\
Twisted News is an NNTP protocol (Usenet) programming library. The
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/TwistedNews-0.1.0/twisted/news/__init__.py new/TwistedNews-0.2.0/twisted/news/__init__.py
--- old/TwistedNews-0.1.0/twisted/news/__init__.py 2005-03-22 12:14:01.000000000 +0100
+++ new/TwistedNews-0.2.0/twisted/news/__init__.py 2006-05-25 03:31:41.000000000 +0200
@@ -1,11 +1,11 @@
# Copyright (c) 2001-2004 Twisted Matrix Laboratories.
# See LICENSE for details.
-
-
"""
Twisted News: an NNTP-based news service.
"""
-__version__ = '0.1.0'
+
+from twisted.news._version import version
+__version__ = version.short()
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/TwistedNews-0.1.0/twisted/news/_version.py new/TwistedNews-0.2.0/twisted/news/_version.py
--- old/TwistedNews-0.1.0/twisted/news/_version.py 1970-01-01 01:00:00.000000000 +0100
+++ new/TwistedNews-0.2.0/twisted/news/_version.py 2006-05-25 03:26:06.000000000 +0200
@@ -0,0 +1,3 @@
+# This is an auto-generated file. Use admin/change-versions to update.
+from twisted.python import versions
+version = versions.Version(__name__[:__name__.rfind('.')], 0, 2, 0)
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/TwistedNews-0.1.0/twisted/news/database.py new/TwistedNews-0.2.0/twisted/news/database.py
--- old/TwistedNews-0.1.0/twisted/news/database.py 2004-08-25 10:36:30.000000000 +0200
+++ new/TwistedNews-0.2.0/twisted/news/database.py 2006-03-12 21:59:12.000000000 +0100
@@ -260,7 +260,7 @@
def notifyModerators(self, moderators, article):
# Moderated postings go through as long as they have an Approved
# header, regardless of what the value is
- a.putHeader('To', ', '.join(moderators))
+ article.putHeader('To', ', '.join(moderators))
return smtp.sendEmail(
'twisted@' + socket.gethostname(),
moderators,
@@ -316,7 +316,7 @@
a.putHeader('Xref', '%s %s' % (
socket.gethostname().split()[0],
- ''.join(map(lambda x: string.join(x, ':'), xref))
+ ''.join(map(lambda x: ':'.join(x), xref))
))
self.flush()
@@ -435,8 +435,6 @@
self.db['moderators'] = dict(moderators)
self.flush()
-components.backwardsCompatImplements(PickleStorage)
-
class Group:
name = None
@@ -680,8 +678,6 @@
else:
return defer.succeed((index, a.getHeader('Message-ID'), StringIO.StringIO(a.body)))
-components.backwardsCompatImplements(NewsShelf)
-
class NewsStorageAugmentation:
"""
@@ -985,8 +981,6 @@
lambda (index, id, body): (index, id, StringIO.StringIO(body))
)
-components.backwardsCompatImplements(NewsStorageAugmentation)
-
####
#### XXX - make these static methods some day
####
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/TwistedNews-0.1.0/twisted/news/nntp.py new/TwistedNews-0.2.0/twisted/news/nntp.py
--- old/TwistedNews-0.1.0/twisted/news/nntp.py 2005-02-27 02:43:47.000000000 +0100
+++ new/TwistedNews-0.2.0/twisted/news/nntp.py 2005-11-10 04:18:15.000000000 +0100
@@ -32,11 +32,6 @@
- A control protocol
"""
-from twisted.internet import protocol
-from twisted.protocols import basic
-from twisted.python import log
-from twisted.python import failure
-
import time
import types
@@ -45,6 +40,9 @@
except:
import StringIO
+from twisted.protocols import basic
+from twisted.python import log
+
def parseRange(text):
articles = text.split('-')
if len(articles) == 1:
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/TwistedNews-0.1.0/twisted/news/tap.py new/TwistedNews-0.2.0/twisted/news/tap.py
--- old/TwistedNews-0.1.0/twisted/news/tap.py 2005-03-22 08:24:47.000000000 +0100
+++ new/TwistedNews-0.2.0/twisted/news/tap.py 2005-11-10 04:18:15.000000000 +0100
@@ -2,13 +2,10 @@
# See LICENSE for details.
-from twisted.enterprise import adbapi
from twisted.news import news, database
from twisted.application import strports
from twisted.python import usage, log
-import sys, getpass
-
class DBOptions(usage.Options):
optParameters = [
['module', None, 'pyPgSQL.PgSQL', "DB-API 2.0 module to use"],
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/TwistedNews-0.1.0/twisted/news/test/test_news.py new/TwistedNews-0.2.0/twisted/news/test/test_news.py
--- old/TwistedNews-0.1.0/twisted/news/test/test_news.py 2004-08-25 10:36:30.000000000 +0200
+++ new/TwistedNews-0.2.0/twisted/news/test/test_news.py 2006-01-03 04:27:28.000000000 +0100
@@ -1,11 +1,11 @@
# Copyright (c) 2001-2004 Twisted Matrix Laboratories.
# See LICENSE for details.
-import os, types
+import sys, types
from pprint import pformat
from twisted.trial import unittest
-from twisted.news import news, database
+from twisted.news import database
from twisted.internet import reactor
MESSAGE_ID = "f83ba57450ed0fd8ac9a472b847e830e"
@@ -32,121 +32,76 @@
""" % (MESSAGE_ID)
class NewsTestCase(unittest.TestCase):
- def callback(self, result):
- self.result = result
-
- def errback(self, failure):
- try:
- self.fail('Errback called: ' + str(failure))
- except Exception, e:
- self.error = sys.exc_info()
- raise
-
- def timeout(self):
- reactor.crash()
- self.fail('Timed out')
-
def setUp(self):
self.backend = database.NewsShelf(None, 'news2.db')
self.backend.addGroup('alt.test.nntp', 'y')
self.backend.postRequest(POST_STRING.replace('\n', '\r\n'))
- def tearDown(self):
- try:
- del self.result
- except:
- pass
- try:
- del self.error
- except:
- pass
def testArticleExists(self):
d = self.backend.articleExistsRequest(MESSAGE_ID)
- self.assert_(d.result)
+ d.addCallback(self.failUnless)
+ return d
+
def testArticleRequest(self):
d = self.backend.articleRequest(None, None, MESSAGE_ID)
- d.addCallbacks(self.callback, self.errback)
- id = reactor.callLater(5, self.timeout)
- while not hasattr(self, 'result') and not hasattr(self, 'error'):
- reactor.iterate()
- try:
- id.cancel()
- except ValueError: pass
-
- error = getattr(self, 'error', None)
- if error:
- raise error[0], error[1], error[2]
-
- self.failUnless(type(self.result) == types.TupleType,
- 'callback result is wrong type: ' + str(self.result))
- self.failUnless(len(self.result) == 3,
- 'callback result list should have three entries: ' +
- str(self.result))
- self.failUnless(self.result[1] == MESSAGE_ID,
- "callback result Message-Id doesn't match: %s vs %s" %
- (MESSAGE_ID, self.result[1]))
- body = self.result[2].read()
- self.failUnless(body.find('\r\n\r\n'),
- "Can't find \\r\\n\\r\\n between header and body")
+ def cbArticle(result):
+ self.failUnless(isinstance(result, tuple),
+ 'callback result is wrong type: ' + str(result))
+ self.assertEquals(len(result), 3,
+ 'callback result list should have three entries: ' +
+ str(result))
+ self.assertEquals(result[1], MESSAGE_ID,
+ "callback result Message-Id doesn't match: %s vs %s" %
+ (MESSAGE_ID, result[1]))
+ body = result[2].read()
+ self.failIfEqual(body.find('\r\n\r\n'), -1,
+ "Can't find \\r\\n\\r\\n between header and body")
+ return result
+
+ d.addCallback(cbArticle)
+ return d
+
def testHeadRequest(self):
- self.testArticleRequest()
- index = self.result[0]
+ d = self.testArticleRequest()
+
+ def cbArticle(result):
+ index = result[0]
+
+ d = self.backend.headRequest("alt.test.nntp", index)
+ d.addCallback(cbHead)
+ return d
- try: del self.result
- except: pass
+ def cbHead(result):
+ self.assertEquals(result[1], MESSAGE_ID,
+ "callback result Message-Id doesn't match: %s vs %s" %
+ (MESSAGE_ID, result[1]))
- try: del self.error
- except: pass
+ self.assertEquals(result[2][-2:], '\r\n',
+ "headers must be \\r\\n terminated.")
- d = self.backend.headRequest("alt.test.nntp", index)
- d.addCallbacks(self.callback, self.errback)
-
- id = reactor.callLater(5, self.timeout)
- while not hasattr(self, 'result') and not hasattr(self, 'error'):
- reactor.iterate()
- try:
- id.cancel()
- except ValueError: pass
-
- error = getattr(self, 'error', None)
- if error:
- raise error[0], error[1], error[2]
-
- self.failUnless(self.result[1] == MESSAGE_ID,
- "callback result Message-Id doesn't match: %s vs %s" %
- (MESSAGE_ID, self.result[1]))
+ d.addCallback(cbArticle)
+ return d
- self.failUnless(self.result[2][-2:] == '\r\n',
- "headers must be \\r\\n terminated.")
def testBodyRequest(self):
- self.testArticleRequest()
- index = self.result[0]
+ d = self.testArticleRequest()
- try: del self.result
- except: pass
+ def cbArticle(result):
+ index = result[0]
- try: del self.error
- except: pass
+ d = self.backend.bodyRequest("alt.test.nntp", index)
+ d.addCallback(cbBody)
+ return d
+
+ def cbBody(result):
+ body = result[2].read()
+ self.assertEquals(body[0:4], 'this',
+ "message body has been altered: " +
+ pformat(body[0:4]))
- d = self.backend.bodyRequest("alt.test.nntp", index)
- d.addCallbacks(self.callback, self.errback)
-
- id = reactor.callLater(5, self.timeout)
- while not hasattr(self, 'result') and not hasattr(self, 'error'):
- reactor.iterate()
- try:
- id.cancel()
- except ValueError: pass
-
- error = getattr(self, 'error', None)
- if error:
- raise error[0], error[1], error[2]
-
- body = self.result[2].read()
- self.failUnless(body[0:4] == 'this', "message body has been altered: " +
- pformat(body[0:4]))
+ d.addCallback(cbArticle)
+ return d
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/TwistedNews-0.1.0/twisted/news/test/test_nntp.py new/TwistedNews-0.2.0/twisted/news/test/test_nntp.py
--- old/TwistedNews-0.1.0/twisted/news/test/test_nntp.py 2005-02-27 02:43:47.000000000 +0100
+++ new/TwistedNews-0.2.0/twisted/news/test/test_nntp.py 2005-11-10 04:18:15.000000000 +0100
@@ -1,13 +1,10 @@
# Copyright (c) 2001-2004 Twisted Matrix Laboratories.
# See LICENSE for details.
-import os, string, shutil
-
from twisted.trial import unittest
-from twisted.news import news, database
+from twisted.news import database
from twisted.news import nntp
from twisted.protocols import loopback
-from twisted.internet import reactor, protocol
ALL_GROUPS = ('alt.test.nntp', 0, 1, 'y'),
GROUP = ('0', '1', '0', 'alt.test.nntp', 'group', 'selected')
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Remember to have fun...
---------------------------------------------------------------------
To unsubscribe, e-mail: opensuse-commit+unsubscribe(a)opensuse.org
For additional commands, e-mail: opensuse-commit+help(a)opensuse.org
1
0
Hello community,
here is the log from the commit of package python-twisted-names
checked in at Thu Oct 26 21:07:15 CEST 2006.
--------
--- python-twisted-names/python-twisted-names.changes 2006-02-28 16:46:03.000000000 +0100
+++ /mounts/work_src_done/STABLE/python-twisted-names/python-twisted-names.changes 2006-10-26 18:35:40.000000000 +0200
@@ -1,0 +2,8 @@
+Thu Oct 26 18:34:43 CEST 2006 - jmatejek(a)suse.cz
+
+- update to 0.3.0
+ - upgrade to Twisted 2.4 install system
+ - improved docstrings
+ - fixed some minor bugs
+
+-------------------------------------------------------------------
Old:
----
TwistedNames-0.2.0.tar.bz2
New:
----
TwistedNames-0.3.0.tar.bz2
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-twisted-names.spec ++++++
--- /var/tmp/diff_new_pack.auVPo7/_old 2006-10-26 21:07:11.000000000 +0200
+++ /var/tmp/diff_new_pack.auVPo7/_new 2006-10-26 21:07:11.000000000 +0200
@@ -1,5 +1,5 @@
#
-# spec file for package python-twisted-names (Version 0.2.0)
+# spec file for package python-twisted-names (Version 0.3.0)
#
# Copyright (c) 2006 SUSE LINUX Products GmbH, Nuernberg, Germany.
# This file and all modifications and additions to the pristine
@@ -13,13 +13,13 @@
Name: python-twisted-names
BuildRequires: python-devel python-twisted
Summary: Twisted Names
-Version: 0.2.0
-Release: 5
+Version: 0.3.0
+Release: 1
%define tarname TwistedNames
Source: %{tarname}-%{version}.tar.bz2
License: X11/MIT
Group: Development/Languages/Python
-URL: http://twistedmatrix.com/projects/names/
+URL: http://twistedmatrix.com/trac/wiki/TwistedNames
BuildRoot: %{_tmppath}/%{name}-%{version}-build
Requires: python-twisted
%{py_requires}
@@ -59,6 +59,11 @@
%doc LICENSE README NEWS
%changelog -n python-twisted-names
+* Thu Oct 26 2006 - jmatejek(a)suse.cz
+- update to 0.3.0
+ - upgrade to Twisted 2.4 install system
+ - improved docstrings
+ - fixed some minor bugs
* Tue Feb 28 2006 - jmatejek(a)suse.cz
- updated to reflect python changes due to #149809
* Wed Jan 25 2006 - mls(a)suse.de
++++++ TwistedNames-0.2.0.tar.bz2 -> TwistedNames-0.3.0.tar.bz2 ++++++
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/TwistedNames-0.2.0/LICENSE new/TwistedNames-0.3.0/LICENSE
--- old/TwistedNames-0.2.0/LICENSE 2005-10-19 00:18:32.000000000 +0200
+++ new/TwistedNames-0.3.0/LICENSE 2006-04-18 04:43:54.000000000 +0200
@@ -1,8 +1,10 @@
-Copyright (c) 2001-2005
+Copyright (c) 2001-2006
Allen Short
Andrew Bennetts
+Apple Computer, Inc.
Benjamin Bruheim
Bob Ippolito
+Canonical Limited
Christopher Armstrong
Donovan Preston
Eric Mangold
@@ -20,6 +22,7 @@
Moshe Zadka
Paul Swartz
Pavel Pergamenshchik
+Ralph Meijer
Sean Riley
Travis B. Hartwell
@@ -41,9 +44,3 @@
LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
-
-Exception:
-
-Some files in twisted/python/pymodules/ are copyright Python Software
-Foundation and covered by the License contained in
-twisted/python/pymodules/LICENSE-python.txt.
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/TwistedNames-0.2.0/NEWS new/TwistedNames-0.3.0/NEWS
--- old/TwistedNames-0.2.0/NEWS 2005-10-20 02:50:26.000000000 +0200
+++ new/TwistedNames-0.3.0/NEWS 2006-05-22 00:28:51.000000000 +0200
@@ -1,9 +1,26 @@
-0.2.0:
+0.3.0 (2006-05-21)
+==================
+
+Features
+--------
+ - Some docstring improvements
+
+Fixes
+-----
+ - Fix a problem where the response for the first query with a
+ newly-created Resolver object would be dropped.(#1447)
+ - Misc: #1581, #1583
+
+
+0.2.0
+=====
- Fix occassional TCP connection leak in gethostbyname()
- Fix TCP connection leak in recursive lookups
- Remove deprecated use of Deferred.setTimeout
- Improved test coverage for zone transfers
-0.1.0:
+
+0.1.0
+=====
- Fix TCP connection leak in zone transfers
- Handle empty or missing resolv.conf as if 127.0.0.1 was specified
- Don't use blocking kernel entropy sources
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/TwistedNames-0.2.0/README new/TwistedNames-0.3.0/README
--- old/TwistedNames-0.2.0/README 2005-10-20 04:34:07.000000000 +0200
+++ new/TwistedNames-0.3.0/README 2006-05-22 00:28:51.000000000 +0200
@@ -1,3 +1,3 @@
-Twisted Names 0.2.0
+Twisted Names 0.3.0
Twisted Names depends on Twisted Core.
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/TwistedNames-0.2.0/doc/examples/index.html new/TwistedNames-0.3.0/doc/examples/index.html
--- old/TwistedNames-0.2.0/doc/examples/index.html 2005-10-20 04:35:26.000000000 +0200
+++ new/TwistedNames-0.3.0/doc/examples/index.html 2006-05-25 03:08:23.000000000 +0200
@@ -1,2 +1,2 @@
<?xml version="1.0"?><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
- "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html xmlns="http://www.w3.org/1999/xhtml" lang="en"><head><title>Twisted Documentation: Twisted Names code examples</title><link href="../howto/stylesheet.css" type="text/css" rel="stylesheet" /></head><body bgcolor="white"><h1 class="title">Twisted Names code examples</h1><div class="toc"><ol><li><a href="#auto0">DNS (Twisted Names)</a></li></ol></div><div class="content"><span></span><h2>DNS (Twisted Names)<a name="auto0"></a></h2><ul><li><a href="testdns.py">testdns.py</a></li><li><a href="dns-service.py">dns-service.py</a></li><li><a href="gethostbyname.py">gethostbyname.py</a></li></ul></div><p><a href="../howto/index.html">Index</a></p><span class="version">Version: 0.2.0</span></body></html>
\ No newline at end of file
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html xmlns="http://www.w3.org/1999/xhtml" lang="en"><head><title>Twisted Documentation: Twisted Names code examples</title><link href="../howto/stylesheet.css" type="text/css" rel="stylesheet" /></head><body bgcolor="white"><h1 class="title">Twisted Names code examples</h1><div class="toc"><ol><li><a href="#auto0">DNS (Twisted Names)</a></li></ol></div><div class="content"><span></span><h2>DNS (Twisted Names)<a name="auto0"></a></h2><ul><li><a href="testdns.py">testdns.py</a></li><li><a href="dns-service.py">dns-service.py</a></li><li><a href="gethostbyname.py">gethostbyname.py</a></li></ul></div><p><a href="../howto/index.html">Index</a></p><span class="version">Version: 0.3.0</span></body></html>
\ No newline at end of file
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/TwistedNames-0.2.0/doc/howto/index.html new/TwistedNames-0.3.0/doc/howto/index.html
--- old/TwistedNames-0.2.0/doc/howto/index.html 2005-10-20 04:35:25.000000000 +0200
+++ new/TwistedNames-0.3.0/doc/howto/index.html 2006-05-25 03:08:22.000000000 +0200
@@ -1,2 +1,2 @@
<?xml version="1.0"?><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
- "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html xmlns="http://www.w3.org/1999/xhtml" lang="en"><head><title>Twisted Documentation: Twisted Names Documentation</title><link href="../howto/stylesheet.css" type="text/css" rel="stylesheet" /></head><body bgcolor="white"><h1 class="title">Twisted Names Documentation</h1><div class="toc"><ol></ol></div><div class="content"><span></span><ul class="toc"><li><a href="names.html">Names DNS library</a></li></ul></div><p><a href="../howto/index.html">Index</a></p><span class="version">Version: 0.2.0</span></body></html>
\ No newline at end of file
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html xmlns="http://www.w3.org/1999/xhtml" lang="en"><head><title>Twisted Documentation: Twisted Names Documentation</title><link href="../howto/stylesheet.css" type="text/css" rel="stylesheet" /></head><body bgcolor="white"><h1 class="title">Twisted Names Documentation</h1><div class="toc"><ol></ol></div><div class="content"><span></span><ul class="toc"><li><a href="names.html">Names DNS library</a></li></ul></div><p><a href="../howto/index.html">Index</a></p><span class="version">Version: 0.3.0</span></body></html>
\ No newline at end of file
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/TwistedNames-0.2.0/doc/howto/names.html new/TwistedNames-0.3.0/doc/howto/names.html
--- old/TwistedNames-0.2.0/doc/howto/names.html 2005-10-20 04:35:25.000000000 +0200
+++ new/TwistedNames-0.3.0/doc/howto/names.html 2006-05-25 03:08:23.000000000 +0200
@@ -60,4 +60,4 @@
</p><p>Names can also read a traditional, BIND-syntax zone file. Specify these
with the <code>--bindzone</code> parameter. The $GENERATE and $INCLUDE
directives are not yet supported.
-</p></div><p><a href="../howto/index.html">Index</a></p><span class="version">Version: 0.2.0</span></body></html>
\ No newline at end of file
+</p></div><p><a href="../howto/index.html">Index</a></p><span class="version">Version: 0.3.0</span></body></html>
\ No newline at end of file
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/TwistedNames-0.2.0/setup.py new/TwistedNames-0.3.0/setup.py
--- old/TwistedNames-0.2.0/setup.py 2005-10-20 04:34:07.000000000 +0200
+++ new/TwistedNames-0.3.0/setup.py 2006-05-13 21:26:09.000000000 +0200
@@ -8,17 +8,30 @@
"attempting to install any other Twisted projects.")
if __name__ == '__main__':
+ if sys.version_info[:2] >= (2, 4):
+ extraMeta = dict(
+ classifiers=[
+ "Development Status :: 4 - Beta",
+ "Environment :: No Input/Output (Daemon)",
+ "Intended Audience :: Developers",
+ "License :: OSI Approved :: MIT License",
+ "Programming Language :: Python",
+ "Topic :: Internet :: Name Service (DNS)",
+ "Topic :: Software Development :: Libraries :: Python Modules",
+ ])
+ else:
+ extraMeta = {}
+
dist.setup(
twisted_subproject="names",
# metadata
name="Twisted Names",
- version="0.2.0",
description="A Twisted DNS implementation.",
author="Twisted Matrix Laboratories",
author_email="twisted-python(a)twistedmatrix.com",
maintainer="Jp Calderone",
maintainer_email="exarkun(a)divmod.com",
- url="http://twistedmatrix.com/projects/names/",
+ url="http://twistedmatrix.com/trac/wiki/TwistedNames",
license="MIT",
long_description="""\
Twisted Names is both a domain name server as well as a client
@@ -31,4 +44,5 @@
query for all commonly used record types as well as a replacement for
the blocking gethostbyname() function provided by the Python stdlib
socket module.
-""")
+""",
+ **extraMeta)
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/TwistedNames-0.2.0/twisted/names/__init__.py new/TwistedNames-0.3.0/twisted/names/__init__.py
--- old/TwistedNames-0.2.0/twisted/names/__init__.py 2005-10-20 04:35:26.000000000 +0200
+++ new/TwistedNames-0.3.0/twisted/names/__init__.py 2006-05-25 03:08:23.000000000 +0200
@@ -2,4 +2,6 @@
# See LICENSE for details.
"""Resolving Internet Names"""
-__version__ = '0.2.0'
+
+from twisted.names._version import version
+__version__ = version.short()
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/TwistedNames-0.2.0/twisted/names/_version.py new/TwistedNames-0.3.0/twisted/names/_version.py
--- old/TwistedNames-0.2.0/twisted/names/_version.py 1970-01-01 01:00:00.000000000 +0100
+++ new/TwistedNames-0.3.0/twisted/names/_version.py 2006-05-22 00:28:51.000000000 +0200
@@ -0,0 +1,3 @@
+# This is an auto-generated file. Use admin/change-versions to update.
+from twisted.python import versions
+version = versions.Version(__name__[:__name__.rfind('.')], 0, 3, 0)
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/TwistedNames-0.2.0/twisted/names/authority.py new/TwistedNames-0.3.0/twisted/names/authority.py
--- old/TwistedNames-0.2.0/twisted/names/authority.py 2005-03-31 09:29:46.000000000 +0200
+++ new/TwistedNames-0.3.0/twisted/names/authority.py 2006-03-17 04:29:41.000000000 +0100
@@ -6,8 +6,6 @@
from __future__ import nested_scopes
import os
-import copy
-import operator
import time
from twisted.names import dns
@@ -18,7 +16,7 @@
def getSerial(filename = '/tmp/twisted-names.serial'):
"""Return a monotonically increasing (across program runs) integer.
-
+
State is stored in the given file. If it does not exist, it is
created with rw-/---/--- permissions.
"""
@@ -62,7 +60,7 @@
class FileAuthority(common.ResolverBase):
"""An Authority that is loaded from a file."""
-
+
soa = None
records = None
@@ -82,16 +80,16 @@
authority = []
additional = []
default_ttl = max(self.soa[1].minimum, self.soa[1].expire)
-
+
domain_records = self.records.get(name.lower())
-
+
if domain_records:
for record in domain_records:
if record.ttl is not None:
ttl = record.ttl
else:
ttl = default_ttl
-
+
if record.TYPE == type or type == dns.ALL_RECORDS:
results.append(
dns.RRHeader(name, record.TYPE, dns.IN, ttl, record, auth=True)
@@ -116,7 +114,7 @@
section.append(
dns.RRHeader(n, dns.A, dns.IN, rec.ttl or default_ttl, rec, auth=True)
)
-
+
return defer.succeed((results, authority, additional))
else:
if name.lower().endswith(self.soa[0].lower()):
@@ -164,7 +162,7 @@
execfile(filename, g, l)
if not l.has_key('zone'):
raise ValueError, "No zone defined in " + filename
-
+
self.records = {}
for rr in l['zone']:
if isinstance(rr[1], dns.Record_SOA):
@@ -188,7 +186,7 @@
class BindAuthority(FileAuthority):
"""An Authority that loads BIND configuration files"""
-
+
def loadFile(self, filename):
self.origin = os.path.basename(filename) + '.' # XXX - this might suck
lines = open(filename).readlines()
@@ -231,9 +229,9 @@
def parseLines(self, lines):
TTL = 60 * 60 * 3
ORIGIN = self.origin
-
+
self.records = {}
-
+
for (line, index) in zip(lines, range(len(lines))):
if line[0] == '$TTL':
TTL = dns.str2time(line[1])
@@ -265,7 +263,7 @@
r = record(*rdata)
r.ttl = ttl
self.records.setdefault(domain.lower(), []).append(r)
-
+
print 'Adding IN Record', domain, ttl, r
if type == 'SOA':
self.soa = (domain, r)
@@ -289,7 +287,7 @@
owner = line[0]
line = line[1:]
# print 'owner is ', owner
-
+
if line[0].isdigit() or line[0] in MARKERS:
domain = owner
owner = origin
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/TwistedNames-0.2.0/twisted/names/cache.py new/TwistedNames-0.3.0/twisted/names/cache.py
--- old/TwistedNames-0.2.0/twisted/names/cache.py 2004-08-25 10:36:30.000000000 +0200
+++ new/TwistedNames-0.3.0/twisted/names/cache.py 2006-03-17 04:29:41.000000000 +0100
@@ -1,9 +1,10 @@
-# -*- test-case-name: twisted.names.test.test_names -*-
+# -*- test-case-name: twisted.names.test -*-
# Copyright (c) 2001-2004 Twisted Matrix Laboratories.
# See LICENSE for details.
-import operator, time, copy
+import time
+
from zope.interface import implements
from twisted.names import dns
@@ -16,9 +17,9 @@
"""A resolver that serves records from a local, memory cache."""
implements(interfaces.IResolver)
-
+
cache = None
-
+
def __init__(self, cache = None, verbose = 0):
common.ResolverBase.__init__(self)
@@ -31,7 +32,7 @@
def __setstate__(self, state):
self.__dict__ = state
-
+
now = time.time()
for (k, (when, (ans, add, ns))) in self.cache.items():
diff = now - when
@@ -50,7 +51,7 @@
def _lookup(self, name, cls, type, timeout):
now = time.time()
- q = dns.Query(name, cls, type)
+ q = dns.Query(name, type, cls)
try:
when, (ans, auth, add) = self.cache[q]
except KeyError:
@@ -85,7 +86,7 @@
m = s[0].ttl
for r in s:
m = min(m, r.ttl)
-
+
from twisted.internet import reactor
self.cancel[query] = reactor.callLater(m, self.clearEntry, query)
@@ -93,5 +94,3 @@
def clearEntry(self, query):
del self.cache[query]
del self.cancel[query]
-
-components.backwardsCompatImplements(CacheResolver)
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/TwistedNames-0.2.0/twisted/names/client.py new/TwistedNames-0.3.0/twisted/names/client.py
--- old/TwistedNames-0.2.0/twisted/names/client.py 2005-10-09 21:45:39.000000000 +0200
+++ new/TwistedNames-0.3.0/twisted/names/client.py 2006-03-17 04:29:41.000000000 +0100
@@ -16,15 +16,12 @@
from __future__ import nested_scopes
-import warnings
-import socket
import os
import errno
-import time
# Twisted imports
from twisted.python.runtime import platform
-from twisted.internet import error, defer, protocol, interfaces, threads
+from twisted.internet import error, defer, protocol, interfaces
from twisted.python import log, failure, components
from twisted.names import dns
from zope.interface import implements
@@ -49,6 +46,12 @@
def __init__(self, resolv = None, servers = None, timeout = (1, 3, 11, 45)):
"""
+ Construct a resolver which will query domain name servers listed in
+ the C{resolv.conf(5)}-format file given by C{resolv} as well as
+ those in the given C{servers} list. Servers are queried in a
+ round-robin fashion. If given, C{resolv} is periodically checked
+ for modification and re-parsed if it is noticed to have changed.
+
@type servers: C{list} of C{(str, int)} or C{None}
@param servers: If not None, interpreted as a list of addresses of
domain name servers to attempt to use for this lookup. Addresses
@@ -111,7 +114,7 @@
resolvConf = file(self.resolv)
except IOError, e:
if e.errno == errno.ENOENT:
- # Missing resolv.conf is treated the same as an empty resolv.conf
+ # Missing resolv.conf is treated the same as an empty resolv.conf
self.parseConfig(())
else:
raise
@@ -315,8 +318,6 @@
connector.disconnect()
return (result, [], [])
-components.backwardsCompatImplements(Resolver)
-
class AXFRController:
timeoutCall = None
@@ -355,7 +356,7 @@
if self.deferred is not None:
self.deferred.callback(self.records)
self.deferred = None
-
+
from twisted.internet.base import ThreadedResolver as _ThreadedResolverImpl
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/TwistedNames-0.2.0/twisted/names/common.py new/TwistedNames-0.3.0/twisted/names/common.py
--- old/TwistedNames-0.2.0/twisted/names/common.py 2005-10-05 16:41:19.000000000 +0200
+++ new/TwistedNames-0.3.0/twisted/names/common.py 2006-03-17 04:29:41.000000000 +0100
@@ -3,11 +3,11 @@
# See LICENSE for details.
-import operator, sys, socket, random
+import socket
from twisted.names import dns
from twisted.internet import defer, error
-from twisted.python import failure, log
+from twisted.python import failure
EMPTY_RESULT = (), (), ()
@@ -148,11 +148,11 @@
dns.MINFO: 'lookupMailboxInfo',
dns.MX: 'lookupMailExchange',
dns.TXT: 'lookupText',
-
+
dns.RP: 'lookupResponsibility',
dns.AFSDB: 'lookupAFSDatabase',
dns.SRV: 'lookupService',
-
+
dns.AXFR: 'lookupZone',
dns.ALL_RECORDS: 'lookupAllRecords',
}
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/TwistedNames-0.2.0/twisted/names/dns.py new/TwistedNames-0.3.0/twisted/names/dns.py
--- old/TwistedNames-0.2.0/twisted/names/dns.py 2005-08-21 15:31:20.000000000 +0200
+++ new/TwistedNames-0.3.0/twisted/names/dns.py 2006-03-17 04:29:41.000000000 +0100
@@ -20,7 +20,7 @@
import warnings
import struct, random, types, socket
-from math import ceil, floor
+
try:
import cStringIO as StringIO
except ImportError:
@@ -60,7 +60,7 @@
# Twisted imports
-from twisted.internet import protocol, defer, error
+from twisted.internet import protocol, defer
from twisted.python import log, failure
from twisted.python import util as tputil
from twisted.python import components
@@ -872,7 +872,7 @@
return self.name
exchange = property(exchange)
-
+
def __hash__(self):
return hash((self.preference, self.name))
@@ -1057,8 +1057,6 @@
def __init__(self, controller):
self.controller = controller
- self.liveMessages = {}
- self.resends = {}
self.id = random.randrange(2 ** 10, 2 ** 15)
def pickID(self):
@@ -1079,9 +1077,6 @@
self.resends = {}
def writeMessage(self, message, address):
- if not self.transport:
- # XXX transport might not get created automatically, use callLater?
- self.startListening()
self.transport.write(message.toStr(), address)
def startListening(self):
@@ -1124,6 +1119,12 @@
@rtype: C{Deferred}
"""
+ from twisted.internet import reactor
+
+ if not self.transport:
+ # XXX transport might not get created automatically, use callLater?
+ self.startListening()
+
if id is None:
id = self.pickID()
else:
@@ -1131,15 +1132,14 @@
m = Message(id, recDes=1)
m.queries = queries
- from twisted.internet import reactor
-
- resultDeferred = defer.Deferred()
+ resultDeferred = defer.Deferred()
cancelCall = reactor.callLater(timeout, self._clearFailed, resultDeferred, id)
self.liveMessages[id] = (resultDeferred, cancelCall)
self.writeMessage(m, address)
return resultDeferred
+
def _clearFailed(self, deferred, id):
try:
del self.liveMessages[id]
@@ -1229,12 +1229,3 @@
m.queries = queries
self.writeMessage(m)
return d
-
-
-# backwards compatability __implements__
-def _compat():
- import types
- for v in globals().values():
- if isinstance(v, (type, types.ClassType)) and v.__module__ == "twisted.names.dns":
- components.backwardsCompatImplements(v)
-_compat()
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/TwistedNames-0.2.0/twisted/names/hosts.py new/TwistedNames-0.3.0/twisted/names/hosts.py
--- old/TwistedNames-0.2.0/twisted/names/hosts.py 2004-08-25 10:36:30.000000000 +0200
+++ new/TwistedNames-0.3.0/twisted/names/hosts.py 2006-03-17 04:29:41.000000000 +0100
@@ -1,4 +1,3 @@
-
# Copyright (c) 2001-2004 Twisted Matrix Laboratories.
# See LICENSE for details.
@@ -6,7 +5,7 @@
from twisted.names import dns
from twisted.persisted import styles
from twisted.python import failure
-from twisted.internet import interfaces, defer
+from twisted.internet import defer
from twisted.names import common
@@ -41,7 +40,7 @@
self.typeToMethod = {}
for (k, v) in common.typeToMethod.items():
self.typeToMethod[k] = getattr(self, v)
-
+
def __init__(self, file='/etc/hosts', ttl = 60 * 60):
common.ResolverBase.__init__(self)
@@ -59,4 +58,4 @@
# When we put IPv6 support in, this'll need a real impl
- lookupAllRecords = lookupAddress
+ lookupAllRecords = lookupAddress
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/TwistedNames-0.2.0/twisted/names/resolve.py new/TwistedNames-0.3.0/twisted/names/resolve.py
--- old/TwistedNames-0.2.0/twisted/names/resolve.py 2005-08-21 15:31:20.000000000 +0200
+++ new/TwistedNames-0.3.0/twisted/names/resolve.py 2006-03-17 04:29:41.000000000 +0100
@@ -1,4 +1,3 @@
-
# Copyright (c) 2001-2004 Twisted Matrix Laboratories.
# See LICENSE for details.
@@ -35,7 +34,7 @@
class ResolverChain(common.ResolverBase):
"""Lookup an address using multiple C{IResolver}s"""
-
+
implements(interfaces.IResolver)
@@ -61,5 +60,3 @@
FailureHandler(r.lookupAllRecords, name, timeout)
)
return d
-
-components.backwardsCompatImplements(ResolverChain)
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/TwistedNames-0.2.0/twisted/names/root.py new/TwistedNames-0.3.0/twisted/names/root.py
--- old/TwistedNames-0.2.0/twisted/names/root.py 2005-02-26 21:40:50.000000000 +0100
+++ new/TwistedNames-0.3.0/twisted/names/root.py 2006-03-27 17:55:31.000000000 +0200
@@ -9,16 +9,17 @@
API Stability: Unstable
-@author U{Jp Calderone<mailto:exarkun@twistedmatrix.com>}
+@author: U{Jp Calderone<mailto:exarkun@twistedmatrix.com>}
-todo: robustify it
- break discoverAuthority into several smaller functions
- documentation
+todo::
+ robustify it
+ break discoverAuthority into several smaller functions
+ documentation
"""
from __future__ import generators
-import random
+import sys
from twisted.python import log
from twisted.internet import defer
@@ -53,10 +54,10 @@
).addCallback(self.discoveredAuthority, name, cls, type, timeout
)
return d
-
+
def discoveredAuthority(self, auth, name, cls, type, timeout):
from twisted.names import client
- q = dns.Query(name, cls, type)
+ q = dns.Query(name, type, cls)
r = client.Resolver(servers=[(auth, dns.PORT)])
d = r.queryUDP([q], timeout)
d.addCallback(r.filterAnswers)
@@ -89,7 +90,7 @@
def extractAuthority(msg, cache):
records = msg.answers + msg.authority + msg.additional
nameservers = [r for r in records if r.type == dns.NS]
-
+
# print 'Records for', soFar, ':', records
# print 'NS for', soFar, ':', nameservers
@@ -117,9 +118,9 @@
parts = host.rstrip('.').split('.')
parts.reverse()
-
+
authority = rootAuths.pop()
-
+
soFar = ''
for part in parts:
soFar = part + '.' + soFar
@@ -156,7 +157,7 @@
yield authority
discoverAuthority = defer.deferredGenerator(discoverAuthority)
-
+
def makePlaceholder(deferred, name):
def placeholder(*args, **kw):
deferred.addCallback(lambda r: getattr(r, name)(*args, **kw))
@@ -165,8 +166,8 @@
class DeferredResolver:
def __init__(self, resolverDeferred):
- resolverDeferred.addCallback(self.gotRealResolver)
self.waiting = []
+ resolverDeferred.addCallback(self.gotRealResolver)
def gotRealResolver(self, resolver):
w = self.waiting
@@ -183,13 +184,12 @@
def bootstrap(resolver):
"""Lookup the root nameserver addresses using the given resolver
-
+
Return a Resolver which will eventually become a C{root.Resolver}
instance that has references to all the root servers that we were able
to look up.
"""
domains = [chr(ord('a') + i) for i in range(13)]
- from twisted.python import log
# f = lambda r: (log.msg('Root server address: ' + str(r)), r)[1]
f = lambda r: r
L = [resolver.getHostByName('%s.root-servers.net' % d).addCallback(f) for d in domains]
@@ -198,8 +198,6 @@
return DeferredResolver(d)
if __name__ == '__main__':
- from twisted.python import log
- import sys
if len(sys.argv) < 2:
print 'Specify a domain'
else:
@@ -210,4 +208,3 @@
d.addCallbacks(log.msg, log.err).addBoth(lambda _: reactor.stop())
from twisted.internet import reactor
reactor.run()
-
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/TwistedNames-0.2.0/twisted/names/secondary.py new/TwistedNames-0.3.0/twisted/names/secondary.py
--- old/TwistedNames-0.2.0/twisted/names/secondary.py 2004-06-04 00:11:14.000000000 +0200
+++ new/TwistedNames-0.3.0/twisted/names/secondary.py 2006-03-17 04:29:41.000000000 +0100
@@ -1,10 +1,10 @@
-# -*- coding: Latin-1 -*-
+# Copyright (c) 2001-2006 Twisted Matrix Laboratories.
+# See LICENSE for details.
from twisted.internet import task, defer
from twisted.names import dns
from twisted.names import common
from twisted.names import client
-from twisted.names import server
from twisted.names import resolve
from twisted.python import log, failure
from twisted.application import service
@@ -69,7 +69,7 @@
def _lookup(self, name, cls, type, timeout=None):
if not self.soa or not self.records:
return defer.fail(failure.Failure(dns.DomainError(name)))
-
+
return FileAuthority.__dict__['_lookup'](self, name, cls, type, timeout)
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/TwistedNames-0.2.0/twisted/names/server.py new/TwistedNames-0.3.0/twisted/names/server.py
--- old/TwistedNames-0.2.0/twisted/names/server.py 2005-08-21 15:31:20.000000000 +0200
+++ new/TwistedNames-0.3.0/twisted/names/server.py 2006-03-17 04:29:41.000000000 +0100
@@ -8,11 +8,11 @@
API Stability: Unstable
-Future plans:
+Future plans:
- Better config file format maybe
- Make sure to differentiate between different classes
- - notice truncation bit
-
+ - notice truncation bit
+
Important: No additional processing is done on some of the record types.
This violates the most basic RFC and is just plain annoying
for resolvers to deal with. Fix it.
@@ -21,15 +21,14 @@
"""
from __future__ import nested_scopes
-import copy
import time
# Twisted imports
-from twisted.internet import protocol, defer
+from twisted.internet import protocol
from twisted.names import dns
-from twisted.python import failure, log
+from twisted.python import log
-import resolve, common
+import resolve
class DNSServerFactory(protocol.ServerFactory):
protocol = dns.DNSProtocol
@@ -76,7 +75,7 @@
protocol.writeMessage(message)
else:
protocol.writeMessage(message, address)
-
+
if self.verbose > 1:
log.msg("Processed query in %0.3f seconds" % (time.time() - message.timeReceived))
@@ -91,7 +90,7 @@
message.authority = auth
message.additional = add
self.sendReply(protocol, message, address)
-
+
l = len(ans) + len(auth) + len(add)
if self.verbose:
log.msg("Lookup found %d record%s" % (l, l != 1 and "s" or ""))
@@ -108,7 +107,7 @@
else:
message.rCode = dns.ESERVER
log.err(failure)
-
+
self.sendReply(protocol, message, address)
if self.verbose:
log.msg("Lookup failed")
@@ -118,7 +117,7 @@
# Discard all but the first query! HOO-AAH HOOOOO-AAAAH
# (no other servers implement multi-query messages, so we won't either)
query = message.queries[0]
-
+
return self.resolver.query(query).addCallback(
self.gotResolverResponse, protocol, message, address
).addErrback(
@@ -156,7 +155,7 @@
def messageReceived(self, message, proto, address = None):
message.timeReceived = time.time()
-
+
if self.verbose:
if self.verbose > 1:
s = ' '.join([str(q) for q in message.queries])
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/TwistedNames-0.2.0/twisted/names/srvconnect.py new/TwistedNames-0.3.0/twisted/names/srvconnect.py
--- old/TwistedNames-0.2.0/twisted/names/srvconnect.py 2004-11-21 01:50:28.000000000 +0100
+++ new/TwistedNames-0.3.0/twisted/names/srvconnect.py 2006-03-17 04:29:41.000000000 +0100
@@ -1,3 +1,6 @@
+# Copyright (c) 2001-2006 Twisted Matrix Laboratories.
+# See LICENSE for details.
+
import random
from zope.interface import implements
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/TwistedNames-0.2.0/twisted/names/test/test_cache.py new/TwistedNames-0.3.0/twisted/names/test/test_cache.py
--- old/TwistedNames-0.2.0/twisted/names/test/test_cache.py 1970-01-01 01:00:00.000000000 +0100
+++ new/TwistedNames-0.3.0/twisted/names/test/test_cache.py 2006-03-17 04:27:43.000000000 +0100
@@ -0,0 +1,14 @@
+# Copyright (c) 2006 Twisted Matrix Laboratories.
+# See LICENSE for details.
+
+import time
+
+from twisted.trial import unittest
+
+from twisted.names import dns, cache
+
+class Caching(unittest.TestCase):
+ def testLookup(self):
+ c = cache.CacheResolver({
+ dns.Query(name='example.com', type=dns.MX, cls=dns.IN): (time.time(), ([], [], []))})
+ return c.lookupMailExchange('example.com').addCallback(self.assertEquals, ([], [], []))
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/TwistedNames-0.2.0/twisted/names/test/test_dns.py new/TwistedNames-0.3.0/twisted/names/test/test_dns.py
--- old/TwistedNames-0.2.0/twisted/names/test/test_dns.py 2005-02-13 05:22:17.000000000 +0100
+++ new/TwistedNames-0.3.0/twisted/names/test/test_dns.py 2005-11-10 04:18:15.000000000 +0100
@@ -6,8 +6,6 @@
Tests for twisted.names.dns.
"""
-import socket
-
try:
from cStringIO import StringIO
except ImportError:
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/TwistedNames-0.2.0/twisted/names/test/test_names.py new/TwistedNames-0.3.0/twisted/names/test/test_names.py
--- old/TwistedNames-0.2.0/twisted/names/test/test_names.py 2005-04-17 16:35:29.000000000 +0200
+++ new/TwistedNames-0.3.0/twisted/names/test/test_names.py 2006-04-10 05:21:33.000000000 +0200
@@ -7,14 +7,13 @@
"""
from __future__ import nested_scopes
-import sys, socket, operator, copy
+import socket, operator, copy
+
from twisted.trial import unittest
-from twisted.trial.util import deferredResult as dR
-from twisted.trial.util import wait, spinWhile, spinUntil
-from twisted.internet import reactor, protocol, defer, error
+from twisted.internet import reactor, defer, error
from twisted.names import client, server, common, authority, hosts, dns
-from twisted.python import log, failure
+from twisted.python import failure
def justPayload(results):
return [r.payload for r in results[0]]
@@ -151,36 +150,39 @@
break
self.resolver = client.Resolver(servers=[('127.0.0.1', port)])
-
+
def tearDown(self):
self.listenerTCP.loseConnection()
- wait(defer.maybeDeferred(self.listenerUDP.stopListening))
- if getattr(self.resolver.protocol, 'transport', None) is not None:
- wait(defer.maybeDeferred(self.resolver.protocol.transport.stopListening))
- spinUntil(lambda :self.listenerUDP.disconnected and
- self.listenerTCP.disconnected)
-
+ d = defer.maybeDeferred(self.listenerUDP.stopListening)
+ def disconnectTransport(ignored):
+ if getattr(self.resolver.protocol, 'transport', None) is not None:
+ return self.resolver.protocol.transport.stopListening()
+ d.addCallback(disconnectTransport)
+ d.addCallback(lambda x : self.failUnless(
+ self.listenerUDP.disconnected
+ and self.listenerTCP.disconnected))
+ return d
+
def namesTest(self, d, r):
self.response = None
def setDone(response):
self.response = response
- d.addBoth(setDone)
-
- spinUntil(lambda :self.response)
- if isinstance(self.response, failure.Failure):
- raise self.response
-
- results = justPayload(self.response)
-
- assert len(results) == len(r), "%s != %s" % (map(str, results), map(str, r))
- for rec in results:
- assert rec in r, "%s not in %s" % (rec, map(str, r))
+ def checkResults(ignored):
+ if isinstance(self.response, failure.Failure):
+ raise self.response
+ results = justPayload(self.response)
+ assert len(results) == len(r), "%s != %s" % (map(str, results), map(str, r))
+ for rec in results:
+ assert rec in r, "%s not in %s" % (rec, map(str, r))
+ d.addBoth(setDone)
+ d.addCallback(checkResults)
+ return d
def testAddressRecord1(self):
"""Test simple DNS 'A' record queries"""
- self.namesTest(
+ return self.namesTest(
self.resolver.lookupAddress('test-domain.com'),
[dns.Record_A('127.0.0.1', ttl=19283784)]
)
@@ -188,7 +190,7 @@
def testAddressRecord2(self):
"""Test DNS 'A' record queries with multiple answers"""
- self.namesTest(
+ return self.namesTest(
self.resolver.lookupAddress('host.test-domain.com'),
[dns.Record_A('123.242.1.5', ttl=19283784), dns.Record_A('0.255.0.255', ttl=19283784)]
)
@@ -196,14 +198,14 @@
def testAdressRecord3(self):
"""Test DNS 'A' record queries with edge cases"""
- self.namesTest(
+ return self.namesTest(
self.resolver.lookupAddress('host-two.test-domain.com'),
[dns.Record_A('255.255.255.254', ttl=19283784), dns.Record_A('0.0.0.0', ttl=19283784)]
)
def testAuthority(self):
"""Test DNS 'SOA' record queries"""
- self.namesTest(
+ return self.namesTest(
self.resolver.lookupAuthority('test-domain.com'),
[soa_record]
)
@@ -211,7 +213,7 @@
def testMailExchangeRecord(self):
"""Test DNS 'MX' record queries"""
- self.namesTest(
+ return self.namesTest(
self.resolver.lookupMailExchange('test-domain.com'),
[dns.Record_MX(10, 'host.test-domain.com', ttl=19283784)]
)
@@ -219,7 +221,7 @@
def testNameserver(self):
"""Test DNS 'NS' record queries"""
- self.namesTest(
+ return self.namesTest(
self.resolver.lookupNameservers('test-domain.com'),
[dns.Record_NS('39.28.189.39', ttl=19283784)]
)
@@ -227,14 +229,14 @@
def testHINFO(self):
"""Test DNS 'HINFO' record queries"""
- self.namesTest(
+ return self.namesTest(
self.resolver.lookupHostInfo('test-domain.com'),
[dns.Record_HINFO(os='Linux', cpu='A Fast One, Dontcha know', ttl=19283784)]
)
def testPTR(self):
"""Test DNS 'PTR' record queries"""
- self.namesTest(
+ return self.namesTest(
self.resolver.lookupPointer('123.93.84.28.in-addr.arpa'),
[dns.Record_PTR('test.host-reverse.lookup.com', ttl=11193983)]
)
@@ -242,21 +244,21 @@
def testCNAME(self):
"""Test DNS 'CNAME' record queries"""
- self.namesTest(
+ return self.namesTest(
self.resolver.lookupCanonicalName('test-domain.com'),
[dns.Record_CNAME('canonical.name.com', ttl=19283784)]
)
def testCNAMEAdditional(self):
"""Test additional processing for CNAME records"""
- self.namesTest(
+ return self.namesTest(
self.resolver.lookupAddress('cname.test-domain.com'),
[dns.Record_CNAME('test-domain.com', ttl=19283784), dns.Record_A('127.0.0.1', ttl=19283784)]
)
def testMB(self):
"""Test DNS 'MB' record queries"""
- self.namesTest(
+ return self.namesTest(
self.resolver.lookupMailBox('test-domain.com'),
[dns.Record_MB('mailbox.test-domain.com', ttl=19283784)]
)
@@ -264,7 +266,7 @@
def testMG(self):
"""Test DNS 'MG' record queries"""
- self.namesTest(
+ return self.namesTest(
self.resolver.lookupMailGroup('test-domain.com'),
[dns.Record_MG('mail.group.someplace', ttl=19283784)]
)
@@ -272,7 +274,7 @@
def testMR(self):
"""Test DNS 'MR' record queries"""
- self.namesTest(
+ return self.namesTest(
self.resolver.lookupMailRename('test-domain.com'),
[dns.Record_MR('mail.redirect.or.whatever', ttl=19283784)]
)
@@ -280,7 +282,7 @@
def testMINFO(self):
"""Test DNS 'MINFO' record queries"""
- self.namesTest(
+ return self.namesTest(
self.resolver.lookupMailboxInfo('test-domain.com'),
[dns.Record_MINFO(rmailbx='r mail box', emailbx='e mail box', ttl=19283784)]
)
@@ -288,14 +290,14 @@
def testSRV(self):
"""Test DNS 'SRV' record queries"""
- self.namesTest(
+ return self.namesTest(
self.resolver.lookupService('http.tcp.test-domain.com'),
[dns.Record_SRV(257, 16383, 43690, 'some.other.place.fool', ttl=19283784)]
)
def testAFSDB(self):
"""Test DNS 'AFSDB' record queries"""
- self.namesTest(
+ return self.namesTest(
self.resolver.lookupAFSDatabase('test-domain.com'),
[dns.Record_AFSDB(subtype=1, hostname='afsdb.test-domain.com', ttl=19283784)]
)
@@ -303,7 +305,7 @@
def testRP(self):
"""Test DNS 'RP' record queries"""
- self.namesTest(
+ return self.namesTest(
self.resolver.lookupResponsibility('test-domain.com'),
[dns.Record_RP(mbox='whatever.i.dunno', txt='some.more.text', ttl=19283784)]
)
@@ -311,7 +313,7 @@
def testTXT(self):
"""Test DNS 'TXT' record queries"""
- self.namesTest(
+ return self.namesTest(
self.resolver.lookupText('test-domain.com'),
[dns.Record_TXT('A First piece of Text', 'a SecoNd piece', ttl=19283784),
dns.Record_TXT('Some more text, haha! Yes. \0 Still here?', ttl=19283784)]
@@ -320,7 +322,7 @@
def testWKS(self):
"""Test DNS 'WKS' record queries"""
- self.namesTest(
+ return self.namesTest(
self.resolver.lookupWellKnownServices('test-domain.com'),
[dns.Record_WKS('12.54.78.12', socket.IPPROTO_TCP, '\x12\x01\x16\xfe\xc1\x00\x01', ttl=19283784)]
)
@@ -329,7 +331,7 @@
def testSomeRecordsWithTTLs(self):
result_soa = copy.copy(my_soa)
result_soa.ttl = my_soa.expire
- self.namesTest(
+ return self.namesTest(
self.resolver.lookupAllRecords('my-domain.com'),
[result_soa,
dns.Record_A('1.2.3.4', ttl='1S'),
@@ -341,14 +343,14 @@
def testAAAA(self):
"""Test DNS 'AAAA' record queries (IPv6)"""
- self.namesTest(
+ return self.namesTest(
self.resolver.lookupIPV6Address('test-domain.com'),
[dns.Record_AAAA('AF43:5634:1294:AFCB:56AC:48EF:34C3:01FF', ttl=19283784)]
)
def testA6(self):
"""Test DNS 'A6' record queries (IPv6)"""
- self.namesTest(
+ return self.namesTest(
self.resolver.lookupAddress6('test-domain.com'),
[dns.Record_A6(0, 'ABCD::4321', '', ttl=19283784),
dns.Record_A6(12, '0:0069::0', 'some.network.tld', ttl=19283784),
@@ -363,14 +365,14 @@
for r in results:
if r.ttl is None:
r.ttl = default_ttl
- self.namesTest(
+ return self.namesTest(
self.resolver.lookupZone('test-domain.com').addCallback(lambda r: (r[0][:-1],)),
results
)
def testSimilarZonesDontInterfere(self):
"""Tests that unrelated zones don't mess with each other."""
- self.namesTest(
+ return self.namesTest(
self.resolver.lookupAddress("anothertest-domain.com"),
[dns.Record_A('1.2.3.4', ttl=19283784)]
)
@@ -456,37 +458,37 @@
('EXAMPLE.EXAMPLETHING', '1.1.1.1'),
('HOOJY', '1.1.1.2'),
]
-
- for name, ip in data:
- self.assertEquals(
- wait(self.resolver.getHostByName(name)),
- ip)
+ ds = [self.resolver.getHostByName(n).addCallback(self.assertEqual, ip)
+ for n, ip in data]
+ return defer.gatherResults(ds)
def testLookupAddress(self):
- stuff = wait(self.resolver.lookupAddress('HOOJY'))
- self.assertEquals(stuff[0][0].payload.dottedQuad(), '1.1.1.2')
+ d = self.resolver.lookupAddress('HOOJY')
+ d.addCallback(lambda x: self.assertEqual(x[0][0].payload.dottedQuad(),
+ '1.1.1.2'))
+ return d
def testIPv6(self):
- self.assertEquals(
- wait(self.resolver.lookupIPV6Address('ip6thingy')),
- '::1') #???
+ d = self.resolver.lookupIPV6Address('ip6thingy')
+ d.addCallback(self.assertEqual, '::1')
+ return d
testIPv6.skip = 'IPv6 support is not in our hosts resolver yet'
def testNotImplemented(self):
- self.assertRaises(
- NotImplementedError,
- lambda: wait(self.resolver.lookupMailExchange('EXAMPLE')))
+ return self.assertFailure(self.resolver.lookupMailExchange('EXAMPLE'),
+ NotImplementedError)
def testQuery(self):
- self.assertEquals(
- wait(self.resolver.query(dns.Query('EXAMPLE')))[0][0].payload.dottedQuad(),
- '1.1.1.1')
+ d = self.resolver.query(dns.Query('EXAMPLE'))
+ d.addCallback(lambda x: self.assertEqual(x[0][0].payload.dottedQuad(),
+ '1.1.1.1'))
+ return d
def testNotFound(self):
- self.assertRaises(
- dns.DomainError,
- wait, self.resolver.lookupAddress('foueoa'))
+ return self.assertFailure(self.resolver.lookupAddress('foueoa'),
+ dns.DomainError)
+
class FakeDNSDatagramProtocol(object):
transport = object()
@@ -547,7 +549,7 @@
r = client.Resolver(resolv=resolvConf)
self.assertEquals(r.dynServers, [('127.0.0.1', 53)])
r._parseCall.cancel()
-
+
def testEmpty(self):
resolvConf = self.mktemp()
fObj = file(resolvConf, 'w')
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/TwistedNames-0.2.0/twisted/names/test/test_rootresolve.py new/TwistedNames-0.3.0/twisted/names/test/test_rootresolve.py
--- old/TwistedNames-0.2.0/twisted/names/test/test_rootresolve.py 2005-02-26 21:40:50.000000000 +0100
+++ new/TwistedNames-0.3.0/twisted/names/test/test_rootresolve.py 2005-11-10 04:18:15.000000000 +0100
@@ -7,8 +7,6 @@
Test cases for Twisted.names' root resolver.
"""
-from twisted.internet import defer
-from twisted.names import root, dns
from twisted.trial import unittest
class RootResolverTestCase(unittest.TestCase):
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Remember to have fun...
---------------------------------------------------------------------
To unsubscribe, e-mail: opensuse-commit+unsubscribe(a)opensuse.org
For additional commands, e-mail: opensuse-commit+help(a)opensuse.org
1
0
Hello community,
here is the log from the commit of package python-twisted-mail
checked in at Thu Oct 26 21:07:06 CEST 2006.
--------
--- python-twisted-mail/python-twisted-mail.changes 2006-02-28 16:46:03.000000000 +0100
+++ /mounts/work_src_done/STABLE/python-twisted-mail/python-twisted-mail.changes 2006-10-26 18:33:30.000000000 +0200
@@ -1,0 +2,8 @@
+Thu Oct 26 18:32:37 CEST 2006 - jmatejek(a)suse.cz
+
+- update to 0.3.0
+ - upgrade to Twisted 2.4 install system
+ - support for Deferred results from POP3 message listing
+ - better support for IMAP4
+
+-------------------------------------------------------------------
Old:
----
TwistedMail-0.2.0.tar.bz2
New:
----
TwistedMail-0.3.0.tar.bz2
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-twisted-mail.spec ++++++
--- /var/tmp/diff_new_pack.3gvY6f/_old 2006-10-26 21:07:03.000000000 +0200
+++ /var/tmp/diff_new_pack.3gvY6f/_new 2006-10-26 21:07:03.000000000 +0200
@@ -1,5 +1,5 @@
#
-# spec file for package python-twisted-mail (Version 0.2.0)
+# spec file for package python-twisted-mail (Version 0.3.0)
#
# Copyright (c) 2006 SUSE LINUX Products GmbH, Nuernberg, Germany.
# This file and all modifications and additions to the pristine
@@ -13,13 +13,13 @@
Name: python-twisted-mail
BuildRequires: python-devel python-twisted
Summary: Twisted Mail
-Version: 0.2.0
-Release: 5
+Version: 0.3.0
+Release: 1
%define tarname TwistedMail
Source: %{tarname}-%{version}.tar.bz2
License: X11/MIT
Group: Development/Languages/Python
-URL: http://twistedmatrix.com/projects/mail/
+URL: http://twistedmatrix.com/trac/wiki/TwistedMail
BuildRoot: %{_tmppath}/%{name}-%{version}-build
Requires: python-twisted
%{py_requires}
@@ -55,6 +55,11 @@
%doc LICENSE README NEWS
%changelog -n python-twisted-mail
+* Thu Oct 26 2006 - jmatejek(a)suse.cz
+- update to 0.3.0
+ - upgrade to Twisted 2.4 install system
+ - support for Deferred results from POP3 message listing
+ - better support for IMAP4
* Tue Feb 28 2006 - jmatejek(a)suse.cz
- updated to reflect python changes due to #149809
* Wed Jan 25 2006 - mls(a)suse.de
++++++ TwistedMail-0.2.0.tar.bz2 -> TwistedMail-0.3.0.tar.bz2 ++++++
++++ 3411 lines of diff (skipped)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Remember to have fun...
---------------------------------------------------------------------
To unsubscribe, e-mail: opensuse-commit+unsubscribe(a)opensuse.org
For additional commands, e-mail: opensuse-commit+help(a)opensuse.org
1
0
Hello community,
here is the log from the commit of package python-twisted-lore
checked in at Thu Oct 26 21:06:56 CEST 2006.
--------
--- python-twisted-lore/python-twisted-lore.changes 2006-02-28 16:46:03.000000000 +0100
+++ /mounts/work_src_done/STABLE/python-twisted-lore/python-twisted-lore.changes 2006-10-26 18:31:34.000000000 +0200
@@ -1,0 +2,9 @@
+Thu Oct 26 18:30:06 CEST 2006 - jmatejek(a)suse.cz
+
+- update to 0.2.0
+ - upgrade to Twisted 2.4 install system
+ - improved docstrings
+ - embedded Dia support for LaTeX no longer needs 'which'
+ - problematic bookify functionality removed
+
+-------------------------------------------------------------------
Old:
----
TwistedLore-0.1.0.tar.bz2
New:
----
TwistedLore-0.2.0.tar.bz2
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-twisted-lore.spec ++++++
--- /var/tmp/diff_new_pack.IoEJ3v/_old 2006-10-26 21:06:52.000000000 +0200
+++ /var/tmp/diff_new_pack.IoEJ3v/_new 2006-10-26 21:06:52.000000000 +0200
@@ -1,5 +1,5 @@
#
-# spec file for package python-twisted-lore (Version 0.1.0)
+# spec file for package python-twisted-lore (Version 0.2.0)
#
# Copyright (c) 2006 SUSE LINUX Products GmbH, Nuernberg, Germany.
# This file and all modifications and additions to the pristine
@@ -13,13 +13,13 @@
Name: python-twisted-lore
BuildRequires: python-devel python-twisted
Summary: Twisted Lore
-Version: 0.1.0
-Release: 6
+Version: 0.2.0
+Release: 1
%define tarname TwistedLore
Source: %{tarname}-%{version}.tar.bz2
License: X11/MIT
Group: Development/Languages/Python
-URL: http://twistedmatrix.com/projects/lore/
+URL: http://twistedmatrix.com/trac/wiki/TwistedLore
BuildRoot: %{_tmppath}/%{name}-%{version}-build
Requires: python-twisted
%{py_requires}
@@ -51,6 +51,12 @@
%doc LICENSE README NEWS
%changelog -n python-twisted-lore
+* Thu Oct 26 2006 - jmatejek(a)suse.cz
+- update to 0.2.0
+ - upgrade to Twisted 2.4 install system
+ - improved docstrings
+ - embedded Dia support for LaTeX no longer needs 'which'
+ - problematic bookify functionality removed
* Tue Feb 28 2006 - jmatejek(a)suse.cz
- updated to reflect python changes due to #149809
* Wed Jan 25 2006 - mls(a)suse.de
++++++ TwistedLore-0.1.0.tar.bz2 -> TwistedLore-0.2.0.tar.bz2 ++++++
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/TwistedLore-0.1.0/LICENSE new/TwistedLore-0.2.0/LICENSE
--- old/TwistedLore-0.1.0/LICENSE 2005-02-12 00:28:49.000000000 +0100
+++ new/TwistedLore-0.2.0/LICENSE 2006-04-18 04:43:54.000000000 +0200
@@ -1,11 +1,13 @@
-
-Copyright (c) 2004
+Copyright (c) 2001-2006
Allen Short
Andrew Bennetts
+Apple Computer, Inc.
Benjamin Bruheim
Bob Ippolito
+Canonical Limited
Christopher Armstrong
Donovan Preston
+Eric Mangold
Itamar Shtull-Trauring
James Knight
Jason A. Mobarak
@@ -20,11 +22,10 @@
Moshe Zadka
Paul Swartz
Pavel Pergamenshchik
+Ralph Meijer
Sean Riley
Travis B. Hartwell
-except as noted at the end of this file.
-
Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
"Software"), to deal in the Software without restriction, including
@@ -43,7 +44,3 @@
LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
-
-
-Copyright Exceptions:
-
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/TwistedLore-0.1.0/NEWS new/TwistedLore-0.2.0/NEWS
--- old/TwistedLore-0.1.0/NEWS 2005-03-12 07:56:04.000000000 +0100
+++ new/TwistedLore-0.2.0/NEWS 2006-05-24 16:52:43.000000000 +0200
@@ -1,3 +1,23 @@
-0.1.0:
+0.2.0 (2006-05-24)
+==================
+
+Features
+--------
+ - Docstring improvements.
+
+Fixes
+-----
+ - Embedded Dia support for Latex no longer requires the 'which'
+ command line tool.
+ - Misc: #1142.
+
+Deprecations
+------------
+ - The unused, undocumented, untested and severely crashy 'bookify'
+ functionality was removed.
+
+
+0.1.0
+=====
- Use htmlizer mode that doesn't insert extra span tags, thus making
it not mess up in Safari.
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/TwistedLore-0.1.0/README new/TwistedLore-0.2.0/README
--- old/TwistedLore-0.1.0/README 2005-03-22 12:14:00.000000000 +0100
+++ new/TwistedLore-0.2.0/README 2006-05-23 14:57:55.000000000 +0200
@@ -1,5 +1,3 @@
-Twisted Lore 0.1.0
-
-Lore was recently split out of Twisted.
+Twisted Lore 0.2.0
Twisted Lore depends on Twisted and Twisted Web.
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/TwistedLore-0.1.0/doc/examples/index.html new/TwistedLore-0.2.0/doc/examples/index.html
--- old/TwistedLore-0.1.0/doc/examples/index.html 2005-03-22 12:13:37.000000000 +0100
+++ new/TwistedLore-0.2.0/doc/examples/index.html 2006-05-25 03:09:00.000000000 +0200
@@ -1,2 +1,2 @@
<?xml version="1.0"?><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
- "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html xmlns="http://www.w3.org/1999/xhtml" lang="en"><head><title>Twisted Documentation: Twisted Lore examples</title><link href="../howto/stylesheet.css" type="text/css" rel="stylesheet" /></head><body bgcolor="white"><h1 class="title">Twisted Lore examples</h1><div class="toc"><ol></ol></div><div class="content"><span></span><ul><li><a href="example.html">example.html</a></li><li><a href="slides-template.tpl">slides-template.tpl</a></li></ul></div><p><a href="../howto/index.html">Index</a></p><span class="version">Version: 0.1.0</span></body></html>
\ No newline at end of file
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html xmlns="http://www.w3.org/1999/xhtml" lang="en"><head><title>Twisted Documentation: Twisted Lore examples</title><link href="../howto/stylesheet.css" type="text/css" rel="stylesheet" /></head><body bgcolor="white"><h1 class="title">Twisted Lore examples</h1><div class="toc"><ol></ol></div><div class="content"><span></span><ul><li><a href="example.html">example.html</a></li><li><a href="slides-template.tpl">slides-template.tpl</a></li></ul></div><p><a href="../howto/index.html">Index</a></p><span class="version">Version: 0.2.0</span></body></html>
\ No newline at end of file
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/TwistedLore-0.1.0/doc/howto/extend-lore.html new/TwistedLore-0.2.0/doc/howto/extend-lore.html
--- old/TwistedLore-0.1.0/doc/howto/extend-lore.html 2005-03-22 12:13:35.000000000 +0100
+++ new/TwistedLore-0.2.0/doc/howto/extend-lore.html 2006-05-25 03:08:57.000000000 +0200
@@ -233,4 +233,4 @@
<span class="py-src-keyword">class</span> <span class="py-src-identifier">MyChapterLatexSpitter</span>(<span class="py-src-parameter">MySpitterMixin</span>, <span class="py-src-parameter">latex</span>.<span class="py-src-parameter">ChapterLatexSpitter</span>):
<span class="py-src-keyword">pass</span>
-</pre><div class="caption">spitters.py - <a href="listings/lore/spitters.py-2"><span class="filename">listings/lore/spitters.py-2</span></a></div></div></li></ul><h3>Creating New Outputs<a name="auto3"></a></h3><p><div class="doit">write some stuff</div></p><h2>Other Uses for Lore Extensions<a name="auto4"></a></h2><p><div class="doit">write some stuff</div></p><h3>Color-Code Programming Languages<a name="auto5"></a></h3><p><div class="doit">write some stuff</div></p><h3>Add New Structural Elements<a name="auto6"></a></h3><p><div class="doit">write some stuff</div></p><h3>Support New File Formats<a name="auto7"></a></h3><p><div class="doit">write some stuff</div></p></div><p><a href="../howto/index.html">Index</a></p><span class="version">Version: 0.1.0</span></body></html>
\ No newline at end of file
+</pre><div class="caption">spitters.py - <a href="listings/lore/spitters.py-2"><span class="filename">listings/lore/spitters.py-2</span></a></div></div></li></ul><h3>Creating New Outputs<a name="auto3"></a></h3><p><div class="doit">write some stuff</div></p><h2>Other Uses for Lore Extensions<a name="auto4"></a></h2><p><div class="doit">write some stuff</div></p><h3>Color-Code Programming Languages<a name="auto5"></a></h3><p><div class="doit">write some stuff</div></p><h3>Add New Structural Elements<a name="auto6"></a></h3><p><div class="doit">write some stuff</div></p><h3>Support New File Formats<a name="auto7"></a></h3><p><div class="doit">write some stuff</div></p></div><p><a href="../howto/index.html">Index</a></p><span class="version">Version: 0.2.0</span></body></html>
\ No newline at end of file
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/TwistedLore-0.1.0/doc/howto/index.html new/TwistedLore-0.2.0/doc/howto/index.html
--- old/TwistedLore-0.1.0/doc/howto/index.html 2005-03-22 12:13:35.000000000 +0100
+++ new/TwistedLore-0.2.0/doc/howto/index.html 2006-05-25 03:08:57.000000000 +0200
@@ -1,2 +1,2 @@
<?xml version="1.0"?><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
- "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html xmlns="http://www.w3.org/1999/xhtml" lang="en"><head><title>Twisted Documentation: Twisted Lore Documentation</title><link href="../howto/stylesheet.css" type="text/css" rel="stylesheet" /></head><body bgcolor="white"><h1 class="title">Twisted Lore Documentation</h1><div class="toc"><ol></ol></div><div class="content"><span></span><ul class="toc"><li><a href="lore.html">Lore documentation system</a></li><li><a href="extend-lore.html">Extending Lore</a></li></ul></div><p><a href="../howto/index.html">Index</a></p><span class="version">Version: 0.1.0</span></body></html>
\ No newline at end of file
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html xmlns="http://www.w3.org/1999/xhtml" lang="en"><head><title>Twisted Documentation: Twisted Lore Documentation</title><link href="../howto/stylesheet.css" type="text/css" rel="stylesheet" /></head><body bgcolor="white"><h1 class="title">Twisted Lore Documentation</h1><div class="toc"><ol></ol></div><div class="content"><span></span><ul class="toc"><li><a href="lore.html">Lore documentation system</a></li><li><a href="extend-lore.html">Extending Lore</a></li></ul></div><p><a href="../howto/index.html">Index</a></p><span class="version">Version: 0.2.0</span></body></html>
\ No newline at end of file
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/TwistedLore-0.1.0/doc/howto/lore.html new/TwistedLore-0.2.0/doc/howto/lore.html
--- old/TwistedLore-0.1.0/doc/howto/lore.html 2005-03-22 12:13:36.000000000 +0100
+++ new/TwistedLore-0.2.0/doc/howto/lore.html 2006-05-25 03:08:59.000000000 +0200
@@ -133,4 +133,4 @@
</pre><p>This will generate compiler-style (file:line:column:message) warnings.
It is possible to integrate these warnings into a smart editor such as
EMACS, but it has not been done yet.</p><h2>Footnotes</h2><ol><li><a name="footnote-1"><span xmlns="http://www.w3.org/1999/xhtml" class="footnote">See also the
-<code>admin/process-docs</code> script.</span></a></li></ol></div><p><a href="../howto/index.html">Index</a></p><span class="version">Version: 0.1.0</span></body></html>
\ No newline at end of file
+<code>admin/process-docs</code> script.</span></a></li></ol></div><p><a href="../howto/index.html">Index</a></p><span class="version">Version: 0.2.0</span></body></html>
\ No newline at end of file
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/TwistedLore-0.1.0/doc/man/lore.1 new/TwistedLore-0.2.0/doc/man/lore.1
--- old/TwistedLore-0.1.0/doc/man/lore.1 2004-07-30 14:01:15.000000000 +0200
+++ new/TwistedLore-0.2.0/doc/man/lore.1 2005-10-08 08:02:05.000000000 +0200
@@ -49,7 +49,7 @@
.SH AUTHOR
Written by Moshe Zadka
.SH "REPORTING BUGS"
-Report bugs to <twisted-python(a)twistedmatrix.com>.
+To report a bug, visit \fIhttp://twistedmatrix.com/bugs/\fR
.SH COPYRIGHT
Copyright \(co 2003 Matthew W. Lefkowitz
.br
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/TwistedLore-0.1.0/setup.py new/TwistedLore-0.2.0/setup.py
--- old/TwistedLore-0.1.0/setup.py 2005-03-22 12:14:00.000000000 +0100
+++ new/TwistedLore-0.2.0/setup.py 2006-05-13 21:26:09.000000000 +0200
@@ -1,6 +1,11 @@
import sys
-from twisted.python import dist
+try:
+ from twisted.python import dist
+except ImportError:
+ raise SystemExit("twisted.python.dist module not found. Make sure you "
+ "have installed the Twisted core package before "
+ "attempting to install any other Twisted projects.")
if __name__ == '__main__':
dist.setup(
@@ -8,13 +13,12 @@
scripts=dist.getScripts("lore"),
# metadata
name="Twisted Lore",
- version="0.1.0",
description="Twisted documentation system",
author="Twisted Matrix Laboratories",
author_email="twisted-python(a)twistedmatrix.com",
maintainer="Andrew Bennetts",
maintainer_email="spiv(a)twistedmatrix.com",
- url="http://twistedmatrix.com/projects/lore/",
+ url="http://twistedmatrix.com/trac/wiki/TwistedLore",
license="MIT",
long_description="""\
Twisted Lore is a documentation generator with HTML and LaTeX support,
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/TwistedLore-0.1.0/twisted/lore/__init__.py new/TwistedLore-0.2.0/twisted/lore/__init__.py
--- old/TwistedLore-0.1.0/twisted/lore/__init__.py 2005-03-22 12:14:00.000000000 +0100
+++ new/TwistedLore-0.2.0/twisted/lore/__init__.py 2006-05-25 03:09:00.000000000 +0200
@@ -5,7 +5,7 @@
'''
The Twisted Documentation Generation System
-Maintainer: U{Andrew Bennetts<spiv(a)twistedmatrix.com>}
+Maintainer: U{Andrew Bennetts<mailto:spiv@twistedmatrix.com>}
'''
# TODO
@@ -17,4 +17,5 @@
# Numbered headers
# Navigational aides
-__version__ = '0.1.0'
+from twisted.lore._version import version
+__version__ = version.short()
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/TwistedLore-0.1.0/twisted/lore/_version.py new/TwistedLore-0.2.0/twisted/lore/_version.py
--- old/TwistedLore-0.1.0/twisted/lore/_version.py 1970-01-01 01:00:00.000000000 +0100
+++ new/TwistedLore-0.2.0/twisted/lore/_version.py 2006-05-23 14:57:55.000000000 +0200
@@ -0,0 +1,3 @@
+# This is an auto-generated file. Use admin/change-versions to update.
+from twisted.python import versions
+version = versions.Version(__name__[:__name__.rfind('.')], 0, 2, 0)
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/TwistedLore-0.1.0/twisted/lore/book.py new/TwistedLore-0.2.0/twisted/lore/book.py
--- old/TwistedLore-0.1.0/twisted/lore/book.py 2004-08-25 10:36:30.000000000 +0200
+++ new/TwistedLore-0.2.0/twisted/lore/book.py 1970-01-01 01:00:00.000000000 +0100
@@ -1,54 +0,0 @@
-# Copyright (c) 2001-2004 Twisted Matrix Laboratories.
-# See LICENSE for details.
-
-#
-from twisted.web import microdom, domhelpers
-import os
-
-def makeBook(dom, d):
- body = microdom.Element('body')
- body.appendChild(domhelpers.findNodesNamed(dom, 'h1')[0])
- toc = domhelpers.findElementsWithAttribute(dom, 'class', 'toc')[0]
- toc = domhelpers.findNodesNamed(toc, 'li')
- for node in toc:
- if (node.hasAttribute('class') and
- node.getAttribute('class')=='tocignore'):
- continue
- parents = domhelpers.getParents(node)
- nodeLevel = len([1 for parent in parents if hasattr(parent, 'tagName')
- and parent.tagName in ('ol', 'ul')])
- data = node.childNodes[0].data != ''
- if not data:
- node = node.childNodes[1]
- newNode = lowerDocument(node.getAttribute('href'), d, nodeLevel)
- for child in newNode.childNodes:
- body.appendChild(child)
- else:
- text = microdom.Text(node.childNodes[0].data)
- newNode = microdom.Element('h'+str(nodeLevel))
- newNode.appendChild(text)
- body.appendChild(newNode)
- origBody = domhelpers.findNodesNamed(dom, 'body')[0]
- origBody.parentNode.replaceChild(body, origBody)
-
-def lowerDocument(href, d, nodeLevel):
- newNode = microdom.parse(open(os.path.join(d, href)))
- newNode = domhelpers.findNodesNamed(newNode, 'body')[0]
- headers = domhelpers.findElements(newNode,
- lambda x: len(x.tagName)==2 and x.tagName[0]=='h' and
- x.tagName[1] in '123456')
- for header in headers:
- header.tagName = 'h'+str(int(header.tagName[1])+nodeLevel)
- return newNode
-
-def doFile(infile, outfile):
- dom = microdom.parse(open(infile))
- dir = os.path.dirname(infile)
- makeBook(dom, dir)
- outfile = open(outfile, 'w')
- dom.writexml(outfile)
- outfile.close()
-
-if __name__ == '__main__':
- import sys
- doFile(sys.argv[1], sys.argv[2])
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/TwistedLore-0.1.0/twisted/lore/latex.py new/TwistedLore-0.2.0/twisted/lore/latex.py
--- old/TwistedLore-0.1.0/twisted/lore/latex.py 2004-08-25 10:36:30.000000000 +0200
+++ new/TwistedLore-0.2.0/twisted/lore/latex.py 2005-05-31 04:24:03.000000000 +0200
@@ -4,7 +4,7 @@
#
from twisted.web import microdom, domhelpers
-from twisted.python import text
+from twisted.python import text, procutils
import os, os.path, re, string
from cStringIO import StringIO
@@ -103,11 +103,7 @@
class LatexSpitter(BaseLatexSpitter):
baseLevel = 0
- try:
- diaHack = not not os.popen('which dia').read()
- except:
- # That's a no, then.
- diaHack = 0
+ diaHack = bool(procutils.which("dia"))
def writeNodeData(self, node):
buf = StringIO()
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/TwistedLore-0.1.0/twisted/lore/lint.py new/TwistedLore-0.2.0/twisted/lore/lint.py
--- old/TwistedLore-0.1.0/twisted/lore/lint.py 2004-08-25 10:36:30.000000000 +0200
+++ new/TwistedLore-0.2.0/twisted/lore/lint.py 2005-04-24 06:01:06.000000000 +0200
@@ -87,6 +87,10 @@
def check_80_columns(self, dom, filename):
for node in domhelpers.findNodesNamed(dom, 'pre'):
+ # the ps/pdf output is in a font that cuts off at 80 characters,
+ # so this is enforced to make sure the interesting parts (which
+ # are likely to be on the right-hand edge) stay on the printed
+ # page.
for line in domhelpers.gatherTextNodes(node, 1).split('\n'):
if len(line.rstrip()) > 80:
self._reportError(filename, node,
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/TwistedLore-0.1.0/twisted/lore/nevowlore.py new/TwistedLore-0.2.0/twisted/lore/nevowlore.py
--- old/TwistedLore-0.1.0/twisted/lore/nevowlore.py 2004-08-25 10:36:30.000000000 +0200
+++ new/TwistedLore-0.2.0/twisted/lore/nevowlore.py 2006-04-10 05:21:33.000000000 +0200
@@ -4,9 +4,13 @@
#
"""
-Nevow support for lore.
+Nevow support for lore. DEPRECATED.
-Do something like:
+Don't use this module, it will be removed in the release of Twisted
+after 2.3. If you want static templating with Nevow, instantiate a
+rend.Page() and call renderString (or renderSynchronously) yourself.
+
+Do something like::
lore -inevow --config pageclass=some.module.SomePageSubclass [other-opts]
@@ -16,6 +20,11 @@
"""
+import warnings
+warnings.warn("twisted.lore.nevowlore is deprecated. Please instantiate "
+ "rend.Page and call renderString or renderSynchronously "
+ "yourself.", DeprecationWarning, stacklevel=2)
+
import os
from twisted.web import microdom
@@ -40,6 +49,17 @@
except IOError, e:
raise process.ProcessingFailure(e.strerror)
+def ____wait(d):
+ "."
+ from twisted.internet import reactor
+ from twisted.python import failure
+ l = []
+ d.addBoth(l.append)
+ while not l:
+ reactor.iterate()
+ if isinstance(l[0], failure.Failure):
+ l[0].raiseException()
+ return l[0]
def nevowify(filename, linkrel, ext, url, templ, options=None, outfileGenerator=tree.getOutputFileName):
if options is None:
@@ -48,8 +68,7 @@
pclass = reflect.namedObject(pclass)
page = pclass(docFactory=loaders.htmlfile(filename))
s = page.renderString()
- from twisted.trial.util import wait
- s = wait(s)
+ s = ____wait(s)
newFilename = outfileGenerator(filename, ext)
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/TwistedLore-0.1.0/twisted/lore/process.py new/TwistedLore-0.2.0/twisted/lore/process.py
--- old/TwistedLore-0.1.0/twisted/lore/process.py 2004-08-25 10:36:30.000000000 +0200
+++ new/TwistedLore-0.2.0/twisted/lore/process.py 2005-04-12 21:32:57.000000000 +0200
@@ -1,4 +1,4 @@
-# -*- test-case-name: twisted.test.test_lore -*-
+# -*- test-case-name: twisted.lore.test.test_lore -*-
# Copyright (c) 2001-2004 Twisted Matrix Laboratories.
# See LICENSE for details.
Binary files old/TwistedLore-0.1.0/twisted/lore/scripts/__init__.pyc and new/TwistedLore-0.2.0/twisted/lore/scripts/__init__.pyc differ
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/TwistedLore-0.1.0/twisted/lore/scripts/bookify.py new/TwistedLore-0.2.0/twisted/lore/scripts/bookify.py
--- old/TwistedLore-0.1.0/twisted/lore/scripts/bookify.py 2004-08-25 10:36:30.000000000 +0200
+++ new/TwistedLore-0.2.0/twisted/lore/scripts/bookify.py 1970-01-01 01:00:00.000000000 +0100
@@ -1,14 +0,0 @@
-# Copyright (c) 2001-2004 Twisted Matrix Laboratories.
-# See LICENSE for details.
-
-#
-
-from twisted.lore import book
-import sys
-
-def run():
- book.doFile(sys.argv[1], sys.argv[2])
-
-if __name__ == '__main__':
- run()
-
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/TwistedLore-0.1.0/twisted/lore/scripts/lore.py new/TwistedLore-0.2.0/twisted/lore/scripts/lore.py
--- old/TwistedLore-0.1.0/twisted/lore/scripts/lore.py 2005-03-22 08:24:47.000000000 +0100
+++ new/TwistedLore-0.2.0/twisted/lore/scripts/lore.py 2005-04-16 23:39:10.000000000 +0200
@@ -64,7 +64,7 @@
module = plug.load()
break
else:
- plugins = newplugin.getPlugIns(IProcessor)
+ plugins = newplugin.getPlugins(IProcessor)
for plug in plugins:
if plug.name == input:
module = reflect.namedModule(plug.moduleName)
Binary files old/TwistedLore-0.1.0/twisted/lore/scripts/lore.pyc and new/TwistedLore-0.2.0/twisted/lore/scripts/lore.pyc differ
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/TwistedLore-0.1.0/twisted/plugins/twisted_lore.py new/TwistedLore-0.2.0/twisted/plugins/twisted_lore.py
--- old/TwistedLore-0.1.0/twisted/plugins/twisted_lore.py 2005-03-13 10:10:38.000000000 +0100
+++ new/TwistedLore-0.2.0/twisted/plugins/twisted_lore.py 2006-03-12 21:59:12.000000000 +0100
@@ -1,6 +1,5 @@
from zope.interface import implements
-from twisted.python.components import backwardsCompatImplements
from twisted.lore.scripts.lore import IProcessor
from twisted.plugin import IPlugin
@@ -12,7 +11,6 @@
self.name = name
self.moduleName = moduleName
self.description = description
-backwardsCompatImplements(_LorePlugin)
DefaultProcessor = _LorePlugin(
"lore",
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Remember to have fun...
---------------------------------------------------------------------
To unsubscribe, e-mail: opensuse-commit+unsubscribe(a)opensuse.org
For additional commands, e-mail: opensuse-commit+help(a)opensuse.org
1
0
Hello community,
here is the log from the commit of package python-twisted-flow
checked in at Thu Oct 26 21:06:47 CEST 2006.
--------
--- python-twisted-flow/python-twisted-flow.changes 2006-02-28 16:46:03.000000000 +0100
+++ /mounts/work_src_done/STABLE/python-twisted-flow/python-twisted-flow.changes 2006-10-26 18:28:05.000000000 +0200
@@ -1,0 +2,5 @@
+Thu Oct 26 18:27:48 CEST 2006 - jmatejek(a)suse.cz
+
+- added _version.py file, necessary for Twisted 2.4 install process
+
+-------------------------------------------------------------------
New:
----
_version.py
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-twisted-flow.spec ++++++
--- /var/tmp/diff_new_pack.MYkkch/_old 2006-10-26 21:06:44.000000000 +0200
+++ /var/tmp/diff_new_pack.MYkkch/_new 2006-10-26 21:06:44.000000000 +0200
@@ -14,12 +14,13 @@
BuildRequires: python-devel python-twisted
Summary: Twisted Flow
Version: 0.1.0
-Release: 6
+Release: 30
%define tarname TwistedFlow
Source: %{tarname}-%{version}.tar.bz2
+Source1: _version.py
License: X11/MIT
Group: Development/Languages/Python
-URL: http://twistedmatrix.com/projects/flow/
+URL: http://twistedmatrix.com/trac/wiki/TwistedFlow
BuildRoot: %{_tmppath}/%{name}-%{version}-build
Requires: python-twisted
%{py_requires}
@@ -35,6 +36,7 @@
%prep
%setup -n %{tarname}-%{version}
+cp %{S:1} twisted/flow
%build
export CFLAGS="$RPM_OPT_FLAGS"
@@ -51,6 +53,8 @@
%doc LICENSE README
%changelog -n python-twisted-flow
+* Thu Oct 26 2006 - jmatejek(a)suse.cz
+- added _version.py file, necessary for Twisted 2.4 install process
* Tue Feb 28 2006 - jmatejek(a)suse.cz
- updated to reflect python changes due to #149809
* Wed Jan 25 2006 - mls(a)suse.de
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Remember to have fun...
---------------------------------------------------------------------
To unsubscribe, e-mail: opensuse-commit+unsubscribe(a)opensuse.org
For additional commands, e-mail: opensuse-commit+help(a)opensuse.org
1
0
Hello community,
here is the log from the commit of package python-twisted-conch
checked in at Thu Oct 26 21:06:39 CEST 2006.
--------
--- python-twisted-conch/python-twisted-conch.changes 2006-02-28 16:46:03.000000000 +0100
+++ /mounts/work_src_done/STABLE/python-twisted-conch/python-twisted-conch.changes 2006-10-26 18:27:10.000000000 +0200
@@ -1,0 +2,8 @@
+Thu Oct 26 18:26:16 CEST 2006 - jmatejek(a)suse.cz
+
+- update to 0.7.0
+ - upgrade to Twisted 2.4 install system
+ - massive speedup
+ - support for expect() timing out
+
+-------------------------------------------------------------------
Old:
----
TwistedConch-0.6.0.tar.bz2
New:
----
TwistedConch-0.7.0.tar.bz2
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-twisted-conch.spec ++++++
--- /var/tmp/diff_new_pack.LfvPfa/_old 2006-10-26 21:06:22.000000000 +0200
+++ /var/tmp/diff_new_pack.LfvPfa/_new 2006-10-26 21:06:22.000000000 +0200
@@ -1,5 +1,5 @@
#
-# spec file for package python-twisted-conch (Version 0.6.0)
+# spec file for package python-twisted-conch (Version 0.7.0)
#
# Copyright (c) 2006 SUSE LINUX Products GmbH, Nuernberg, Germany.
# This file and all modifications and additions to the pristine
@@ -13,13 +13,13 @@
Name: python-twisted-conch
BuildRequires: python-devel python-twisted
Summary: Twisted Conch
-Version: 0.6.0
-Release: 5
+Version: 0.7.0
+Release: 1
%define tarname TwistedConch
Source: %{tarname}-%{version}.tar.bz2
License: X11/MIT
Group: Development/Languages/Python
-URL: http://twistedmatrix.com/projects/conch/
+URL: http://twistedmatrix.com/trac/wiki/TwistedConch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
Requires: python-twisted
%{py_requires}
@@ -59,6 +59,11 @@
%doc LICENSE README NEWS
%changelog -n python-twisted-conch
+* Thu Oct 26 2006 - jmatejek(a)suse.cz
+- update to 0.7.0
+ - upgrade to Twisted 2.4 install system
+ - massive speedup
+ - support for expect() timing out
* Tue Feb 28 2006 - jmatejek(a)suse.cz
- updated to reflect python changes due to #149809
* Wed Jan 25 2006 - mls(a)suse.de
++++++ TwistedConch-0.6.0.tar.bz2 -> TwistedConch-0.7.0.tar.bz2 ++++++
++++ 1902 lines of diff (skipped)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Remember to have fun...
---------------------------------------------------------------------
To unsubscribe, e-mail: opensuse-commit+unsubscribe(a)opensuse.org
For additional commands, e-mail: opensuse-commit+help(a)opensuse.org
1
0