Dear List,
I need to work with files. Unfortunately, FileDirectory and FileStream are hardly my fiends. I essentially need to recurse over folders and files. So far, I have been using Rio. But it contains bugs that make me a hard life by being under the attack of the Mac Death Spinning wheel! Is there a small file library that enables block evaluation when recursing over files? Cheers, Alexandre -- _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;: Alexandre Bergel http://www.bergel.eu ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;. _______________________________________________ Pharo-project mailing list [hidden email] http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project |
I am using Filesystem from http://source.wiresong.ca/mc/ from Colin.
As far as I know an official release is imminent. It is an amazing library, well documented and well tested with almost 400 unit tests (they all pass in Pharo). It supports uniform access to the filesystem, zip archives and in-memory filesystems (for tests). It supports different enumeration strategies and platform specific locations (such as home-directory, desktop, etc). Filesystem is built on the existing primitives, but does not depend on FileDirectory and FileStream. I already mentioned this library several times in the list and suggested to include it with Pharo core and kill FileDirectory. Lukas 2009/11/19 Alexandre Bergel <[hidden email]>: > Dear List, > > I need to work with files. Unfortunately, FileDirectory and FileStream > are hardly my fiends. I essentially need to recurse over folders and > files. So far, I have been using Rio. But it contains bugs that make > me a hard life by being under the attack of the Mac Death Spinning > wheel! > Is there a small file library that enables block evaluation when > recursing over files? > > Cheers, > Alexandre > -- > _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;: > Alexandre Bergel http://www.bergel.eu > ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;. > > > > > > > _______________________________________________ > Pharo-project mailing list > [hidden email] > http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project > -- Lukas Renggli http://www.lukas-renggli.ch _______________________________________________ Pharo-project mailing list [hidden email] http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project |
On Nov 19, 2009, at 2:38 PM, Lukas Renggli wrote: > I am using Filesystem from http://source.wiresong.ca/mc/ from Colin. > As far as I know an official release is imminent. > > It is an amazing library, well documented and well tested with almost > 400 unit tests (they all pass in Pharo). It supports uniform access to > the filesystem, zip archives and in-memory filesystems (for tests). It > supports different enumeration strategies and platform specific > locations (such as home-directory, desktop, etc). > > Filesystem is built on the existing primitives, but does not depend on > FileDirectory and FileStream. I already mentioned this library several > times in the list and suggested to include it with Pharo core and kill > FileDirectory. > + 1000 Marcus _______________________________________________ Pharo-project mailing list [hidden email] http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project |
+1
Would we include this new Filesystem besides the old FileDirectory implementation to simplify migration of external code? Adrian On Nov 19, 2009, at 14:41 , Marcus Denker wrote: > > On Nov 19, 2009, at 2:38 PM, Lukas Renggli wrote: > >> I am using Filesystem from http://source.wiresong.ca/mc/ from Colin. >> As far as I know an official release is imminent. >> >> It is an amazing library, well documented and well tested with almost >> 400 unit tests (they all pass in Pharo). It supports uniform access >> to >> the filesystem, zip archives and in-memory filesystems (for tests). >> It >> supports different enumeration strategies and platform specific >> locations (such as home-directory, desktop, etc). >> >> Filesystem is built on the existing primitives, but does not depend >> on >> FileDirectory and FileStream. I already mentioned this library >> several >> times in the list and suggested to include it with Pharo core and >> kill >> FileDirectory. >> > > + 1000 > > > Marcus > > _______________________________________________ > Pharo-project mailing list > [hidden email] > http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project _______________________________________________ Pharo-project mailing list [hidden email] http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project |
I _think_ we would almost have to include both for migration. FileDirectory is awful. +1 on the idea of killing it.
-----Original Message----- From: [hidden email] [mailto:[hidden email]] On Behalf Of Adrian Lienhard Sent: Thursday, November 19, 2009 9:32 AM To: [hidden email] Subject: Re: [Pharo-project] Is there a small and effective File library around? +1 Would we include this new Filesystem besides the old FileDirectory implementation to simplify migration of external code? Adrian On Nov 19, 2009, at 14:41 , Marcus Denker wrote: > > On Nov 19, 2009, at 2:38 PM, Lukas Renggli wrote: > >> I am using Filesystem from http://source.wiresong.ca/mc/ from Colin. >> As far as I know an official release is imminent. >> >> It is an amazing library, well documented and well tested with almost >> 400 unit tests (they all pass in Pharo). It supports uniform access >> to the filesystem, zip archives and in-memory filesystems (for >> tests). >> It >> supports different enumeration strategies and platform specific >> locations (such as home-directory, desktop, etc). >> >> Filesystem is built on the existing primitives, but does not depend >> on FileDirectory and FileStream. I already mentioned this library >> several times in the list and suggested to include it with Pharo core >> and kill FileDirectory. >> > > + 1000 > > > Marcus > > _______________________________________________ > Pharo-project mailing list > [hidden email] > http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project _______________________________________________ Pharo-project mailing list [hidden email] http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project _______________________________________________ Pharo-project mailing list [hidden email] http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project |
In reply to this post by Adrian Lienhard
Yes!
Stef On Nov 19, 2009, at 3:31 PM, Adrian Lienhard wrote: > +1 > > Would we include this new Filesystem besides the old FileDirectory > implementation to simplify migration of external code? > > Adrian > > On Nov 19, 2009, at 14:41 , Marcus Denker wrote: > >> >> On Nov 19, 2009, at 2:38 PM, Lukas Renggli wrote: >> >>> I am using Filesystem from http://source.wiresong.ca/mc/ from Colin. >>> As far as I know an official release is imminent. >>> >>> It is an amazing library, well documented and well tested with almost >>> 400 unit tests (they all pass in Pharo). It supports uniform access >>> to >>> the filesystem, zip archives and in-memory filesystems (for tests). >>> It >>> supports different enumeration strategies and platform specific >>> locations (such as home-directory, desktop, etc). >>> >>> Filesystem is built on the existing primitives, but does not depend >>> on >>> FileDirectory and FileStream. I already mentioned this library >>> several >>> times in the list and suggested to include it with Pharo core and >>> kill >>> FileDirectory. >>> >> >> + 1000 >> >> >> Marcus >> >> _______________________________________________ >> Pharo-project mailing list >> [hidden email] >> http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project > > > _______________________________________________ > Pharo-project mailing list > [hidden email] > http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project _______________________________________________ Pharo-project mailing list [hidden email] http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project |
In reply to this post by Lukas Renggli
All the 390 tests are green in my image. Cool!
I will have a look at it. Thanks, Alexandre On 19 Nov 2009, at 10:38, Lukas Renggli wrote: > I am using Filesystem from http://source.wiresong.ca/mc/ from Colin. > As far as I know an official release is imminent. > > It is an amazing library, well documented and well tested with almost > 400 unit tests (they all pass in Pharo). It supports uniform access to > the filesystem, zip archives and in-memory filesystems (for tests). It > supports different enumeration strategies and platform specific > locations (such as home-directory, desktop, etc). > > Filesystem is built on the existing primitives, but does not depend on > FileDirectory and FileStream. I already mentioned this library several > times in the list and suggested to include it with Pharo core and kill > FileDirectory. > > Lukas > > 2009/11/19 Alexandre Bergel <[hidden email]>: >> Dear List, >> >> I need to work with files. Unfortunately, FileDirectory and >> FileStream >> are hardly my fiends. I essentially need to recurse over folders and >> files. So far, I have been using Rio. But it contains bugs that make >> me a hard life by being under the attack of the Mac Death Spinning >> wheel! >> Is there a small file library that enables block evaluation when >> recursing over files? >> >> Cheers, >> Alexandre >> -- >> _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;: >> Alexandre Bergel http://www.bergel.eu >> ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;. >> >> >> >> >> >> >> _______________________________________________ >> Pharo-project mailing list >> [hidden email] >> http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project >> > > > > -- > Lukas Renggli > http://www.lukas-renggli.ch > > _______________________________________________ > Pharo-project mailing list > [hidden email] > http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project > -- _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;: Alexandre Bergel http://www.bergel.eu ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;. _______________________________________________ Pharo-project mailing list [hidden email] http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project |
Free forum by Nabble | Edit this page |