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

Treat MSBuild warnings as errors #427

Conversation

Xtansia
Copy link
Collaborator

@Xtansia Xtansia commented Nov 9, 2023

Description

Treat MSBuild warnings as errors

Issues Resolved

Fixes #145

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

@Xtansia Xtansia added backport 1.x Backport to 1.x branch skip-changelog labels Nov 9, 2023
@Xtansia Xtansia marked this pull request as ready for review November 9, 2023 02:25
@Xtansia Xtansia merged commit 6c3f959 into opensearch-project:main Nov 9, 2023
44 of 49 checks passed
@Xtansia Xtansia deleted the fix/treat-msbuild-warnings-as-errors branch November 9, 2023 08:07
@opensearch-trigger-bot
Copy link
Contributor

The backport to 1.x failed:

The process '/usr/bin/git' failed with exit code 1

To backport manually, run these commands in your terminal:

# Fetch latest updates from GitHub
git fetch
# Create a new working tree
git worktree add .worktrees/backport-1.x 1.x
# Navigate to the new working tree
cd .worktrees/backport-1.x
# Create a new branch
git switch --create backport/backport-427-to-1.x
# Cherry-pick the merged commit of this pull request and resolve the conflicts
git cherry-pick -x --mainline 1 6c3f959b309486f95195717f351a0247a969c7c6
# Push it to GitHub
git push --set-upstream origin backport/backport-427-to-1.x
# Go back to the original working tree
cd ../..
# Delete the working tree
git worktree remove .worktrees/backport-1.x

Then, create a pull request where the base branch is 1.x and the compare/head branch is backport/backport-427-to-1.x.

Xtansia added a commit to Xtansia/opensearch-net that referenced this pull request Nov 10, 2023
Signed-off-by: Thomas Farr <[email protected]>
(cherry picked from commit 6c3f959)
dblock pushed a commit that referenced this pull request Nov 10, 2023
Signed-off-by: Thomas Farr <[email protected]>
(cherry picked from commit 6c3f959)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport 1.x Backport to 1.x branch skip-changelog
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Important compile warnings not elevated in visibility in GitHub Actions
2 participants