Skip to content

Include static files for each component version in dump output #359

@dwong2708

Description

@dwong2708

Summary:
Enhance the dump process to include all static files related to a specific version of each component.


Current State

At this point, we have the basic structure of a dump file, which looks like this:

Axim2025-06-04/
├── entities/
│ ├── fun-unit-36c349.toml
│ └── xblock.v1/
│ └── html/
│ ├── i-dont-like-the-sidebar-aa1645ade4a7/
│ │ └── component_versions/
│ │ └── v3/
│ └── i-dont-like-the-sidebar-aa1645ade4a7.toml
└── package.toml


Requirement

The goal is to include all static files related to a specific version of each component.


Expected Output

With the enhancement, the dump structure should look like this:

Axim2025-06-04/
├── entities/
│ ├── fun-unit-36c349.toml
│ └── xblock.v1/
│ └── html/
│ ├── i-dont-like-the-sidebar-aa1645ade4a7/
│ │ └── component_versions/
│ │ └── v3/
│ │ ├── block.xml
│ │ └── static/
│ └── i-dont-like-the-sidebar-aa1645ade4a7.toml
└── package.toml

Where:

  • block.xml belongs to the component.
  • static/ contains all related files for that version.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions