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

Add --//some/path:incompatible_some_flag as a valid incompatible flag format #125

Merged
merged 4 commits into from
Apr 17, 2020

Conversation

aiuto
Copy link
Contributor

@aiuto aiuto commented Mar 10, 2020

fixes #118

Add a unit test for the migration issue scanner.

This PR adds no new behavior. It just refactors getIncompatibleFlags
so we can add a test for new behavior to be added for bazelbuild#118
@aiuto aiuto requested a review from philwo March 10, 2020 04:31
@philwo
Copy link
Member

philwo commented Mar 10, 2020

Does that mean we have actual flags that start with -- and then go on with a label syntax in Bazel?

Like this?

bazel build --//some/path:incompatible_user_defined_flag --spawn_strategy=foobar //my:app

@aiuto
Copy link
Contributor Author

aiuto commented Mar 10, 2020 via email

@aiuto
Copy link
Contributor Author

aiuto commented Apr 7, 2020

friendly ping

Copy link
Member

@philwo philwo left a comment

Choose a reason for hiding this comment

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

Thanks!

@philwo philwo merged commit 1e4c5df into bazelbuild:master Apr 17, 2020
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.

Allow Starlark defined incompatible flags (e.g. //some/path:incompatible_some_flag
2 participants