[Twisted-Python] OpenBSD build slave (was Re: Announcing Twisted 10.2.0pre3!)

2010-11-29 Thread exarkun

On 27 Nov, 10:58 am, eric.fau...@gmail.com wrote:

That'd be great. �The machines need to be online basically 100% of the
time, and be able to make an outgoing TCP connection.  Other than 
that,

they'll stay idle except when someone commits to trunk or wants to try
out a branch before merging.  You can find more detailed instructions 
on

the wiki:

�http://twistedmatrix.com/trac/wiki/ContinuousIntegration


I have started setting things up. I would need credentials for
my buildslave. Thanks.


I'll mail these to you off-list.

Jean-Paul

___
Twisted-Python mailing list
Twisted-Python@twistedmatrix.com
http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python


Re: [Twisted-Python] ANNOUNCING Tahoe, the Least-Authority File System, v1.8.1

2010-11-29 Thread exarkun
On 07:30 am, zo...@zooko.com wrote:
>
>ANNOUNCING Tahoe, the Least-Authority File System, v1.8.1
>
>The Tahoe-LAFS team is pleased to announce the immediate
>availability of version 1.8.1 of Tahoe-LAFS, an extremely
>reliable distributed storage system. Get it here:


Congrats!

Jean-Paul

___
Twisted-Python mailing list
Twisted-Python@twistedmatrix.com
http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python


[Twisted-Python] [ANNOUNCE] Twisted 10.2.0 Released

2010-11-29 Thread Glyph Lefkowitz
Twisted 10.2.0, the third Twisted release of 2010, has emerged from the 
mysterious depths of Twisted Matrix Labs, as so many releases before it.  
Survivors of the release process - what few there were of them - have been 
heard to claim that this version is "awesome", "even more robust", "fun-sized" 
and "oven fresh".

Crossing several things that shouldn't ought to be, including the streams and 
the rubicon, I have assumed the triple responsibilities of feature author, 
project leader, *and* release manager for 10.2: with this dark and terrible 
power - a power which no man ought to wield alone - I have wrought a release 
which contains many exciting new features, including:

- A plug-in API for adding new types of endpoint descriptions. 

- A new, simpler, substantially more robust CoreFoundation reactor.  

- Improvements to the implementation of Deferred which should both improve 
performance
  and fix certain runtime errors with long callback chains. 

- Deferred.setTimeout is (finally) gone.  To quote the author of this 
change:
  "A new era of peace has started."  
- NetstringReceiver is substantially faster. 

And, of course, nearly one hundred smaller bug fixes, documentation updates, 
and general improvements.  See the NEWS file included in the release for more 
details.

Look upon our Twisted, ye mighty, and make your network applications 
event-driven: get it now, from:



... or simply install the 'Twisted' package from PyPI.

Many thanks to Christopher Armstrong, for his work on release-automation tools 
that made this possible; to Jonathan Lange, for thoroughly documenting the 
process and thereby making my ascent to the throne of release manager possible, 
and to Jean-Paul Calderone for his tireless maintenance of our build and test 
infrastructure as well as his help with the release.

Most of all, thanks to everyone who contributed a patch, reported a bug or 
reviewed a ticket for 10.2.  Not including those already thanked, there are 41 
of you, so it would be a bit tedious to go through everyone, but you know who 
you are and we absolutely couldn't do it without you!  Thanks a ton!


___
Twisted-Python mailing list
Twisted-Python@twistedmatrix.com
http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python


[Twisted-Python] twisted.web, url -> resource mapping and isLeaf questions

2010-11-29 Thread David
Hi,

I am following "twisted in 60sec" series, but even the simple examples 
are a bit unclear to me, especially w.r.t. url mapping. For example:

# assume the right imports...
class MainPage(Resource):
 isLeaf = True
 def render_GET(self, request):
 return "somestring"

resource = MainPage()
factory = Site(resource)
reactor.listenTCP(8880, factory)
reactor.run()

I was expecting that accessing any other 'path' besides the main url 
would cause 404, e.g. "http://localhost:8880/foo/bar";, and I get the 
same page instead.

I gather this is a consequence of the isLeaf setting set to be True, 
because twisted.web stops as soon as it encounters MainPage in the 
hierarchy and use that for rendering. Setting it to False seems to avoid 
the page to be available at all. The solution I got instead is something 
like:

class RootPage(Resource):
 isLeaf = False
 def render(self, request):
 return "somestring"

 def getChild(self, path, request):
 if path:
 return NoResource()
 else:
 return self

and adding new resources through putChild. Isn't there a more natural 
way of doing things ?

cheers,

David

___
Twisted-Python mailing list
Twisted-Python@twistedmatrix.com
http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python