From a6fe0b1164f8a2fe3334f7b29c4ad799d6f1e1e2 Mon Sep 17 00:00:00 2001 From: Erich Eckner Date: Fri, 28 Sep 2018 14:35:31 +0200 Subject: README created --- README | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 README 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 -- cgit v1.2.3-70-g09d2