List of commits:
Subject Hash Author Date (UTC)
Another round of fixes. 45749c46f79f75b29d83ee2d115f987c7765e8c4 Catalin(ux) M. BOIE 2011-07-05 20:01:10
Another round of bulk updates. 6077961d5c443b8a830dc08b3b0ebf37eaf594b3 Catalin(ux) M. BOIE 2011-07-04 22:12:40
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
Commit 45749c46f79f75b29d83ee2d115f987c7765e8c4 - Another round of fixes.
Author: Catalin(ux) M. BOIE
Author date (UTC): 2011-07-05 20:01
Committer name: Catalin(ux) M. BOIE
Committer date (UTC): 2011-07-05 20:01
Parent(s): 6077961d5c443b8a830dc08b3b0ebf37eaf594b3
Signing key:
Tree: 159735beca27c98fb1d7bf3f19d39e4fbec630d4
File Lines added Lines deleted
TODO 1 0
admin/init.php 1 1
duilder.conf 1 1
inc/log.inc.php 1 2
inc/user.inc.php 1 1
rocketgit.spec.in 3 1
File TODO changed (mode: 100644) (index 56ab1fb..da9ec60)
57 57 [ ] Smart HTTP transport [ ] Smart HTTP transport
58 58 [ ] Move forget pass token into users table. [ ] Move forget pass token into users table.
59 59 [ ] Audit all error messages to not propage usefull info to an attacker. [ ] Audit all error messages to not propage usefull info to an attacker.
60 [ ] git-daemon connection - cannot get IP info? setenv?
60 61 [ ] [ ]
61 62
62 63 == Versus == == Versus ==
File admin/init.php changed (mode: 100644) (index 615101d..03fc8c0)
... ... $is_admin = 1;
31 31 $disk_quota_mb = 0; $disk_quota_mb = 0;
32 32 $rights = rg_rights_all("user"); $rights = rg_rights_all("user");
33 33 $user = "admin"; $user = "admin";
34 $email = "";
34 $email = $rg_admin_email;
35 35 $session_time = 3600; $session_time = 3600;
36 36 $confirm_token = ""; $confirm_token = "";
37 37 while (1) { while (1) {
File duilder.conf changed (mode: 100644) (index 36bc1ff..f3ac577)
1 1 PRJ="rocketgit" PRJ="rocketgit"
2 VER="0.8"
2 VER="0.9"
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/log.inc.php changed (mode: 100644) (index b8bdd47..6acb1f6)
... ... function rg_log($str)
19 19 global $rg_log_sid; global $rg_log_sid;
20 20
21 21 if ($rg_log_fd === FALSE) { if ($rg_log_fd === FALSE) {
22 $rg_log_fd = @fopen($rg_log_file, "a+");
22 $rg_log_fd = @fopen($rg_log_file, "a");
23 23 if ($rg_log_fd === FALSE) if ($rg_log_fd === FALSE)
24 24 return; return;
25 @chmod($rg_log_file, 0600);
26 25 // write an empty line // write an empty line
27 26 fwrite($rg_log_fd, "\n"); fwrite($rg_log_fd, "\n");
28 27 } }
File inc/user.inc.php changed (mode: 100644) (index 1697b42..b3e7bf7)
... ... function rg_user_login_by_user_pass($db, $user, $pass, &$rg_ui)
329 329 return FALSE; return FALSE;
330 330 } }
331 331
332 rg_user_sess($db, $rg_ui['uid'], $rg_ui['session_time']);
332 rg_user_auto_login($db, $rg_ui['uid'], $rg_ui);
333 333
334 334 rg_user_set_last_seen($db, $rg_ui['uid']); rg_user_set_last_seen($db, $rg_ui['uid']);
335 335
File rocketgit.spec.in changed (mode: 100644) (index b679ef4..df7e6d9)
... ... Source: http://kernel.embedromix.ro/us/rocketgit/%{name}-%{version}.tar.gz
8 8 URL: http://kernel.embedromix.ro/us/ URL: http://kernel.embedromix.ro/us/
9 9 BuildRoot: %{_tmppath}/%{name}-%{version}-buildroot BuildRoot: %{_tmppath}/%{name}-%{version}-buildroot
10 10 BuildArch: noarch BuildArch: noarch
11 Requires: httpd, php, php-process, php-cli, php-pgsql, xinetd, shadow-utils, git, postgresql-server
11 Requires: httpd, php, php-process, php-cli, php-pgsql, xinetd
12 Requires: shadow-utils, git, postgresql-server, policycoreutils-python
12 13
13 14
14 15 %description %description
 
... ... Light and fast Git hosting solution, similar with Gitorious/GitHub/etc.
17 18 %pre %pre
18 19 getent group rocketgit || groupadd -r rocketgit getent group rocketgit || groupadd -r rocketgit
19 20 getent passwd rocketgit || useradd -r -g rocketgit -s /sbin/nologin -m -d /home/rocketgit -c "RocketGit user" rocketgit getent passwd rocketgit || useradd -r -g rocketgit -s /sbin/nologin -m -d /home/rocketgit -c "RocketGit user" rocketgit
21 semanage fcontext -a -t httpd_log_t "/var/log/rocketgit-web(/.*)?" || :
20 22
21 23 %post %post
22 24 if [ $1 -ne 0 ]; then if [ $1 -ne 0 ]; then
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