summaryrefslogtreecommitdiff
path: root/README
blob: fb9ce1a269c606aba765fed504548e3d0a417385 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
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