xaizek / rocketgit (License: AGPLv3+) (since 2018-12-09)
Light and fast Git hosting solution suitable to serve both as a hub or as a personal code storage with its tickets, pull requests, API and much more.
Commit 6c75b7de3db4135071155fcaebc4b7220ee966ed

tests: switch to nginx; small fixes for the 'log' test
Author: Catalin(ux) M. BOIE
Author date (UTC): 2017-06-25 08:18
Committer name: Catalin(ux) M. BOIE
Committer date (UTC): 2017-06-25 08:18
Parent(s): a030309a796a84b99bc9568fe81291305492bf10
Signing key:
Tree: b11d287677e8f489ff1b0e625940bffcecf54eae
File Lines added Lines deleted
tests/Makefile 2 2
tests/config.php 2 1
tests/git_log1.expected 10 10
File tests/Makefile changed (mode: 100644) (index fbd1ef7..bfb603e)
... ... clean:
17 17 *.tmp base ubase wh_cloud.git export.json \ *.tmp base ubase wh_cloud.git export.json \
18 18 .by_http temp_repos jars .by_http temp_repos jars
19 19
20 .PHONY: clean_state
21 clean_state:
20 .PHONY: clean-state
21 clean-state:
22 22 @-rm -rf state/* @-rm -rf state/*
File tests/config.php changed (mode: 100644) (index 99abeb6..750185e)
... ... $rg_git_host = 'localhost';
33 33 $rg_git_port = 9418; $rg_git_port = 9418;
34 34
35 35 // For http testing // For http testing
36 $test_url = "http://rg.embedromix.ro:9000";
36 //$test_url = "http://rg.embedromix.ro:9000"; // apache
37 $test_url = "http://rg.embedromix.ro:9002"; // nginx
37 38 $rg_debug = 1; $rg_debug = 1;
38 39
39 40 $rg_base_url = $test_url; $rg_base_url = $test_url;
File tests/git_log1.expected changed (mode: 100644) (index 9e564c8..749e10b)
2 2 <br /> <br />
3 3 <a name="file-uniq-id-dis1"></a> <a name="file-uniq-id-dis1"></a>
4 4 <table class="chunk"> <table class="chunk">
5 <tr style="border: 1px; background: #dddddd"><td colspan="4">File <b>dis1</b> changed (mode: 100644) (index 2c4179b..2bf9115):</td></tr>
5 <tr style="border: 1px; background: #dddddd"><td colspan="4">File <b>dis1</b> changed (mode: 100644) (index 2c4179b..2bf9115)</td></tr>
6 6 1 cl-r aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa cl-e 1 cl-r aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa cl-e
7 7 2 1 cl-e baaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa cl-e baaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa 2 1 cl-e baaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa cl-e baaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
8 8 2 cl-e cl-g caaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa 2 cl-e cl-g caaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
 
12 12 <br /> <br />
13 13 <a name="file-uniq-id-dis1"></a> <a name="file-uniq-id-dis1"></a>
14 14 <table class="chunk"> <table class="chunk">
15 <tr style="border: 1px; background: #dddddd"><td colspan="4">File <b>dis1</b> added (mode: 100644) (index 0000000..2c4179b):</td></tr>
15 <tr style="border: 1px; background: #dddddd"><td colspan="4">File <b>dis1</b> added (mode: 100644) (index 0000000..2c4179b)</td></tr>
16 16 1 cl-e cl-g aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa 1 cl-e cl-g aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
17 17 2 cl-e cl-g baaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa 2 cl-e cl-g baaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
18 18 </table> </table>
 
21 21 <br /> <br />
22 22 <a name="file-uniq-id-a b c"></a> <a name="file-uniq-id-a b c"></a>
23 23 <table class="chunk"> <table class="chunk">
24 <tr style="border: 1px; background: #dddddd"><td colspan="4">File <b>a b c</b> added (mode: 100644) (index 0000000..72943a1):</td></tr>
24 <tr style="border: 1px; background: #dddddd"><td colspan="4">File <b>a b c</b> added (mode: 100644) (index 0000000..72943a1)</td></tr>
25 25 1 cl-e cl-g aaa 1 cl-e cl-g aaa
26 26 </table> </table>
27 27 </div> </div>
 
29 29 <br /> <br />
30 30 <a name="file-uniq-id-a3"></a> <a name="file-uniq-id-a3"></a>
31 31 <table class="chunk"> <table class="chunk">
32 <tr style="border: 1px; background: #dddddd"><td colspan="4">File <b>a3</b> deleted (index 193814c..0000000):</td></tr>
32 <tr style="border: 1px; background: #dddddd"><td colspan="4">File <b>a3</b> deleted (index 193814c..0000000)</td></tr>
33 33 1 cl-r aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa cl-e 1 cl-r aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa cl-e
34 34 </table> </table>
35 35 </div> </div>
 
37 37 <br /> <br />
38 38 <a name="file-uniq-id-a3"></a> <a name="file-uniq-id-a3"></a>
39 39 <table class="chunk"> <table class="chunk">
40 <tr style="border: 1px; background: #dddddd"><td colspan="4">File <b>a3</b> renamed from <b>a2</b> (similarity 100%):</td></tr>
40 <tr style="border: 1px; background: #dddddd"><td colspan="4">File <b>a3</b> renamed from <b>a2</b> (similarity 100%)</td></tr>
41 41 </table> </table>
42 42 <br /> <br />
43 43 <a name="file-uniq-id-c"></a> <a name="file-uniq-id-c"></a>
44 44 <table class="chunk"> <table class="chunk">
45 <tr style="border: 1px; background: #dddddd"><td colspan="4">File <b>c</b> added (mode: 100644) (index 0000000..8ded189):</td></tr>
45 <tr style="border: 1px; background: #dddddd"><td colspan="4">File <b>c</b> added (mode: 100644) (index 0000000..8ded189)</td></tr>
46 46 1 cl-e cl-g aaaaaaaaaaaaaaaaaaaa 1 cl-e cl-g aaaaaaaaaaaaaaaaaaaa
47 47 </table> </table>
48 48 </div> </div>
 
50 50 <br /> <br />
51 51 <a name="file-uniq-id-a2"></a> <a name="file-uniq-id-a2"></a>
52 52 <table class="chunk"> <table class="chunk">
53 <tr style="border: 1px; background: #dddddd"><td colspan="4">File <b>a2</b> copied from file <b>a</b> (similarity 100%):</td></tr>
53 <tr style="border: 1px; background: #dddddd"><td colspan="4">File <b>a2</b> copied from file <b>a</b> (similarity 100%)</td></tr>
54 54 </table> </table>
55 55 </div> </div>
56 56 <div class="diff"> <div class="diff">
57 57 <br /> <br />
58 58 <a name="file-uniq-id-empty.txt"></a> <a name="file-uniq-id-empty.txt"></a>
59 59 <table class="chunk"> <table class="chunk">
60 <tr style="border: 1px; background: #dddddd"><td colspan="4">File <b>empty.txt</b> copied from file <b>xx&quot;yy&quot;</b> (similarity 100%):</td></tr>
60 <tr style="border: 1px; background: #dddddd"><td colspan="4">File <b>empty.txt</b> copied from file <b>xx&quot;yy&quot;</b> (similarity 100%)</td></tr>
61 61 </table> </table>
62 62 </div> </div>
63 63 <div class="diff"> <div class="diff">
64 64 <br /> <br />
65 65 <a name="file-uniq-id-xx&quot;yy"></a> <a name="file-uniq-id-xx&quot;yy"></a>
66 66 <table class="chunk"> <table class="chunk">
67 <tr style="border: 1px; background: #dddddd"><td colspan="4">File <b>xx&quot;yy</b> added (mode: 100644) (index 0000000..e69de29):</td></tr>
67 <tr style="border: 1px; background: #dddddd"><td colspan="4">File <b>xx&quot;yy</b> added (mode: 100644) (index 0000000..e69de29)</td></tr>
68 68 </table> </table>
69 69 </div> </div>
70 70 <div class="diff"> <div class="diff">
71 71 <br /> <br />
72 72 <a name="file-uniq-id-a"></a> <a name="file-uniq-id-a"></a>
73 73 <table class="chunk"> <table class="chunk">
74 <tr style="border: 1px; background: #dddddd"><td colspan="4">File <b>a</b> added (mode: 100644) (index 0000000..193814c):</td></tr>
74 <tr style="border: 1px; background: #dddddd"><td colspan="4">File <b>a</b> added (mode: 100644) (index 0000000..193814c)</td></tr>
75 75 1 cl-e cl-g aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa 1 cl-e cl-g aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
76 76 </table> </table>
77 77 </div> </div>
Hints

Before first commit, do not forget to setup your git environment:
git config --global user.name "your_name_here"
git config --global user.email "your@email_here"

Clone this repository using HTTP(S):
git clone https://code.reversed.top/user/xaizek/rocketgit

Clone this repository using ssh (do not forget to upload a key first):
git clone ssh://rocketgit@code.reversed.top/user/xaizek/rocketgit

You are allowed to anonymously push to this repository.
This means that your pushed commits will automatically be transformed into a pull request:
... clone the repository ...
... make some changes and some commits ...
git push origin master