|
1 | | -Git-Http-Backend.Go - Git Smart-HTTP Server Handler |
2 | | -====================================================== |
| 1 | +# Git HTTP Backend |
3 | 2 |
|
4 | 3 | This is a Go based implementation of Grack (a Rack application), which aimed |
5 | 4 | to replace the builtin git-http-backed CGI handler distributed with C Git. |
6 | 5 | Grack was written to allow far more webservers to handle Git smart http |
7 | 6 | requests. The aim of this project is to improve Git smart http performance by |
8 | 7 | utilising the power of Go. |
9 | 8 |
|
10 | | -Dependencies |
11 | | -======================== |
12 | | -* Go - http://golang.org |
13 | | -* Git >= 1.7 |
14 | | - |
15 | | -Quick Start |
16 | | -======================== |
17 | | - $ (edit git-http-backend.go to set GitBinPath and ProjectRoot) |
18 | | - $ go run git-http-backend.go |
19 | | - $ git clone http://127.0.0.1:8080/asim/git-http-backend.git |
20 | | - |
21 | | -License |
22 | | -======================== |
23 | | - (The MIT License) |
24 | | - |
25 | | - Copyright (c) 2013 Asim Aslam <[email protected]> |
26 | | - |
27 | | - Permission is hereby granted, free of charge, to any person obtaining |
28 | | - a copy of this software and associated documentation files (the |
29 | | - 'Software'), to deal in the Software without restriction, including |
30 | | - without limitation the rights to use, copy, modify, merge, publish, |
31 | | - distribute, sublicense, and/or sell copies of the Software, and to |
32 | | - permit persons to whom the Software is furnished to do so, subject to |
33 | | - the following conditions: |
34 | | - |
35 | | - The above copyright notice and this permission notice shall be |
36 | | - included in all copies or substantial portions of the Software. |
37 | | - |
38 | | - THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND, |
39 | | - EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF |
40 | | - MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. |
41 | | - IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY |
42 | | - CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, |
43 | | - TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE |
44 | | - SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. |
| 9 | +## Dependencies |
| 10 | + |
| 11 | +- Git >= 1.7 |
| 12 | + |
| 13 | +## Install |
| 14 | + |
| 15 | +``` |
| 16 | +go get github.com/asim/git-http-backend |
| 17 | +``` |
| 18 | + |
| 19 | +## Usage |
| 20 | + |
| 21 | +``` |
| 22 | +git-http-backend --project_root=/tmp --git_bin_path=/usr/bin/git |
| 23 | +``` |
| 24 | + |
| 25 | +## License |
| 26 | + |
| 27 | +``` |
| 28 | +(The MIT License) |
| 29 | +
|
| 30 | +Copyright (c) 2013 Asim Aslam <[email protected]> |
| 31 | +
|
| 32 | +Permission is hereby granted, free of charge, to any person obtaining |
| 33 | +a copy of this software and associated documentation files (the |
| 34 | +'Software'), to deal in the Software without restriction, including |
| 35 | +without limitation the rights to use, copy, modify, merge, publish, |
| 36 | +distribute, sublicense, and/or sell copies of the Software, and to |
| 37 | +permit persons to whom the Software is furnished to do so, subject to |
| 38 | +the following conditions: |
| 39 | +
|
| 40 | +The above copyright notice and this permission notice shall be |
| 41 | +included in all copies or substantial portions of the Software. |
| 42 | +
|
| 43 | +THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND, |
| 44 | +EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF |
| 45 | +MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. |
| 46 | +IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY |
| 47 | +CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, |
| 48 | +TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE |
| 49 | +SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. |
| 50 | +``` |
0 commit comments