Skip to content

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

Closed
@baby-gnu

Description

@baby-gnu

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.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions