Skip to content
Snippets Groups Projects

Remove user directory path assumptions

Merged gitlab-qa-bot requested to merge github/fork/mitchty/master into master

Created by: mitchty

Where I work /home is an automounted nfs directory. Local users are installed in a different local directory.

So instead of assuming that /home/git is the git users home directory, use the Etc module to get the configured home directory for the Settings.gitlab['user'] value (normally git).

The new setting is named user_home, unoriginal but works well enough could be changed to whatever. Users with /home/git as their home directory will not notice a difference.

Merge request reports

Loading
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
  • Created by: mitchty

    I couldn't find anywhere else besides shell scripts where /home/git is assumed for the install directory. I already custom craft those for my installation so not worried about fixing things there for the moment.

    If I missed anything let me know! Just wanted to not have to do file edits to change the home directory in places anymore.

    Tschuss!

    By Administrator on 2013-05-22T19:20:57 (imported from GitLab project)

    By Administrator on 2013-05-22T19:20:57 (imported from GitLab)

  • Created by: coveralls

    Coverage Status

    Coverage decreased (-0%) when pulling 719f7231 on mitchty:master into c5de01f8 on gitlabhq:master.

    By Administrator on 2013-05-23T18:07:39 (imported from GitLab project)

    By Administrator on 2013-05-23T18:07:39 (imported from GitLab)

  • Created by: mitchty

    Not sure if the begin hack is desired or names are fine. I can rebase if needed.

    By Administrator on 2013-05-23T18:09:35 (imported from GitLab project)

    By Administrator on 2013-05-23T18:09:35 (imported from GitLab)

  • Created by: dzaporozhets

    thanks

    By Administrator on 2013-05-30T06:28:21 (imported from GitLab project)

    By Administrator on 2013-05-30T06:28:21 (imported from GitLab)

Please register or sign in to reply
Loading