Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/motemen/mir
https://github.com/motemen/mir
Last synced: 3 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/motemen/mir
- Owner: motemen
- Created: 2016-02-20T16:55:54.000Z (almost 9 years ago)
- Default Branch: master
- Last Pushed: 2018-06-21T01:51:32.000Z (over 6 years ago)
- Last Synced: 2024-06-20T14:29:25.682Z (7 months ago)
- Language: Go
- Size: 55.7 KB
- Stars: 8
- Watchers: 4
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.adoc
Awesome Lists containing this project
README
mir
===mir - A simple Git slave (smart) HTTP server.
Usage
---------
mir -upstream= -base-path= [-listen=]
----For example:
----
mir -upstream=https://github.com/ -base-path=/var/lib/mir/repos -listen=:8080
----Then use it as an HTTP Git server.
----
$ git clone http://:8080/motemen/mir.git
----Description
-----------mir behaves as a (smart) Git HTTP server.
When a client requested to fetch a repository from it, mir first synchronizes the local repository to the "upstream" one, and serves the requested pack from the local repository, thus helps scaling out git-upload-pack servers for massive git fetches.