Skip to Content.
Sympa Menu

sm-discuss - Re: [SM-Discuss] rpmunpack in basesystem

sm-discuss AT lists.ibiblio.org

Subject: Public SourceMage Discussion List

List archive

Chronological Thread  
  • From: Andrew <afrayedknot AT thefrayedknot.armory.com>
  • To: sm-discuss AT lists.ibiblio.org
  • Subject: Re: [SM-Discuss] rpmunpack in basesystem
  • Date: Wed, 19 May 2004 14:05:46 -0700

>
> That could work, but I'm not sure we should be taking that out of Sorcery,
> though it might make it easier to add new archive tools (say nzip9?) in the
> future.

Its not so much taking it out of sorcery, but just modularizing it. The
build code has been modularized also. The main issue with doing this
is that we need a clear well defined and documented api to use, not one
that bounces around between functions (which is my biased impression of
our url library).

The more code we split off into modules the better, that way we can easily
expand, within the interface we've defined (its all in the interface),
and the core of sorcery doesn't need to know a lot about the data its
passing around. Eg, "I have this variable that this spell thinks is a
file, unpack it", or "Heres a url or something like it, i know nothing
about it, just download it"

On the otherhand if we poorly define the interface, or fail to make use
of it, or decide theres something deficient, we may run into problems,
so its, (once again) all in the interface.

As good as this all sounds, nothing is going to break to badly if we
dont get to this right away. Its a low priority and i'd rather see effort
diverted to other things. So I think we should wait on doing anything
significant like this for now.

-Andrew




Archive powered by MHonArc 2.6.24.

Top of Page