You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@zeppelin.apache.org by "Thomas (JIRA)" <ji...@apache.org> on 2015/11/20 18:07:10 UTC

[jira] [Created] (ZEPPELIN-451) Store notebooks in a mult-line format

Thomas created ZEPPELIN-451:
-------------------------------

             Summary: Store notebooks in a mult-line format
                 Key: ZEPPELIN-451
                 URL: https://issues.apache.org/jira/browse/ZEPPELIN-451
             Project: Zeppelin
          Issue Type: Improvement
    Affects Versions: 0.6.0
            Reporter: Thomas
            Priority: Minor


I as a developer
when committing my changed notebook json file to git
want to see all code in separate lines
so I can see what has actually changed/discard single lines/chunks or cherry pick changes.

Storing the notebook text as an array of lines rather than a single text value with {{\n}}s could be a solution.

{code}
    {
      "title": "Sample notebook",
      "text": [
        "%md",
        "Second line in notebook",
        "Third line in notebook"
      ]
      ,
      "dateUpdated": "Nov 20, 2015 2:41:25 PM",
      "config": {
        "colWidth": 12.0,
        …
{code}





--
This message was sent by Atlassian JIRA
(v6.3.4#6332)