summaryrefslogtreecommitdiff
path: root/README
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2018-09-28 14:35:31 +0200
committerErich Eckner <git@eckner.net>2018-09-28 14:35:31 +0200
commita6fe0b1164f8a2fe3334f7b29c4ad799d6f1e1e2 (patch)
tree2ba64381f30f2e4e2d150ad62d535b7cbdae0f66 /README
parentf99d7ae1442c2fe84479dbfe472aba733d062924 (diff)
downloadarchive-server-a6fe0b1164f8a2fe3334f7b29c4ad799d6f1e1e2.tar.xz
README created
Diffstat (limited to 'README')
-rw-r--r--README19
1 files changed, 19 insertions, 0 deletions
diff --git a/README b/README
new file mode 100644
index 0000000..fb9ce1a
--- /dev/null
+++ b/README
@@ -0,0 +1,19 @@
+provide archives of foreign git repositories via http(s)
+
+Installation:
+
+- change ownership of "work" to webserver user
+- point a php-capable webserver to httpdocs
+- run clone-repos as webserver user by cronjob or similar
+- run update-repos as webserver user by cronjob or similar
+
+Use:
+
+access on the webserver:
+
+- to schedule for cloning
+ ?r=base64_encode(https://url.to/upstream/repository.git)
+
+- to retrieve tar ball:
+ ?r=base64_encode(https://url.to/upstream/repository.git)&tag=base64_encode(tag)
+ ?r=base64_encode(https://url.to/upstream/repository.git)&commit=hash