-
-
Notifications
You must be signed in to change notification settings - Fork 52
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
Depend on plone.volto in Plone 6 #20
Conversation
This comment has been minimized.
This comment has been minimized.
8cfc2c1
to
ebaa2c9
Compare
@jenkins-plone-org please run jobs |
Note that this also means we pull in |
Having Can't we wait for the next alpha? The @plone/framework-team already discussed the folderish types issue months ago, see https://community.plone.org/t/fwt-meeting-minutes-2021-09-21/14362. I am quite against merging this PR. |
I also think that we should not merge until We went a long way, here is the current status: but unfortunately, it got stuck. So we need contributors and people that take care of it. The @plone/volto-team has also its limits, and cannot be everywhere. This is a Python-based task, so if anyone could take care of this, it would be great. I have the feeling that get rid of The "Volto" side of Plone 6 is not exclusively a task responsibility of the Volto Team, but of all the community. Maybe we can make that stand at some point, in community.plone.org? Just talking out loud here. |
Let's indeed wait with this. The checks are green, so that is a good start. |
Thanks @sneridagh for your insight.
No mention of |
Talking by heart here, but we need to transfer the DX support for folderish types from c.folderishtypes to plone.volto. Then add a migration step for changing the base classes reference of the objects (no clue if we can avoid that with some BBB code in place). |
ebaa2c9
to
50a1ef7
Compare
Meanwhile: @jenkins-plone-org please run jobs |
Since Volto will be the default interface for Plone 6, shouldn't the |
What do you mean with this? Do you want it in the dependencies of |
Yes, it should be dependency of since Volto will be the default interface. |
We could discuss adding It does add yet another package that imports from I would definitely not add it in the |
No, veto! First, and most important, this would introduce a whole bunch of most ugly dependency indirections, primary with its dependency on plone.restapi, breaking whatever (like at least pip install-ability), Then, we definitely want to have a Plone Core which is independent and maintainable. Also we have two flavors "Plone" (with volto) and maybe a future plone.classicui package (we may find a better name). In fact the other way around is the way to go: A clean dependency graph. Less dependencies in Products.CMFPlone, like I can imagine having portlet-code part of classic ui, but not of Plone (and think further here). So overall, packages like Anyway, also if anyone still consider this a good idea, please turn this into a PLIP. But I doubt it would have a chance (@plone/framework-team may decide differently) |
I also think it is not the greatest idea to add plone.volto to Products.CMFPlone setup.py |
Let's first find the common ground :-)
But, otoh, it is really strange that our default UI for Plone 6 will not be installed with the core of our package, which will probably lead to confusion. I can see a future where we have either a |
For now, the main purpose of this PR was "Plone 6 is shipped with Volto integration in place (plone.volto)", which is already fulfilled, so we are good for now. Agreed that we should not install it (plone.volto profile) until the integrator chooses to do so. And leave the door open for extend that choosing to other optional installs (on the classic side). For now, the "chooser" side is also covered too, so we have the form on site creation (Maurits' button) and the scripts here and there (eg. docker images) that trigger the profile installation. However, IMHO we should improve the "chooser" at some point before final release, and also include it in our scaffolding tools (if any). At least study, design and improve the experience on that side, and above of all, make it friendly and approachable for future integrators, newcomers and newbies alike. |
About What I would find strange is having to install an extra package to use the default interface. But the Maurits button does this automatically. So I'm fine with that too. Now some doubts:
|
No, because this
Interesting point. I fear that lots of tests would fail. Or they would not make sense anymore. Take for example a test that creates a page, adds some rich text in the text field ( Well, for starters it would be good to define a test layer in |
Maybe the default layer should create a site Volto and have a additional layer to create a classic site. |
See also plone/Products.CMFPlone#3371 (comment) and further comments.