Skip to content

Migrate tidy/lint to precious#82

Merged
oalders merged 7 commits into
masterfrom
http-cookies-precious
Jun 25, 2026
Merged

Migrate tidy/lint to precious#82
oalders merged 7 commits into
masterfrom
http-cookies-precious

Conversation

@oalders

@oalders oalders commented Jun 24, 2026

Copy link
Copy Markdown
Member

Lands precious as the canonical tidy/lint driver for this distribution, via the kitchen-sink:tune-precious recipe. Each transform is its own commit so any single change is independently revertable.

What changed

Commit Transform
precious: add canonical config New precious.toml (perltidy, perlvars, omegasort-gitignore) + [PruneFiles] so it stays out of the CPAN tarball
perltidy: consolidate profile to .perltidyrc and drop -b git mv perltidyrc .perltidyrc; stripped standalone -b (precious manages backups)
tidyall: delete config files and ignore entries Removed stray tidyall.ini line from .gitignore
dist.ini: add App::perlvars develop prereq for precious Added App::perlvars to [Prereqs / DevelopRequires]
ci: add precious lint job New .github/workflows/lint.yml running precious lint --all
hooks: add scripts/pre-commit for precious lint Self-installing scripts/pre-commit (run scripts/pre-commit --init once per clone); pruned from the dist

Scope decisions

  • 3 command blocks in precious.toml: perltidy, perlvars, omegasort-gitignore.
  • Not wired: perlcritic (no enforcement remained — Test::Perl::Critic is already -removed in the bundle, no .perlcriticrc), typos (no typos config), omegasort-stopwords (no .stopwords).
  • No [RemovePrereqs] needed — the @Author::OALDERS bundle already removes the tidyall plugins/prereqs.

Verification

  • precious config list passes (kebab-case keys throughout).
  • lint.yml parses; branches: [master]; projects: = precious + omegasort; all action tags resolve (checkout@v7, actions-setup-perl@v1, install-ubi-action@v0.0.6, install-with-cpm@v2).
  • dzil build --no-tgz clean; precious.toml, .perltidyrc, and scripts/pre-commit all confirmed absent from the built dist.
  • scripts/pre-commit is executable with default_branch="master".

Note

Contributors run scripts/pre-commit --init once per clone to activate the hook.

🤖 Generated with Claude Code

oalders and others added 7 commits June 23, 2026 20:29
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Contributors run `scripts/pre-commit --init` once per clone to install
the hook. It runs `precious lint --staged` and blocks direct commits to
the master branch.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
@oalders oalders merged commit 1723962 into master Jun 25, 2026
36 checks passed
@oalders oalders deleted the http-cookies-precious branch June 25, 2026 18:53
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