Skip to content

fix: modernize META resources to CPAN Meta spec v2#262

Draft
toddr-bot wants to merge 1 commit intomainfrom
koan.toddr.bot/modernize-meta-resources
Draft

fix: modernize META resources to CPAN Meta spec v2#262
toddr-bot wants to merge 1 commit intomainfrom
koan.toddr.bot/modernize-meta-resources

Conversation

@toddr-bot
Copy link
Copy Markdown
Collaborator

What

Update META_MERGE in Makefile.PL to use structured CPAN Meta spec v2 format for resources.

Why

The flat string format (bugtracker => $url, repository => $url) is the v1.4 style. MetaCPAN and CPAN tooling extract richer information from the v2 structured format — separate git clone URL, web URL, and tracker type.

How

  • bugtracker{ web => $url }
  • repository{ type => 'git', url => '...git', web => '...' }
  • Added 'meta-spec' => { version => 2 } declaration

Testing

  • make test passes
  • Verified MYMETA.json contains properly structured resources

🤖 Generated with Claude Code

Use the structured format for bugtracker and repository resources:
- bugtracker: { web => $url } instead of bare string
- repository: { type, url, web } instead of bare string
- Add meta-spec version 2 declaration

This improves how MetaCPAN and other CPAN tooling display the
repository information, enabling proper git clone URLs and
separate tracker/repository links.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@codecov
Copy link
Copy Markdown

codecov bot commented Apr 15, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 75.73%. Comparing base (45216a7) to head (0c177f5).

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #262   +/-   ##
=======================================
  Coverage   75.73%   75.73%           
=======================================
  Files           1        1           
  Lines        1092     1092           
  Branches      342      342           
=======================================
  Hits          827      827           
  Misses         59       59           
  Partials      206      206           
Flag Coverage Δ
perl 75.73% <ø> (ø)
xs 75.73% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant