Fwd: [squeak-dev] [ANN] Filesystem 1.0

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
6 messages Options
Reply | Threaded
Open this post in threaded view
|

Fwd: [squeak-dev] [ANN] Filesystem 1.0

Lukas Renggli
---------- Forwarded message ----------
From: Colin Putney <[hidden email]>
Date: 2009/11/21
Subject: [squeak-dev] [ANN] Filesystem 1.0
To: The general-purpose Squeak developers list
<[hidden email]>


Hi folks,

I've just made available for download a new project of mine. It's an
alternative interface to the filesystem, which grew out of my
frustration with trying to use FileDirectory for some particularly
file-intensive code. It's built upon the FilePlugin primitives, but
all the image-side code is written from scratch.

The interface offers:
       - Convenient path manipulation
       - Transparent access to the contents of zip files
       - Late-bound references to files and directories
       - Support for working with entire directory trees

A SAR file is available for download here:

       http://www.wiresong.ca/downloads/Filesystem-1.0.0.sar

A short tutorial is available here:

       http://www.wiresong.ca/filesystem/

Feedback appreciated!

Colin




--
Lukas Renggli
http://www.lukas-renggli.ch

_______________________________________________
Pharo-project mailing list
[hidden email]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
Reply | Threaded
Open this post in threaded view
|

Re: Fwd: [squeak-dev] [ANN] Filesystem 1.0

Stéphane Ducasse
Hi colin

good that you did that because I was starting to do the same. This file stuff was too frustrating.

- I read the tutorial and I scanned the code (too early this morning) and I could not see how to rename a file.
without copying it.

- why having this in the tests and not in the classes?
         createDirectory: aString
                filesystem createDirectory: (filesystem stringToPath: aString)
        createFile: aString
                filesystem createFile: (filesystem stringToPath: aString)

- It was not clear to me how we map the old interface readyOnlyFileNamed and friends

- ref := FSWindowsFilesystem stringToReference: 'D:\Squeak\3.10'.
I was wondering if reference should be part of the user domain
because why not
        ref := FSWindowsFilesystem on: 'D:\Squeak\3.10'. or
        ref := FSWindowsFilesystem folder: 'D:\Squeak\3.10'.
I was confused by FSReference vs. FSPath

- I would really like to see how we can get rid of FileDirectory and use your lib and its improved version.

On Nov 21, 2009, at 10:01 AM, Lukas Renggli wrote:

> ---------- Forwarded message ----------
> From: Colin Putney <[hidden email]>
> Date: 2009/11/21
> Subject: [squeak-dev] [ANN] Filesystem 1.0
> To: The general-purpose Squeak developers list
> <[hidden email]>
>
>
> Hi folks,
>
> I've just made available for download a new project of mine. It's an
> alternative interface to the filesystem, which grew out of my
> frustration with trying to use FileDirectory for some particularly
> file-intensive code. It's built upon the FilePlugin primitives, but
> all the image-side code is written from scratch.
>
> The interface offers:
>        - Convenient path manipulation
>        - Transparent access to the contents of zip files
>        - Late-bound references to files and directories
>        - Support for working with entire directory trees
>
> A SAR file is available for download here:
>
>        http://www.wiresong.ca/downloads/Filesystem-1.0.0.sar
>
> A short tutorial is available here:
>
>        http://www.wiresong.ca/filesystem/
>
> Feedback appreciated!
>
> Colin
>
>
>
>
> --
> Lukas Renggli
> http://www.lukas-renggli.ch
>
> _______________________________________________
> 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
Reply | Threaded
Open this post in threaded view
|

Re: Fwd: [squeak-dev] [ANN] Filesystem 1.0

Michael Rueger-6
Stéphane Ducasse wrote:

> - I would really like to see how we can get rid of FileDirectory and use your lib and its improved version.

<broken record>
by adding a handful of convenience methods almost everything can be done
with URIs already.
</broken record>

Having gotten that out of the way ;-) I think your library provides
quite a bit of inspiration on how to use of URIs.
And I totally agree that we need to rewrite/replace the current
file/dictionary implementation.

Michael

_______________________________________________
Pharo-project mailing list
[hidden email]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
Reply | Threaded
Open this post in threaded view
|

Re: Fwd: [squeak-dev] [ANN] Filesystem 1.0

Michael Rueger-6
Michael Rueger wrote:

> quite a bit of inspiration on how to use of URIs.

how to *improve* the use of URIs
:-)

Michael


_______________________________________________
Pharo-project mailing list
[hidden email]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
Reply | Threaded
Open this post in threaded view
|

Re: Fwd: [squeak-dev] [ANN] Filesystem 1.0

Stéphane Ducasse
so mike we should have the code else it will never happen.

Stef

On Nov 21, 2009, at 1:08 PM, Michael Rueger wrote:

> Michael Rueger wrote:
>
>> quite a bit of inspiration on how to use of URIs.
>
> how to *improve* the use of URIs
> :-)
>
> Michael
>
>
> _______________________________________________
> 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
Reply | Threaded
Open this post in threaded view
|

Re: Fwd: [squeak-dev] [ANN] Filesystem 1.0

Alexandre Bergel
In reply to this post by Lukas Renggli
I now use FileSystem for CAnalyzer (not committed yet). I will provide  
some comments soon.

Cheers,
Alexandre


On 21 Nov 2009, at 06:01, Lukas Renggli wrote:

> ---------- Forwarded message ----------
> From: Colin Putney <[hidden email]>
> Date: 2009/11/21
> Subject: [squeak-dev] [ANN] Filesystem 1.0
> To: The general-purpose Squeak developers list
> <[hidden email]>
>
>
> Hi folks,
>
> I've just made available for download a new project of mine. It's an
> alternative interface to the filesystem, which grew out of my
> frustration with trying to use FileDirectory for some particularly
> file-intensive code. It's built upon the FilePlugin primitives, but
> all the image-side code is written from scratch.
>
> The interface offers:
>        - Convenient path manipulation
>        - Transparent access to the contents of zip files
>        - Late-bound references to files and directories
>        - Support for working with entire directory trees
>
> A SAR file is available for download here:
>
>        http://www.wiresong.ca/downloads/Filesystem-1.0.0.sar
>
> A short tutorial is available here:
>
>        http://www.wiresong.ca/filesystem/
>
> Feedback appreciated!
>
> Colin
>
>
>
>
> --
> 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