Hello community, here is the log from the commit of package python-twisted-news checked in at Thu Aug 2 23:33:36 CEST 2007. -------- --- python-twisted-news/python-twisted-news.changes 2006-10-26 18:40:38.000000000 +0200 +++ /mounts/work_src_done/STABLE/python-twisted-news/python-twisted-news.changes 2007-08-02 17:11:09.000000000 +0200 @@ -1,0 +2,7 @@ +Thu Aug 2 17:10:18 CEST 2007 - jmatejek@suse.cz + +- update to 0.3.0 + * compatible with Twisted 2.5 + * nntp protocols now don't have 'ip' attribute + +------------------------------------------------------------------- Old: ---- TwistedNews-0.2.0.tar.bz2 New: ---- TwistedNews-0.3.0.tar.bz2 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-twisted-news.spec ++++++ --- /var/tmp/diff_new_pack.F20134/_old 2007-08-02 23:33:12.000000000 +0200 +++ /var/tmp/diff_new_pack.F20134/_new 2007-08-02 23:33:12.000000000 +0200 @@ -1,7 +1,7 @@ # -# spec file for package python-twisted-news (Version 0.2.0) +# spec file for package python-twisted-news (Version 0.3.0) # -# Copyright (c) 2006 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2007 SUSE LINUX Products GmbH, Nuernberg, Germany. # This file and all modifications and additions to the pristine # package are under the same license as the package itself. # @@ -13,7 +13,7 @@ Name: python-twisted-news BuildRequires: python-devel python-twisted Summary: Twisted News -Version: 0.2.0 +Version: 0.3.0 Release: 1 %define tarname TwistedNews Source: %{tarname}-%{version}.tar.bz2 @@ -55,7 +55,11 @@ %defattr(-,root,root) %doc LICENSE README -%changelog -n python-twisted-news +%changelog +* Thu Aug 02 2007 - jmatejek@suse.cz +- update to 0.3.0 + * compatible with Twisted 2.5 + * nntp protocols now don't have 'ip' attribute * Thu Oct 26 2006 - jmatejek@suse.cz - update to 0.2.0 - upgrade to Twisted 2.4 install system ++++++ TwistedNews-0.2.0.tar.bz2 -> TwistedNews-0.3.0.tar.bz2 ++++++ diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/TwistedNews-0.2.0/LICENSE new/TwistedNews-0.3.0/LICENSE --- old/TwistedNews-0.2.0/LICENSE 2006-04-18 04:43:54.000000000 +0200 +++ new/TwistedNews-0.3.0/LICENSE 2006-06-03 22:59:55.000000000 +0200 @@ -6,6 +6,7 @@ Bob Ippolito Canonical Limited Christopher Armstrong +David Reid Donovan Preston Eric Mangold Itamar Shtull-Trauring diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/TwistedNews-0.2.0/NEWS new/TwistedNews-0.3.0/NEWS --- old/TwistedNews-0.2.0/NEWS 2006-05-25 03:26:06.000000000 +0200 +++ new/TwistedNews-0.3.0/NEWS 2007-01-07 03:20:19.000000000 +0100 @@ -1,3 +1,12 @@ +0.3.0 (2007-01-06) +================== +Fixes +----- + - News was updated to work with the latest twisted.components changes + to Twisted (#1636) + - The 'ip' attribute is no longer available on NNTP protocols (#1936) + + 0.2.0 (2006-05-24) ================== diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/TwistedNews-0.2.0/README new/TwistedNews-0.3.0/README --- old/TwistedNews-0.2.0/README 2006-05-25 03:26:06.000000000 +0200 +++ new/TwistedNews-0.3.0/README 2007-01-07 03:20:49.000000000 +0100 @@ -1,4 +1,4 @@ -Twisted News 0.2.0 +Twisted News 0.3.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.2.0/twisted/news/database.py new/TwistedNews-0.3.0/twisted/news/database.py --- old/TwistedNews-0.2.0/twisted/news/database.py 2006-03-12 21:59:12.000000000 +0100 +++ new/TwistedNews-0.3.0/twisted/news/database.py 2006-07-01 18:08:17.000000000 +0200 @@ -22,12 +22,11 @@ from twisted.internet import defer from twisted.enterprise import adbapi from twisted.persisted import dirdbm -from twisted.python import components import getpass, pickle, time, socket, md5 import os import StringIO -from zope.interface import implements +from zope.interface import implements, Interface ERR_NOGROUP, ERR_NOARTICLE = range(2, 4) # XXX - put NNTP values here (I guess?) @@ -98,26 +97,26 @@ pass -class INewsStorage(components.Interface): +class INewsStorage(Interface): """ An interface for storing and requesting news articles """ - def listRequest(self): + def listRequest(): """ Returns a deferred whose callback will be passed a list of 4-tuples containing (name, max index, min index, flags) for each news group """ - def subscriptionRequest(self): + def subscriptionRequest(): """ Returns a deferred whose callback will be passed the list of recommended subscription groups for new server users """ - def postRequest(self, message): + def postRequest(message): """ Returns a deferred whose callback will be invoked if 'message' is successfully posted to one or more specified groups and @@ -125,14 +124,14 @@ """ - def overviewRequest(self): + def overviewRequest(): """ Returns a deferred whose callback will be passed the a list of headers describing this server's overview format. """ - def xoverRequest(self, group, low, high): + def xoverRequest(group, low, high): """ Returns a deferred whose callback will be passed a list of xover headers for the given group over the given range. If low is None, @@ -141,7 +140,7 @@ """ - def xhdrRequest(self, group, low, high, header): + def xhdrRequest(group, low, high, header): """ Returns a deferred whose callback will be passed a list of XHDR data for the given group over the given range. If low is None, @@ -150,21 +149,21 @@ """ - def listGroupRequest(self, group): + def listGroupRequest(group): """ Returns a deferred whose callback will be passed a two-tuple of (group name, [article indices]) """ - def groupRequest(self, group): + def groupRequest(group): """ Returns a deferred whose callback will be passed a five-tuple of (group name, article count, highest index, lowest index, group flags) """ - def articleExistsRequest(self, id): + def articleExistsRequest(id): """ Returns a deferred whose callback will be passed with a true value if a message with the specified Message-ID exists in the database @@ -172,7 +171,7 @@ """ - def articleRequest(self, group, index, id = None): + def articleRequest(group, index, id = None): """ Returns a deferred whose callback will be passed a file-like object containing the full article text (headers and body) for the article @@ -184,7 +183,7 @@ """ - def headRequest(self, group, index): + def headRequest(group, index): """ Returns a deferred whose callback will be passed the header for the article of the specified index in the specified group, and @@ -193,7 +192,7 @@ """ - def bodyRequest(self, group, index): + def bodyRequest(group, index): """ Returns a deferred whose callback will be passed the body for the article of the specified index in the specified group, and diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/TwistedNews-0.2.0/twisted/news/nntp.py new/TwistedNews-0.3.0/twisted/news/nntp.py --- old/TwistedNews-0.2.0/twisted/news/nntp.py 2005-11-10 04:18:15.000000000 +0100 +++ new/TwistedNews-0.3.0/twisted/news/nntp.py 2006-08-20 12:41:55.000000000 +0200 @@ -101,9 +101,6 @@ self._newState(self._statePassive, None, self._headerInitial) - def connectionMade(self): - self.ip = self.transport.getPeer()[1:] - def gotAllGroups(self, groups): "Override for notification when fetchGroups() action is completed" @@ -533,7 +530,6 @@ def connectionMade(self): - self.ip = self.transport.getPeer()[1:] self.inputHandler = None self.currentGroup = None self.currentIndex = None diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/TwistedNews-0.2.0/twisted/news/test/test_nntp.py new/TwistedNews-0.3.0/twisted/news/test/test_nntp.py --- old/TwistedNews-0.2.0/twisted/news/test/test_nntp.py 2005-11-10 04:18:15.000000000 +0100 +++ new/TwistedNews-0.3.0/twisted/news/test/test_nntp.py 2006-08-20 12:41:55.000000000 +0200 @@ -112,7 +112,7 @@ self.client = TestNNTPClient() def testLoopback(self): - loopback.loopback(self.server, self.client) + return loopback.loopbackAsync(self.server, self.client) # XXX This test is woefully incomplete. It tests the single # most common code path and nothing else. Expand it and the diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/TwistedNews-0.2.0/twisted/news/_version.py new/TwistedNews-0.3.0/twisted/news/_version.py --- old/TwistedNews-0.2.0/twisted/news/_version.py 2006-05-25 03:26:06.000000000 +0200 +++ new/TwistedNews-0.3.0/twisted/news/_version.py 2007-01-07 03:20:49.000000000 +0100 @@ -1,3 +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) +version = versions.Version(__name__[:__name__.rfind('.')], 0, 3, 0) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Remember to have fun... --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-commit+help@opensuse.org
participants (1)
-
root@Hilbert.suse.de