Skip to content

Make build-schema multi-project and improve template version handling#888

Merged
albatalavera merged 7 commits into
BU-ISCIII:developfrom
albatalavera:multiproject
May 27, 2026
Merged

Make build-schema multi-project and improve template version handling#888
albatalavera merged 7 commits into
BU-ISCIII:developfrom
albatalavera:multiproject

Conversation

@albatalavera
Copy link
Copy Markdown
Contributor

@albatalavera albatalavera commented May 26, 2026

Summary

This PR extends build-schema to support project-specific schema/template generation and improves how metadata template version history is handled.

Changes

  • Make build-schema project-aware.
  • Use the selected project name to resolve default schemas and Excel templates.
  • Add explicit --initial-version handling for first template releases.
  • Preserve previous VERSION history when a template is provided or found in assets.
  • Prevent incompatible use of --initial-version with --excel_template.
  • Add Redlabra support for build-schema.

Notes

Redlabra can now generate its own outputs, such as:

  • redlabra_schema.json
  • redlabra_metadata_template_v*.xlsx

PR Checklist

  • This comment contains a description of changes (with reason).
  • Make sure your code lints (black and flake8).
  • CHANGELOG.md is updated.
  • README.md is updated (including new tool citations and authors/contributors).

Copy link
Copy Markdown
Contributor

@Aberdur Aberdur left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM 🚀

@albatalavera albatalavera merged commit 8a4c139 into BU-ISCIII:develop May 27, 2026
20 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

build_schema is not retrieving previous template versions Make build_schema generic across projects

2 participants