Draft: Experiment with optimizing moves#3834
Conversation
|
@davisagli thanks for creating this Pull Request and helping to improve Plone! TL;DR: Finish pushing changes, pass all other checks, then paste a comment: To ensure that these changes do not break other parts of Plone, the Plone test suite matrix needs to pass, but it takes 30-60 min. Other CI checks are usually much faster and the Plone Jenkins resources are limited, so when done pushing changes and all other checks pass either start all Jenkins PR jobs yourself, or simply add the comment above in this PR to start all the jobs automatically. Happy hacking! |
|
@jenkins-plone-org please run jobs |
|
@jenkins-plone-org please run jobs |
|
@jenkins-plone-org please run jobs |
|
In my opinion, we should provide a way to configure the list of context-aware indexes (e.g., via ZCA, environment variables, or registry). This would allow developers who implement a new context-influenced index to easily register it alongside the existing ones (path, getId, etc.). @davisagli Would you be okay with me integrating this directly into the PR? I'd be happy to handle it as soon as I can find some time. |
|
@mamico In the long run I'd like to see this get refactored into a PR for CMFCore so that we don't need a monkeypatch. |
@davisagli If you have some time and want to take a look, here is an initial implementation: zopefoundation/Products.CMFCore#161 It's not fully complete or tested yet |
I'm opening this to try out an optimization to make moving large folders faster by avoiding complete reindexing.
This is based on https://github.com/4teamwork/ftw.copymovepatches