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

[wishlist] Add option to use custom gitolite.rc #5

Open
iu-guest opened this issue Jun 3, 2018 · 2 comments
Open

[wishlist] Add option to use custom gitolite.rc #5

iu-guest opened this issue Jun 3, 2018 · 2 comments

Comments

@iu-guest
Copy link

iu-guest commented Jun 3, 2018

As far as I can tell {experiments, but no pointers to gitolite
documentation}, gitolite setup command overrides whatever
/var/lib/git/.gitolite.rc file was there, as such following
Dockerfile

FROM jgiannuzzi/gitolite
COPY gitolite.rc /var/lib/git/.gitolite.rc

does not work as intended. Could you please add option to provide
custom .gitolite.rc?

@jgiannuzzi
Copy link
Owner

Hi @iu-guest,

The idea is to run the setup once, as per the README. This will create everything you need in the gitolite-git volume (or whatever name you gave to the volume holding /var/lib/git).

You can then simply edit the .gitolite.rc file in there (by mounting the volume in another container, or by exec-ing in your gitolite container), and restart/recreate your gitolite container.

@iu-guest
Copy link
Author

iu-guest commented Jul 29, 2018 via email

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

No branches or pull requests

2 participants