Commit 2190492
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- docs/user/reference/cli
- internal/app/azldev/cmds/component
6 files changed
+1304
-0
lines changedSome generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
29 | 29 | | |
30 | 30 | | |
31 | 31 | | |
| 32 | + | |
32 | 33 | | |
0 commit comments