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 146d1de07369f1e3270a6cdca1f1bead2d076f30

Allow duplicate repo names. Allow same key (db pov).
Author: Catalin(ux) M. BOIE
Author date (UTC): 2012-11-05 19:47
Committer name: Catalin(ux) M. BOIE
Committer date (UTC): 2012-11-05 19:47
Parent(s): e15b8500a1ba4d1a84631287b234a661aa366cd6
Signing key:
Tree: 4acae3570f8788965aac1d9f1008077f8259cc2a
File Lines added Lines deleted
TODO 3 0
duilder.conf 1 1
inc/struct.inc.php 10 0
File TODO changed (mode: 100644) (index 22f8b92..bfa7e54)
1 1 == BEFORE FIRST RELEASE! == == BEFORE FIRST RELEASE! ==
2 [ ] When we are altering keys table and we upgrade, the file will not be rebuilt.
3 We have to dirty it.
4 [ ] Do not prevent double ssh keys by database. Use the PHP code.
2 5 [ ] Fix this shit. isset($_REQUEST['rights']) ? rg_rights_a2s(rg_var_str("rights")) : $rg [ ] Fix this shit. isset($_REQUEST['rights']) ? rg_rights_a2s(rg_var_str("rights")) : $rg
3 6 [ ] when you add a bug, state any shoul not be present. [ ] when you add a bug, state any shoul not be present.
4 7 [ ] bug tracker is private? [ ] bug tracker is private?
File duilder.conf changed (mode: 100644) (index 6b1afcd..532ad16)
1 1 PRJ="rocketgit" PRJ="rocketgit"
2 VER="0.14"
2 VER="0.15"
3 3 REV="1" REV="1"
4 4 EXCLUDE=".exclude" EXCLUDE=".exclude"
5 5 EXPORT_PATH="/data/www/umbrella/kernel/us/rocketgit" EXPORT_PATH="/data/www/umbrella/kernel/us/rocketgit"
File inc/struct.inc.php changed (mode: 100644) (index 66073e6..dccf574)
... ... $rg_sql_struct[8]['other'] = array(
188 188 . " ADD last_ip TEXT NOT NULL DEFAULT ''" . " ADD last_ip TEXT NOT NULL DEFAULT ''"
189 189 ); );
190 190
191 $rg_sql_struct[9] = array();
192 $rg_sql_struct[9]['tables'] = array();
193 $rg_sql_struct[9]['other'] = array(
194 "allow duplicate ssh keys" => "ALTER TABLE keys"
195 . " DROP CONSTRAINT IF EXISTS keys_key_key",
196 "allow duplicate repos names" => "ALTER TABLE repos"
197 . " DROP CONSTRAINT IF EXISTS repos_name_key",
198 "index on repos names" => "CREATE INDEX repos_i_name ON repos(name)"
199 );
200
191 201
192 202 // This must be the last line // This must be the last line
193 203 $rg_sql_schema_ver = count($rg_sql_struct); $rg_sql_schema_ver = count($rg_sql_struct);
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