Hello fellow Django users!

I've been wanting to set up gitosis on a server for a while now. I think 
a new Django app might make this easier for the end users. The people 
that'd access the git repos I want to host could simply put their public 
SSH key in their Django-powered user profile, the new app lets gitosis 
know, and away they go.

The only issue is that gitosis expects me to build configuration files 
manually, adding users by hand. It'd be fairly straightforward to get a 
django-gitosis app to streamline this for me. I'm mostly interested in 
getting feedback for my ideas. If someone is interested, and would like 
to contribute to my little app, that'd be great too.

I haven't dove into the gitosis code much, but it is written in Python. 
At some point gitosis parses the config options and makes them available 
via a Python interface. The first way to get a django-gitosis to handle 
the configuration on the fly would be to replace the code that parses 
the text file, and make it code that parses a Django model, but returns 
the same type of information to the file. I bet this method is more 
trouble than it's worth.

The next method is to modify the config files directly. I like this 
solution better because it's the simplest one. Simple usually means 
"less likely to break in the future", which is good. I do believe that 
gitosis uses a Python module to read from and write to its config files, 
and I can use the same thing.

What method would you use, and why?

Thanks for the input!



Jeff Anderson

gitosis: |git://eagain.net/gitosis.git|


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to