Archive for the 'CCP' Category

Why GNA! is better than Savannah

Sunday, April 23rd, 2006

In the beginning there was…blah, okay I won’t go that far. Though, the first host provider I used was SourceForge.net. I used that for three projects:
GFSGL, GFSI and GoldenFiles. Mostly random stuff there, not too large projects.
Then one day I thought about this and well, using a proprietary website to produce and manage a [...]

CCP 0.3

Monday, January 23rd, 2006

CCP 0.3 is out! The major new feature in this release is the addition of automatic uncommenting support.
CCP will now try to detect which options the user has uncommented from –oldfile and automatically uncomment them in the resulting –newfile. This should *greatly* decrease the amount of oprhaned options that occurs. Also added is an automatic [...]

CCP 0.2 released

Saturday, January 7th, 2006

This version contains multiple bugfixes, some which could cause various configuration files to not upgrade correctly. Among others, it fixes bug #15364.
In other news, the first package using CCP in Mandriva is out - which is squirrelmail :)

CCP 0.1 released

Tuesday, January 3rd, 2006

CCP version 0.1 has been released!
It can be downloaded from http://ccp.nongnu.org/download.html.
It’s also in Mandriva Linux (cooker) contrib.
The first package to use it is squirrelmail, which I updated today.

CCP can now autogenerate templates :)

Monday, January 2nd, 2006

CCP can now autogenerate the templates, so it’s pretty much ready for real-life testing.
Here’s the same example used in earlier posts.

[0 zerodogg@drizzt ccp]$ cat example.conf
# Example configuration file
SystemVersion = 0.1
Mode = public
Extensions = off

[0 zerodogg@drizzt ccp]$ cat example.conf.rpmnew
# Example configuration file
SystemVersion = 0.1
Mode = private
Extensions = on
AllowUsers = yes

[0 zerodogg@drizzt ccp]$ ./ccp –oldfile example.conf –newfile [...]

A working copy of CCP

Thursday, December 29th, 2005

CCP (as I wrote about earlier) now has a project on savannah. It now works! It can be downloaded from the CVS repository.
However, it doesn’t use libconf yet, and thus only supports key = value files. It also doesn’t know how to create the templates by itself so those have to be written by hand [...]

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 [...]