Add legacy-package migration guidance to plonecli skill#101
Merged
Conversation
Document how to adapt old mr.bob/buildout/setup.py packages so plonecli subtemplates wire in correctly: make minimal structural edits (add the [tool.plone.backend_addon.settings] block, stub configure.zcml) instead of hand-writing subtemplate output or re-running the backend_addon template.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
reference/migrate.mddocumenting how to adapt old/legacy Plone packages (mr.bob/bobtemplates.plone, buildout,setup.py) so plonecli's copier subtemplates wire in correctly.SKILL.mddecision flow, the legacy rule, and the description to point at the new migration reference.reference/add.mdto redirect to the migration guide whenaddis run inside a legacy package.The guidance favors minimal structural edits — adding the
[tool.plone.backend_addon.settings]block and a stubconfigure.zcml— over hand-writing subtemplate output or re-running thebackend_addontemplate (which overwrites real code like__init__.py).Test plan
plonecli -ldetects the addon after the minimal edits, andplonecli addlands files correctly