[Pharo-project] Package validation?
Mariano Martinez Peck
marianopeck at gmail.com
Fri May 13 12:12:06 CEST 2011
One more thought about RPackage. I think one of the things that everybody
confuse, even myself are packages vs categories.
And it is not only us, but the system it self.
There is a package called Tools.
So..why PACKAGEInfo let me do this: (PackageInfo named: 'Tools-Base')
that should be an error. 'Tools-Base' is NOT a package, it is a category.
I don't know how RPackage deals with it, but I just mention...
On Sun, May 8, 2011 at 6:23 PM, Stéphane Ducasse
<stephane.ducasse at inria.fr>wrote:
> On May 8, 2011, at 6:09 PM, Mariano Martinez Peck wrote:
> > Stef, off-topic question.... When I rename a package from the
> SystemBrowser, the extension methods' categories are not updated. This is a
> known problem. I don't know where the rename happens if it is UI or
> model....but in case it is the model (PackageInfo or RPackage) I would love
> to have that fixed in RPackage.
> Yes it will because this is a pain.
> Probably we should solve it also in MC. May be this is fixed in Squeak. Did
> you check?
> I should go over the MC change made by chris but I should find time to do
> > cheers
> > Mariano
> > On Sun, May 8, 2011 at 5:48 PM, Stéphane Ducasse <
> stephane.ducasse at inria.fr> wrote:
> > Hi guys
> > did one of you wrote a small Package checker that would check:
> > - that all the methods get a non nil category
> > - methods belong to a package loaded?
> > I experienced a lot of problem with RPackage when loading broken code and
> > I would like to produce a little tool to validate packages so that we can
> > problems and understand how to solve that in RPackage.
> > Stef
> > --
> > Mariano
> > http://marianopeck.wordpress.com
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Pharo-project