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

Windows: remove incompatible_windows_style_arg_escaping #8003

Closed

Conversation

laszlocsomor
Copy link
Contributor

In this PR:

  • Removed the
    --incompatible_windows_style_arg_escaping flag
    and all code for its "false" case. The flag is
    flipped to true.

  • In WindowsProcessesTest, the
    testDoesNotQuoteArgWithDoubleQuote method is
    replaced by testQuotesArgWithDoubleQuote, i.e.
    the test logic is reversed. The new test shows
    the correct behavior, the old test was wrong.

See #7122
See #7454

RELNOTES[INC]: The --incompatible_windows_style_arg_escaping flag is flipped to "true", and the "false" case unsupported. Bazel no longer accepts this flag.

@laszlocsomor
Copy link
Contributor Author

/cc @dkelmer (0.25 release manager, #7498)
/cc @aehlig (0.26 release manager, #7499)

@dkelmer
Copy link
Contributor

dkelmer commented Apr 11, 2019

Just making sure, this doesn't affect the 0.25 rehearse, right?

@laszlocsomor
Copy link
Contributor Author

No, it won't affect 0.25. The flag is still supported at the baseline commit:

name = "incompatible_windows_style_arg_escaping",
defaultValue = "false", // NOTE: purely decorative, rc files are read by the client.

Alas merging this PR is blocked on #8005 which breaks //src/test/shell/integration:test_test.

@dkelmer
Copy link
Contributor

dkelmer commented Apr 11, 2019

Thanks for clarifying 😊

In this PR:

- Removed the
  `--incompatible_windows_style_arg_escaping` flag
  and all code for its "false" case.  The flag is
  flipped to true.

- In WindowsProcessesTest, the
  testDoesNotQuoteArgWithDoubleQuote method is
  replaced by testQuotesArgWithDoubleQuote, i.e.
  the test logic is reversed. The new test shows
  the correct behavior, the old test was wrong.

See bazelbuild#7122
See bazelbuild#7454

RELNOTES[INC]: The --incompatible_windows_style_arg_escaping flag is flipped to "true", and the "false" case unsupported. Bazel no longer accepts this flag.
@jin jin added the area-Windows Windows-specific issues and feature requests label Jun 10, 2019
@jin
Copy link
Member

jin commented Jun 10, 2019

Has this been imported? What's the status of this PR? It looks like #8005 is closed.

@laszlocsomor
Copy link
Contributor Author

It was never merged.
I'm running presubmit tests to try and merge it.

@bazel-io bazel-io closed this in ecac47d Jul 1, 2019
@laszlocsomor laszlocsomor deleted the win-style-arg-esc branch July 1, 2019 11:32
siberex pushed a commit to siberex/bazel that referenced this pull request Jul 4, 2019
In this PR:

- Removed the
  `--incompatible_windows_style_arg_escaping` flag
  and all code for its "false" case.  The flag is
  flipped to true.

- In WindowsProcessesTest, the
  testDoesNotQuoteArgWithDoubleQuote method is
  replaced by testQuotesArgWithDoubleQuote, i.e.
  the test logic is reversed. The new test shows
  the correct behavior, the old test was wrong.

See bazelbuild#7122
See bazelbuild#7454

RELNOTES[INC]: The --incompatible_windows_style_arg_escaping flag is flipped to "true", and the "false" case unsupported. Bazel no longer accepts this flag.

Closes bazelbuild#8003.

PiperOrigin-RevId: 255929367
irengrig pushed a commit to irengrig/bazel that referenced this pull request Jul 15, 2019
In this PR:

- Removed the
  `--incompatible_windows_style_arg_escaping` flag
  and all code for its "false" case.  The flag is
  flipped to true.

- In WindowsProcessesTest, the
  testDoesNotQuoteArgWithDoubleQuote method is
  replaced by testQuotesArgWithDoubleQuote, i.e.
  the test logic is reversed. The new test shows
  the correct behavior, the old test was wrong.

See bazelbuild#7122
See bazelbuild#7454

RELNOTES[INC]: The --incompatible_windows_style_arg_escaping flag is flipped to "true", and the "false" case unsupported. Bazel no longer accepts this flag.

Closes bazelbuild#8003.

PiperOrigin-RevId: 255929367
@philwo philwo added the team-OSS Issues for the Bazel OSS team: installation, release processBazel packaging, website label Jun 15, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area-Windows Windows-specific issues and feature requests cla: yes team-OSS Issues for the Bazel OSS team: installation, release processBazel packaging, website
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants