New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use “gitolite query-rc” to get gitolite variables #630

Closed
baby-gnu opened this Issue Nov 24, 2016 · 2 comments

Comments

Projects
None yet
2 participants
@baby-gnu

baby-gnu commented Nov 24, 2016

Instead of asking the admin to set some variables we can get them from @gitolite itself:

redmine@xenial:~$ for var in GL_BINDIR GL_LIBDIR; do sudo -n -u git -i gitolite query-rc ${var}; done
/home/git/gitolite/src
/home/git/gitolite/src/lib

Then the admin only need to define which variable to export.

Regards.

@baby-gnu baby-gnu changed the title from Use `gitolite query-rc` to get gitolite variables to Use “gitolite query-rc” to get gitolite variables Nov 24, 2016

@n-rodriguez n-rodriguez self-assigned this Dec 28, 2016

@n-rodriguez

This comment has been minimized.

Show comment
Hide comment
@n-rodriguez

n-rodriguez Dec 31, 2016

Member

Great!

Member

n-rodriguez commented Dec 31, 2016

Great!

@n-rodriguez n-rodriguez added this to the v1.2.2 milestone Dec 31, 2016

@n-rodriguez

This comment has been minimized.

Show comment
Hide comment
@n-rodriguez
Member

n-rodriguez commented Dec 31, 2016

Done! 58f4fe3

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment