-
-
Notifications
You must be signed in to change notification settings - Fork 12
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
House IntelliJ Gazelle as part of bazel-contrib #45
Comments
This is blocked on #3 but I think that issue can be resolved simply by encoding our existing thoughts into a doc on our site. |
#3 is resolved now - could you just look at https://bazel-contrib.github.io/SIG-rules-authors/hosting-policy.html#adding-criteria and demonstrate that all those criteria are met? |
I believe @blorente is unreachable for a bit, but on his behalf (I've edited the original issue description with a TODO list):
We're happy to release as Apache 2.
Gazelle and IntelliJ are broadly used in the community - most Go projects use Gazelle, and IntelliJ is commonplace. This plugin helps with the overlap.
@blorente is this point of contact; I'm happy to act as a backup.
I think the README is reasonable :)
n/a - project doesn't have an API (and isn't rules).
README contains screenshots of configuration.
Not yet!
Happy to sign up to do so, but hard to provide evidence in advance!
@blorente + @illicitonion > 1
TODO
Publishing needs to be wired up. Because this isn't an API, and lives in the IntelliJ plugin ecosystem, I'm not sure semver actually makes sense here, but open to discussion.
n/a - not a ruleset.
It does! |
For what it's worth if we need further "official" points of contact we can provide them (although I suspect Borja and Daniel will be enough from a responsiveness Point of View, and the rest of the team will keep an eye on the repo too).
In general this seems like a good goal to have, but one to set up after the initial project move. Maybe some of these should be marked "should be done in the first 30 days after adding the project" or something. |
Thanks! The SIG has discretion about whether the missed criteria are essential or not. I don't see why adding some automated testing after transferring the repository is any easier than doing it beforehand, but I also imagine that won't be a blocker, especially as you all have community reputation already :) |
Thanks everyone for weighing in! TestingWe will write IntelliJ headless tests, which are integration tests run on headless editors. The only functionality of the plugin is "Does the correct gazelle target run", so a handful of test repositories with before/after states should be enough. CIThe CI setup should be pretty simple, as long as we get a hold of a Docker image with:
CDBundling and publishing is done by Gradle, in a manually-triggered CI job. There is a bundled task ( For versioning, I propose we follow senver, but appending versions with the IntelliJ API version: Open Questions[ ] What org and signature would we publish this under? |
This work has now been upstreamed to https://github.com/bazelbuild/intellij, so closing this issue. |
IntelliJ Gazelle is an IntelliJ plugin that allows users to run Gazelle when they sync a project with the regular Bazel Plugin, ensuring that projects that rely on it are always operating with up to date BUILD files.
The code can be found here: https://github.com/blorente/intellij_gazelle
As previously discussed in the open source #rules channel, I believe that bazel-contrib would be a good place to host its development, and perhaps its eventual publication int o the JetBrains Marketplace.
For installation, usage and debug instructions, please refer to the README at the root of the repository. There is also an explanation of why this functionality isn't included in the standard Bazel Plugin.
To do list:
The text was updated successfully, but these errors were encountered: