Skip to content
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

Import: update dates again at the end. Take 2. #45

Merged

Conversation

mauritsvanrees
Copy link
Member

The original modification dates may have changed.
We save the original modification date on the object during the content import, and use this in the final importer. This is what collective.exportimport does as well.

This is an alternative for my PR #43. It avoids reading all content json files again, taking some hints from our good friend collective.exportimport. See my comment in that PR.

The original modification dates may have changed.

We save the original modification date on the object during the content import, and use this in the final importer.
This is what collective.exportimport does as well.
@mister-roboto
Copy link

@mauritsvanrees thanks for creating this Pull Request and helping to improve Plone!

TL;DR: Finish pushing changes, pass all other checks, then paste a comment:

@jenkins-plone-org please run jobs

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!

@mauritsvanrees mauritsvanrees merged commit 0c08c81 into main Jan 23, 2025
9 of 11 checks passed
@mauritsvanrees mauritsvanrees deleted the maurits-sustainable-exports-update-dates-at-end-take-two branch January 23, 2025 15:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants