-
-
Notifications
You must be signed in to change notification settings - Fork 660
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
Remove api
folder. Add backend
folder using latest backend best practices
#6110
Conversation
✅ Deploy Preview for plone-components canceled.
|
backend/setup.py
Outdated
@@ -0,0 +1,68 @@ | |||
"""Installer for the collective.addon package.""" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This file shows its age from copy-pasta. We should port these fixes back into the source, whatever that is.
Also can we use cookiecutter to generate this?
@terapyon @tisto can we remove the broken link to https://www.cmscom.jp/ from the README? |
@stevepiercy I guess if that breaks our setup there is no alternative. Maybe we can comment it out for now, so that we can re-add it once @terapyon fixed the SSL issue? |
@stevepiercy This is the output of the cookieplone backend folder. We did already a review of it! If you catched new things we should get back there and fix them. |
OK, it smelled like boilerplate, I just didn't know from where. I'll update the templates. One question, can we not use |
PR opened plone/cookieplone-templates#41 |
I'm sorry too late response. I'll soon fix it. |
I just fixed our site. I'm sorry too late. |
No worries. Thank you! Hey, maybe we should charge for this monitoring service! 😁 |
Co-authored-by: Steve Piercy <web@stevepiercy.com>
Co-authored-by: Steve Piercy <web@stevepiercy.com>
@stevepiercy back to you, I think it's ok. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Maybe I'm being stupid or stuck in a particular habit of working, but I don't really understand the motivation for including a backend project in the volto repository. In practice I never really use it.
If I want to run volto against the latest Plone release then I use make start-backend-docker
. If I want to make a change to the Plone backend and test volto with it before it's merged, then I run the backend from the coredev buildout.
I guess this backend project gives people a way to install an editable copy of a backend package to try out a change in a way that's more similar to actual projects, without needing to learn buildout. That's probably a good thing.
Maybe there are other reasons to use it that I'm overlooking?
@davisagli not really, it was always here, for convenience. Could be that nowadays is not worth the effort to have it anymore. @plone/volto-team opinions? |
Also because it is a snapshot generated from https://github.com/plone/cookieplone-templates/ with hardcoded values, I would rather use the cookiecutter to generate the latest version, using my own values, then move it in place. Until mxdev is ready to take over, it's either buildout or Docker. Let's not create another officially supported method. |
I'm ok with removing as well although it's a bit sad to see work done only to realize that it's best to simply remove than merge the work :) |
Ok, removed! Wondering if we should remove Guillotina related stuff from the repo too. Opinions? |
ok, decided not to. Merging. |
* main: Make dynamic/live teaser without additional requests (#6024) Fix issue of duplicated blocks upon pasting an image into the Slate E… (#5818) Remove `api` folder. Add `backend` folder using latest backend best practices (#6110) Rename files with wrong extension `js->jsx` when they contain JSX. (#6114) Improve shadowing by including the support for `js->jsx` extensions in… (#6113) issue-5452 markdown shortcut (#5495)
* main: Make dynamic/live teaser without additional requests (#6024) Fix issue of duplicated blocks upon pasting an image into the Slate E… (#5818) Remove `api` folder. Add `backend` folder using latest backend best practices (#6110) Rename files with wrong extension `js->jsx` when they contain JSX. (#6114) Improve shadowing by including the support for `js->jsx` extensions in… (#6113) issue-5452 markdown shortcut (#5495)
* main: (73 commits) Release 18.0.0-alpha.36 Rename missing command Image widget PR as breaking (#6125) Release @plone/slate 18.0.0-alpha.14 Release @plone/registry 1.7.0 Rename Makefile targets (#6104) fix: nonContentRoutes diff path (#6102) Automatically set the label to `03 type: feature (plip)` for PLIPs (#6122) Add ImageWidget with upload/drop/external and inline/widget capabilities (#5607) Ensure that sidebar field will not steal focus when metadata is edited (#5983) Prevent duplicated UUUIDs in inner blocks when copying container blocks (#6112) feat: handle breakList in detached TextBlockEditor (#6106) Make dynamic/live teaser without additional requests (#6024) Fix issue of duplicated blocks upon pasting an image into the Slate E… (#5818) Remove `api` folder. Add `backend` folder using latest backend best practices (#6110) Rename files with wrong extension `js->jsx` when they contain JSX. (#6114) Improve shadowing by including the support for `js->jsx` extensions in… (#6113) issue-5452 markdown shortcut (#5495) Release 18.0.0-alpha.35 Release @plone/types 1.0.0-alpha.16 ...
📚 Documentation preview 📚: https://volto--6110.org.readthedocs.build/