[MAGNOLIA-7785] YAML bootstraps support binary media like jpg, pdf, mp4 Created: 04/May/20  Updated: 04/May/20

Status: Open
Project: Magnolia
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Story Priority: Neutral
Reporter: Christopher Zimmermann Assignee: Unassigned
Resolution: Unresolved Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Template:
Acceptance criteria:
Empty
Task DoD:
[ ]* Doc/release notes changes? Comment present?
[ ]* Downstream builds green?
[ ]* Solution information and context easily available?
[ ]* Tests
[ ]* FixVersion filled and not yet released
[ ]  Architecture Decision Record (ADR)
Release notes required:
Yes
Documentation update required:
Yes
Epic Link: LD improvements

 Description   

As a developer I want to use YAML bootstrap files also for content that includes binaries like jpg, mp4, pdf so that I don't have to sometimes use XML bootstrap files, and don't run into trouble when I try to use YAML bootstrap files.

Acceptance Criteria:

  • Export YAML for content with binaries.
  • Import YAML for content with binaries.
  • Binaries are stored as separate files, normal jpg, pdf, mp4 files.

Notes:

Currently, YAML format does not support any content with binaries. This means that all 'assets' exports have to be in XML. This means that any other content that stores binaries locally will cause problems if someone tries to use the YAML format.

The YAML handling should store the binaries as separate files, not as inline in the YAML. The usefulness of the YAML bootstraps is that they can be read (and written) by hand, that git diffs are easy to understand. Separate files for binary will be much easier to browse the content to be imported, and easier to set up content importing of media files. And will be easier for developers to change the media content if its not 'trapped' in XML/YAML files


Generated at Mon Feb 12 04:26:49 CET 2024 using Jira 9.4.2#940002-sha1:46d1a51de284217efdcb32434eab47a99af2938b.