aboutsummaryrefslogtreecommitdiff
path: root/tests/pkg/publish
diff options
context:
space:
mode:
authorKaren Arutyunov <karen@codesynthesis.com>2016-04-14 17:59:24 +0300
committerKaren Arutyunov <karen@codesynthesis.com>2016-05-04 20:47:45 +0300
commitb13332c991ce2695626eaca367dd8208b174c9ca (patch)
tree809dc321b47d5ef9c72935637f94bf5b84ed640d /tests/pkg/publish
parentc9831f760a83e36a3a2ac84b1bd3f573e47ef195 (diff)
Add support for repository authentication
Diffstat (limited to 'tests/pkg/publish')
-rwxr-xr-xtests/pkg/publish17
1 files changed, 17 insertions, 0 deletions
diff --git a/tests/pkg/publish b/tests/pkg/publish
new file mode 100755
index 0000000..00453cc
--- /dev/null
+++ b/tests/pkg/publish
@@ -0,0 +1,17 @@
+#!/bin/sh
+
+# Some commonly useful addtional options that can be specified via the
+# command line:
+#
+# --dry-run
+# --progress
+#
+rsync -v -rlpt --copy-unsafe-links \
+--prune-empty-dirs --delete-after --delete-excluded $* \
+--include '*/' \
+--include '*.tar.gz' \
+--include 'packages' \
+--include 'repositories' \
+--include 'signature' \
+--exclude '*' \
+1/build2.org/ build2.org:/var/pkg/1/