vegibione | Hi there ! Might be a stupid question but… I could I plugin an authorization mechanism into the "bzr serve" command. This would ask an external service if a user/key is allowed to push/pull to the repo/branch. Any help welcome! | 08:04 |
---|---|---|
spiv | vegibione: yes, it should be possible to write a plugin that does that | 11:10 |
spiv | I don't recall how tricky it is. | 11:10 |
vegibione | A plugin. OK, because I've tried with hooks… and you cannot get all the information you want from them. And apparently, they are not called where I would like them to be called from ! :-( | 11:29 |
vegibione | I haven't figured out yet the class/function to modify to get the user, the branches and the "action". The logic isn't yet clear to me. | 11:31 |
vegibione | mmm… no real documentation on bzr plugins. Thx anyway, I'll keep on looking. | 11:42 |
Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!