pmdtester 1.5.5 → 1.6.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: '05486a80b029d8a896b789ebb894077c36d6a0f99a651c0b1885a808f6219b8a'
4
- data.tar.gz: b9a98daf20b7c036a26bea412563a9df771252b338cb7f805c4d42351627b458
3
+ metadata.gz: 7429c569bdac259cad6b5f768efeea761f09526feccae27fcb3ff25a8dc11da6
4
+ data.tar.gz: f721bec1256b72ac94d81a06155be85724d2ecb27ddc4228ded4ffb4e23d85f2
5
5
  SHA512:
6
- metadata.gz: efce54ae5e36f7853427a7ccc203346335f7811d3dddbe3ae5d0f558bff3eb7b1748952fbdd31046c251ea6cb55fac5b1a261fd674c4989b5a6d11e251c1872f
7
- data.tar.gz: fc72dbd2b79ca40655eea0587f0cb6df1293b6634a9252e428af2dddbe0209f5e74dc2497dadca99687e6e332e495979d42288b100cd55f6b293096645e2f5f5
6
+ metadata.gz: 896eaf9c9979252c7fb326c4f80aa009db10dff63393f20482c48397c9efdacdd911faef516c2be198559fce9428776ec0728a1f8d6cc9f7f3d91803d1034f4c
7
+ data.tar.gz: ae4143fa783d36093c8d0e1927732de4aa62d5e91563f04067dce22710f408a11e59e61e6e7ba14dfd35250b8ca85dc7a0007caed69807abd96fff011f981928
@@ -0,0 +1,11 @@
1
+ name: Build Pull Request
2
+
3
+ on:
4
+ pull_request:
5
+ merge_group:
6
+ types: [checks_requested]
7
+
8
+ jobs:
9
+ build:
10
+ name: Build Pull Request
11
+ uses: ./.github/workflows/build.yml
@@ -0,0 +1,12 @@
1
+ name: Build Release
2
+
3
+ on:
4
+ push:
5
+ tags:
6
+ - '**'
7
+ workflow_dispatch:
8
+
9
+ jobs:
10
+ build:
11
+ name: Build Release
12
+ uses: ./.github/workflows/build.yml
@@ -0,0 +1,17 @@
1
+ name: Build Snapshot
2
+
3
+ on:
4
+ push:
5
+ branches:
6
+ - '**'
7
+ # don't run on dependabot branches. Dependabot will create pull requests, which will then be run instead
8
+ - '!dependabot/**'
9
+ workflow_dispatch:
10
+ schedule:
11
+ # build it monthly: At 04:30 on day-of-month 1.
12
+ - cron: '30 4 1 * *'
13
+
14
+ jobs:
15
+ build:
16
+ name: Build Snapshot
17
+ uses: ./.github/workflows/build.yml
@@ -1,57 +1,65 @@
1
- name: build
1
+ name: Build
2
2
 
3
3
  on:
4
- push:
5
- branches:
6
- - main
7
- - master
8
- tags:
9
- - '**'
10
- pull_request:
11
- schedule:
12
- # build it monthly: At 04:30 on day-of-month 1.
13
- - cron: '30 4 1 * *'
14
- workflow_dispatch:
4
+ workflow_call:
5
+
6
+ # if another commit is added to the same branch or PR (same github.ref),
7
+ # then cancel already running jobs and start a new build.
8
+ concurrency:
9
+ group: ${{ github.workflow }}-${{ github.ref }}
10
+ cancel-in-progress: true
11
+
12
+ permissions:
13
+ contents: read # to fetch code (actions/checkout)
14
+
15
+ env:
16
+ LANG: 'en_US.UTF-8'
15
17
 
16
18
  jobs:
17
- build:
18
- timeout-minutes: 120
19
+ compile:
19
20
  runs-on: ubuntu-latest
20
- continue-on-error: false
21
- if: ${{ !contains(github.event.head_commit.message, '[skip ci]') }}
21
+ timeout-minutes: 120
22
+ defaults:
23
+ run:
24
+ shell: bash
22
25
  steps:
23
- - uses: actions/checkout@v3
24
- - uses: actions/cache@v3
25
- with:
26
- path: |
27
- ~/.m2/repository
28
- ~/.cache
29
- vendor/bundle
30
- target/repositories
31
- key: v3-${{ runner.os }}-${{ hashFiles('pmdtester.gemspec') }}
32
- restore-keys: |
33
- v3-${{ runner.os }}-
34
- - name: Set up Ruby 2.7
35
- uses: ruby/setup-ruby@v1
36
- with:
37
- ruby-version: 2.7
38
- - name: Setup Environment
39
- shell: bash
40
- run: |
41
- echo "LANG=en_US.UTF-8" >> $GITHUB_ENV
42
- echo "MAVEN_OPTS=-Dmaven.wagon.httpconnectionManager.ttlSeconds=180 -Dmaven.wagon.http.retryHandler.count=3" >> $GITHUB_ENV
43
- echo "PMD_CI_SCRIPTS_URL=https://raw.githubusercontent.com/pmd/build-tools/17/scripts" >> $GITHUB_ENV
44
- - name: Check Environment
45
- shell: bash
46
- run: |
47
- f=check-environment.sh; \
48
- mkdir -p .ci && \
49
- ( [ -e .ci/$f ] || curl -sSL "${PMD_CI_SCRIPTS_URL}/$f" > ".ci/$f" ) && \
50
- chmod 755 .ci/$f && \
51
- .ci/$f
52
- - name: Build
53
- run: .ci/build.sh
54
- shell: bash
55
- env:
56
- PMD_CI_SECRET_PASSPHRASE: ${{ secrets.PMD_CI_SECRET_PASSPHRASE }}
57
- GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
26
+ - uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 #v4.2.2
27
+ - uses: actions/setup-java@c5195efecf7bdfc987ee8bae7a71cb8b11521c00 #v4.7.1
28
+ with:
29
+ distribution: 'temurin'
30
+ java-version: '11'
31
+ - name: Prepare HOME/openjdk11
32
+ run: ln -sfn "${JAVA_HOME_11_X64}" "${HOME}/openjdk11"
33
+ - uses: actions/cache@0400d5f644dc74513175e3cd8d07132dd4860809 #v4.2.4
34
+ with:
35
+ path: |
36
+ ~/.m2/repository
37
+ ~/.cache
38
+ ~/.gradle
39
+ vendor/bundle
40
+ target/repositories
41
+ key: v4-${{ runner.os }}-${{ hashFiles('pmdtester.gemspec') }}
42
+ restore-keys: |
43
+ v4-${{ runner.os }}-
44
+ - name: Set up Ruby 3.3
45
+ uses: ruby/setup-ruby@2a7b30092b0caf9c046252510f9273b4875f3db9 #v1.254.0
46
+ with:
47
+ ruby-version: 3.3
48
+ - name: Install dependencies (bundler)
49
+ run: |
50
+ # bundler should already be installed
51
+ bundle --version
52
+ bundle config set --local path vendor/bundle
53
+ bundle install
54
+ - name: Build with rake
55
+ run: |
56
+ bundle exec rake check_manifest
57
+ bundle exec rake rubocop
58
+ bundle exec rake clean test
59
+ - name: Run Integration Tests
60
+ run: |
61
+ bundle exec rake clean integration-test
62
+ - name: Build Package
63
+ run: |
64
+ bundle exec rake install_gem
65
+ bundle exec pmdtester -h
@@ -6,44 +6,46 @@ on:
6
6
  - cron: '30 8 1 * *'
7
7
  workflow_dispatch:
8
8
 
9
+ permissions:
10
+ contents: read # to fetch code (actions/checkout)
11
+
12
+ env:
13
+ LANG: 'en_US.UTF-8'
14
+
9
15
  jobs:
10
16
  build:
11
17
  timeout-minutes: 120
12
18
  runs-on: ubuntu-latest
13
19
  continue-on-error: false
14
20
  steps:
15
- - uses: actions/checkout@v3
16
- - uses: actions/cache@v3
17
- with:
18
- path: |
19
- ~/.m2/repository
20
- ~/.cache
21
- vendor/bundle
22
- target/repositories
23
- key: v3-${{ runner.os }}-${{ hashFiles('pmdtester.gemspec') }}
24
- restore-keys: |
25
- v3-${{ runner.os }}-
26
- - name: Set up Ruby 2.7
27
- uses: ruby/setup-ruby@v1
28
- with:
29
- ruby-version: 2.7
30
- - name: Setup Environment
31
- shell: bash
32
- run: |
33
- echo "LANG=en_US.UTF-8" >> $GITHUB_ENV
34
- echo "MAVEN_OPTS=-Dmaven.wagon.httpconnectionManager.ttlSeconds=180 -Dmaven.wagon.http.retryHandler.count=3" >> $GITHUB_ENV
35
- echo "PMD_CI_SCRIPTS_URL=https://raw.githubusercontent.com/pmd/build-tools/17/scripts" >> $GITHUB_ENV
36
- - name: Check Environment
37
- shell: bash
38
- run: |
39
- f=check-environment.sh; \
40
- mkdir -p .ci && \
41
- ( [ -e .ci/$f ] || curl -sSL "${PMD_CI_SCRIPTS_URL}/$f" > ".ci/$f" ) && \
42
- chmod 755 .ci/$f && \
43
- .ci/$f
44
- - name: Build
45
- run: .ci/manual-integration-tests.sh
46
- shell: bash
47
- env:
48
- PMD_CI_SECRET_PASSPHRASE: ${{ secrets.PMD_CI_SECRET_PASSPHRASE }}
49
- GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
21
+ - uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 #v4.2.2
22
+ - uses: actions/setup-java@c5195efecf7bdfc987ee8bae7a71cb8b11521c00 #v4.7.1
23
+ with:
24
+ distribution: 'temurin'
25
+ java-version: '11'
26
+ - name: Prepare HOME/openjdk11
27
+ run: ln -sfn "${JAVA_HOME_11_X64}" "${HOME}/openjdk11"
28
+ - uses: actions/cache@0400d5f644dc74513175e3cd8d07132dd4860809 #v4.2.4
29
+ with:
30
+ path: |
31
+ ~/.m2/repository
32
+ ~/.cache
33
+ ~/.gradle
34
+ vendor/bundle
35
+ target/repositories
36
+ key: v4-${{ runner.os }}-${{ hashFiles('pmdtester.gemspec') }}
37
+ restore-keys: |
38
+ v4-${{ runner.os }}-
39
+ - name: Set up Ruby 3.3
40
+ uses: ruby/setup-ruby@2a7b30092b0caf9c046252510f9273b4875f3db9 #v1.254.0
41
+ with:
42
+ ruby-version: 3.3
43
+ - name: Install dependencies (bundler)
44
+ run: |
45
+ # bundler should already be installed
46
+ bundle --version
47
+ bundle config set --local path vendor/bundle
48
+ bundle install
49
+ - name: Run Manual Integration Tests
50
+ run: |
51
+ bundle exec ruby -I test test/manual_integration_tests.rb
@@ -0,0 +1,152 @@
1
+ name: Publish Release
2
+
3
+ on:
4
+ workflow_run:
5
+ workflows: [Build Release]
6
+ types:
7
+ - completed
8
+ branches:
9
+ - '**'
10
+
11
+ permissions:
12
+ contents: read # to fetch code (actions/checkout)
13
+
14
+ env:
15
+ LANG: 'en_US.UTF-8'
16
+
17
+ jobs:
18
+ check-version:
19
+ # only run in the official pmd/pmd-regression-tester repo, where we have access to the secrets and not on forks
20
+ # and only run for _successful_ push workflow runs on tags "releases/**".
21
+ if: ${{ github.repository == 'pmd/pmd-regression-tester'
22
+ && contains(fromJSON('["push", "workflow_dispatch"]'), github.event.workflow_run.event)
23
+ && github.event.workflow_run.head_branch != 'main'
24
+ && github.event.workflow_run.conclusion == 'success' }}
25
+ runs-on: ubuntu-latest
26
+ timeout-minutes: 10
27
+ defaults:
28
+ run:
29
+ shell: bash
30
+ outputs:
31
+ VERSION: ${{ steps.version.outputs.VERSION }}
32
+ steps:
33
+ - uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 #v4.2.2
34
+ with:
35
+ ref: ${{ github.event.workflow_run.head_branch }}
36
+ - name: Set up Ruby 3.3
37
+ uses: ruby/setup-ruby@2a7b30092b0caf9c046252510f9273b4875f3db9 #v1.254.0
38
+ with:
39
+ ruby-version: 3.3
40
+ - name: Install dependencies (bundler)
41
+ run: |
42
+ # bundler should already be installed
43
+ bundle --version
44
+ bundle config set --local path vendor/bundle
45
+ bundle install
46
+ - name: Determine Version
47
+ id: version
48
+ env:
49
+ REF: ${{ github.event.workflow_run.head_branch }}
50
+ run: |
51
+ if ! git show-ref --exists "refs/tags/$REF"; then
52
+ echo "::error ::Tag $REF does not exist, aborting."
53
+ exit 1
54
+ fi
55
+
56
+ VERSION="$(bundle exec ruby -I. -e 'require "lib/pmdtester"; print PmdTester::VERSION;')"
57
+ echo "Determined VERSION=$VERSION"
58
+ if [[ "$VERSION" = *-SNAPSHOT ]]; then
59
+ echo "::error ::VERSION=$VERSION is a snapshot version, aborting."
60
+ exit 1
61
+ fi
62
+ echo "VERSION=$VERSION" >> "$GITHUB_OUTPUT"
63
+ - name: Add Job Summary
64
+ env:
65
+ WORKFLOW_RUN_DISPLAY_TITLE: ${{ github.event.workflow_run.display_title }}
66
+ WORKFLOW_RUN_NAME: ${{ github.event.workflow_run.name }}
67
+ WORKFLOW_RUN_NUMBER: ${{ github.event.workflow_run.run_number }}
68
+ WORKFLOW_RUN_HTML_URL: ${{ github.event.workflow_run.html_url }}
69
+ VERSION: ${{ steps.version.outputs.VERSION }}
70
+ TAG: ${{ github.event.workflow_run.head_branch }}
71
+ run: |
72
+ echo "### Run Info" >> "${GITHUB_STEP_SUMMARY}"
73
+ echo "Building Version: ${VERSION}" >> "${GITHUB_STEP_SUMMARY}"
74
+ echo "" >> "${GITHUB_STEP_SUMMARY}"
75
+ echo "Tag: ${TAG}" >> "${GITHUB_STEP_SUMMARY}"
76
+ echo "" >> "${GITHUB_STEP_SUMMARY}"
77
+ echo "Called by [${WORKFLOW_RUN_DISPLAY_TITLE} (${WORKFLOW_RUN_NAME} #${WORKFLOW_RUN_NUMBER})](${WORKFLOW_RUN_HTML_URL})" >> "${GITHUB_STEP_SUMMARY}"
78
+ echo "" >> "${GITHUB_STEP_SUMMARY}"
79
+
80
+ publish-to-rubygems:
81
+ needs: check-version
82
+ # use environment rubygems, where secrets are configured for GEM_HOST_API_KEY
83
+ environment:
84
+ name: rubygems
85
+ url: https://rubygems.org/gems/pmdtester
86
+ runs-on: ubuntu-latest
87
+ permissions:
88
+ contents: write # to create a release (via gh cli)
89
+ timeout-minutes: 20
90
+ defaults:
91
+ run:
92
+ shell: bash
93
+ steps:
94
+ - uses: actions/checkout@v4
95
+ with:
96
+ ref: ${{ github.event.workflow_run.head_branch }}
97
+ - name: Set up Ruby 3.3
98
+ uses: ruby/setup-ruby@2a7b30092b0caf9c046252510f9273b4875f3db9 #v1.254.0
99
+ with:
100
+ ruby-version: 3.3
101
+ - name: Install dependencies (bundler)
102
+ run: |
103
+ # bundler should already be installed
104
+ bundle --version
105
+ bundle config set --local path vendor/bundle
106
+ bundle install
107
+ - name: Build with rake
108
+ run: |
109
+ bundle exec rake check_manifest
110
+ bundle exec rake rubocop
111
+ bundle exec rake clean test
112
+ - name: Build Package
113
+ run: |
114
+ bundle exec rake install_gem
115
+ - name: Publish to rubygems
116
+ env:
117
+ GEM_HOST_API_KEY: ${{ secrets.GEM_HOST_API_KEY }}
118
+ run: |
119
+ gem build pmdtester.gemspec
120
+ gempkgfile="$(echo pmdtester-*.gem)"
121
+ gem push "${gempkgfile}"
122
+ - uses: actions/create-github-app-token@df432ceedc7162793a195dd1713ff69aefc7379e #v2.0.6
123
+ id: pmd-actions-helper-app-token
124
+ with:
125
+ app-id: ${{ secrets.PMD_ACTIONS_HELPER_ID }}
126
+ private-key: ${{ secrets.PMD_ACTIONS_HELPER_PRIVATE_KEY }}
127
+ owner: pmd
128
+ repositories: pmd-regression-tester
129
+ permission-contents: write # create a release
130
+ - name: Create GitHub Release
131
+ env:
132
+ # Token required for GH CLI:
133
+ GH_TOKEN: ${{ steps.pmd-actions-helper-app-token.outputs.token }}
134
+ TAG_NAME: ${{ github.event.workflow_run.head_branch }}
135
+ VERSION: ${{ needs.check-version.outputs.VERSION }}
136
+ run: |
137
+ # extract the release notes
138
+ RELEASE_NAME="${VERSION}"
139
+ BEGIN_LINE=$(grep -n "^# " History.md|head -1|cut -d ":" -f 1)
140
+ BEGIN_LINE=$((BEGIN_LINE + 1))
141
+ END_LINE=$(grep -n "^# " History.md|head -2|tail -1|cut -d ":" -f 1)
142
+ END_LINE=$((END_LINE - 1))
143
+ RELEASE_BODY="$(head -$END_LINE History.md | tail -$((END_LINE - BEGIN_LINE)))"
144
+ echo "${RELEASE_BODY}" > release_notes.md
145
+
146
+ gempkgfile="$(echo pmdtester-*.gem)"
147
+
148
+ gh release create "$TAG_NAME" "${gempkgfile}" \
149
+ --repo pmd/pmd-regression-tester \
150
+ --verify-tag \
151
+ --notes-file release_notes.md \
152
+ --title "$RELEASE_NAME"
data/.rubocop.yml CHANGED
@@ -2,6 +2,7 @@ inherit_from: .rubocop_todo.yml
2
2
 
3
3
  AllCops:
4
4
  TargetRubyVersion: 2.7
5
+ NewCops: enable
5
6
  Include:
6
7
  - 'lib/**/*'
7
8
  - 'test/**/*'
@@ -13,7 +14,7 @@ AllCops:
13
14
  - 'test/resources/**/*'
14
15
  - 'vendor/**/*'
15
16
 
16
- Metrics/LineLength:
17
+ Layout/LineLength:
17
18
  Max: 120
18
19
 
19
20
  Metrics/MethodLength:
data/.rubocop_todo.yml CHANGED
@@ -1,22 +1,26 @@
1
1
  # This configuration was generated by
2
2
  # `rubocop --auto-gen-config`
3
- # on 2018-11-25 11:00:37 +0100 using RuboCop version 0.51.0.
3
+ # on 2024-02-14 19:42:22 UTC using RuboCop version 1.60.2.
4
4
  # The point is for the user to remove these configuration records
5
5
  # one by one as the offenses are removed from the code base.
6
6
  # Note that changes in the inspected code, or installation of new
7
7
  # versions of RuboCop, may require this file to be generated again.
8
8
 
9
- # Offense count: 30
10
- Metrics/AbcSize:
11
- Max: 47
9
+ # Offense count: 3
10
+ # Configuration parameters: AllowedParentClasses.
11
+ Lint/MissingSuper:
12
+ Exclude:
13
+ - 'lib/pmdtester/cmd.rb'
14
+ - 'lib/pmdtester/parsers/pmd_report_document.rb'
15
+ - 'lib/pmdtester/parsers/projects_parser.rb'
12
16
 
13
- # Offense count: 6
14
- # Configuration parameters: CountComments.
15
- Metrics/ClassLength:
16
- Max: 135
17
+ # Offense count: 47
18
+ # Configuration parameters: AllowedMethods, AllowedPatterns, CountRepeatedAttributes.
19
+ Metrics/AbcSize:
20
+ Max: 44
17
21
 
18
- # Offense count: 38
19
- # Configuration parameters: CountComments.
22
+ # Offense count: 93
23
+ # Configuration parameters: CountComments, CountAsOne, AllowedMethods, AllowedPatterns.
20
24
  Metrics/MethodLength:
21
25
  Max: 22
22
26
 
@@ -24,3 +28,61 @@ Metrics/MethodLength:
24
28
  Naming/AccessorMethodName:
25
29
  Exclude:
26
30
  - 'lib/pmdtester/builders/pmd_report_builder.rb'
31
+
32
+ # Offense count: 2
33
+ # Configuration parameters: EnforcedStyle, CheckMethodNames, CheckSymbols, AllowedIdentifiers, AllowedPatterns.
34
+ # SupportedStyles: snake_case, normalcase, non_integer
35
+ # AllowedIdentifiers: capture3, iso8601, rfc1123_date, rfc822, rfc2822, rfc3339, x86_64
36
+ Naming/VariableNumber:
37
+ Exclude:
38
+ - 'test/test_cmd.rb'
39
+
40
+ # Offense count: 52
41
+ # This cop supports safe autocorrection (--autocorrect).
42
+ # Configuration parameters: EnforcedStyle.
43
+ # SupportedStyles: separated, grouped
44
+ Style/AccessorGrouping:
45
+ Exclude:
46
+ - 'lib/pmdtester/cmd.rb'
47
+ - 'lib/pmdtester/parsers/options.rb'
48
+ - 'lib/pmdtester/parsers/pmd_report_document.rb'
49
+ - 'lib/pmdtester/pmd_branch_detail.rb'
50
+ - 'lib/pmdtester/pmd_report_detail.rb'
51
+ - 'lib/pmdtester/project.rb'
52
+ - 'lib/pmdtester/report_diff.rb'
53
+
54
+ # Offense count: 3
55
+ # This cop supports safe autocorrection (--autocorrect).
56
+ # Configuration parameters: Keywords, RequireColon.
57
+ # Keywords: TODO, FIXME, OPTIMIZE, HACK, REVIEW, NOTE
58
+ Style/CommentAnnotation:
59
+ Exclude:
60
+ - 'lib/pmdtester/builders/pmd_report_builder.rb'
61
+ - 'lib/pmdtester/builders/project_builder.rb'
62
+ - 'test/test_pmd_report_document.rb'
63
+
64
+ # Offense count: 1
65
+ # This cop supports unsafe autocorrection (--autocorrect-all).
66
+ Style/GlobalStdStream:
67
+ Exclude:
68
+ - 'lib/pmdtester.rb'
69
+
70
+ # Offense count: 1
71
+ # This cop supports unsafe autocorrection (--autocorrect-all).
72
+ # Configuration parameters: AllowedReceivers.
73
+ # AllowedReceivers: Thread.current
74
+ Style/HashEachMethods:
75
+ Exclude:
76
+ - 'lib/pmdtester/report_diff.rb'
77
+
78
+ # Offense count: 4
79
+ # This cop supports safe autocorrection (--autocorrect).
80
+ Style/KeywordParametersOrder:
81
+ Exclude:
82
+ - 'lib/pmdtester/pmd_report_detail.rb'
83
+
84
+ # Offense count: 1
85
+ # This cop supports safe autocorrection (--autocorrect).
86
+ Style/RedundantAssignment:
87
+ Exclude:
88
+ - 'lib/pmdtester/builders/pmd_report_builder.rb'
data/History.md CHANGED
@@ -1,3 +1,54 @@
1
+ # 1.6.1 / 2025-09-19
2
+
3
+ ## Fixed Issues
4
+ * [#124](https://github.com/pmd/pmd-regression-tester/issues/124): With `--auto-gen-config` invalid rule references might be generated
5
+ * [#138](https://github.com/pmd/pmd-regression-tester/issues/138): chore(ci): Fix public-release workflow
6
+ * [#139](https://github.com/pmd/pmd-regression-tester/issues/139): chore(ci): CI Improvements
7
+
8
+ ## Merged pull requests
9
+ * [#138](https://github.com/pmd/pmd-regression-tester/pull/138): chore(ci): Fix public-release workflow - [Andreas Dangel](https://github.com/adangel) (@adangel)
10
+ * [#139](https://github.com/pmd/pmd-regression-tester/pull/139): chore(ci): CI Improvements - [Andreas Dangel](https://github.com/adangel) (@adangel)
11
+ * [#141](https://github.com/pmd/pmd-regression-tester/pull/141): Fix #124: If an abstract rule is changed, run all rules - [UncleOwen](https://github.com/UncleOwen) (@UncleOwen)
12
+
13
+ # 1.6.0 / 2025-07-25
14
+
15
+ ## New and Noteworthy
16
+
17
+ ### New Git default branch - "main"
18
+
19
+ We are joining the Git community and updating "master" to "main". Using the term "master" for the main
20
+ development branch can be offensive to some people. Existing versions of Git have been always capable of
21
+ working with any branch name and since 2.28.0 (July 2020) the default initial branch is configurable
22
+ (`init.defaultBranch`). Since October 2020, the default branch for new repositories on GitHub
23
+ is "main". Finally, PMD will also use this new name for the main branch in all our own repositories.
24
+
25
+ Note: The regression tester will also use branch `main` by default now for fetching repositories from the list of
26
+ projects. You might need to add `<tag>master</tag>` for some projects.
27
+
28
+ ### Required Ruby version
29
+
30
+ With this version, Ruby 3.3 or higher is required.
31
+
32
+ ## Enhancements
33
+ * [#123](https://github.com/pmd/pmd-regression-tester/pull/123): Support ruby 3.3.0
34
+ * [#125](https://github.com/pmd/pmd-regression-tester/pull/125): Update rubocop configuration
35
+
36
+ ## Fixed Issues
37
+ * [#126](https://github.com/pmd/pmd-regression-tester/pull/126): Fix integration tests
38
+ * [#127](https://github.com/pmd/pmd-regression-tester/pull/127): Fix manual integration tests
39
+ * [#129](https://github.com/pmd/pmd-regression-tester/pull/129): Update manual integration tests
40
+ * [#131](https://github.com/pmd/pmd-regression-tester/pull/131): Refactor GitHub Actions Workflows
41
+ * [#132](https://github.com/pmd/pmd-regression-tester/pull/132): Fix manual integration test - Update expected_patch_config_3.xml: no more plsql exclusion
42
+ * [#133](https://github.com/pmd/pmd-regression-tester/pull/133): \[ci] Make build a reuseable workflow
43
+ * [#134](https://github.com/pmd/pmd-regression-tester/pull/134): Fix missing violations in diff report
44
+ * [#136](https://github.com/pmd/pmd-regression-tester/pull/136): Fix integration tests - missing pmd-core:jar:tests
45
+
46
+ ## Dependency Updates
47
+ * [#130](https://github.com/pmd/pmd-regression-tester/pull/130): Update gems and required ruby version
48
+ * [#135](https://github.com/pmd/pmd-regression-tester/pull/135): Bump rubocop 1.79
49
+
50
+ ## External Contributions
51
+
1
52
  # 1.5.5 / 2023-11-16
2
53
 
3
54
  ## Fixed Issues
data/Manifest.txt CHANGED
@@ -1,13 +1,13 @@
1
- .ci/build.sh
2
- .ci/inc/fetch_ci_scripts.bash
3
- .ci/manual-integration-tests.sh
1
+ .github/workflows/build-pr.yml
2
+ .github/workflows/build-release.yml
3
+ .github/workflows/build-snapshot.yml
4
4
  .github/workflows/build.yml
5
5
  .github/workflows/manual-integration-tests.yml
6
+ .github/workflows/publish-release.yml
6
7
  .gitignore
7
8
  .hoerc
8
9
  .rubocop.yml
9
10
  .rubocop_todo.yml
10
- .ruby-version
11
11
  Gemfile
12
12
  History.md
13
13
  LICENSE
@@ -57,6 +57,7 @@ resources/js/datatables.min.js
57
57
  resources/js/jquery-3.6.4.slim.min.js
58
58
  resources/js/popper-2.11.7.min.js
59
59
  resources/js/project-report.js
60
+ resources/maven-settings.xml
60
61
  resources/project_diff_report.html
61
62
  resources/project_index.html
62
63
  resources/project_pmd_report.html