dev/core#2607 - Add deleted-files-list
authorcolemanw <coleman@civicrm.org>
Thu, 14 Dec 2023 14:41:07 +0000 (09:41 -0500)
committercolemanw <coleman@civicrm.org>
Fri, 15 Dec 2023 14:26:19 +0000 (09:26 -0500)
commit31c42c2dab1c721322a97f13e1b0615414d558f1
tree9cade4759cf245a49f9e4e8afeafa710aa6f0dbd
parent04b92623e1f05097a5a74b44d281c201fdd17b67
dev/core#2607 - Add deleted-files-list

Towards addressing the problem that some upgraders leave old files in the tree, which
can cause php fatal errors when they continue to autoload, or security issues if the
files were deleted for security reasons.

This generates a list of files which no longer exist. We could use that list to attempt
to auto-remove them during upgrades, or at the very least show an alert if they are present.
deleted-files-list.json [new file with mode: 0644]
distmaker/dists/common.sh
tools/scripts/generate-deleted-files-list.php [new file with mode: 0755]