begin to sketch git pre-receive hook
[invirt/scripts/git-hooks.git] / notes
diff --git a/notes b/notes
new file mode 100644 (file)
index 0000000..0663e05
--- /dev/null
+++ b/notes
@@ -0,0 +1,20 @@
+
+
+on commit to submodule:
+  zephyr
+  nothing else?
+
+superrepo heads are dev, prod
+on commit to superrepo:
+  for each changed submodule revision:
+    (as optimization: if same commit already in dev, just reprepro move)
+    try to build submodule
+    if fail, abort -- whole commit, probably; else
+    tag submodule with version
+    upload to dev/prod respectively
+  actually commit
+  zephyr
+
+This makes a long pre-receive process.  Is that cool?
+Probably is the right thing.
+