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

Better comparison of compose files #12561

Merged
merged 2 commits into from Mar 14, 2017
Merged

Better comparison of compose files #12561

merged 2 commits into from Mar 14, 2017

Conversation

raphink
Copy link
Contributor

@raphink raphink commented Mar 9, 2017

Comparing YAML files by string is not reliable. This commit interprets the compose files (using Docker's libcompose) and performs a DeepEqual comparison of the resulting structures.

@mcanevet
Copy link
Contributor

mcanevet commented Mar 9, 2017

Tested and approved!

@raphink
Copy link
Contributor Author

raphink commented Mar 13, 2017

@stack72 good for you?

@stack72
Copy link
Contributor

stack72 commented Mar 13, 2017

Hi @raphink

This fails the build - if you can look atthat, then we can merge

Paul

@raphink
Copy link
Contributor Author

raphink commented Mar 14, 2017

@stack72 Ah yes, the vendoring. I'll try and add libcompose to the PR.

@raphink
Copy link
Contributor Author

raphink commented Mar 14, 2017

Fixed the deps and build is now 💚

@stack72
Copy link
Contributor

stack72 commented Mar 14, 2017

amazing! Thanks so much :)

@stack72 stack72 merged commit 4faeabf into hashicorp:master Mar 14, 2017
stack72 pushed a commit that referenced this pull request Mar 14, 2017
* Better comparison of compose files

* Add github.com/docker/libcompose/config and deps to vendor
@ghost
Copy link

ghost commented Apr 15, 2020

I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues.

If you have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.

@hashicorp hashicorp locked and limited conversation to collaborators Apr 15, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants