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 warning for ignored aspects #7332

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

LeFrosch
Copy link
Collaborator

@LeFrosch LeFrosch commented Feb 17, 2025

Emit a warning during sync if the aspects can be found in the bazel ignore file. The sync will most likely fail if the user has added the aspects to the bazel ignore file.

Discussion thread for this change

Issue number: #7302, #7334

@LeFrosch LeFrosch marked this pull request as ready for review February 18, 2025 12:23
@github-actions github-actions bot added product: CLion CLion plugin product: IntelliJ IntelliJ plugin product: GoLand GoLand plugin awaiting-review Awaiting review from Bazel team on PRs labels Feb 18, 2025
* The aspects should not be in the bazel ignore file. Emit a warning if any subpath of the aspect directory is
* mentioned in the bazel ignore file.
*/
private fun detectBazelIgnore(ctx: BlazeContext, aspectPath: Path) {
Copy link
Collaborator

Choose a reason for hiding this comment

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

maybe not detect, but detectAndEmitWarning…

Emit a warning during sync if the aspects can be found in the bazel
ignore file. The sync will most likely fail if the user has added the
aspects to the bazel ignore file.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
awaiting-review Awaiting review from Bazel team on PRs product: CLion CLion plugin product: GoLand GoLand plugin product: IntelliJ IntelliJ plugin
Projects
Status: Untriaged
Development

Successfully merging this pull request may close these issues.

4 participants