/samples/config.php (9848048ab9f3dddf982ea41a4f07b0bb258a35b2) (2243 bytes) (mode 100644) (type blob)
<?php
// RocketGit configuration file
// Base
$rg_base = "/home/rocketgit";
// Database
$rg_sql_debug = 0;
$rg_sql = 'user=rocketgit dbname=rocketgit connect_timeout=10';
// Session
$rg_session_time = 3600;
// Keys
$rg_keys_file = $rg_base . "/.ssh/authorized_keys";
// Scripts
$rg_scripts = "/usr/share/rocketgit";
// Allowed repo names (regular expression)
// M = Mark, L = Letter, N = Number
$rg_repo_allow = '-\p{L}\p{N}._+=*&';
// Allowed repo name length (chars, not bytes)
$rg_repo_min_len = 1;
$rg_repo_max_len = 64;
// Allowed user names (regular expression)
// Do not allow ':' - else HTTP Basic auth will not work!
$rg_user_allow = '-\p{L}\p{N}._+=*&';
// Allowed user name length (chars, not bytes)
$rg_user_min_len = 1;
$rg_user_max_len = 64;
// SSH parameters for authorized_keys
$rg_ssh_paras = "no-port-forwarding,no-X11-forwarding,no-agent-forwarding,no-pty";
// From what name and address we will send mails (forgot pass etc.)?
// If e-mail is empty, it will be root@<local host name>
$rg_admin_name = "RocketGit Admin";
$rg_admin_email = '';
// Set to 1 to allow any visitor to create an account.
// Else, only the admin can create accounts.
$rg_account_allow_creation = 1;
// Set to 0 if you do not want mandatory e-mail confirmation before usage.
$rg_account_email_confirm = 1;
// log dir
$rg_log_dir = "/var/log/rocketgit";
// state dir
$rg_state_dir = "/var/lib/rocketgit";
// lock dir
$rg_lock_dir = $rg_state_dir . "/locks";
// Repositories dir
$rg_repos = $rg_state_dir . "/repos";
// Directory for themes
$rg_theme_dir = $rg_scripts . "/root/themes";
// Default theme
$rg_theme = "default";
// Default language
$rg_lang = "en";
// SSH host - leave empty to autodetect
$rg_ssh_host = "";
// SSH port - put 0 to disable
$rg_ssh_port = 22;
// git host - leave empty to autodetect
$rg_git_host = "";
// Git port - put 0 to disable (standard is 9418)
$rg_git_port = 9418;
// How many days to keep the log files? Put 0 to not delete them.
$rg_logs_lifetime = 31;
// Addr/port to bind/listen for build workers.
// Set port to 0 to disable the builder.
$rg_builder_bind = '0.0.0.0';
$rg_builder_port = 65000;
// Allow events to be registered, even if user press "stop"
ignore_user_abort(TRUE);
?>
Mode |
Type |
Size |
Ref |
File |
100644 |
blob |
9 |
f3c7a7c5da68804a1bdf391127ba34aed33c3cca |
.exclude |
100644 |
blob |
102 |
eaeb7d777062c60a55cdd4b5734902cdf6e1790c |
.gitignore |
100644 |
blob |
375 |
1f425bcd2049c526744d449511094fc045ceac74 |
AUTHORS |
100644 |
blob |
1132 |
dd65951315f3de6d52d52a82fca59889d1d95187 |
Certs.txt |
100644 |
blob |
1216 |
f573255f3b73ee73fb6aecc9d18f0cd39523dc5e |
History.txt |
100644 |
blob |
34520 |
dba13ed2ddf783ee8118c6a581dbf75305f816a3 |
LICENSE |
100644 |
blob |
3434 |
e96e806d6ab43da8ec6337476ce045ada2a9e14d |
Makefile.in |
100644 |
blob |
5857 |
6f0f5d6e29789530300834fe98f02b06bbe4652c |
README |
100644 |
blob |
140848 |
1d838cd930736f74969927b26c4a4a55879a3497 |
TODO |
100644 |
blob |
1294 |
f22911eb777f0695fcf81ad686eac133eb11fcc4 |
TODO-plans |
100644 |
blob |
203 |
a2863c67c3da44126b61a15a6f09738c25e0fbe0 |
TODO.perf |
100644 |
blob |
967 |
56bbaa7c937381fb10a2907b6bbe056ef8cc824a |
TODO.vm |
040000 |
tree |
- |
21928e906ad2907a55c2e81c2a8b0502b586b8a0 |
artwork |
100644 |
blob |
5127 |
70adb464d6ace64eab16acb47541b9d3d7fd1ab1 |
compare.csv |
100755 |
blob |
30 |
92c4bc48245c00408cd7e1fd89bc1a03058f4ce4 |
configure |
040000 |
tree |
- |
69114e8648f8e0e7173c76e30ca6bbfcece7df31 |
debian |
040000 |
tree |
- |
516a8ca51fe5d0e1556ffcaf55c88d60562e2c99 |
docker |
040000 |
tree |
- |
f67d3605efbd6422a8acdd953578991139266391 |
docs |
100755 |
blob |
16720 |
52405deef0d3708e7553022e1e9db73faa28d05c |
duilder |
100644 |
blob |
536 |
d90ae5145b0295b2b637f23b26a204eadfc4c90c |
duilder.conf |
040000 |
tree |
- |
2f3d689ae2a6df46f805b6a1d7e0036ad8304874 |
hooks |
040000 |
tree |
- |
56bef3888ff52d137d8e7b0e8aadd336d59b1546 |
inc |
040000 |
tree |
- |
8846fe97d001cc6b76ac3f02ad412d67e27afccc |
misc |
100644 |
blob |
4251 |
97ab1b786d84c608af82fb987f6044cdab7406cf |
rocketgit.spec.in |
040000 |
tree |
- |
efd43c9f25569aeb08fedb3c32b283a35aa121ff |
root |
040000 |
tree |
- |
f6fe8a0b3621d02f38c0040e8f589a55043a99d8 |
samples |
040000 |
tree |
- |
019fda89b5618a5d4839d05425a16215c8e22850 |
scripts |
040000 |
tree |
- |
6dc45d29b168f917ec5e355e798ce50efe4b7d0e |
selinux |
100755 |
blob |
256 |
462ccd108c431f54e380cdac2329129875a318b5 |
spell_check.sh |
040000 |
tree |
- |
cb54e074b3ca35943edfcda9dd9cfcd281bcd9e7 |
techdocs |
040000 |
tree |
- |
a808d495b01ed23577482be63fdbb039787575f9 |
tests |
040000 |
tree |
- |
bc0ac4ce1d9e6c858f09fa0c615f1c9f55609b6f |
tools |
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