Uploaded image for project: 'Magnolia'
  1. Magnolia
  2. MAGNOLIA-6683

Offer YAML as alternative format for JCR bootstraps beside XML and revise export/import operations

    XMLWordPrintable

    Details

    • Type: Story
    • Status: Closed
    • Priority: Neutral
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 5.5.4
    • Component/s: None
    • Labels:
      None
    • Release notes required:
      Yes
    • Documentation update required:
      Yes
    • Sprint:
      Kromeriz 93
    • Story Points:
      13
    • Magnolia Release:
      5.5.4

      Description

      Support a simple YAML format for JCR Repository bootstrap files. Support this format wherever the "jcr system view" xml bootstrap files are supported now.

      Reasons:
      The "jcr system view" xml format is difficult to work with in typical team source control cases, such as diffing and merging.
      The xml format is hard to read and perform manual edits on which is not an uncommon task in project development.
      A yaml format would enable easier creation of jcr import files from other data sources.

      Rollout:
      Current step is only making the export and import available, and exposing export feature in the
      jcrTools app - Exporter tab. Probably as an additional dropdown or radio button:
      *XML
      *YAML

      Future steps will be (Probably in next major release 5.6)

      • make it the default export format from within all apps.
      • implement property filtering to make the bootstraps slimmer.
      • Replace our own bootstrap files with YAML format.

      Note:
      This is different from https://jira.magnolia-cms.com/browse/MAGNOLIA-6532 which is specifically about bootstrap support in light modules - but does not talk about the format.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              rkovarik Roman Kovařík
              Reporter:
              czimmermann Christopher Zimmermann
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Date of First Response: