Archive for the ‘GNU/Linux’ Category

SkoleLinux developer gathering

Thursday, October 13th, 2005

It’s time for yet another SkoleLinux (aka. Debian-Edu) developer gathering. My plane leaves tomorrow at 06:20 – that’s right 06:20 IN THE MORNING! Which means I’ve got to be up roughly around 5, yuck. I’ll probably be working on some KDE 3.5 translation and possibly a little bit of development or discussion about TransPO.

This time around it’s also the yearly meeting of FRISK (free software in schools), never been to that one before so that might be interesting. Well, wish me luck and lets hope^W^W^W^W^W^W^W^W^WI’ll get up tomorrow!

Common configuration parser (CCP)

Thursday, September 29th, 2005

I’ve been thinking about ways to upgrade configuration files lately and I’ve come up with the idea for CCP (common configuration parser). The idea is to take one template file, one old configuration file, one definition file and one mode. To give a better example of how this would work:
ccp --type basic --mode rpmnew --template /usr/share/example/config.ccptemplate --oldfile /etc/example.conf
This here would tell ccp to work with the configuration type “basic”, in the mode rpmnew (upgrade if a rpmnew file is found), use the template file /usr/share/example/config.ccptemplate and upgrade the old configuration file /etc/example.conf. Settings not found in /etc/example.conf would then be taken from /etc/example.conf.rpmnew. For an even better understanding of the idea lets look at it some more. For example before the upgrade /etc/example.conf could look like this:

# Example configuration file
SystemVersion = 0.1
Mode = public
Extensions = off

/etc/example.conf.rpmnew could look like this:
# Example configuration file
SystemVersion = 0.1
Mode = private
Extensions = on
AllowUsers = yes

/usr/share/example/config.ccptemplate could look something like this:
# Example configuration file
SystemVersion = $CCP::CONF:SystemVersion
Mode = $CCP::CONF::Mode
Extensions = $CCP::CONF::Extensions
AllowUsers = $CCP::CONF::AllowUsers

ccp would read these files and write the new /etc/example.conf as:
# Example configuration file
SystemVersion = 0.1
Mode = public
Extensions = off
AllowUsers = yes

More advanced files could be supported by different –type’s. This is still mostly an idea that’s growing in my head but this is the basic thought of it. Quite possibly –template wouldn’t be needed and it would autogenerate a template on-the-fly by using the .rpmnew (or whichever file is the new one – ccp is not rpm specific, it is just one of multiple modes it would be able to run in).

Nexuiz

Friday, June 10th, 2005

I finally finished the nexuiz package! Got Michael to do a patch for it that makes it compile properly and split it into 4 subpackages (one nexuiz, nexuiz-glx, nexuiz-sdl and nexuiz-data). Now it’s time for me to have a break!