-
-
Notifications
You must be signed in to change notification settings - Fork 2.6k
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
migration of timestamp #7671
migration of timestamp #7671
Conversation
…using radio buttons
On a first look, this looks good to me. A few observations though:
|
…try format and the timestamp migration
I addressed the first point by adding checkboxes for the corresponding cleanup actions.
This is only true for the timestamp migrations and is implemented exactly that way ^^
As an ADR or just as a comment here? |
Thanks, that looks good to me!
Ohh, you are right. Sorry, I misread the code.
As a comment is more than enough for me (maybe directly in the PR description though). As far as I see it, the advantage of cleanup ops is that they are only run once and thus don't make the db load process slower; on the other hand the migration had the advantage that user's don't need to run something manually. |
The reason for making it a cleanup is that some users use the timestamp field in other ways. |
Ok thanks! I don't have the time for a through-out review, but scrolling over the code I couldn't find anything. So from my side this is good to go. |
* upstream/main: (354 commits) Fix ScienceDirect fetcher (#7684) Refactor NoBibTexFieldCheckerTest to increase mutation coverage (#7697) Update Gradle from 6.8.3 to 7.0 (#7619) Fixes Jabref#7305: the RFC fetcher is not compatible with the draftFix for issue 7305 (#7674) Refactoring existing unit tests (#7693) cover boundary cases & add more unit tests (#7694) Bump classgraph from 4.8.104 to 4.8.105 (#7688) Bump java-diff-utils from 4.9 to 4.10 (#7692) Fix arXiv fetcher tests (#7686) Make key for ScienceDirect configurable (#7683) migration of timestamp (#7671) Fix CCSB and DOAJ (#7426) [Bot] Update CSL styles (#7680) MS Office XML: Export month name (#7677) linkfix (#7678) readd fix (#7675) Fix threading cleanup in performSearch (#7672) add missing changelog delete bug fix (#7580) Add more unit tests to three gui classes (#7636) ... # Conflicts: # build.gradle
This PR moves the migration of the timestamp field from a PostOpenMigration to mutually exclusive cleanup actions.
As this cleanup action migrates the timestamp field to the creationdate or modificationdate fields,
the modificationdate of a BibEntry is not updated when this cleanup is conducted.
If the original timestamp field could not be parsed, the cleanup does not modify the BibEntry in any way to not lose data.
Fixes #7351.
Modified Cleanup dialog:
CHANGELOG.md
described in a way that is understandable for the average user (if applicable)