Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

New pdfchecker URL - Fix #1100 #1101

Merged
merged 1 commit into from
Jan 26, 2024
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
8 changes: 4 additions & 4 deletions .github/workflows/continuous-integration-workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,10 +48,10 @@ jobs:
# Using qpdf
find . -name '*.pdf' | xargs -n 1 qpdf --check --password=fpdf2
export PYTHONPATH=$PWD
# Using Datalogics PDF Checker: (disabled while download link is broken)
# scripts/install-pdfchecker.sh
# scripts/pdfchecker.py --process-all-test-pdf-files
# scripts/pdfchecker.py --print-aggregated-report
# Using Datalogics PDF Checker:
scripts/install-pdfchecker.sh
scripts/pdfchecker.py --process-all-test-pdf-files
scripts/pdfchecker.py --print-aggregated-report
# Using VeraPDF:
scripts/install-verapdf.sh
scripts/verapdf.py --process-all-test-pdf-files
Expand Down
8 changes: 3 additions & 5 deletions scripts/install-pdfchecker.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,14 +6,12 @@

set -o pipefail -o errexit -o nounset -o xtrace

BASE_URL=https://cdn.datalogics.com/www/pdflibinfo/grzqordg/che-lin64-MfeaURpvtQXzGKjY
DOWNLOADED_ZIP_FILENAME=PDF-CHECKER-Lin64.zip
BASE_URL=https://cdn.datalogics.com/evals
DOWNLOADED_FILENAME=PDF-Optimizer-Checker-Linux64.bsx
INSTALL_DIR_PATH=${1:-$PWD/PDF_Checker}
export TMPDIR=$(mktemp -d /tmp/pdfchecker.XXXXXX)

wget --quiet $BASE_URL/$DOWNLOADED_ZIP_FILENAME
unzip $DOWNLOADED_ZIP_FILENAME
rm $DOWNLOADED_ZIP_FILENAME
wget --quiet $BASE_URL/$DOWNLOADED_FILENAME

bsx_extract() {
local bsx_filepath=${1?'Missing arg'}
Expand Down
Loading