Revision history for Dist-Conformance
0.008 2026-11-24 TEODESIAN
- A flavor can give SystemPackages a template metamerge.yml. The check then fails unless the repository declares each dependency of the template, and the update adds the missing ones.
- The update edits the text of an existing metamerge.yml, so its comments and the order of its keys stay as they were.
0.007 2026-11-20 TEODESIAN
- The perlcritic profile is now the template with the overrides of the
repository, and nothing else. A repository declares each departure
in .conformance.yml, under the overrides and the settings of
CriticProfile: a parameter, a policy turned off, a policy of its
own, or a global setting. The check fails on every policy, parameter
and setting that differs, and the update writes the template with the
overrides. Before, the check compared only which policies a profile
named, so a new parameter in the template, a policy that the template
turned off, and a hand edit of a profile never reached a check. The
comments of the profile are now those of the template. The keys
replace and retired are accepted and ignored: a policy that the
template drops now leaves every profile without a list.
- conformance adopt prints, as YAML, the configuration that makes the
checks accept a checkout as it is now, such as the overrides that
keep what a profile has of its own. Merge it into .conformance.yml
before the first update.
- A module name in a flavor must be ASCII. JSON::Validator compiled
the old pattern outside the /a flag of the source file, so \w matched
any Unicode letter. A name such as Foo::Bär passed, and then failed
with "does not load". The pattern is now the rule of
Module::Runtime, which spells out its character classes. Such a name
now fails with "is not the name of a module".
0.006 2026-11-17 TEODESIAN
- The update of GitHooks installs each hook where git runs it from,
as git rev-parse --git-path hooks says, so it honors
core.hooksPath. Before, it always wrote into the hooks directory of
the common git directory, which git does not read when
core.hooksPath is set. So with a core.hooksPath of the tracked
directory, such as git-hooks, the update installed a copy that
nothing ran, and reported the install again whenever another
worktree had installed different bytes. Now it finds the hooks
installed where they are tracked. A checkout whose .git git cannot
read is now an error of git, not a checkout without hooks.
0.005 2026-11-11 TEODESIAN
- CriticProfile takes retired: a list of the policies that the
standards have taken back. The check fails a profile that still
enables one, and names it, and the update removes its section, with
its parameters and the comment directly above it. Dropping a policy
from the template could never take it away from a profile that had
it, because a policy that the template lacks may be the
distribution's own. A template that enables a retired policy is an
error.
0.004 2026-11-10 TEODESIAN
- The update of CriticProfile appends to a profile that is there each
policy of the template that it lacks, as the template writes its
section, and leaves every line of the profile as it was. It used to
leave them for a person, unless replace: true overwrote the profile.
- New check RefusedIniKeys: an INI file, such as dist.ini, sets no key
that the flavor refuses for a plugin, such as user under
[GithubMeta]. Unlike DataSchema, its update removes each such line,
and nothing else.
0.003 2026-11-06 TEODESIAN
- DataSchema reads an INI file, such as dist.ini, as a hash of its
sections by their whole header. A key that a section repeats is the
list of its values, as Dist::Zilla reads it. A file whose name ends in
.ini is read so by default, and format: ini says it for any other.
So a flavor can refuse a key of a plugin, such as user under
[GithubMeta].
- New check SystemPackages: a repository declares the packages of the
operating system that it needs in metamerge.yml. x_system_packages
names each dependency, with its package for each packager, a package
for a distro or a release of one, and a test that must run once it is
installed. x_system_sources holds the third-party archives of deb,
each with the full fingerprint of its signing key. The check refuses
a name that is not a plain package name, such as a deb name that ends
in -, which apt reads as a removal, a source that is not declared,
and an archive that nothing installs from.
Dist::Conformance::Check::SystemPackages->declared returns the
validated declaration of a snapshot or a directory, and ->resolve
what one host installs, and which dependencies it cannot resolve.
conformance packages prints the packages, tests, sources or needs for
the host of /etc/os-release, for a shell script, and exits 2 when a
dependency has no package for the host.
- Dist::Conformance::Schema::refuse dies with the message of validate,
for an error that a schema cannot express.
0.002 2026-11-04 TEODESIAN
- CriticProfile compares the policies of the profile with those of its
template, and fails with the name of each policy that the template
enables and the profile neither enables nor turns off with [-Name].
Before, it compared only the first line, so a profile kept passing
after its template gained a policy. The keys header and outdated are
deprecated and ignored; a flavor that names them still loads.
0.001 2026-11-02 TEODESIAN
- Initial Release
Keyboard Shortcuts
Global
s
Focus search bar
?
Bring up this help dialog
GitHub
gp
Go to pull requests
gi
Go to GitHub issues (only if GitHub is preferred repository)