Skip to content

Fixes to image version rendering#92

Merged
bschwedler merged 1 commit intomainfrom
fix-render
Feb 6, 2025
Merged

Fixes to image version rendering#92
bschwedler merged 1 commit intomainfrom
fix-render

Conversation

@ianpittwood
Copy link
Contributor

@ianpittwood ianpittwood commented Feb 3, 2025

Fixes #94
Closes #95

  • Add --force option to force re-render of a version from templates
  • Change --skip-mark-latest to --mark-latest defaulted to True
  • Fix missing value_map pass down to new version rendering
  • Fix (assumingly) unintentional usage of packaging.Version for build version output to manifest.toml, caused weird artifacts on non-standard versions (e.g. 2024.11.0-7 renders to 2024.11.0.post7)
  • Change BuildOS to use computed field properties instead of fields generated at init to fix OS identification not working in version rendering

@github-actions
Copy link

github-actions bot commented Feb 3, 2025

Test Results

137 tests   134 ✅  50s ⏱️
  1 suites    3 💤
  1 files      0 ❌

Results for commit 65488db.

♻️ This comment has been updated with latest results.

Copy link
Contributor

@bschwedler bschwedler left a comment

Choose a reason for hiding this comment

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

Please feel free to merge this.

We can always revisit how we are handling manifest updates when we formalise the cli contract.

- Add --force option to force re-render of a version from templates
- Change --skip-mark-latest to --mark-latest defaulted to True
- Fix missing value_map pass down to new version rendering
- Fix (assumingly) unintentional usage of packaging.Version for build version output to manifest.toml, caused weird artifacts on non-standard versions (e.g. 2024.11.0-7 renders to 2024.11.0.post7)
- Change BuildOS to use computed field properties instead of fields generated at __init__ to fix OS identification not working in version rendering
@bschwedler bschwedler merged commit 9c28923 into main Feb 6, 2025
3 checks passed
@bschwedler bschwedler deleted the fix-render branch February 6, 2025 20:43
@ianpittwood ianpittwood added this to the 2025 Work Week milestone Feb 7, 2025
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.

BuildOS unnecessarily overrides __init__ method Fix bakery render command after TOML object refactor

2 participants