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 21f0a49a7c51687e38046437eca2bfe7a2c86d78

Fixed an AVC related to apache logging.
PHP Warning: fopen(/var/log/rocketgit-web/cron-20150424.log): failed to
open stream: Permission denied in /usr/share/rocketgit/inc/log.inc.php on
line 73
Author: Catalin(ux) M. BOIE
Author date (UTC): 2015-04-24 15:35
Committer name: Catalin(ux) M. BOIE
Committer date (UTC): 2015-04-24 15:35
Parent(s): 7f079cf057ae0545827ba0090b816ac181bd2139
Signing key:
Tree: fba5e095b9e0d6aa311d311139848be787d440f6
File Lines added Lines deleted
selinux/rocketgit.te 2 2
File selinux/rocketgit.te changed (mode: 100644) (index 10dc867..de5a2c8)
1 policy_module(rocketgit,1.0.78)
1 policy_module(rocketgit,1.0.79)
2 2
3 3 ######################################## ########################################
4 4 # #
 
... ... logging_log_filetrans(rocketgit_t, rocketgit_log_t, file)
89 89 # allow rocketgit_t access to /var/log/rocketgit-web. Why? # allow rocketgit_t access to /var/log/rocketgit-web. Why?
90 90 # Some of rights are needed because cron as apache is deleting log files in # Some of rights are needed because cron as apache is deleting log files in
91 91 # /var/log/rocketgit-web. # /var/log/rocketgit-web.
92 allow rocketgit_t httpd_log_t:dir { write add_name remove_name getattr read open };
92 allow rocketgit_t httpd_log_t:dir { search write add_name remove_name getattr read open };
93 93 allow rocketgit_t httpd_log_t:file { getattr setattr create unlink open append }; allow rocketgit_t httpd_log_t:file { getattr setattr create unlink open append };
94 94
95 95
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