HETZNER: Adopt diff2 in compatibility mode#1888
Merged
Merged
Conversation
das7pad
approved these changes
Jan 1, 2023
Contributor
das7pad
left a comment
There was a problem hiding this comment.
LGTM. I've tested a similar patch (das7pad@4bcb80e) earlier today and the integration tests passed with both the baseline flags and -diff2.
Happy new year!
Contributor
Author
|
Thanks! Wow! You're diff is more concise. I don't know why I didn't think of doing it that way. For consistency with the others I'll merge my PR. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Hi @das7pad:
In reference to replacing pkg/diff with the new pkg/diff2 (#1854)
I've introduced a compatibility mode to pkg/diff2 to make it easier for providers to adopt the new system. If you do a diff with "hide whitespace", you'll see the changes are minimal.
I've taken the liberty of providing this PR as a starting point.
Please run the integration tests and let me know the result. (If you're getting this, I probably don't have access to an account on this provider)
Please run:
and
They should both complete with no failures. Please fix any failures or loop me in for help.
If you are interested in porting to the new pkg/diff2/By*() functions, I'd be glad to accept a PR. However using the compatibility mode is sufficient if all tests pass.
Thanks and happy new years!!!
Tom
@tlimoncelli