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 db54e9be71a96b185713ccbc76dff2b462113755

Small adjustments to unit/functional tests
Author: Catalin(ux) M. BOIE
Author date (UTC): 2016-10-03 16:13
Committer name: Catalin(ux) M. BOIE
Committer date (UTC): 2016-10-03 16:26
Parent(s): 0ba944fa4f60754b31ec29a676e72a9b870698cc
Signing key:
Tree: 47a23a15b72c4ec94c538c652ab0521dd1b254fc
File Lines added Lines deleted
tests/config.php 2 2
tests/ssh.php 1 1
File tests/config.php changed (mode: 100644) (index 65889d2..eaf6ec8)
... ... $rg_theme = "util";
28 28 $rg_lang = "en"; $rg_lang = "en";
29 29 $rg_cache_enable = FALSE; $rg_cache_enable = FALSE;
30 30 $rg_event_socket = ""; $rg_event_socket = "";
31 $rg_ssh_host = 'r1i';
31 $rg_ssh_host = 'rg';
32 32 $rg_ssh_port = 2222; $rg_ssh_port = 2222;
33 33 $rg_git_host = 'localhost'; $rg_git_host = 'localhost';
34 34 $rg_git_port = 9418; $rg_git_port = 9418;
35 35
36 36 // For http testing // For http testing
37 $test_url = "http://r1i:9000";
37 $test_url = "http://rg:9000";
38 38 $rg_debug = 1; $rg_debug = 1;
39 39
40 40 ?> ?>
File tests/ssh.php changed (mode: 100644) (index 0f65da5..6c9518d)
... ... if ($r === FALSE) {
36 36 exit(1); exit(1);
37 37 } }
38 38
39 $cmd = "ssh -i keys/" . $rg_ui['uid'] . " rocketgit@r1i";
39 $cmd = "ssh -i keys/" . $rg_ui['uid'] . " rocketgit@rg" . " -p 2222";
40 40
41 41 rg_test_upload_ssh_key($db, $rg_ui, $rg_ui['uid'], $good_sid); rg_test_upload_ssh_key($db, $rg_ui, $rg_ui['uid'], $good_sid);
42 42
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