[151152] contrib/mp-buildbot/README

larryv at macports.org larryv at macports.org
Mon Aug 8 14:23:00 PDT 2016


Revision: 151152
          https://trac.macports.org/changeset/151152
Author:   larryv at macports.org
Date:     2016-08-08 14:23:00 -0700 (Mon, 08 Aug 2016)
Log Message:
-----------
mp-buildbot: Revise steps 4-9 in README

- Indent code examples more.

- Put per-subport steps into a sublist to emphasize that they get
  repeated.

- Keep lines short.

Modified Paths:
--------------
    contrib/mp-buildbot/README

Modified: contrib/mp-buildbot/README
===================================================================
--- contrib/mp-buildbot/README	2016-08-08 21:22:58 UTC (rev 151151)
+++ contrib/mp-buildbot/README	2016-08-08 21:23:00 UTC (rev 151152)
@@ -31,31 +31,37 @@
 
             mpbb list-subports --prefix /opt/local "$port1" "$port2" ...
 
-       for each port listed on stdout:
+    4. For each subport listed in step 3:
 
-    4. install all dependencies of a given port
+        a. Install dependencies.
 
-       mpbb install-dependencies --prefix /opt/local --port "$port"
+                mpbb install-dependencies \
+                    --prefix /opt/local \
+                    --port "$subport"
 
-    5. install a given port
+        b. Install the subport itself.
 
-       mpbb install-port --prefix /opt/local --port "$port"
+                mpbb install-port --prefix /opt/local --port "$subport"
 
-    6. gather archives
+        c. Gather archives.
 
-       mpbb gather-archives --prefix /opt/local --port "$port" --workdir "$workdir" --archive-site "$archive_site" --staging-dir "$(pwd)/archive-staging"
+                mpbb gather-archives \
+                    --prefix /opt/local \
+                    --port "$port" \
+                    --workdir "$workdir" \
+                    --archive-site "$archive_site" \
+                    --staging-dir "$(pwd)/archive-staging"
 
-    7. upload
-       Must be implemented in the buildmaster
+        d. Upload. Must be implemented in the buildmaster.
 
-    8. deploy
-       Must be implemented in the buildmaster
+        e. Deploy. Must be implemented in the buildmaster.
 
-    9. cleanup
+        f. Clean up. This must always be run, even if a previous step
+           failed.
 
-       mpbb cleanup --prefix /opt/local
-       You will have to run this even if one of the previous steps failed.
+                mpbb cleanup --prefix /opt/local
 
+
 ## Step Implementation API
 
 Step provider scripts are sourced and should provide a number of functions:
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20160808/a57c08c2/attachment.html>


More information about the macports-changes mailing list