Package: gitlab
Version: 8.4.3+dfsg-3
Severity: wishlist

Hi,

currently, running commands like:

        $ rake gitlab:check RAILS_ENV=production

requires:

 - the current user to be "gitlab"
 - the current directory to be /usr/share/gitlab
 - the environment from /etc/gitlab/gitlab-debian.conf to be loaded

This means that in practice I repeatedly see myself doing:

# su gitlab
$ cd
$ export $(cat /etc/gitlab/gitlab-debian.conf | xargs)
$ rake [...]

It would be great if the commands switching the user, changing the
working directory and setting the environment could be incorporated into
a wrapper shell script, so that one would just need to do:

# sudo gitlab-run rake [...]

Thanks!

cheers, josch

_______________________________________________
Pkg-ruby-extras-maintainers mailing list
[email protected]
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-ruby-extras-maintainers

Reply via email to