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 df91965df1900e161ae9641e03217671135cb97b

When repo is created, update cache
Author: Catalin(ux) M. BOIE
Author date (UTC): 2015-03-19 20:06
Committer name: Catalin(ux) M. BOIE
Committer date (UTC): 2015-03-19 20:06
Parent(s): 1832f125018048ae65dbc6ef5f5dc9a9e7fa71ff
Signing key:
Tree: a047380d7c6b7816219ba88325095c6545ddb1d3
File Lines added Lines deleted
inc/repo.inc.php 3 0
File inc/repo.inc.php changed (mode: 100644) (index f5b1833..45347f1)
... ... function rg_repo_git_done($db, $repo_id)
1166 1166 $ret = FALSE; $ret = FALSE;
1167 1167 while (1) { while (1) {
1168 1168 $params = array("repo_id" => $repo_id); $params = array("repo_id" => $repo_id);
1169
1170 rg_cache_merge('repo_by_id::' . $repo_id, $params);
1171
1169 1172 $sql = "UPDATE repos SET git_dir_done = 1" $sql = "UPDATE repos SET git_dir_done = 1"
1170 1173 . " WHERE repo_id = @@repo_id@@"; . " WHERE repo_id = @@repo_id@@";
1171 1174 $res = rg_sql_query_params($db, $sql, $params); $res = rg_sql_query_params($db, $sql, $params);
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