[Starkit] filleting tcllib

Andreas Kupries andreask at ActiveState.com
Wed May 4 09:53:27 CEST 2005


> > Steve Blinkhorn wrote:
> >
> >> Has anyone given any thought to a method for filleting tcllib, i.e.
> >> specifying a list of packages known to be required, [...]
> >
> > Most of the time I only need one or two packages and figuring out
> > which to include has been relatively simple sofar.
> >
> > Perhaps rather than a programmatic solution, we should provide
> > a chart depicting which packages are required by which others?
>
> A simple text file which contains all "A depends on B" dependencies
> as a Tcl-readable text file, say as "A B\n" lines could go a long way.

No. That would be another file to maintain manually, containing informaiton
we already have. It is already all in the 'package require' statements you
have in the Tcl code. You just have to extract this. See my previous post
about what we already have in SAK.

> Could add a third item perhaps, for cases where dependencies are
> platform-specific or depend on the presence of other packages.  Easy
> to ignore for simple-minded uses of this datafile.

Do we have such cases in Tcllib ?

> I'd vote for having such a text file included in the tcllib distro,
> then anyone can come up with whatever automation scripts they like.
> Let's make a start with dependency-awareness in the world of Tcl
> packages, without it we'll never reach any sort of repository solution!


--
	Andreas Kupries <andreask at ActiveState.com>
	Developer @ http://www.ActiveState.com, a division of Sophos
	Tel: +1 604 484 6491



More information about the Starkit mailing list