GitHub user khalidhuseynov opened a pull request: https://github.com/apache/zeppelin/pull/1675
[ZEPPELIN-1190] [WIP] Visit and switch notebook revisions ### What is this PR for? This is the last step for enabling Zeppelin to work with revisions. It addresses ability to visit certain revision, switch among them, and reset to certain revision. Note that initial work started from #1304 and manually moved commits due to conflicts in `cherry-pick`. Currently WIP. ### What type of PR is it? Improvement | Feature ### Todos * [ ] - Task ### What is the Jira issue? [ZEPPELIN-1190](https://issues.apache.org/jira/browse/ZEPPELIN-1190) ### How should this be tested? set config in conf/zeppelin-env.sh ``` export ZEPPELIN_NOTEBOOK_STORAGE="org.apache.zeppelin.notebook.repo.GitNotebookRepo" ``` and switch between notes in note action bar ### Screenshots (if appropriate) TBD ### Questions: * Does the licenses files need update? no * Is there breaking changes for older versions? no * Does this needs documentation? no? You can merge this pull request into a Git repository by running: $ git pull https://github.com/khalidhuseynov/incubator-zeppelin feat/switch-revisions Alternatively you can review and apply these changes as the patch at: https://github.com/apache/zeppelin/pull/1675.patch To close this pull request, make a commit to your master/trunk branch with (at least) the following in the commit message: This closes #1675 ---- commit 37f8100f7765aef8cbd2bb8ccbf360d4eef806ce Author: Khalid Huseynov <khalid...@gmail.com> Date: 2016-11-24T04:59:42Z create new root and call revision commit e3fdecd3cf33a23d1f65305cdab1d4a1f2d9fd8f Author: Khalid Huseynov <khalid...@gmail.com> Date: 2016-11-24T05:55:18Z load revision note commit 2858d273ee221422697d58ff4b8bdb7468fa445a Author: Khalid Huseynov <khalid...@gmail.com> Date: 2016-11-24T06:19:56Z visit revision when click in dropdown commit 111a7daad5d60985de65460f4627385cd2dc9e73 Author: Khalid Huseynov <khalid...@gmail.com> Date: 2016-11-24T06:44:12Z set current revision name commit d2c1be313781fa3fe7da02a565521f651df3cc06 Author: Khalid Huseynov <khalid...@gmail.com> Date: 2016-11-24T07:16:25Z fix quotes commit 3804e07443eb2cfd5db2b0ddd5aadb271c47a318 Author: Khalid Huseynov <khalid...@gmail.com> Date: 2016-11-24T09:49:32Z fix getNote name change ---- --- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so, or if the feature is enabled but not working, please contact infrastructure at infrastruct...@apache.org or file a JIRA ticket with INFRA. ---