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 d6c009c120fce4df47a7651a94619142c8992d52

Prepare env to use base_url
Author: Catalin(ux) M. BOIE
Author date (UTC): 2017-05-24 19:05
Committer name: Catalin(ux) M. BOIE
Committer date (UTC): 2017-05-24 19:05
Parent(s): a821ee84f3dcf7294ee569dbc2da8b442cb60f29
Signing key:
Tree: 65fbaa864b316ac1afb46a0623d1af08d75a4111
File Lines added Lines deleted
scripts/cron.php 6 0
File scripts/cron.php changed (mode: 100644) (index 07df3f2..5d9d36e)
... ... rg_lock_or_exit("cron.lock");
31 31
32 32 rg_log("Start (ver=$rocketgit_version)..."); rg_log("Start (ver=$rocketgit_version)...");
33 33
34 $hostname = rg_state_get($db, 'hostname');
35 $http_allow = rg_state_get($db, 'http_allow');
36 $https_allow = rg_state_get($db, 'https_allow');
37 rg_base_url_build($hostname, $http_allow, $https_allow);
38 rg_log('DEBUG: base_url=' . rg_base_url());
39
34 40 if (gmdate("Hi") == "0305") if (gmdate("Hi") == "0305")
35 41 rg_clean_logs('/var/log/rocketgit'); rg_clean_logs('/var/log/rocketgit');
36 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