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 c091b24f82c135b5606181f417d2f18151d951ae

Add debug support for rpm instalation.

Author: Catalin(ux) M. BOIE
Author date (UTC): 2015-06-06 11:00
Committer: Catalin(ux) M. BOIE
Commit date (UTC): 2015-06-06 11:00
Tree: bbc65de2e1c4d781d9917a80b3a8ac2fc2eed2de
Parents: f774edcd0c17f66dd4de54aa35a543bbafaff609
File Lines added Lines deleted
rocketgit.spec.in 6 1

File rocketgit.spec.in changed (mode: 100644) (index cbd7d45..ad2e733)
... ... getent passwd rocketgit >/dev/null || useradd -r -g rocketgit -s /bin/bash -m -d
37 37 %post %post
38 38 for type in %{selinux_variants} for type in %{selinux_variants}
39 39 do do
40 [ -r /tmp/rgsdebug ] && echo "Installing module ${type}..."
40 41 /usr/sbin/semodule -s ${type} -i \ /usr/sbin/semodule -s ${type} -i \
41 42 @USR_SHARE@/selinux/${type}/@PRJ@.pp &> /dev/null || : @USR_SHARE@/selinux/${type}/@PRJ@.pp &> /dev/null || :
42 43 done done
44 [ -r /tmp/rgsdebug ] && echo "fixfiles -R..."
43 45 /sbin/fixfiles -R @PRJ@ restore || : /sbin/fixfiles -R @PRJ@ restore || :
46 # restorecon is needed because fixfiles -R will not restore the locks!
47 [ -r /tmp/rgsdebug ] && echo "restorecon -R..."
48 /sbin/restorecon -R @VAR_LIB@/@PRJ@ || :
44 49
45 50 if [ $1 -ne 0 ]; then if [ $1 -ne 0 ]; then
46 51 /sbin/service xinetd reload &>/dev/null || : /sbin/service xinetd reload &>/dev/null || :
 
... ... fi
51 56 if [ $1 = 0 ]; then if [ $1 = 0 ]; then
52 57 for type in %{selinux_variants} for type in %{selinux_variants}
53 58 do do
54 /usr/sbin/semodule -s ${type} -r @PRJ@.pp &> /dev/null || :
59 /usr/sbin/semodule -s ${type} -r @PRJ@ &> /dev/null || :
55 60 done done
56 61 /sbin/fixfiles -R @PRJ@ restore || : /sbin/fixfiles -R @PRJ@ restore || :
57 62 fi fi
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