-
-
Notifications
You must be signed in to change notification settings - Fork 248
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
port reclaim: persistently cache distfile info
The cache is simply a Tcl array mapping each port name + variants to a dist_subdir and a list of files, plus a fingerprint (consisting of the version, revision and Portfile sha256 hash) so the entries can be refreshed when the ports change. The cache is also invalidated if the global variations (i.e. from variants.conf) change. It may be possible to avoid that with a bit of extra cleverness.
- Loading branch information
Showing
1 changed file
with
91 additions
and
30 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters