Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .agents/skills/new-rule/SKILL.md
Original file line number Diff line number Diff line change
Expand Up @@ -61,9 +61,9 @@ Stop and resolve gaps before Step 1.

Push the branch, named with your GitHub username convention (e.g. `<username>/short-kebab-description`), and open the PR.

**Single Jira ticket (mandatory):** the RSpec and the rule implementation share the **same** SONARJAVA ticket. Do **not** create a second ticket, and do **not** put the Jira key in commits.
**Single Jira ticket (mandatory):** the RSpec and the rule implementation share the **same** JAVA ticket. Do **not** create a second ticket, and do **not** put the Jira key in commits.

1. Open the analyzer PR with title exactly: `SONARJAVA-XXXX Implement rule SXXXX - <rule title>`, reusing the RSpec ticket key as prefix (rule id and title from RSpec).
1. Open the analyzer PR with title exactly: `JAVA-XXXX Implement rule SXXXX - <rule title>`, reusing the RSpec ticket key as prefix (rule id and title from RSpec).
Comment on lines +64 to +66

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

ℹ️ Cross-PR: CONTRIBUTING.md would still prescribe the retired SONARJAVA PR prefix · #6598

Breaks when this PR and #6598 both merge to master and the SONARJAVA → JAVA key rename takes effect.

How

  1. .agents/skills/new-rule/SKILL.md:66 now requires PR titles to start with JAVA-XXXX, and this PR switches the workflow jira-project settings to JAVA.
  2. #6598 adds a sentence at CONTRIBUTING.md:30: 'Start the pull request title with the associated SONARJAVA-XXXX issue key'.
  3. Contributors who follow CONTRIBUTING.md would use the retired prefix, so the PR-created automation, which is configured for JAVA, would not link their PR to a ticket.

Fix

  • This PR: nothing needed
  • #6598: change the new CONTRIBUTING.md guidance to JAVA-XXXX, and update its other SONARJAVA mentions too

Compared a1667ed with #6598 at b939552

Was this helpful? React with 👍 / 👎

2. Do not invent a ticket key — take it from the RSpec PR or branch.

Do not stop here.
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/CleanupIssues.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,4 +24,4 @@ jobs:
github-token: ${{ secrets.GITHUB_TOKEN }}
jira-user: ${{ fromJSON(steps.secrets.outputs.vault).JIRA_USER }}
jira-token: ${{ fromJSON(steps.secrets.outputs.vault).JIRA_TOKEN }}
jira-project: SONARJAVA
jira-project: JAVA
2 changes: 1 addition & 1 deletion .github/workflows/PullRequestCreated.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,4 +26,4 @@ jobs:
github-token: ${{ fromJSON(steps.secrets.outputs.vault).GITHUB_TOKEN }}
jira-user: ${{ fromJSON(steps.secrets.outputs.vault).JIRA_USER }}
jira-token: ${{ fromJSON(steps.secrets.outputs.vault).JIRA_TOKEN }}
jira-project: SONARJAVA
jira-project: JAVA
Comment thread
gitar-bot[bot] marked this conversation as resolved.
Resolved
2 changes: 1 addition & 1 deletion .github/workflows/automated-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ jobs:
# Artifacts are matched exactly, so this will prevent updating javascript.
plugin-artifacts-sqs: "java"
plugin-artifacts-sqc: "java"
jira-project-key: "SONARJAVA"
jira-project-key: "JAVA"
runner-environment: "warp-custom-ubuntu-24-04"
rule-props-changed: false
short-description: ${{ github.event.inputs.short-description }}
Expand Down
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,9 @@ dependency-reduced-pom.xml
.factorypath
.vscode/

# --- VS
.vs/

# ---- Sonar Scanners
.scannerwork
.sonar
Expand Down
1 change: 0 additions & 1 deletion CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ Contributions are welcome!

**Before spending lots of time on something, ask for feedback on your idea first.**
Reach out to the [SonarQube Community Forum](https://community.sonarsource.com/) to ask if we would be interested in your contribution.
Please search issues on our [Jira](http://jira.sonarsource.com/browse/SONARJAVA).

To avoid frustration, please discuss before submitting any contributions.

Expand Down
1 change: 0 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,6 @@ Useful links
------------

* [Project homepage](https://redirect.sonarsource.com/plugins/java.html)
* [Issue tracking](https://jira.sonarsource.com/browse/SONARJAVA/)
* [Available rules](https://rules.sonarsource.com/java)
* [Sonar Community Forum](https://community.sonarsource.com/)
* [Demo project analysis](https://next.sonarqube.com/sonarqube/dashboard?id=org.sonarsource.java%3Ajava)
Expand Down
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@
</scm>
<issueManagement>
<system>JIRA</system>
<url>https://jira.sonarsource.com/browse/SONARJAVA</url>
<url>https://jira.sonarsource.com/browse/JAVA</url>
</issueManagement>
<ciManagement>
<system>GitHub Actions</system>
Expand Down
Loading