View Issue Details
|Summary||0000582: Whitelist mode for delete.txt|
|Description||Source from message: https://ukadon.shillest.net/@steve02081504/109979520300505431|
As ghost continues to change in development, the result of trying to accommodate upgrades will be that delete.txt keeps getting bigger.
If ghost goes through several iterations of huge changes, the size of delete.txt will be ugly and difficult to maintain.
The difficulties encountered during ghost development would be much less if we introduced another way of removing redundant files: create a whitelist file in the ghost directory indicating which files or directories should not be deleted, and together with the contents of the files provided in updates.txt, construct a "files that should not be deleted after update" list and then iterate through the files under ghost to delete the rest.
This is slow, but the ghost developer can delete and modify the file structure at will without having to maintain delete.txt, so I thought it might be nice
|Tags||No tags attached.|