Skip to content

Clean old autogenerated files before regeneration#17

Merged
Fryguy merged 2 commits intoManageIQ:masterfrom
agrare:clean_old_autogenerated_files_before_openapi_generate
Mar 4, 2025
Merged

Clean old autogenerated files before regeneration#17
Fryguy merged 2 commits intoManageIQ:masterfrom
agrare:clean_old_autogenerated_files_before_openapi_generate

Conversation

@agrare
Copy link
Member

@agrare agrare commented Mar 4, 2025

If any files are not included in the new autogenerated gem then when running openapi-generator-cli generate on the existing repo will leave them around without deleting them.

To fix this we remove all old autogenerated files prior to re-running the openapi-generator-cli again.

If any files are not included in the new autogenerated gem then when
running openapi-generator-cli generate on the existing repo will leave
them around without deleting them.
@agrare agrare requested a review from Fryguy as a code owner March 4, 2025 18:32
@agrare agrare changed the title Clean old autogenerated files before regenerate Clean old autogenerated files before regeneration Mar 4, 2025
@Fryguy Fryguy merged commit 290e589 into ManageIQ:master Mar 4, 2025
6 checks passed
@Fryguy Fryguy self-assigned this Mar 4, 2025
@Fryguy Fryguy added the bug Something isn't working label Mar 4, 2025
@agrare agrare deleted the clean_old_autogenerated_files_before_openapi_generate branch March 4, 2025 22:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants