2016-01-22 15:55:06 +05:30
|
|
|
Debian specific changes in gitlab
|
|
|
|
=================================
|
|
|
|
|
|
|
|
1. Redis connection: redis-server package in debian follows upstream default
|
|
|
|
and listens on tcp port 6379. So gitlab package in debian is configured to use
|
|
|
|
tcp sockets. gitlab developers recommend using unix sockets. You can change to
|
|
|
|
using unix sockets by changing the following configuration files.
|
|
|
|
|
|
|
|
/etc/redis/redis.conf and /etc/gitlab/resque.yml
|
|
|
|
|
|
|
|
2. wiki backend: debian package uses gollum-rugged_adapter whereas gitlab
|
|
|
|
upstream still use gollum-grit_adapter. grit is no longer maintained and grit
|
|
|
|
developers recommend switching to rugged. gollum-lib developers have announced
|
|
|
|
their intention to switch to rugged_adapter by default and this is in progress.
|
|
|
|
|
2016-01-22 20:48:49 +05:30
|
|
|
3. default paths: debian package has changed some default values for paths
|
|
|
|
which you can see at /etc/gitlab/gitlab-debian.conf
|
2016-01-22 15:55:06 +05:30
|
|
|
|
|
|
|
4. database: gitlab package configures postgresql database with peer
|
|
|
|
authentication.
|
|
|
|
|
|
|
|
5. gem versions: some gem dependency requirements are relaxed to work with
|
|
|
|
their packaged version in debian.
|
|
|
|
|
2016-01-22 20:48:49 +05:30
|
|
|
You can find the list of gems required by gitlab and their corresponding
|
|
|
|
package versions in debian at
|
|
|
|
http://debian.fosscommunity.in/status/?appname=gitlab&sort=satisfied
|
|
|
|
|
2016-02-21 20:09:09 +05:30
|
|
|
6. vendored js files: some embedded javascript files in
|
2016-02-28 22:47:30 +05:30
|
|
|
vendor/assets/javascripts are replaced by their packaged version.
|
2016-02-21 20:09:09 +05:30
|
|
|
|
|
|
|
7. root directory of rails is read only (/usr/share/gitlab); following symbolic
|
|
|
|
links are added to enable write access to gitlab app
|
|
|
|
|
|
|
|
> config -> /etc/gitlab
|
|
|
|
> Gemfile.lock -> /var/lib/gitlab/Gemfile.lock
|
|
|
|
> log -> /var/log/gitlab
|
|
|
|
> public -> /var/lib/gitlab/public
|
|
|
|
> tmp -> /run/gitlab
|
|
|
|
> shared/cache -> /var/lib/gitlab/cache
|
|
|
|
> /usr/share/gitlab/.secret -> /var/lib/gitlab/.secret
|