[WIP] Refactor cleanup code #542
Closed
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
I moved the rest of the logic in
CleanupActionto its new homeCleanupWorker. This change should make it very easy to run cleanup operations at other points (for example after import).The new code is not yet ready for review but I opened the PR to get some assistance: what is the expected behavior of the following cleanups:
"Réflexions"to"R\'eflexion"?<b>hallo</b>to"\\textbf{hallo}"?These are my expectations, but in fact all of them are wrong as failing tests show. What are the correct ones?