-
Notifications
You must be signed in to change notification settings - Fork 509
Pull #18820: Consolidate CI to fix error-prone rewrite and spotbugs execution #2825
#2847
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
Conversation
| - name: assemble testClasses | ||
| run: ./gradlew assemble testClasses | ||
| - name: Spotbugs 🐞 | ||
| run: ./gradlew spotbugsMain |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
here seems to be no gate keeper, calling this goal:
.github/workflows/ci.yml
Outdated
| - name: Error Prone 🚧️ | ||
| run: ./gradlew assemble -DERROR_PRONE=true | ||
| - name: OpenRewrite ☑️ # 4m 55s | ||
| run: ./gradlew rewriteDryRun |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
might extract this job to CRON job to make it optional as requested.
| distributionBase=GRADLE_USER_HOME | ||
| distributionPath=wrapper/dists | ||
| distributionSha256Sum=0d585f69da091fc5b2beced877feab55a3064d43b8a1d46aeb07996b0915e0e0 | ||
| distributionUrl=https\://services.gradle.org/distributions/gradle-9.3.0-bin.zip |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
rewrite update.
| return spotless.getRegisterDependenciesTask().getTaskService().get().provisionerFor(spotless); | ||
| } | ||
|
|
||
| protected final com.diffplug.spotless.extra.P2Provisioner p2Provisioner() { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
prone stuff but rewrite could cover this as well of course.
|
|
||
| This makes it easier for the maintainers to quickly release your changes :) | ||
|
|
||
| ## Check and format code |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this seems to be the critical point left behind last time. Communicating properly will help everybody to follow up as its done all over the other projects giving the convention and standard we also following.
This will make sure its better digested by the community.
|
prone example, should be simple to follow (c&p or allow patching later on) normally we have strong foundation no need to make invasive change. |
| * Spotless ✨ | ||
| * `./gradlew spotlessApply` | ||
| * Spotbugs 🐞 | ||
| * `./gradlew spotbugsMain` |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
.github/workflows/ci.yml
Outdated
| - name: Error Prone 🚧️ | ||
| run: ./gradlew assemble -Derror-prone=true | ||
| - name: OpenRewrite ☑️ # 4m 55s | ||
| run: ./gradlew rewriteDryRun -DfailOnDryRunResults=false |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this will let corrupt code pass which is kind of the same having it optional, so its not applied at the end result. This makes it easy to activate once the community has adapted.
its just the same like spotless the the mechanism is nothing new at all. Let some time pass to see how its possible to integrate and then activate.
it takes some time yes 5 mins. the rewrite guys have 2 jobs because there war a hard 15 mins limit so in comparison it seems fast and acceptable.
whole build takes 8 mins with test so its in the range.
| } | ||
| // if there is \n on the end, remove it | ||
| if (!template.isEmpty() && ImportSorter.N.equals(template.get(template.size() - 1))) { | ||
| template.remove(template.size() - 1); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this is clearly more complicated and therefore error-prone.
|
It’s clear that you have a certain passion for open source, but you must remember to respect the developers and the specific requirements of the project. Instead of addressing the actual issues and feature requests from our users, you are focusing on trivialities and flooding us with low-effort PRs just to satisfy your own vanity. Repeatedly pinging maintainers for these meaningless updates is disruptive and creates a significant burden. Your current behavior is polluting the community and hindering the project's progress. |
Adding rewrite back in to the project in a +75/-54 PR is a lot of noise for the maintainers. @Pankraz76 I'm blocking you from the project for 7 days, I'm easy to find via email and other channels if you would like to discuss further. You are a good dev, but the people maintaining this project are busy and no one is being paid for it. Asking people to read comments and code changes is asking for their time, you need to find a way to deliver more value while consuming less time. Value is not measured in lines of code. |


No description provided.