aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul Sokolovsky <paul.sokolovsky@linaro.org>2012-01-25 00:31:52 +0200
committerPaul Sokolovsky <paul.sokolovsky@linaro.org>2012-01-25 00:31:52 +0200
commite7a92495ce2a5adaff2925e5a8fbee5c0059682e (patch)
tree0217ce8a9a8bf7f10dcfbcada71ba06afc6281cb
parent1f7ede7f17c85c78d7f7e14b2b52bb97a432d9b9 (diff)
Add comments/descriptions for new scripts.
-rwxr-xr-xutils/seeded-builds/manifest-union8
-rwxr-xr-xutils/seeded-builds/seed-update5
2 files changed, 13 insertions, 0 deletions
diff --git a/utils/seeded-builds/manifest-union b/utils/seeded-builds/manifest-union
index b1e46bd..c27244c 100755
--- a/utils/seeded-builds/manifest-union
+++ b/utils/seeded-builds/manifest-union
@@ -1,4 +1,12 @@
#!/usr/bin/env python
+"""
+Produce set-theorhetic union of several Android manifests. Each project
+appearing in any manifest gets output once, and at most once, to the
+resulting manifest. Differences in checkout path/branch are ignored -
+values from a random occurance are output in result. The output is
+mostly intended for usage with "repo init --mirror", to produce mirror
+which contains all repositories used by a number of manifests.
+"""
import sys
import optparse
from xml.dom import minidom
diff --git a/utils/seeded-builds/seed-update b/utils/seeded-builds/seed-update
index 56498eb..65b391f 100755
--- a/utils/seeded-builds/seed-update
+++ b/utils/seeded-builds/seed-update
@@ -1,4 +1,9 @@
#!/bin/bash
+#
+# Update and repack an Android Build seed tarball.
+# This is intended to be run from a crontab, once a week or so
+# (takes ~1hr to run, produces ~15Gb tarball as of writing).
+#
set -e