• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

peczenyj / GDPR-IAB-TCFv2
96%
main: 96%

Build:
Build:
LAST BUILD BRANCH: devel
DEFAULT BRANCH: main
Repo Added 06 Dec 2023 12:24PM UTC
Files 18
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

LAST BUILD ON BRANCH feat/cli-cmp-validator-integration
branch: feat/cli-cmp-validator-integration
CHANGE BRANCH
x
Reset
  • feat/cli-cmp-validator-integration
  • add-range-section-cache
  • add-support-to-publisher-tc
  • chore/adopt-mojolicious-perltidyrc
  • chore/cmp-validator-version-coherence
  • chore/compress-test-corpus
  • chore/contributor-quality-of-life
  • chore/declare-min-perl-5.8.9
  • chore/dockerfile-perl-5.42-recommends
  • chore/maintenance-mode-handover
  • chore/normalize-pod-abstracts
  • chore/pod-and-message-cleanup
  • chore/remove-json-array-flag
  • chore/structural-json-asserts
  • devel
  • docs/registry-freshness-roadmap
  • docs/slsa-level-2
  • docs/track-phase-5-cmp-validator
  • feat/cli-bundling
  • feat/cli-color-support
  • feat/cli-dump
  • feat/cli-short-help-and-unknown-subcommand
  • feat/cli-version
  • feat/cmp-validator-http-options
  • feat/docker-distribution
  • feat/docker-latest-tag
  • feat/golden-corpus-validator-scenarios
  • feat/is-v23-deadline-investigation
  • feat/parser-split-and-shortcut
  • feat/perf-optimizations
  • feat/perl-5.10
  • feat/perl-5.12
  • feat/phase-0-core-logic
  • feat/phase-1-tcf-v23-segments
  • feat/phase-1-v23-logic
  • feat/phase-2-validator
  • feat/phase-2-validator-v2
  • feat/phase-3-alignment
  • feat/phase-3-constants-v23-aliases
  • feat/phase-4-bench-and-perf
  • feat/phase-4-performance
  • feat/phase-5-cmp-validator
  • feat/phase-5-cmp-validator-redux
  • feat/phase-6.1-validator-reason
  • feat/phase-6.2-validator-failure
  • feat/phase-6.3-tcf-carve-out
  • feat/phase-6.4-publisher-restriction-reasons
  • feat/phase-6.5-per-call-overrides
  • feat/quality-refinement
  • feat/roadmap-modernization
  • feat/slsa-level-1
  • feat/test-synopsis
  • feat/todo-validator-strict-legal-basis-coupling
  • feat/todo-validator-strict-legal-basis-scope
  • feat/validator-go-alignment
  • fix-but-index-out-of-bonds-while-parsing-range-based-consent-strings
  • fix/bigint-fallback-json-serialization
  • fix/cli-concise-errors
  • fix/cli-error-formatting
  • fix/cli-vendor-id-shadowed-by-version
  • fix/final-review-refinements
  • fix/golden-mem
  • fix/json-regex-key-order-tests
  • fix/optional-cmp-deps
  • fix/perl-5.8-defined-or-syntax
  • fix/pod-files-installed-as-modules
  • fix/post-release-audit
  • fix/publisher-restrictions-boundary-check
  • fix/release-workflow
  • fix/restore-cli-version-option
  • fix/restore-pause-indexation-v0.401
  • fix/uint36-timestamp-32bit-perl
  • fix/use-test-warn
  • fix/vendor-segment-parser-cleanup
  • main
  • refactor-publisher-restrictions
  • refactor-range-section
  • refactor/cmp-validator-rename
  • refactor_bitfield
  • release/0.100
  • release/0.200
  • release/0.350
  • release/0.380
  • release/0.400
  • release/0.401
  • release/0.510
  • release/0.511
  • release/0.512
  • release/0.520
  • release/v0.083
  • release/v0.400
  • v0.06
  • v0.07
  • v0.08
  • v0.081
  • v0.082
  • v0.083
  • v0.084
  • v0.100
  • v0.200
  • v0.201
  • v0.202
  • v0.203
  • v0.300
  • v0.320
  • v0.330
  • v0.340
  • v0.350
  • v0.351
  • v0.352
  • v0.360
  • v0.370
  • v0.380
  • v0.390
  • v0.391
  • v0.400
  • v0.401
  • v0.500
  • v0.510
  • v0.511
  • v0.512
  • v0.520
  • vv0.083

07 May 2026 09:07PM UTC coverage: 95.57% (-0.01%) from 95.581%
25522136713

Pull #65

github

peczenyj
feat(cli): integrate CMPValidator into iabtcfv2 validate

Wire the CMPValidator from v0.390 into the CLI so end users can
actually use it without writing Perl glue.

Four new flags on `iabtcfv2 validate`:

  --cmp-list <PATH-OR-URL>     -- single source. URL detected by the
                                  ^https?:// prefix; everything else
                                  is treated as a local file path.
  --cmp-list-network-ok        -- required when --cmp-list is a URL
                                  (mirrors CMPValidator's network_ok
                                  opt-in).
  --cmp-list-verify-ssl!       -- on by default; --no-cmp-list-verify-ssl
                                  to disable for self-signed CMP servers.
  --cmp-list-timeout <SECONDS> -- HTTP fetch timeout, default 30.

When --cmp-list is supplied, run_validate constructs a CMPValidator
and injects it as the cmp_validator rule on the Validator. Failures
flow through the existing JSON `reasons` / `reason` path -- no output
shape change.

The 28-day staleness warning that CMPValidator emits via Carp::carp
is now gated on --enable-warnings: routine CLI use stays quiet, but
operators who opt into warnings see the registry-age signal on stderr.

URL fetches honor the standard https_proxy / http_proxy / no_proxy
environment variables automatically (env_proxy => 1 was wired in PR
#64). POD documents this on the --cmp-list flag.

POD: new entries under "Rule options"; --enable-warnings doc updated;
exit-code 2 description extended; two new examples (local file and
URL+proxy) under "Examples".

Tests in t/10-cli-iabtcfv2.t: 14 new assertions across two subtests
covering known/unknown CMP via --cmp-list, URL-without-network-ok
refusal (exit 2 + diagnostic), --no-cmp-list-verify-ssl smoke, the
timeout flag, and the staleness-warning gate (no warning without -w,
warning with -w).

This is PR B of two for v0.391; PR A (#64) shipped the library
options. After merge, $VERSION bumps to 0.391 ... (continued)
Pull Request #65: feat(cli): integrate CMPValidator into iabtcfv2 validate (PR B)

20 of 21 new or added lines in 1 file covered. (95.24%)

1014 of 1061 relevant lines covered (95.57%)

11107.82 hits per line

Relevant lines Covered
Build:
Build:
1061 RELEVANT LINES 1014 COVERED LINES
11107.82 HITS PER LINE
Source Files on feat/cli-cmp-validator-integration
  • Tree
  • List 15
  • Changed 1
  • Source Changed 0
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line

Recent builds

Builds Branch Commit Type Ran Committer Via Coverage
25522136713 feat/cli-cmp-validator-integration feat(cli): integrate CMPValidator into iabtcfv2 validate Wire the CMPValidator from v0.390 into the CLI so end users can actually use it without writing Perl glue. Four new flags on `iabtcfv2 validate`: --cmp-list <PATH-OR-URL> -- single ... Pull #65 07 May 2026 09:17PM UTC peczenyj github
95.57
See All Builds (549)
  • Repo on GitHub
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc