/srv/irclogs.ubuntu.com/2015/09/17/#bzr.txt

vegibioneHi 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
spivvegibione: yes, it should be possible to write a plugin that does that11:10
spivI don't recall how tricky it is.11:10
vegibioneA 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
vegibioneI 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
vegibionemmm… 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!