aboutsummaryrefslogtreecommitdiffstats
path: root/db-build
diff options
context:
space:
mode:
authorJohannes Löthberg <johannes@kyriasis.com>2014-10-12 13:32:01 +0100
committerJohannes Löthberg <johannes@kyriasis.com>2014-10-12 13:32:01 +0100
commit7bc912f4f413c2e140979b1f79d44e3129c7e0b1 (patch)
tree6601af919b91a3a956baab0d3eef2722832e98f1 /db-build
parent437479cb91fab3f3d457776b2e6fb2e71da3ef46 (diff)
downloadvcs-rebuild-7bc912f4f413c2e140979b1f79d44e3129c7e0b1.tar.xz
split out db building
Diffstat (limited to 'db-build')
-rwxr-xr-xdb-build11
1 files changed, 11 insertions, 0 deletions
diff --git a/db-build b/db-build
new file mode 100755
index 0000000..5853a7b
--- /dev/null
+++ b/db-build
@@ -0,0 +1,11 @@
+#!/usr/bin/env bash
+
+##
+# Rebuild the repository using repose
+main() {
+ source $(dirname $0)/config.bash
+
+ "$REPOSE_BINARY" "$DATABASE" --root "$ROOT" --pool "$POOL" -v --xz --files
+}
+
+main "$@"