Skip to content

(CAT-2763) Rename gem: puppet-syntax -> puppetlabs-syntax - #4

Merged
LukasAud merged 3 commits into
masterfrom
cat_2763_release_puppetlabs_syntax
Aug 20, 2026
Merged

(CAT-2763) Rename gem: puppet-syntax -> puppetlabs-syntax#4
LukasAud merged 3 commits into
masterfrom
cat_2763_release_puppetlabs_syntax

Conversation

@gavindidrichsen

Copy link
Copy Markdown
Collaborator

Summary

Completes the local, non-publishing part of the CAT-2763 fork-and-rename: this gem is now genuinely puppetlabs-syntax end-to-end, not just relabeled at the repo/gemspec-metadata level.

  • Gate 2 (gem identity) + Gate 3 (runtime namespace): puppet-syntax.gemspec -> puppetlabs-syntax.gemspec (spec.name, version bumped to 7.2.1 per ADR-0004), lib//spec/ moved to puppetlabs-syntax/..., PuppetSyntax -> PuppetlabsSyntax constant tree, every require path updated. Gate 1 (puppet core runtime pin) was already done in a prior commit.
  • .rubocop_todo.yml regenerated via rubocop --auto-gen-config so its Exclude: paths match the new file layout.
  • README.md updated: added the required fork banner, renamed all naming, repointed badges at puppetlabs/puppetlabs-syntax (and fixed a Test badge pointing at a nonexistent test.yml workflow), and corrected a stale "OpenVox >= 8.0" claim to "Puppet >= 8.0, < 10" to match this fork's actual core pin.

CHANGELOG.md/HISTORY.md intentionally untouched — historically accurate to voxpupuli/puppet-syntax.

This is a breaking rename for downstream consumers: require 'puppet-syntax/tasks/puppet-syntax' / PuppetSyntax becomes require 'puppetlabs-syntax/tasks/puppetlabs-syntax' / PuppetlabsSyntax.

No publish (no gem push, no rubygems/GitHub Packages release) is part of this PR — that remains a separately gated step.

Test plan

  • bundle exec rake spec — 44 examples, 0 failures
  • bundle exec rubocop — no offenses
  • git grep -n 'PuppetSyntax\|puppet-syntax' -- lib spec Rakefile '*.gemspec' — zero hits
  • Gemfile.lock regenerates showing puppetlabs-syntax (7.2.1)

🤖 Generated with Claude Code

gavindidrichsen and others added 3 commits August 20, 2026 11:01
Completes Gate 2 (gemspec identity) and Gate 3 (constant tree +
load-path) of the three-gate rename model: spec.name, lib/, spec/,
the PuppetSyntax -> PuppetlabsSyntax constant tree, and every
require path now say puppetlabs-syntax. Version bumped to 7.2.1 per
ADR-0004 (mirrors Vox upstream, sits above the yanked public 7.2.0
slot). Gate 1 (puppet core runtime pin) was already done in a prior
commit.

44/44 specs green after the rename.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Ran `rubocop --auto-gen-config --no-auto-gen-timestamp` after the
puppetlabs-syntax rename so every Exclude: path matches the new
lib/puppetlabs-syntax/... and spec/puppetlabs-syntax/... locations.
Stale exclude paths pointing at the old puppet-syntax/ layout would
silently stop applying otherwise. `rubocop` reports no offenses.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
- Add the ADR-0001-mandated fork banner identifying this as the
  Perforce-maintained puppetlabs fork of voxpupuli/puppet-syntax.
- Rename all PuppetSyntax/puppet-syntax prose and code samples to
  PuppetlabsSyntax/puppetlabs-syntax.
- Repoint badges at puppetlabs/puppetlabs-syntax; fix the Test badge,
  which pointed at a workflow file (test.yml) that doesn't exist in
  this repo's .github/workflows/ (the real CI workflow is ci.yml).
- Correct a stale "OpenVox >= 8.0" version-support claim to
  "Puppet >= 8.0, < 10" - this fork's gemspec already pins puppet as
  its core (Gate 1), not openvox.

CHANGELOG.md/HISTORY.md intentionally left untouched - historically
accurate to voxpupuli/puppet-syntax.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>

@LukasAud LukasAud left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@LukasAud
LukasAud merged commit ef8b483 into master Aug 20, 2026
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants