[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Help-smalltalk] gst-package
From: |
Gwenael Casaccio |
Subject: |
Re: [Help-smalltalk] gst-package |
Date: |
Sun, 03 Jan 2010 19:14:17 +0100 |
On Sat, 2010-01-02 at 13:46 +0100, Paolo Bonzini wrote:
> On 01/02/2010 01:43 PM, Gwenael Casaccio wrote:
> > Hi,
> >
> > I'm working an a new command for displaying packages inside a
> > repository. Basicly it will download a file (repository.xml) and parse
> > it so we have the list of packages inside a repository.
>
> Uhm, you want me to do that in PHP too for smalltalk.gnu.org... ;-)
;)
>
> > I would like to make some small changes to the pckloader.st create a new
> > namespace Package instead of Kernel ?? and split the one file in
> > multiple file (or directory). Do you agree or not :D ?
>
> Naming the namespace Package is a problem because you'd have a Package
> class within a same-name namespace. I agree that putting them in Kernel
> is suboptimal. For 3.2 I'd rather keep things as is, we have to start
> the stabilization somewhere.
>
> Paolo
So here is the first version of the patch :
I've made a tiny XML parser (very very simple ^^), a new
PckRepositoryList command and a new class PackageRepository which stores
packages from a repository. Any comments, remarks are welcomes
I've found also a minor "bug" when I've bootstraped the image if there
are errors the compiler display nothing, may be an improvement for the
3.3 ;).
Gwen
package-repository.patch
Description: Text Data