Patches now work much better with incremental
installs. They use a Git repository to reset
the patch to the original state before applying
it. They are now also properly cleaned up after
being removed. Also, to allow more flexability
the patching process is now done before type
extracting, so that types can be patched. Lastly,
the patch-commit command now doesn't delete the
patch directory until it has done everything else
to prevent data loss.
Squashed commit of the following:
commit 82b4b858e5
Author: daimond113 <contact@daimond113.com>
Date: Sat Feb 1 00:46:31 2025 +0100
feat: remove unused directories when purging cas
Now purging the CAS will also clean up unused
folders. Additionally, since concurrent removal
of directories seems to throw a PermissionDenied
error on Windows those are ignored. Needs
investigation on why that happens.
commit 75d6aa5443
Author: daimond113 <contact@daimond113.com>
Date: Fri Jan 31 23:24:11 2025 +0100
feat: finish prune command implementation
The prune command now discovers packages in the
CAS, removes individual unused files and then
packages which use those files, since that means
they're unused.
commit 333eb3bdd9
Author: daimond113 <contact@daimond113.com>
Date: Sun Jan 26 23:30:52 2025 +0100
chore: fix clippy lint
commit a38da43670
Author: daimond113 <contact@daimond113.com>
Date: Sun Jan 26 23:02:52 2025 +0100
feat: add cas pruning command
Removes unused files from the CAS. Still needs to
remove individual package index entries to be
complete.
Debug / Get build version (push) Has been cancelled
Test & Lint / lint (push) Has been cancelled
Debug / Build for linux-aarch64 (push) Has been cancelled
Debug / Build for linux-x86_64 (push) Has been cancelled
Debug / Build for macos-aarch64 (push) Has been cancelled
Debug / Build for macos-x86_64 (push) Has been cancelled
Debug / Build for windows-x86_64 (push) Has been cancelled
Additionally, this commit changes the linking
process to be much less blocking, which should
bring a not-insignificant speedup to the
installation process.