Skip to content

Remove "V2" from DGP plugin display name and description#8628

Merged
cortinico merged 2 commits into
mainfrom
3flex-patch-2
Oct 22, 2025
Merged

Remove "V2" from DGP plugin display name and description#8628
cortinico merged 2 commits into
mainfrom
3flex-patch-2

Conversation

@3flex
Copy link
Copy Markdown
Member

@3flex 3flex commented Sep 9, 2025

@detekt-ci detekt-ci added the build label Sep 9, 2025
@codecov
Copy link
Copy Markdown

codecov Bot commented Sep 9, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 86.18%. Comparing base (3266703) to head (1351487).
⚠️ Report is 1 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff            @@
##               main    #8628   +/-   ##
=========================================
  Coverage     86.18%   86.18%           
  Complexity     4384     4384           
=========================================
  Files           569      569           
  Lines         13858    13858           
  Branches       2605     2605           
=========================================
  Hits          11944    11944           
  Misses          780      780           
  Partials       1134     1134           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

BraisGabin
BraisGabin previously approved these changes Sep 9, 2025
id = "dev.detekt"
displayName = "Static code analysis for Kotlin v2"
description = "Static code analysis for Kotlin v2"
displayName = "Static code analysis for Kotlin"
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

This won't work as it will clash with https://plugins.gradle.org/plugin/io.gitlab.arturbosch.detekt

so needs to be reworded

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

Is it the display name, the description, or both that cannot conflict with a previously published version?

And I think only description is shown in the plugin portal, display name isn't.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Only the description needs to be unique:

We received your plugin submissions of "dev.detekt.gradle.base", "dev.detekt.gradle.compiler-plugin", "dev.detekt" for "dev.detekt" group.

Your plugins were flagged for manual review because of the following issue(s):

    Found 2 plugins with same description. Some of those plugin ids: dev.detekt.gradle.compiler-plugin, io.gitlab.arturbosch.detekt
    Found 3 plugins with same description. Some of those plugin ids: dev.detekt.gradle.base, dev.detekt.gradle.compiler-plugin, io.gitlab.arturbosch.detekt

Please refer to our documentation on plugin approval guidelines for more information: https://plugins.gradle.org/docs/publish-plugin#approval 

This is sadly not mentioned anywhere on their website, other than in those emails

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

So was it ultimately rejected? Or was it just flagged for a review, and we're now waiting on a response?

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

I've forwarded the latest email from the Gradle portal team in the maintainers mailing list, but I'm still waiting for a response from them

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

So it's been published, with the V2 suffix...

Will publishing a new version without the suffix work or do you now have to go through a whole new manual review cycle?

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

So it's been published, with the V2 suffix...

Yes because this is sadly the byproduct of:

(i.e. I need to publish locally from my machine and send a PR afterwards which I really dislike, because the CI would fail otherwise attempting to fetch artifacts that are not existing from Maven Central).

Will publishing a new version without the suffix work or do you now have to go through a whole new manual review cycle?

I can ask Gradle to update the descriptions of all of those manually probably. Not sure if we publish alpha.1 with the updated descriptions if that will reflect or not.

@3flex 3flex requested a review from BraisGabin September 9, 2025 11:56
@3flex 3flex dismissed BraisGabin’s stale review September 9, 2025 11:57

Need to confirm the description & displayName which is subject to constraints imposed by Gradle Inc

@cortinico
Copy link
Copy Markdown
Member

Marked as blocked till we understand how to remove those v2 suffixes. Publishing is unblocked at least

@cortinico
Copy link
Copy Markdown
Member

@cortinico cortinico removed the blocked label Oct 22, 2025
@cortinico
Copy link
Copy Markdown
Member

This can be merged now, I've asked for the "V2" to be removed

@cortinico cortinico enabled auto-merge (squash) October 22, 2025 11:10
@cortinico cortinico merged commit c32ea40 into main Oct 22, 2025
20 of 21 checks passed
@cortinico cortinico deleted the 3flex-patch-2 branch October 22, 2025 11:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants