packaging style requests

Damien Cassou damien.cassou at laposte.net
Tue Feb 20 09:26:32 UTC 2007


Lex Spoon a écrit :
> I have two requests for packaging style, after having delved through
> 100+ packages for the 3.9 stable universe.
> 
> First, SAR's with fancy load-time scripts are often too smart for
> their own good when used in a package universe.  A particular example
> of this is load-time options.  Instead of having a single SAR with a
> load-time option, I wish people would divide the package into smaller
> packages.  Then people can install precisely the component packages
> they want.  As an example, if package Foo's tests are considered
> optional, then just make it two packages.  Post Foo and Foo-Tests,
> where Foo-Tests depends on Foo.
> 
> 
> Second, we have a lot of readme windows popping up.  A readme popup is
> very friendly if you are installing 1 package.  However, with a
> package-browsing tool, it's not uncommon to install 5 or 10 packages
> at a time.  When you do so, you end up with more windows than the user
> can possibly pay attention to.  I was installing 100 at a time
> recently, and the result was just comical.
> 
> 
> I would like it if we had a registry of readme's, so that packages do
> not clutter up the main screen just to announce they are now loaded.
> This would help at package-loading time, and also it would mean people
> can actually find this documentation again weeks later after the
> package is installed.  Barring such a tool, how about we limit
> ourselves to one readme per program?  You an always add hyperlinks to
> the other ones.

There is ScriptManager to do that I think. I use it for the squeak-dev 
image and it is very interesting. Would be cool if a system like that is 
integrated into Squeak so that packages could just do a:

self addReadmeTitled: 'Dynamic Protocols' containing: '...'

-- 
Damien Cassou



More information about the Squeak-dev mailing list