Styrene

From CDOT Wiki
Revision as of 15:30, 31 August 2011 by Fossjon (talk | contribs)
Jump to: navigation, search

Description

Polystyrene is a database-driven build-job queueing and solving system used in conjunction with RPM packages and the Koji buildsystem.

Setup

To obtain the source code, run the following command:

git clone git://git.fedorahosted.org/arm.git

Config

You can use the default values (which are taken from your current system settings) but that wont include being able to work on any update repositories (ex. F15-Updates). You can place the configuration files in
/etc/styrene.conf
or in
~/.styrene.conf
. Below is an example config file for working on F13-Updates:
db = /tmp/f13.db
kojitag = dist-f13-updates
release = 13
binrepo = updates
srcrepo = updates-source

Note: The actual database file here will be located in the /tmp/ directory.

Database

+-------------------------------------------------------------------------------------------------------------------------------------------------------------+
|                                                                    goal                                                                                     |
+-------------------------------------------------------------------------------------------------------------------------------------------------------------+
| srpm varchar(256) PRIMARY KEY | envr_original varchar(40) | envr_override varchar(40) | state int | timestamp timestamp | model int | comment varchar(4096) |
+-------------------------------------------------------------------------------------------------------------------------------------------------------------+
+---------------------------------------------+
|                   dep_cap                   |
+---------------------------------------------+
| srpm varchar(256) | capability varchar(256) |
+---------------------------------------------+

URLs

Fedora-ARM