User:Veremit/Catalyst upgrades

Catalyst upgrades
A few ideas have been circulating about some improvements to the catalyst code. This page attempts to document progress on these ideas.

Add 'compression_level' option to spec files and config

 * arm/sparc 32-bit ul have problems with high xz compression options. We can override the defaults for these platforms with this option, either in spec files, or set sane defaults in the arch configs.
 * this requires the extra functionality adding to the PyDecomp module, then the appropriate calls can be added to catalyst

Add a new 'step' to perform eclean-pkg

 * Currently there is no means to wipe old packages from the cache; save blitzing the folder, or manually running a 'find' command. There is already a tool to perform this function, but we currently have no means of automatically doing it within the catalyst process 'run'.

Remove custom config parsing code

 * Catalyst currently uses some custom code to parse the /etc/catalyst/catalyst.conf file. Replace this with built-in python config parser code

Convert arch 'modules' to config files

 * arches have custom configurations set by means of an 'arch.py' file which sets some predefined values - make these config files, change their install location and they can be customised by users more easily.

Catalyst documentation
The suggestion was made to utilise Sphinx for Portage on IRC. It could be a great opportunity to gather some more documentation about how catalyst works together, and make it available in a convenient, readable form!