Skip to content

Commit 2190492

Browse files
committed
feat(render): add azldev component render command
Add 'azldev component render' to render post-overlay specs and sidecar files for check-in. Processing uses a 3-phase pipeline: 1. Parallel source preparation (clone + overlay + synthetic git) 2. Batch mock processing (rpmautospec + spectool via Python script) 3. Parallel finishing (file filtering + copy to output) Output directory safety model: - Config rendered-specs-dir: auto-sets --force (trusted path) - CLI --output-dir: requires --force for destructive ops - Neither set: error with guidance - Existing component dirs: require --force before overwrite - Stale cleanup (-a): only with --force Includes unit tests for all helper functions (findSpecFile, cleanupStaleRenders, validateOutputDir, validateComponentName, removeUnreferencedFiles, writeRenderErrorMarker).
1 parent 7b46253 commit 2190492

File tree

6 files changed

+1304
-0
lines changed

6 files changed

+1304
-0
lines changed

docs/user/reference/cli/azldev_component.md

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

docs/user/reference/cli/azldev_component_render.md

Lines changed: 69 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

internal/app/azldev/cmds/component/component.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,4 +29,5 @@ components defined in the project configuration.`,
2929
listOnAppInit(app, cmd)
3030
prepareOnAppInit(app, cmd)
3131
queryOnAppInit(app, cmd)
32+
renderOnAppInit(app, cmd)
3233
}

0 commit comments

Comments
 (0)