[Twisted-Python] ANN: Twisted Trial v3.0 / Twisted VFS v0.1

Hi Twisted,
One of the key problems that trial solves is the traversal of Python modules and files, which is duplicated in at least two places in Twisted: Twisted Conch's SFTP, Twisted Core's FTP, and Twisted Web's Resource model.
Creating a unified resource hierarchy in Twisted has long been a goal of the Twisted team, and every attempt has been mostly a failure. At the Australian Twisted Sprint, we've recently come to the realization that trial effectively already does this! So today we're starting to implement a new VFS system that unifies all of these systems into a single twisted.vfs module. This will enable things such as more secure remote file system access, a better internal design of Trial, and remote access to your unit tests.
Some other things we plan to do: * 3d visualisation of any vfs implementation. * Run trial on any VFS implementation. Just have it serve Python code! * Any VFS-using protocol should be able to access your unit tests and run them. Just hit http://localhost/twisted/trial/test and it'll recursively run all the tests in twisted.trial.test. * Integration with Imagination.
We'll be making heavy use of Facets in these new features.
Keep your eyes peeled for code arriving in Twisted trunk in the next few days.

-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
On Mar 31, 2005, at 11:09 PM, Christopher Armstrong wrote:
Hi Twisted,
One of the key problems that trial solves is the traversal of Python modules and files,
wow...i did that? :-)
Creating a unified resource hierarchy in Twisted has long been a goal of the Twisted team, and every attempt has been mostly a failure. At the Australian Twisted Sprint, we've recently come to the realization that trial effectively already does this!
yay! i am genus!
So today we're starting to implement a new VFS system that unifies all of these systems into a single twisted.vfs module. This will enable things such as more secure remote file system access, a better internal design of Trial, and remote access to your unit tests.
I have to say that when i first read the subject of this message i thought, "WTF? I just got done writing 2.0! They want to replace it *already*?!"
It's a nice feeling to know you did something right. :-)
If you guys need help, or need me to translate something fairly stinky in there, please CC me on any t-ml message, as I don't read the list as much as I used to.
Best of luck! - -Jonathan

FWIW, IMHO the entire Twisted development team and community contributors all rock!
Cheers,
Serg
On Mar 31, 2005 6:26 PM, Jonathan Simms slyphon@twistedmatrix.com wrote:
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
On Mar 31, 2005, at 11:09 PM, Christopher Armstrong wrote:
Hi Twisted,
One of the key problems that trial solves is the traversal of Python modules and files,
wow...i did that? :-)
Creating a unified resource hierarchy in Twisted has long been a goal of the Twisted team, and every attempt has been mostly a failure. At the Australian Twisted Sprint, we've recently come to the realization that trial effectively already does this!
yay! i am genus!
So today we're starting to implement a new VFS system that unifies all of these systems into a single twisted.vfs module. This will enable things such as more secure remote file system access, a better internal design of Trial, and remote access to your unit tests.
I have to say that when i first read the subject of this message i thought, "WTF? I just got done writing 2.0! They want to replace it *already*?!"
It's a nice feeling to know you did something right. :-)
If you guys need help, or need me to translate something fairly stinky in there, please CC me on any t-ml message, as I don't read the list as much as I used to.
Best of luck!
- -Jonathan
-----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (Darwin)
iD8DBQFCTM1uFARZQEMGIlgRAhaWAJ4lrZuLOeHJn0pyBGp1RtKEjSxvHgCfbpvH VISq4pbmbcl7ClCtqOAb90c= =y2Wp -----END PGP SIGNATURE-----
Twisted-Python mailing list Twisted-Python@twistedmatrix.com http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python

On Fri, 2005-04-01 at 14:09 +1000, Christopher Armstrong wrote:
Creating a unified resource hierarchy in Twisted has long been a goal of the Twisted team, and every attempt has been mostly a failure. At the Australian Twisted Sprint, we've recently come to the realization that trial effectively already does this! So today we're starting to implement a new VFS system that unifies all of these systems into a single twisted.vfs module.
I highly recommend using twisted.web2.stream as the way you get access to the contents of a "file". It's a *very* nice abstraction, and we will probably be moving it, or something pretty similar, into twisted.internet at some point.
participants (5)
-
Christopher Armstrong
-
Itamar Shtull-Trauring
-
Jonathan Simms
-
Sergio Trejo
-
Stephen Waterbury