From Fedora Project Wiki

Revision as of 03:46, 5 October 2011 by Fossjon (talk | contribs) (Created page with "==Application== ===Server=== python /path/to/moji.py server /path/to/source /path/to/working /path/to/finished /path/to/repo [password] * "source" is the folder containing sou...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Application

Server

python /path/to/moji.py server /path/to/source /path/to/working /path/to/finished /path/to/repo [password]

  • "source" is the folder containing source RPM files
    • the "source" folder can contain a file called "priority.txt" which is a simple plaintext file where each line is the filename of a source pkg that should be built first (ex. arpwatch-2.1a15-15.fc15.src.rpm)
  • "working" is a folder that contains any source RPM files currently being worked on by a builder
  • "finished" is a folder containing source RPM files that have been built (failure or success)
  • "repo" is the directory which contains the mock build result output of any "finished" builds
    • the "repo" directory should be publicly accessible (ex. via httpd)

Client

python /path/to/moji.py client <hostname or ip> <mock config name> [password]

  • the mock option should be a config file name (ex fedora-15-arm)
    • the actual mock file (ex. /etc/mock/fedora-15-arm.cfg) should contain pointers to at least 2 repos: one to the moji server repo dir and another to some-what fully-built "main-line" repo