]> TLD Linux GIT Repositories - tld-builder.git/blobdiff - TLD_Builder/build.py
- PLD merge, fully (re)TLDized
[tld-builder.git] / TLD_Builder / build.py
similarity index 96%
rename from PLD_Builder/build.py
rename to TLD_Builder/build.py
index e996731bcc5159e30d91be8f1489259513d5da88..31689e74dad8bc7af77731b4f0cb0153ba9e5c5b 100644 (file)
@@ -46,7 +46,7 @@ def run_command(batch):
     else:
         user = "root"
         if "as-builder" in batch.command_flags:
-            user = "builder"
+            user = None
         return chroot.run(command, logfile = batch.logfile, user = user)
 
 def build_all(r, build_fnc):
@@ -82,7 +82,7 @@ def build_all(r, build_fnc):
                     log.notice("running %s OK" % batch.command)
                     notify.add_batch(batch, "OK")
                 batch.build_time = stopwatch.stop()
-                report.add_pld_builder_info(batch)
+                report.add_tld_builder_info(batch)
                 buildlogs.add(batch.logfile, failed = batch.build_failed, id=r.id)
             else:
                 log.notice("not running command, not for me.")
@@ -106,7 +106,7 @@ def build_all(r, build_fnc):
                 log.notice("building %s OK" % (batch.spec))
                 notify.add_batch(batch, "OK")
             batch.build_time = stopwatch.stop()
-            report.add_pld_builder_info(batch)
+            report.add_tld_builder_info(batch)
             buildlogs.add(batch.logfile, failed = batch.build_failed, id=r.id)
         else:
             batch.build_failed = 1