Skip to content

Conversation

@vehre-x41
Copy link
Contributor

@vehre-x41 vehre-x41 commented Apr 19, 2022

Commit Message: deps: Update yaml_cpp deps to fix CRNL and emit issues.
Additional Description: Update reference to yaml_cpp to make use of latest fixes:

  • fix where on Windows a CRLF is not detected correctly
  • emit of keys having special chars, like &, lead to illegal yaml.
    Signed-off-by: Andre Vehreschild vehre@x41-dsec.de
    Risk Level: Low
    Testing: n/a
    Docs Changes: n/a
    Release Notes: n/a
    Platform Specific Features: Force yaml_cpp to link statically.

Signed-off-by: Andre Vehreschild <vehre@x41-dsec.de>
@repokitteh-read-only repokitteh-read-only bot added the deps Approval required for changes to Envoy's external dependencies label Apr 19, 2022
@repokitteh-read-only
Copy link

CC @envoyproxy/dependency-shepherds: Your approval is needed for changes made to (bazel/.*repos.*\.bzl)|(bazel/dependency_imports\.bzl)|(api/bazel/.*\.bzl)|(.*/requirements\.txt)|(.*\.patch).
envoyproxy/dependency-shepherds assignee is @wrowe

🐱

Caused by: #20886 was opened by vehre-x41.

see: more, trace.

@vehre-x41 vehre-x41 marked this pull request as draft April 19, 2022 15:22
Copy link
Member

@keith keith left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Are there upstream issues / PRs tracking these?

@vehre-x41
Copy link
Contributor Author

vehre-x41 commented Apr 19, 2022

Are there upstream issues / PRs tracking these?

Er, what do you mean? This work is motivated by PR20544 not being the 'right' solution. The issue is in the yaml_cpp library and at least partially fixed there. Unfortunately was my fix (of yaml_cpp) not perfect, so I have to iterate another patch to the yaml_cpp lib. This PR here is just for testing, whether the patch of yaml_cpp now really fixes all issues and builds on all platforms.

@vehre-x41
Copy link
Contributor Author

yaml_cpp fixes are also here: yaml_cpp PR1099.

@keith
Copy link
Member

keith commented Apr 19, 2022

Sorry I just meant for the newline one, so jbeder/yaml-cpp#1099, can you add that as a comment in the patch so we know we can remove that once it merges?

@vehre-x41
Copy link
Contributor Author

/retest

@repokitteh-read-only
Copy link

Retrying Azure Pipelines:
Retried failed jobs in: envoy-presubmit

🐱

Caused by: a #20886 (comment) was created by @vehre-x41.

see: more, trace.

Signed-off-by: Andre Vehreschild <vehre@x41-dsec.de>
@vehre-x41
Copy link
Contributor Author

/donotmerge

This is a temporary state for testing purpose only. DO NOT MERGE!

project_url = "https://github.com/jbeder/yaml-cpp",
version = "db6deedcd301754723065e0bbb1b75927c5b49c7",
sha256 = "387d7f25467312ca59068081f9a25bbab02bb6af32fd3e0aec1bd59163558171",
version = "fa744bbbe22da24c745d991fd8f6f0401af7acf7",
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@vehre-x41 Thanks for fixing this!
Can this be updated to the latest version 13626af92af7642eba79837842c59602201d52a1? we can then verify that the windows CI is happy.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Currently the yaml-cpp project is staling on #1100. I am pursuing this and will update to the latest commit, once #1100 is merged. For now it unfortunately is waiting and nagging the reviewer(s)' of #1100.

/wait

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yaml-cpp has merged #1100. Updated refs and now just waiting for CI to pass.

Signed-off-by: Andre Vehreschild <vehre@x41-dsec.de>
@vehre-x41 vehre-x41 changed the title WIP: Use a patched yaml_cpp. deps: Update yaml_cpp deps to fix CRNL and emit issue. Apr 27, 2022
@vehre-x41 vehre-x41 marked this pull request as ready for review April 27, 2022 16:02
@moderation
Copy link
Contributor

/lgtm deps

@repokitteh-read-only repokitteh-read-only bot removed the deps Approval required for changes to Envoy's external dependencies label Apr 27, 2022
@moderation
Copy link
Contributor

/retest

@repokitteh-read-only
Copy link

Retrying Azure Pipelines:
Retried failed jobs in: envoy-presubmit

🐱

Caused by: a #20886 (comment) was created by @moderation.

see: more, trace.

Copy link
Contributor

@adisuissa adisuissa left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, thanks!

@adisuissa adisuissa mentioned this pull request Apr 28, 2022
@adisuissa adisuissa merged commit 25c3da2 into envoyproxy:main Apr 28, 2022
ravenblackx pushed a commit to ravenblackx/envoy that referenced this pull request Jun 8, 2022
)

Signed-off-by: Andre Vehreschild <vehre@x41-dsec.de>
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.

5 participants