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 aae5180a3eed608170972b9a49bf19be37353141

Do not log IP. For IPv6 is eating a whole line. Session is enough.
Author: Catalin(ux) M. BOIE
Author date (UTC): 2011-03-18 04:07
Committer name: Catalin(ux) M. BOIE
Committer date (UTC): 2011-03-18 04:07
Parent(s): 9578a66fd047f044525e37469e6fc1db052ad486
Signing key:
Tree: 6ae5289954e3a9f71ef602931202fc4db7fc62b9
File Lines added Lines deleted
inc/xlog.inc.php 0 2
File inc/xlog.inc.php changed (mode: 100644) (index c7b2caa..4473d19)
... ... function xlog($str)
25 25 } }
26 26
27 27 $buf = date("Y-m-d H:i:s"); $buf = date("Y-m-d H:i:s");
28 if (!empty($_SERVER['REMOTE_ADDR']))
29 $buf .= " " . $_SERVER['REMOTE_ADDR'];
30 28 $buf .= " " . $_xlog_sid . " " . $str . "\n"; $buf .= " " . $_xlog_sid . " " . $str . "\n";
31 29
32 30 fwrite($_xlog_fd, $buf); fwrite($_xlog_fd, $buf);
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