-
-
Notifications
You must be signed in to change notification settings - Fork 196
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
Turn plone.app.contentrules in a core-addon #4119
Comments
hey @davisagli @mauritsvanrees @MrTango - any of you available as seconder or participant? |
Seconded. When I checked earlier this week, it seems I added a link to an upgrade step for cleaning up |
About merging The intended distinction between these two packages was probably:
There is something to be said for this distinction. The case where most is to be gained from merging, is when there is often a change needed in Still: having one less package would be good. And if you are trying to debug a problem, it is nicer if all the code is in one package instead of two. So: +1, but it is a nice-to-have. |
I asked on zopefoundation/meta and community.plone.org whether anyone is using |
PLIP (Plone Improvement Proposal)
Responsible Persons
Proposer: @jensens
Seconder: @mauritsvanrees
Abstract
Currently
plone.app.contentrules
(andplone.contentrules
) are part of the Plone Core.This PLIP proposes to move the two packages out of core as Core Addons.
Motivation
In order to clean up our architecture we identified already packages that are actually add-ons and moved them out (such as Discussion-/ Workingcopy-Support).
To further cleanup and shrink the core plone.app.contentrules should follow here.
Assumptions
Plone Core works fine without plone.app.contentrules.
Proposal & Implementation
This can be done by conditional imports. This seems already the case, but should be checked more thoroughly.
Test would need to depend on pa.contentrules
for discussion:
Upgrade path:
Currently plone.app.contentrules does not install anything and is installed in the controlpanel by default.
We need to mimic in an upgrade step - if there is any rule defined - to install it without breaking existing installations
If there are no rules defined at all, we remove the controlpanel and mark it as not installed.
For inspiration, see this upgrade step for cleaning up
plone.app.discussion
settings.We must emit a warning - or even an error - if there are rules defined, but plone.app.conentrules is not available.
Deliverables
New releases of packages
Documentation
Risks
Users of plone.app.contentrules would need to adapt their setup slighly.
Participants
The text was updated successfully, but these errors were encountered: