User story #9789
closedrudder-jetty must support git post-commit hooks
Description
The last rudder-jetty 3.2.9-trusty0 (ubuntu 14.04) still does not support post-commit git hooks.
It uses /var/rudder/tmp/jetty/jetty-127.0.0.1-8080-rudder.war-_rudder-any-/webapp/WEB-INF/lib/org.eclipse.jgit-4.4.1.201607150455-r.jar
but post-commit was implemented only in 80865 https://git.eclipse.org/r/#/c/80865/ from Sep 14.
Yes, it is due to self-made git implementation in java.
- pre-commit hook works.
Updated by Alexis Mousset almost 8 years ago
- Category set to Web - Config management
- Assignee set to François ARMAND
François, what is your opinion about that? Could we easily update jgit in 4.1 to enable post-commit hooks?
Updated by Alexis Mousset over 7 years ago
- Tracker changed from Bug to User story
Updated by Benoît PECCATTE almost 7 years ago
- Target version set to Ideas (not version specific)
Updated by François ARMAND almost 7 years ago
- Status changed from New to Rejected
- Target version changed from Ideas (not version specific) to 4.1.10
This is OK in Rudder 4.1 because post-commit hooks were added in jgit 4.5, and Rudder 4.1.0 use Jgit version 4.6.
Updated by François ARMAND almost 7 years ago
(for reference, Jgit post commit hook documentation: http://download.eclipse.org/jgit/site/4.10.0.201712302008-r/apidocs/org/eclipse/jgit/hooks/PostCommitHook.html )