Skip to content

Commit 85cb7c7

Browse files
committed
Merge branch 'main' into fix-for-issue-12810
2 parents 6139782 + 72d5cc2 commit 85cb7c7

File tree

3,319 files changed

+21778
-14158
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

3,319 files changed

+21778
-14158
lines changed

.devcontainer/devcontainer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@
3131
// Install java.
3232
// See https://github.com/devcontainers/features/tree/main/src/java#options for details.
3333
"ghcr.io/devcontainers/features/java:1": {
34-
"version": "23.0.1-tem",
34+
"version": "24.0.1-tem",
3535
"installGradle": false,
3636
"jdkDistro": "Temurin"
3737
}

.gitattributes

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,4 +13,5 @@ gradlew text eol=lf
1313
*.properties text eol=lf
1414

1515
CHANGELOG.md merge=union
16+
jablib/src/main/resources/l10n/JabRef_en.properties merge=union
1617
src/main/resources/l10n/JabRef_en.properties merge=union

.github/ISSUE_TEMPLATE/bug_report.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ body:
1313
label: JabRef version
1414
options:
1515
- "5.15 (latest release)"
16-
- "6.0-alpha"
16+
- "6.0-alpha2"
1717
- Latest development branch build (please note build date below)
1818
- Other (please describe below)
1919
description: The version as shown in the about dialog.

.github/dependabot.yml

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -13,12 +13,6 @@ updates:
1313
- dependency-name: com.microsoft.azure:applicationinsights-logging-log4j2
1414
versions:
1515
- ">= 2.5.a" # Blocked by https://github.com/microsoft/ApplicationInsights-Java/issues/1155
16-
- package-ecosystem: gradle
17-
directory: "buildSrc/"
18-
schedule:
19-
interval: weekly
20-
labels:
21-
- "dependencies"
2216
- package-ecosystem: "github-actions"
2317
directory: "/"
2418
schedule:

.github/ghprcomment.yml

Lines changed: 46 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -8,11 +8,29 @@
88
99
To verify compilation locally, run `./gradlew build` or try running JabRef.
1010
11-
- jobName: 'Unit tests'
11+
- jobName: 'Unit tests - jablib'
1212
message: >
13-
JUnit tests are failing.
14-
In the area "Some checks were not successful", locate "Tests / Unit tests (pull_request)" and click on "Details".
15-
This brings you to the test output.
13+
JUnit tests of `jablib` are failing.
14+
You can see which checks are failing by locating the box "Some checks were not successful" on the pull request page.
15+
To see the test output, locate "Tests / Unit tests (pull_request)" and click on it.
16+
17+
18+
You can then run these tests in IntelliJ to reproduce the failing tests locally.
19+
We offer a quick test running howto in the section [Final build system checks](https://devdocs.jabref.org/getting-into-the-code/guidelines-for-setting-up-a-local-workspace/intellij-12-build.html#final-build-system-checks) in our setup guide.
20+
- jobName: 'Unit tests - jabkit'
21+
message: >
22+
JUnit tests of `jabkit` are failing.
23+
You can see which checks are failing by locating the box "Some checks were not successful" on the pull request page.
24+
To see the test output, locate "Tests / Unit tests (pull_request)" and click on it.
25+
26+
27+
You can then run these tests in IntelliJ to reproduce the failing tests locally.
28+
We offer a quick test running howto in the section [Final build system checks](https://devdocs.jabref.org/getting-into-the-code/guidelines-for-setting-up-a-local-workspace/intellij-12-build.html#final-build-system-checks) in our setup guide.
29+
- jobName: 'Unit tests - jabsrv'
30+
message: >
31+
JUnit tests of `jabsrv` are failing.
32+
You can see which checks are failing by locating the box "Some checks were not successful" on the pull request page.
33+
To see the test output, locate "Tests / Unit tests (pull_request)" and click on it.
1634
1735
1836
You can then run these tests in IntelliJ to reproduce the failing tests locally.
@@ -21,30 +39,35 @@
2139
message: >
2240
Your code currently does not meet [JabRef's code guidelines](https://devdocs.jabref.org/getting-into-the-code/guidelines-for-setting-up-a-local-workspace/intellij-13-code-style.html).
2341
We use [Checkstyle](https://checkstyle.sourceforge.io/) to identify issues.
24-
Please carefully follow [the setup guide for the codestyle](https://devdocs.jabref.org/getting-into-the-code/guidelines-for-setting-up-a-local-workspace/intellij-13-code-style.html).
25-
Afterwards, please [run checkstyle locally](https://devdocs.jabref.org/getting-into-the-code/guidelines-for-setting-up-a-local-workspace/intellij-13-code-style.html#run-checkstyle) and fix the issues.
42+
You can see which checks are failing by locating the box "Some checks were not successful" on the pull request page.
43+
To see the test output, locate "Tests / Checkstyle (pull_request)" and click on it.
2644
2745
2846
In case of issues with the import order, double check that you [activated Auto Import](https://devdocs.jabref.org/getting-into-the-code/guidelines-for-setting-up-a-local-workspace/intellij-13-code-style.html#enable-proper-import-cleanup).
2947
You can trigger fixing imports by pressing <kbd>Ctrl</kbd>+<kbd>Alt</kbd>+<kbd>O</kbd> to trigger [Optimize Imports](https://www.jetbrains.com/guide/tips/optimize-imports/).
48+
49+
50+
Please carefully follow [the setup guide for the codestyle](https://devdocs.jabref.org/getting-into-the-code/guidelines-for-setting-up-a-local-workspace/intellij-13-code-style.html).
51+
Afterwards, please [run checkstyle locally](https://devdocs.jabref.org/getting-into-the-code/guidelines-for-setting-up-a-local-workspace/intellij-13-code-style.html#run-checkstyle) and fix the issues, commit, and push.
3052
- jobName: OpenRewrite
3153
message: >
3254
Your code currently does not meet JabRef's code guidelines.
3355
We use [OpenRewrite](https://docs.openrewrite.org/) to ensure "modern" Java coding practices.
34-
The issues found can be **automatically fixed**.
35-
Please execute the gradle task *`rewriteRun`*, check the results, commit, and push.
56+
You can see which checks are failing by locating the box "Some checks were not successful" on the pull request page.
57+
To see the test output, locate "Tests / OpenRewrite (pull_request)" and click on it.
3658
3759
38-
You can check the detailed error output by navigating to your pull request, selecting the tab "Checks", section "Tests" (on the left), subsection "OpenRewrite".
60+
The issues found can be **automatically fixed**.
61+
Please execute the gradle task *`rewriteRun`* from the [`rewrite` group of the Gradle Tool window](https://devdocs.jabref.org/code-howtos/faq.html#failing-openrewrite-tests) in IntelliJ, then check the results, commit, and push.
3962
- jobName: Modernizer
4063
message: >
4164
Your code currently does not meet JabRef's code guidelines.
4265
We use [Gradle Modernizer Plugin](https://github.com/andygoossens/gradle-modernizer-plugin#gradle-modernizer-plugin) to ensure "modern" Java coding practices.
43-
Please fix the detected errors, commit, and push.
44-
66+
You can see which checks are failing by locating the box "Some checks were not successful" on the pull request page.
67+
To see the test output, locate "Tests / Modernizer (pull_request)" and click on it.
4568
46-
You can check the detailed error output by navigating to your pull request, selecting the tab "Checks", section "Tests" (on the left), subsection "Modernizer".
4769
70+
Please fix the detected errors, commit, and push.
4871
4972
# CHANGELOG.md and *.md
5073

@@ -83,10 +106,13 @@
83106
- jobName: no-force-push
84107
always: true
85108
message: >
86-
Do not force-push!
87-
Force pushing is a very bad practice when working together on a project (mainly because it is [not supported well by GitHub itself](https://github.com/orgs/community/discussions/3478)).
109+
Hey, we noticed that you **force-pushed** your changes.
110+
Force pushing is a bad practice when working together on a project (mainly because it is [not supported well by GitHub itself](https://github.com/orgs/community/discussions/3478)).
88111
Commits are lost and comments on commits lose their context, thus making it harder to review changes.
89112
At the end, all commits will be [squashed](https://docs.github.com/en/pull-requests/collaborating-with-pull-requests/incorporating-changes-from-a-pull-request/about-pull-request-merges#squash-and-merge-your-commits) anyway before being merged into the `main` branch.
113+
114+
115+
In future, **please avoid that**. For now, you can continue working.
90116
- jobName: 'Conflicts with target branch'
91117
message: >
92118
Your pull request conflicts with the target branch.
@@ -106,11 +132,15 @@
106132
107133
# PR text
108134

135+
- jobName: 'Mandatory Checks present'
136+
always: true
137+
message: >
138+
You have removed the "Mandatory Checks" section from your pull request description. Please adhere to our [pull request template](https://github.com/JabRef/jabref/blob/main/.github/PULL_REQUEST_TEMPLATE.md?plain=1#L10).
109139
- jobName: 'PR checklist OK'
110140
always: true
111141
message: >
112-
Note that your PR will not be reviewed/accepted until you have gone through the mandatory checks in the description and mark them as one of `[x] done`, `[ ] not done (yet)`, `[/] not applicable`.
113-
- jobName: 'Determine issue number'
142+
Note that your PR will not be reviewed/accepted until you have gone through the mandatory checks in the description and marked each of them them exactly in the format of `[x]` (done), `[ ]` (not done yet) or `[/]` (not applicable).
143+
- jobName: 'Issue number present'
114144
always: true
115145
message: |
116146
Your pull request needs to link an issue.

0 commit comments

Comments
 (0)