Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: veraPDF/veraPDF-library
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v1.22.0-RC4
Choose a base ref
...
head repository: veraPDF/veraPDF-library
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: integration
Choose a head ref
Loading
Showing 396 changed files with 75,863 additions and 8,513 deletions.
39 changes: 32 additions & 7 deletions .github/workflows/test-pr.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,24 @@
#
# This file is part of veraPDF PDF/A Validation Library, a module of the veraPDF project.
# Copyright (c) 2015-2025, veraPDF Consortium <info@verapdf.org>
# All rights reserved.
#
# veraPDF PDF/A Validation Library is free software: you can redistribute it and/or modify
# it under the terms of either:
#
# The GNU General public license GPLv3+.
# You should have received a copy of the GNU General Public License
# along with veraPDF PDF/A Validation Library as the LICENSE.GPL file in the root of the source
# tree. If not, see http://www.gnu.org/licenses/ or
# https://www.gnu.org/licenses/gpl-3.0.en.html.
#
# The Mozilla Public License MPLv2+.
# You should have received a copy of the Mozilla Public License along with
# veraPDF PDF/A Validation Library as the LICENSE.MPL file in the root of the source tree.
# If a copy of the MPL was not distributed with this file, you can obtain one at
# http://mozilla.org/MPL/2.0/.
#

name: PR QA

on:
@@ -7,16 +28,19 @@ on:
jobs:
build:
name: Checkout and Build
runs-on: ubuntu-20.04
runs-on: ubuntu-latest

continue-on-error: true

strategy:
fail-fast: false
matrix:
java-version: [8, 11, 16, 17]
java-version: [8, 11, 17, 21]

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
- name: JDK setup
uses: actions/setup-java@v2
uses: actions/setup-java@v4
with:
java-version: ${{ matrix.java-version }}
distribution: 'temurin'
@@ -25,18 +49,18 @@ jobs:
run: mvn --batch-mode --update-snapshots verify
- name: Upload coverage report
if: matrix.java-version == 8
uses: actions/upload-artifact@master
uses: actions/upload-artifact@v4
with:
name: coverage-report
path: core/target/site/jacoco/
coverage:
name: Quality Assurance
runs-on: ubuntu-20.04
runs-on: ubuntu-latest
needs: [ build ]

steps:
- name: Download coverage report
uses: actions/download-artifact@master
uses: actions/download-artifact@v4
with:
name: coverage-report
path: core/target/site/jacoco/
@@ -46,6 +70,7 @@ jobs:
files: core/target/site/jacoco/jacoco.xml
fail_ci_if_error: true # optional (default = false)
verbose: true # optional (default = false)
token: ${{ secrets.CODECOV_TOKEN }}
- name: Codacy coverage reporting
uses: codacy/codacy-coverage-reporter-action@v1
with:
131 changes: 131 additions & 0 deletions .github/workflows/update-arlington-workflow.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,131 @@
#
# This file is part of veraPDF PDF/A Validation Library, a module of the veraPDF project.
# Copyright (c) 2015-2025, veraPDF Consortium <info@verapdf.org>
# All rights reserved.
#
# veraPDF PDF/A Validation Library is free software: you can redistribute it and/or modify
# it under the terms of either:
#
# The GNU General public license GPLv3+.
# You should have received a copy of the GNU General Public License
# along with veraPDF PDF/A Validation Library as the LICENSE.GPL file in the root of the source
# tree. If not, see http://www.gnu.org/licenses/ or
# https://www.gnu.org/licenses/gpl-3.0.en.html.
#
# The Mozilla Public License MPLv2+.
# You should have received a copy of the Mozilla Public License along with
# veraPDF PDF/A Validation Library as the LICENSE.MPL file in the root of the source tree.
# If a copy of the MPL was not distributed with this file, you can obtain one at
# http://mozilla.org/MPL/2.0/.
#

name: Update arlington branch

on:
push:
branches:
- integration
paths-ignore:
- 'core/src/main/resources/org/verapdf/pdfa/validation/PDFA-1A.xml'
- 'core/src/main/resources/org/verapdf/pdfa/validation/PDFA-1B.xml'
- 'core/src/main/resources/org/verapdf/pdfa/validation/PDFA-2A.xml'
- 'core/src/main/resources/org/verapdf/pdfa/validation/PDFA-2B.xml'
- 'core/src/main/resources/org/verapdf/pdfa/validation/PDFA-2U.xml'
- 'core/src/main/resources/org/verapdf/pdfa/validation/PDFA-3A.xml'
- 'core/src/main/resources/org/verapdf/pdfa/validation/PDFA-3B.xml'
- 'core/src/main/resources/org/verapdf/pdfa/validation/PDFA-3U.xml'
- 'core/src/main/resources/org/verapdf/pdfa/validation/PDFA-4.xml'
- 'core/src/main/resources/org/verapdf/pdfa/validation/PDFA-4E.xml'
- 'core/src/main/resources/org/verapdf/pdfa/validation/PDFA-4F.xml'
- 'core/src/main/resources/org/verapdf/pdfa/validation/PDFUA-1.xml'
- 'core/src/main/resources/org/verapdf/pdfa/validation/PDFUA-2-ISO32005.xml'
- 'core/src/main/resources/org/verapdf/pdfa/validation/WTPDF-1-0-Accessibility.xml'
- 'core/src/main/resources/org/verapdf/pdfa/validation/WTPDF-1-0-Reuse.xml'

jobs:
checkout-and-build:
if: github.repository == 'veraPDF/veraPDF-library'
runs-on: ubuntu-latest

strategy:
fail-fast: false
matrix:
java-version: [11, 17, 21]

steps:
- name: Checkout code
uses: actions/checkout@v4
with:
fetch-depth: 0
ref: integration
- name: JDK setup
uses: actions/setup-java@v4
continue-on-error: true
with:
java-version: ${{ matrix.java-version }}
distribution: 'temurin'
cache: maven
- name: Fetch arlington branch and checkout
run: |
git fetch origin arlington:arlington
git checkout -b test-branch arlington
- name: Configure user name
run: |
git config user.name "Git User"
git config user.email "user@test.com"
- name: Add commit to the test branch
run: git cherry-pick -m 1 ${{ github.event.before }}..${{ github.event.after }} --empty=drop
- name: Build project with Maven
if: success()
run: mvn --batch-mode --update-snapshots verify

merge:
runs-on: ubuntu-latest
needs: checkout-and-build
steps:
- name: Checkout code
uses: actions/checkout@v4
with:
fetch-depth: 0
ref: integration
- name: Generate new branch name
id: new-branch-name
run: echo "branch_name=new-branch-$(date +%s)" >> "$GITHUB_OUTPUT"
- name: Fetch arlington branch and checkout
run: |
git fetch origin arlington:arlington
git checkout -b ${{ steps.new-branch-name.outputs.branch_name }} arlington
- name: Configure user name
run: |
git config user.name "Git User"
git config user.email "user@temp.com"
- name: Add commit to new branch
run: git cherry-pick -m 1 ${{ github.event.before }}..${{ github.event.after }} --empty=drop
- name: Merge branch into arlington
if: success()
run: |
git push origin ${{ steps.new-branch-name.outputs.branch_name }}
git checkout arlington
git merge ${{ steps.new-branch-name.outputs.branch_name }}
git push origin arlington
- name: Delete new branch
run: git push origin --delete ${{ steps.new-branch-name.outputs.branch_name }}

send-notification:
runs-on: ubuntu-latest
needs: [checkout-and-build, merge]
if: |
always() &&
github.repository == 'veraPDF/veraPDF-library' &&
(contains(needs.*.result, 'failure') ||
contains(needs.*.result, 'skipped') ||
contains(needs.*.result, 'cancelled'))
steps:
- name: Send notification if build or merge failed
env:
SLACK_BOT_TOKEN: ${{ secrets.SLACK_NOTIFICATIONS_BOT_TOKEN }}
uses: voxmedia/github-action-slack-notify-build@v1
with:
channel_id: C03E3JJGLQL
status: FAILED
color: danger
115 changes: 115 additions & 0 deletions .github/workflows/update-jakarta-workflow.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,115 @@
#
# This file is part of veraPDF PDF/A Validation Library, a module of the veraPDF project.
# Copyright (c) 2015-2025, veraPDF Consortium <info@verapdf.org>
# All rights reserved.
#
# veraPDF PDF/A Validation Library is free software: you can redistribute it and/or modify
# it under the terms of either:
#
# The GNU General public license GPLv3+.
# You should have received a copy of the GNU General Public License
# along with veraPDF PDF/A Validation Library as the LICENSE.GPL file in the root of the source
# tree. If not, see http://www.gnu.org/licenses/ or
# https://www.gnu.org/licenses/gpl-3.0.en.html.
#
# The Mozilla Public License MPLv2+.
# You should have received a copy of the Mozilla Public License along with
# veraPDF PDF/A Validation Library as the LICENSE.MPL file in the root of the source tree.
# If a copy of the MPL was not distributed with this file, you can obtain one at
# http://mozilla.org/MPL/2.0/.
#

name: Update jakarta branch

on:
push:
branches:
- integration

jobs:
checkout-and-build:
if: github.repository == 'veraPDF/veraPDF-library'
runs-on: ubuntu-latest

strategy:
fail-fast: false
matrix:
java-version: [11, 17, 21]

steps:
- name: Checkout code
uses: actions/checkout@v4
with:
fetch-depth: 0
ref: integration
- name: JDK setup
uses: actions/setup-java@v4
continue-on-error: true
with:
java-version: ${{ matrix.java-version }}
distribution: 'temurin'
cache: maven
- name: Fetch jakarta branch and checkout
run: |
git fetch origin jakarta:jakarta
git checkout -b test-branch jakarta
- name: Configure user name
run: |
git config user.name "Git User"
git config user.email "user@test.com"
- name: Add commit to the test branch
run: git cherry-pick -m 1 ${{ github.event.before }}..${{ github.event.after }} --empty=drop
- name: Build project with Maven
if: success()
run: mvn --batch-mode --update-snapshots verify

merge:
runs-on: ubuntu-latest
needs: checkout-and-build
steps:
- name: Checkout code
uses: actions/checkout@v4
with:
fetch-depth: 0
ref: integration
- name: Generate new branch name
id: new-branch-name
run: echo "branch_name=new-branch-$(date +%s)" >> "$GITHUB_OUTPUT"
- name: Fetch jakarta branch and checkout
run: |
git fetch origin jakarta:jakarta
git checkout -b ${{ steps.new-branch-name.outputs.branch_name }} jakarta
- name: Configure user name
run: |
git config user.name "Git User"
git config user.email "user@temp.com"
- name: Add commit to new branch
run: git cherry-pick -m 1 ${{ github.event.before }}..${{ github.event.after }} --empty=drop
- name: Merge branch into jakarta
if: success()
run: |
git push origin ${{ steps.new-branch-name.outputs.branch_name }}
git checkout jakarta
git merge ${{ steps.new-branch-name.outputs.branch_name }}
git push origin jakarta
- name: Delete new branch
run: git push origin --delete ${{ steps.new-branch-name.outputs.branch_name }}

send-notification:
runs-on: ubuntu-latest
needs: [checkout-and-build, merge]
if: |
always() &&
github.repository == 'veraPDF/veraPDF-library' &&
(contains(needs.*.result, 'failure') ||
contains(needs.*.result, 'skipped') ||
contains(needs.*.result, 'cancelled'))
steps:
- name: Send notification if build or merge failed
env:
SLACK_BOT_TOKEN: ${{ secrets.SLACK_NOTIFICATIONS_BOT_TOKEN }}
uses: voxmedia/github-action-slack-notify-build@v1
with:
channel_id: C03E3JJGLQL
status: FAILED
color: danger
24 changes: 0 additions & 24 deletions .travis.yml

This file was deleted.

Loading