Skip to content
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
Closed

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

baby-gnu opened this issue Nov 24, 2016 · 2 comments
Assignees
Milestone

Comments

@baby-gnu
Copy link

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 Use gitolite query-rc to get gitolite variables Use “gitolite query-rc” to get gitolite variables Nov 24, 2016
@n-rodriguez n-rodriguez self-assigned this Dec 28, 2016
@n-rodriguez
Copy link
Contributor

Great!

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

Done! 58f4fe3

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

No branches or pull requests

2 participants