Hello,
first of all, thanks a lot for Gitolite, I really like this project,
happy to work with.
I'm working on git hosting service for projects in the company where
I'm employed (this thing
tieto.com/etb). As a part of the solution,
which has gitolite as core thing for user management, we almost
accidentaly end up with development another tool, which is web
interface on top of gitolite-admin repository, it make life easier for
our support team.
What is nice is that this tool will be open-sourced, I don't have
exact date or I can't show the code right now, I can say it's named
WebGitolite, it is written in Python and I'm extremely happy to work
on that. So, I'll push the news here once the code will be out on
GitHub.
By the way, I have few questions :)
Right now, on our git server is installed latest gitolite g2 version.
Sure it will be upgraded soon, I just today tried few things and seems
that it will need little bit more care than I've expected.
For example, directly on git server, in "git" user home, I need there
cloned gitolite-admin repository and this one have to be updated every
time, just after something is pushed to gitolite-admin origin. This
cloned, updated, gitolite-admin is used by GitWeb. Because, we are
using SSO server (Jasig CAS), so I have patched GitWeb, where I can
find out username of logged user and then filter our only those
repositories, which the user can see, and that I can dig out from
latest gitolite-admin repos config files. It works nice :) (btw, this
will be changed, it is my first solution, now I know I can ask
directly gitolite, what permissions an user has…but anyway, I still
need updated gitolite-admin for WebGitolite).
With Gitolite g2 it was easy, just a hook invoked from
gitolite-admin/hooks/post-update, pulling changes in cloned
gitolite-admin.
This I have to change in g3. Right now I'm not 100% sure which way, if
some hook again, or trigger, or some combination with standalone
gitolite command, but anyway it will be more clear solution than now
probably.
Another thing is removing repositories in gitolite g3. We have the
conf file splitted into "one conf per repo" with help of "include" in
gitolite.conf.
Now, when I remove conf file, I got a error "WARNING: split conf not
set, gl-conf present for...", because the actual bare repository still
exists on server, in "repositories/". (Hope I'm not wrong :P). It was
silent in g2…hm, and I've just tried it on my local environment,
because I thought such error somehow broke gitolite until it's fixed
but I was wrong…it works without problem, just the error is in the
output, so, that's ok, nevermind, all of that I can handle in the
WebGitolte. So, take this part just as my note :)
Well, after all it seems that nothing much to ask you in this post :)
Just if you notice something really wrong or in wrong direction,
please let me know, I'm sure you would do so :)
--
S pozdravem / Best regards
Martin Stiborský
Jabber:
st...@njs.netlab.cz