Skip to content

fix: Merge appregdefs from template and instance repo #1337

Open
chethana-shastry-p wants to merge 1 commit into
mainfrom
bugfix/appreg-merge
Open

fix: Merge appregdefs from template and instance repo #1337
chethana-shastry-p wants to merge 1 commit into
mainfrom
bugfix/appreg-merge

Conversation

@chethana-shastry-p
Copy link
Copy Markdown
Collaborator

Pull Request

Summary

For copying Application and Registry definitions:
Current implementation:

  1. Existing AppDefs and RegDefs folders are deleted completely.
  2. Rendered AppDefs and RegDefs folders from the template repository are then copied over.
    Hotfix behavior:
  3. Do not delete the existing folders.
  4. Simply copy the rendered AppDefs and RegDefs folders from the template repository into the target location.
    Result:
  5. Existing .yml or .yml files will remain if they are not present in the template repository.
  6. If a file with the same name exists in both places, the file from the template repository will overwrite the existing one.
    Note: If a file was present in template repository and deleted later in subsequent runs, it'll still remian in instance repository.

Issue

Breaking Change?

  • Yes
  • No

Scope / Project

appregdef rendering

Implementation Notes

Provide details on how the change was implemented, including any technical considerations, trade-offs, or notable design decisions. Leave blank if not applicable.

Tests / Evidence

  • Tests added

Additional Notes

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant