Subject | Hash | Author | Date (UTC) |
---|---|---|---|
Bump version to 0.7. | e44064dab5c6f2fa625bb121483a51ec1960cad9 | Catalin(ux) M. BOIE | 2011-07-03 16:26:47 |
Lots of changes. | 8876190d55995ed98a528edc786e0e9136a0535d | Catalin(ux) M. BOIE | 2011-07-03 00:03:42 |
Make %setup quiet as rpmlint told me. | b272b9915498fb0a811be2e2687554bbaf887bf1 | Catalin(ux) M. BOIE | 2011-07-01 03:26:57 |
Bump version to 0.3 | f626f3c66b7b51af2013e16e954e945ba84c12bb | Catalin(ux) M. BOIE | 2011-07-01 03:25:44 |
Added logrotate support | b827ee7c179d5b72f6ac3ac255edb6de6decb91a | Catalin(ux) M. BOIE | 2011-07-01 03:25:13 |
More bulk updates | 6dc2b24ebde74bbb64ef2893e2ddb8b7b9456219 | Catalin(ux) M. BOIE | 2011-07-01 03:16:01 |
Bulk changes | e3771b115feb49698383730893ced1bac5670cac | Catalin(ux) M. BOIE | 2011-06-29 21:50:03 |
Ignore Changelog-last file. | 32260f93743a577cbaf7cefd335517e4a42edcf0 | Catalin(ux) M. BOIE | 2011-06-27 21:20:53 |
Ignore *.out files. | 265ba83a2df891cdcc7b35801a46cfc2583983ee | Catalin(ux) M. BOIE | 2011-06-27 21:20:23 |
Added shadow-utils as dependency fot user/groupadd. | f5816c0bd992881439706041986a3a178eaf69bd | Catalin(ux) M. BOIE | 2011-06-27 21:08:32 |
More rpm fixes. | 701daf680d15dc69a2a8709f6de5167b55ce02c2 | Catalin(ux) M. BOIE | 2011-06-27 21:01:24 |
Add rocketgit user and group. | 1b2f9e1e16ed98d5eadd575a87bf0ff738d710c4 | Catalin(ux) M. BOIE | 2011-06-27 20:59:59 |
Other bulk stuff. | 6cbfef4abe177ad8dad6bdc5ba3fb1d0e2270a9b | Catalin(ux) M. BOIE | 2011-06-27 19:50:32 |
Ignore *.log files. | a87bc5c123478e429f430684a0962c8301e7cf90 | Catalin(ux) M. BOIE | 2011-06-27 19:49:58 |
Exclude from tar some bogus files. | 77766d5276226ab0d6a03985a462daef3c91856a | Catalin(ux) M. BOIE | 2011-06-27 19:49:26 |
Lots of stuff. | c1778920e66c4561f63632030fff66bff71d4395 | Catalin(ux) M. BOIE | 2011-06-27 17:33:14 |
Another round of fixes. | 3c6df6f5a6053d322f93814b3a8ccc8555951d9f | Catalin(ux) M. BOIE | 2011-05-04 03:22:27 |
Another round of fixes. | 0d841811babba24b643404169b645379377a92f9 | Catalin(ux) M. BOIE | 2011-05-03 03:29:10 |
Bulk updates. | 31a2d477a86a3a408c44720bb8c8e280fc4894d2 | Catalin(ux) M. BOIE | 2011-04-06 20:37:51 |
Bulk update. | 852d93d3bf7995ca427982f4ec1aa2bd1bf75063 | Catalin(ux) M. BOIE | 2011-04-06 15:22:02 |
File | Lines added | Lines deleted |
---|---|---|
README | 8 | 0 |
duilder.conf | 1 | 1 |
inc/repo/repo_page.php | 8 | 2 |
inc/util.inc.php | 1 | 1 |
samples/config.php | 1 | 1 |
File README changed (mode: 100644) (index 619aed8..436de0b) | |||
16 | 16 | ||
17 | 17 | == Install == | == Install == |
18 | 18 | . Edit /etc/rocketgit/config.php | . Edit /etc/rocketgit/config.php |
19 | . Edit /etc/httpd/conf.d/rocketgit.conf | ||
20 | |||
21 | . Install and configure Apache | ||
22 | # yum install httpd | ||
23 | # systemctl enable httpd.service | ||
24 | # systemctl start httpd.service | ||
19 | 25 | ||
20 | 26 | . Install and configure PostgreSQL server | . Install and configure PostgreSQL server |
21 | 27 | # yum install postgresql-server | # yum install postgresql-server |
49 | 55 | # setsebool -P httpd_can_network_connect_db on | # setsebool -P httpd_can_network_connect_db on |
50 | 56 | # setsebool -P httpd_can_network_memcache on | # setsebool -P httpd_can_network_memcache on |
51 | 57 | # setsebool -P httpd_can_sendmail on | # setsebool -P httpd_can_sendmail on |
58 | |||
59 | . Edit firewall to permit port git, http and https |
File duilder.conf changed (mode: 100644) (index 50711fc..20aa25e) | |||
1 | 1 | PRJ="rocketgit" | PRJ="rocketgit" |
2 | VER="0.6" | ||
2 | VER="0.7" | ||
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/repo/repo_page.php changed (mode: 100644) (index 910d698..74b2678) | |||
... | ... | $_menu .= "<br />\n"; | |
22 | 22 | ||
23 | 23 | $_body = ""; | $_body = ""; |
24 | 24 | ||
25 | $ri = rg_repo_info($db, $repo_id, $repo); | ||
26 | if (($ri['ok'] != 1) || ($ri['deleted'] == 1)) { | ||
25 | $repo_ok = rg_repo_ok($repo); | ||
26 | if ($repo_ok === TRUE) { | ||
27 | $ri = rg_repo_info($db, $repo_id, $repo); | ||
28 | if (($ri['ok'] != 1) || ($ri['exists'] != 1) || ($ri['deleted'] == 1)) | ||
29 | $repo_ok = FALSE; | ||
30 | } | ||
31 | |||
32 | if ($repo_ok !== TRUE) { | ||
27 | 33 | $_body .= "Invalid repository!"; | $_body .= "Invalid repository!"; |
28 | 34 | // force subop 0 | // force subop 0 |
29 | 35 | $subop = 0; | $subop = 0; |
File inc/util.inc.php changed (mode: 100644) (index f47325c..6b875ed) | |||
... | ... | function rg_re_repopage($repo_id, $repo_name) | |
87 | 87 | if (isset($_REQUEST['rewrite_engine'])) | if (isset($_REQUEST['rewrite_engine'])) |
88 | 88 | return "/" . $repo_name; | return "/" . $repo_name; |
89 | 89 | ||
90 | return $_SERVER['PHP_SELF'] . "?op=repo&subop=2&repo_name=" . $repo_name; | ||
90 | return $_SERVER['PHP_SELF'] . "?op=repo_page&repo_name=" . $repo_name; | ||
91 | 91 | } | } |
92 | 92 | ||
93 | 93 | function rg_var_str($name) | function rg_var_str($name) |
File samples/config.php changed (mode: 100644) (index 38105f3..dca94e1) | |||
... | ... | $rg_session_time = 3600; | |
16 | 16 | $rg_keys_file = $rg_base . "/.ssh/authorized_keys"; | $rg_keys_file = $rg_base . "/.ssh/authorized_keys"; |
17 | 17 | ||
18 | 18 | // Scripts | // Scripts |
19 | $rg_scripts = "/usr/share/rocketgit/scripts"; | ||
19 | $rg_scripts = "/usr/share/rocketgit"; | ||
20 | 20 | ||
21 | 21 | // Allowed repo names (regular expression) | // Allowed repo names (regular expression) |
22 | 22 | $rg_repo_allow = '/^[A-Za-z0-9_.-]*$/'; | $rg_repo_allow = '/^[A-Za-z0-9_.-]*$/'; |