Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
perl CPAN yml and patches
Perl
Branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
prefs
sources/authors/id
.gitignore
README.md
patches

README.md

distroprefs

Various of my and Andy Koenig's perl CPAN yml and patches. This belongs into ~/.cpan/

See perldoc CPAN


The distroprefs system of CPAN allows the user to specify extra informations and recipes in YAML files to either

  • patch broken distros

  • pass additional arguments to one of the four commands,

  • set environment variables

  • instantiate an Expect object that reads from the console, waits for some regular expressions and enters some answers

  • temporarily override assorted "CPAN.pm" configuration variables

  • specify dependencies the original maintainer forgot

  • disable the installation of an object altogether

See the YAML files that come with the CPAN distribution in the distroprefs/ directory for examples.

Policy

  • Keep patches as subdir of authors. E.g. sources/authors/id/R/RU/RURBAN/patches
    • Keep them for older releases
  • yml name: <AUTHOR>.<DISTRO>.yml
    • Delete outdated ymls
  • No way yet to handle and merge distroprefs from multiple sources. git fork and merge?
  • Either the patch or the yml should keep the CPAN RT ticket number, e.g. [CPAN #nnnnnn]

Sources

Something went wrong with that request. Please try again.