Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

OCM localization support #70

Merged
merged 7 commits into from
Sep 8, 2022
Merged

OCM localization support #70

merged 7 commits into from
Sep 8, 2022

Conversation

mandelsoft
Copy link
Contributor

What this PR does / why we need it:

This PR provides some support for localization and configuration of filesystem snapshots
based on information provided by component versions and user configuration.

Additionally, it contains a fix for the Tar resource generation.

Which issue(s) this PR fixes:
Fixes #

Special notes for your reviewer:

Release note:

@mandelsoft mandelsoft requested a review from a team as a code owner August 28, 2022 17:09
@mandelsoft mandelsoft requested review from Diaphteiros and robertgraeff and removed request for a team August 28, 2022 17:09
@Skarlso
Copy link
Contributor

Skarlso commented Aug 29, 2022

Additionally, it contains a fix for the Tar resource generation.

For the future, please try to keep fixes out of feature prs for the following reason:

  • Ability to release patch versions
  • Easy to spot when later looking for bugs and causes
  • Easier on the review, having to understand what is part of what
  • Easier to test, because precise testing can be done to identify a bug but a feature has to be tested in a more complex way

Thanks!

@mandelsoft
Copy link
Contributor Author

I completely agree,

here I urgently required this fix. And to be honest I forgot to create a separate commit for the fix.

@mandelsoft mandelsoft mentioned this pull request Aug 29, 2022
@mandelsoft mandelsoft force-pushed the localize branch 2 times, most recently from 5c00c3f to 30acb49 Compare August 30, 2022 17:06
@mandelsoft mandelsoft requested a review from a team as a code owner August 30, 2022 17:06
@gardener-robot
Copy link
Contributor

@robertgraeff, @Diaphteiros You have pull request review open invite, please check

@mandelsoft
Copy link
Contributor Author

I'll rebase now

Skarlso
Skarlso previously approved these changes Sep 6, 2022
Skarlso
Skarlso previously approved these changes Sep 6, 2022
yitsushi
yitsushi previously approved these changes Sep 7, 2022
Additionally I found a strange behaviour of the yaml path library.
It cannot handle mixed yaml json. The resulting output when executing
a modification is a completely corrupted yaml.

Now, the susbtitution package wraps this lib by feeding it with
pure json or yaml, only, dependening on the original input format.
@mandelsoft
Copy link
Contributor Author

rebased and linted

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.

4 participants