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

Project import unable to import Git-based project properly and manual enablement is always required for new projects #5233

Open
dkashyn-sfdc opened this issue Aug 13, 2023 · 2 comments
Assignees
Labels
awaiting-maintainer Awaiting review from Bazel team on issues product: IntelliJ IntelliJ plugin type: bug

Comments

@dkashyn-sfdc
Copy link
Contributor

dkashyn-sfdc commented Aug 13, 2023

Description of the bug:

There is a misalignment with Bazel plugin and IJ platform when .ijwb baseDir for the project denying git enablement automatically.

There are no roots detected in this case
image

Even when we alter vcs.root.detector.ignore.pattern to not ignore .ijwb anymore, in case of .ijwb presence in .gitignore it is failing "test" for eligibility here

image

What's the simplest, easiest way to reproduce this bug? Please provide a minimal example if possible.

Try to auto import any git-based project for Bazel.

Easy to reproduce when you importing project for the first time.

After setting vcs.root.detector.ignore.pattern to the value that not disqualifying .ijwb I was able to reproduce it for .ijwb specified in .gitignore but suspect that unless

Which Intellij IDE are you using? Please provide the specific version.

2023.2

What programming languages and tools are you using? Please provide specific versions.

No response

What Bazel plugin version are you using?

2023.08.01.0.1-api-version-232

Have you found anything relevant by searching the web?

No response

Any other information, logs, or outputs that you want to share?

No response

@dkashyn-sfdc dkashyn-sfdc added awaiting-maintainer Awaiting review from Bazel team on issues type: bug labels Aug 13, 2023
@dkashyn-sfdc dkashyn-sfdc changed the title Bazel plugin import unable to import Git project properly and manual enablement is required Project import unable to import Git-based project properly and manual enablement is always required for new projects Aug 13, 2023
@Pavank1992 Pavank1992 added the product: IntelliJ IntelliJ plugin label Aug 14, 2023
@mai93
Copy link
Collaborator

mai93 commented Aug 14, 2023

Does this issue only happen on IntelliJ 2023.2 or is it reproducible in older versions?

@mai93 mai93 added awaiting-user-response Awaiting response from author on PRs and removed awaiting-maintainer Awaiting review from Bazel team on issues labels Aug 14, 2023
@dkashyn-sfdc
Copy link
Contributor Author

I think this is not new and was like this before. We haven't tried this flow and I have some doubts that this has changed recently...

@mai93 mai93 assigned tpasternak and unassigned mai93 Aug 14, 2023
@mai93 mai93 added awaiting-maintainer Awaiting review from Bazel team on issues and removed awaiting-user-response Awaiting response from author on PRs labels Aug 14, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
awaiting-maintainer Awaiting review from Bazel team on issues product: IntelliJ IntelliJ plugin type: bug
Projects
Status: Untriaged
Development

No branches or pull requests

6 participants