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.
3. default paths: debian package has changed some default values for paths
which you can see at /etc/gitlab/gitlab-debian.conf
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.
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
6. vendored js files: some embedded javascript files in
vendor/assets/javascripts are replaced by their packaged version.
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