]> TLD Linux GIT Repositories - TLD.git/blobdiff - pld-builder.new/README
- from https://github.com/pld-linux/pld-builder.new
[TLD.git] / pld-builder.new / README
diff --git a/pld-builder.new/README b/pld-builder.new/README
new file mode 100644 (file)
index 0000000..cc9fb47
--- /dev/null
@@ -0,0 +1,54 @@
+Roadmap:
+
+  Makefile -- nothing interesting.
+
+  PLD_Builder/ -- all python stuff live here.
+
+  admin/ -- scripts for chroot admin.
+
+  architektura.txt -- docs, in Polish.
+
+  client/ -- scripts for clients, i.e. developers sending requests
+
+  config/ -- configuration
+
+  go.py -- testing script, don't touch
+
+  bin/ -- scripts for builder account outside chroot
+  
+    request-handler.sh
+      Script to be run from procmail on src builder. It process incoming
+      request, authorizes it and stores in spool/queue.
+
+    src-builder.sh
+      Script to be run from cron on src builder. It looks for new
+      requests in spool/queue, gets them from there, builds SRPM, and
+      stores request for binary builders in spool/req_queue (which is
+      mirrored in www/ directory, signed and compressed). SRPMS and
+      buildlogs are queued for transmission.
+
+    request-fetcher.sh
+      Run on binary builder.
+      Fetch queue.gz from src-builder, and distribute requests for all
+      builders hosted on given account (to spool/queue-<builder> files).
+
+    rpm-builder.sh <builder>
+      Run on binary builder.
+      Tries to aquire locks for <builder> and for job-slot. If that suceeds, 
+      proccess one request from spool/queue-<builder>.
+
+    load-balancer.sh
+      Run on binary builder.
+      Checks spool/got_lock. Then run rpm-builder.sh in order determined
+      from this file (if b1 had lock last time before b2, first run
+      rpm-builder.sh b1 and then rpm-builder.sh b2), so builders get
+      the same number of requests.
+
+    file-sender.sh
+      Run on both binary and src builder.
+      Sends files queued in spool/{ftp,buildlogs}.
+  
+Working directories:
+  lock/
+  spool/
+  log/