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

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

Build:
Build:
LAST BUILD BRANCH: devel
DEFAULT BRANCH: main
Ran 07 May 2026 09:17PM UTC
Jobs 1
Files 15
Run time 1min
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

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

Uncovered Changes

Lines Coverage ∆ File
1
87.22
0.97% bin/iabtcfv2
Jobs
ID Job ID Ran Files Coverage
1 25522136713.1 07 May 2026 09:17PM UTC 15
95.57
GitHub Action Run
Source Files on build 25522136713
  • Tree
  • List 15
  • Changed 1
  • Source Changed 0
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Pull Request #65
  • PR Base - devel (#25521773826)
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