El Miércoles, 18 de Octubre de 2006 00:58, Dan Nicholson escribió:

> This is actually the crux of the problem. If the plugin system could
> be written in bash, it would have been done already as both Manuel and
> George write excellent shell code. Take a look at the paco patch. It
> has to hack up the xsl extraction script, jhalfs functions and LFS
> master script to get it to work.

Well, actually the current code has been developed adding new features on top 
of the existent code. There is some modularization but a change in one 
feature may breack other features. Think that this project born only 13 moths 
ago and part of the base code found in the first POC is yet in the current 
version.

I would also to make the tool more modularized and plugins-based. But that 
meant to rethink the core code and maybe reimplement all the features from 
scratch.

IMHO, we should to finish developing the current code, making it more robust 
and bugs-free. Then we could to start thinking on how to recode it to allow 
pluggeable features.

> The way it looks presently, the XSL extraction has to be more flexible
> somehow to allow a plugin system. Maybe I'm wrong, but it sure seems
> like everything else is working around the fact that it's difficult to
> extract the commands in a generic way. 

Actually the commands are extracted now in a generic way. The issue is to can 
extract it by command type.

> Unfortunately, the extraction 
> is done using XSL, and only Manuel really knows XSL. So, it's already
> game over by the time you get to the bash level unless you directly
> hack up jhalfs like the paco patch does.

The current XSL code looks hard to understand due that the book sources aren't 
written thinking on commads extraction and automatization. Then a lot of 
hacks are needed to can extract usable code snippes.

-- 
Manuel Canales Esparcia
Usuario de LFS nº2886:       http://www.linuxfromscratch.org
LFS en castellano: http://www.escomposlinux.org/lfs-es http://www.lfs-es.info
TLDP-ES:                           http://es.tldp.org
-- 
http://linuxfromscratch.org/mailman/listinfo/alfs-discuss
FAQ: http://www.linuxfromscratch.org/faq/
Unsubscribe: See the above information page

Reply via email to