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 69912910f5c0bbddc73ced992d8b3a652a8ff526

Do not on any event if the protocol match. Assume is stable now.
Author: Catalin(ux) M. BOIE
Author date (UTC): 2015-09-11 05:06
Committer name: Catalin(ux) M. BOIE
Committer date (UTC): 2015-09-11 05:06
Parent(s): 89d2ee4c3cae790d05a8b853de8427298dcbb9e1
Signing key:
Tree: ae20f14e7e8a4067afa7d0f94a2ef0e67d8d289c
File Lines added Lines deleted
scripts/cache.php 1 9
File scripts/cache.php changed (mode: 100644) (index 6acc008..7865345)
1 1 <?php <?php
2 2 // This is called by cron, and is persistent. // This is called by cron, and is persistent.
3 // It takes care fast caching, like memcache.
3 // It takes care of fast caching, like memcache.
4 4 // It will receive signals using a UNIX socket. // It will receive signals using a UNIX socket.
5 5 error_reporting(E_ALL); error_reporting(E_ALL);
6 6 ini_set("track_errors", "On"); ini_set("track_errors", "On");
 
... ... if ($r === FALSE) {
327 327 $conn_table = array("r" => array(), "w" => array(), "conns" => array()); $conn_table = array("r" => array(), "w" => array(), "conns" => array());
328 328 $conn_table['r']['master'] = $master; $conn_table['r']['master'] = $master;
329 329 do { do {
330 $new_ver = file_get_contents(__FILE__);
331 $new_ver = preg_match("/rg_cache_version = (.*);/", $new_ver, $matches);
332 $new_ver = $matches[1];
333 if ($rg_cache_version != $new_ver) {
334 rg_log("Version upgraded. Exiting...");
335 break;
336 }
337
338 330 rg_log_buffer_clear(); rg_log_buffer_clear();
339 331
340 332 $r2 = $conn_table['r']; $w2 = $conn_table['w']; $ex = array(); $r2 = $conn_table['r']; $w2 = $conn_table['w']; $ex = array();
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