Ondrej Kokes created ZEPPELIN-3042:
--------------------------------------

             Summary: Outdated git library doesn't support post-commit hooks
                 Key: ZEPPELIN-3042
                 URL: https://issues.apache.org/jira/browse/ZEPPELIN-3042
             Project: Zeppelin
          Issue Type: Improvement
          Components: zeppelin-zengine
    Affects Versions: 0.7.3, 0.8.0, 0.7.4
         Environment: Amazon EMR
            Reporter: Ondrej Kokes
            Priority: Minor


We run Zeppelin (0.7.2, on Amazon's EMR) and we tried adding git hooks, 
primarily to push the local notebook git repo to our remote. We noticed that 
post commit hooks don't get triggered. When I dug around, I noticed that 
pre-commits worked just fine.

Turns out that when git functionality was [first 
implemented|https://github.com/apache/zeppelin/pull/497/commits/20a93a454bb4bdec41cd78962339424e015fca29]
 in late 2015, `jgit` (library used to provide all git-related functionality) 
was frozen at version 4.1.1, which you can see in the [current 
`pom.xml`|https://github.com/apache/zeppelin/blob/master/zeppelin-zengine/pom.xml#L49].
 However, `jgit` has gained post-commit functionality [over a year 
ago|https://github.com/eclipse/jgit/commit/57a263f1823d164142235a72072154f0568cb61c#diff-70a136ac003c03d63bfd91a28684f193],
 so Zeppelin could support it as well, if we updated the version of `jgit` that 
gets used. The current version is v4.9.0.201710071750-r (7 Oct 2017).



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Reply via email to