summaryrefslogtreecommitdiff
path: root/README
diff options
context:
space:
mode:
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