-
Notifications
You must be signed in to change notification settings - Fork 10
Chore/refactoring images issue 48 #51
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
Conversation
|
I haven't tested the scripted approach sufficiently. Files were deleted that should not have been deleted. Fortunately, I was alerted to this in time. PR is back in draft form for further investigation and a fix. |
|
Ok, looks like the migration script only moved image files (png, jpg, svg, etc.) but the cleanup script deleted entire directories. I will start from scratch with a new branch. This PR can be closed an deleted. |
Closes #48
Tasks log
migrate-image.jsmigration script that helps reorganize the imagesconst dryRun: true(ie shows what would happen without making any changes)toolkit/fix-malformed-images.jsscript./prefix and fix the sidebar section detection logictoolkit/migrate-images-dry-run.txttoolkit/migrate-images-live-run.txtcleanup-old-images.jsscripttoolkit/cleanup-old-images-dry-run.txttoolkit/cleanup-old-images-live-run.txt