CKit
INTRO. His name is acronym of Construction Kit and takes origins from my sick imagination with the popular game Tremulous. More than one year ago I’ve contribuited with my friend Bash in the development of Repoman, a bash’s script to handle an archlinux repository. At first moment I found Repoman comfortably and I was glad using it, but after some loops of script I started detect several issues. The first one was the resources needed, it wants CPU and bandwidth at same time and I can’t guarantee both, and the second one was the modularity of the tasks. This kind of issues can’t be fixed with simple mutations on the code, fixing it means rewrite the whole code. These are the reasons for which I’ve “invented” CKit.
PHILOSOPHY. His philosophy is quite simple: just build items if you need build items, just add items if you need add items. Of course you can do both the tasks with same call, but isn’t always so. In building task you can specify more parameters. Which PKGBUILD to use, if you just want the local one or get it from AUR, if you want install packages after their build, if you want build as root, if you want skip integrity check and if you want build all packages without any confirm. The most important parameter is one that allow to use lists from text file, user can specify a list of packages which delete sources every loop, or get their AUR’s PKGBUILD regardless from processing tasks. Script has a task to check for newest version of packages, in that way will be created a list which can be used as input for the building task and I’m proud to say that it’s cool. There are three major classes of tasks: pre-processing, processing and post-processing. User must launch one task in his class at a loop. There are some rules implemented to prevent user to take jumble between classes, also if I don’t wanted really rules. User should have brain with launching the tasks, and he must stick with the idea of the script and the grouping of the tasks. I’ve made this script for expert users that can read and understand the code, and apply improvements both for their own purpose than for a general one.
CODE. And finally ladies and gentleman this is CKit! Sync it from our git repository, we have PKGBUILD now!
1 commento for CKit
ckit miglioramenti e nuova sede | deelab.org
| 10 maggio 2010 at 3:22 PM


[...] CKit [...]