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

Disallow ! patterns in build_ignore. #15366

Merged
merged 1 commit into from
May 6, 2022

Conversation

stuhood
Copy link
Member

@stuhood stuhood commented May 6, 2022

As discussed in #15336, including a negation in build_ignore (unlike pants_ignore, which is interpreted directly by the ignore crate) amounts to adding an include pattern, which will not work as expected.

Closes #15336.

[ci skip-rust]
[ci skip-build-wheels]

# Rust tests and lints will be skipped. Delete if not intended.
[ci skip-rust]

# Building wheels and fs_util will be skipped. Delete if not intended.
[ci skip-build-wheels]
@stuhood stuhood merged commit 9c5c218 into pantsbuild:main May 6, 2022
@stuhood stuhood deleted the stuhood/build-ignore-negation branch May 6, 2022 20:07
stuhood added a commit to stuhood/pants that referenced this pull request May 6, 2022
As discussed in pantsbuild#15336, including a negation in `build_ignore` (unlike `pants_ignore`, which is interpreted directly by the `ignore` crate) amounts to adding an include pattern, which will not work as expected.

Closes pantsbuild#15336.

[ci skip-rust]
[ci skip-build-wheels]
stuhood added a commit to stuhood/pants that referenced this pull request May 6, 2022
As discussed in pantsbuild#15336, including a negation in `build_ignore` (unlike `pants_ignore`, which is interpreted directly by the `ignore` crate) amounts to adding an include pattern, which will not work as expected.

Closes pantsbuild#15336.

[ci skip-rust]
[ci skip-build-wheels]
stuhood added a commit to stuhood/pants that referenced this pull request May 6, 2022
As discussed in pantsbuild#15336, including a negation in `build_ignore` (unlike `pants_ignore`, which is interpreted directly by the `ignore` crate) amounts to adding an include pattern, which will not work as expected.

Closes pantsbuild#15336.

[ci skip-rust]
[ci skip-build-wheels]
stuhood added a commit that referenced this pull request May 6, 2022
)

As discussed in #15336, including a negation in `build_ignore` (unlike `pants_ignore`, which is interpreted directly by the `ignore` crate) amounts to adding an include pattern, which will not work as expected.

Closes #15336.

[ci skip-rust]
[ci skip-build-wheels]
stuhood added a commit that referenced this pull request May 6, 2022
)

As discussed in #15336, including a negation in `build_ignore` (unlike `pants_ignore`, which is interpreted directly by the `ignore` crate) amounts to adding an include pattern, which will not work as expected.

Closes #15336.

[ci skip-rust]
[ci skip-build-wheels]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Cannot exclude subsets from being build_ignored
2 participants