/samples/config.php (b8c665d039408f72c1300665185514f3cbda71b9) (1444 bytes) (mode 100644) (type blob)
<?php
// RocketGit configuration file
// Base
$rg_base = "/home/rocketgit";
// Database
$rg_sql = "user=rocketgit dbname=rocketgit";
$rg_sql_debug = 1;
// Session
$rg_session_time = 7200;
// Keys
$rg_keys_file = $rg_base . "/.ssh/authorized_keys";
// Scripts
$rg_scripts = "/usr/share/rocketgit";
// Allowed repo names (regular expression)
$rg_repo_allow = '/^[A-Za-z0-9_.-]*$/';
// Allowed repo name length
$rg_repo_min_len = 2;
$rg_repo_max_len = 64;
// Allowed user names (regular expression)
$rg_user_allow = '/^[A-Za-z0-9_.-]*$/';
// Allowed user name length
$rg_user_min_len = 3;
$rg_user_max_len = 32;
// SSH parameters for authorized_keys
$rg_ssh_paras = "no-port-forwarding,no-X11-forwarding,no-agent-forwarding,no-pty";
// Random key that will be used for encription of the password for better security
$rg_pass_key = "reigjmn9483jfisendfhwefhefhesfuhfskhjukhtw4khfwkur";
// From what address we will send mails (forgot pass etc.)?
$rg_admin_name = "RocketGit Admin";
$rg_admin_email = "admin@site.tld";
// Set to 1 to allow any visitor to create an account.
// Else, only the admin can create accounts.
$rg_account_allow_creation = 1;
// Maximum number of keys per user
$rg_max_ssh_keys = 10;
// log dirs
$rg_log_dir = "/var/log/rocketgit";
$rg_web_log_dir = "/var/log/rocketgit-web";
// lock dir
$rg_lock_dir = "/var/lib/rocketgit";
// Default theme
$rg_theme = "default";
// Default language
$rg_lang = "en";
?>
Mode |
Type |
Size |
Ref |
File |
100644 |
blob |
26 |
85c946cb687f42a070d70d4c9ce8b528b1cc1559 |
.exclude |
100644 |
blob |
80 |
003be7923a1a0ae2ee2c52f4604bab34b9a0850e |
.gitignore |
100644 |
blob |
35147 |
94a9ed024d3859793618152ea559a168bbcbb5e2 |
LICENSE |
100644 |
blob |
1133 |
c42fcbda52a40a3384a026d952a31d426a245ab0 |
Makefile.in |
100644 |
blob |
1874 |
5ad3d65eabac85aa696e21378b7df07254f9f77b |
README |
100644 |
blob |
11849 |
10dcefb4bb2cb149c278995d1e8c5b4cc4e0b95e |
TODO |
040000 |
tree |
- |
9cd512d9424b6ce9928448dbbb766007601d15d5 |
admin |
040000 |
tree |
- |
76a16691bc48bbe42bdc63a6d1244d2d49e4da2d |
artwork |
100755 |
blob |
23 |
d33bb6c4ecdce1390ce1db3c79ea3b93e22ea755 |
configure |
100755 |
blob |
13311 |
a6e2825b35f915e6d64c2a981fa3b6266b2bf587 |
duilder |
100644 |
blob |
268 |
3923b9deec801f5f28dc99655e9589aec171c24d |
duilder.conf |
040000 |
tree |
- |
ab26c02921b206d7761c54448f9936492436268b |
hooks |
040000 |
tree |
- |
2c3dff61327edca5220ecfb34934dc4b8d5eacd3 |
inc |
100644 |
blob |
1786 |
de959fd88880e4a3633df5bff53350f41c1cab22 |
rocketgit.spec.in |
040000 |
tree |
- |
a7d1023f072203f6cb7ccf92401af1860aca451f |
root |
040000 |
tree |
- |
a129d5be034825df6f8df0dd053f3bd72e984f1d |
samples |
040000 |
tree |
- |
ef52861b6d2e81a845ba833f44e333f8488c9747 |
scripts |
040000 |
tree |
- |
194d1db3c0f5f66f0eaaa6bdcaa2ce10745d2914 |
tests |
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://rocketgit.com/user/catalinux/rocketgit
Clone this repository using ssh (do not forget to upload a key first):
git clone ssh://rocketgit@ssh.rocketgit.com/user/catalinux/rocketgit
Clone this repository using git:
git clone git://git.rocketgit.com/user/catalinux/rocketgit
You are allowed to anonymously push to this repository.
This means that your pushed commits will automatically be transformed into a
merge request:
... clone the repository ...
... make some changes and some commits ...
git push origin main