-
-
Notifications
You must be signed in to change notification settings - Fork 618
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Deprecate "project" configuration in Volto (src/config.js
)
#6396
Labels
Comments
sneridagh
changed the title
Deprecate project configuration in
Deprecate project configuration in Volto "project"
Oct 11, 2024
src/config.js
sneridagh
changed the title
Deprecate project configuration in Volto "project"
Deprecate "project" configuration in Volto (Oct 11, 2024
src/config.js
)
Would documentation of the new way of doing things be a deliverable for this PLIP? I'm not sure whether it is covered elsewhere. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
PLIP (Plone Improvement Proposal)
Responsible Persons
Proposer: Víctor Fernández de Alba (@sneridagh)
Seconder: Tiberiu Ichim (@tiberiuichim)
Abstract
The old fashioned "project layout" is discouraged, in favor of the "policy add-on package". There's nothing that limits to move all the config from a project to an add-on package.
Motivation
Duplication of concerns, unification of the developer experience. This will encourage also to move the project's logic to the policy add-on as well and keep the boilerplate empty and expendable. This will help upgrades in case that the boilerplate has to change, the integrators will have to move the policy add-on to the new boilerplate.
Proposal & Implementation
The configuration has been kept in Cookieplone for backwards compatibility, but it will be removed in Volto 19.
So Volto 19 won't load it anymore.
Deliverables
Volto won't load the project config anymore.
Risks
No risks, this is a new convention, people will have to move the configuration to an add-on which is mostly copy/paste operation and fix the imports.
Participants
Víctor Fernández de Alba
The text was updated successfully, but these errors were encountered: