-
Notifications
You must be signed in to change notification settings - Fork 159
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
repos: cache properties that run external commands
Some of our properties internally run external VCS commands. As this can be quite costly, we now cache the result. This is correct, as the repo properties are referential transparent within a single kas invocation. As cached_property is not available for python<3.8, we add a dependency to the retrofit implementation in cached-property. Signed-off-by: Felix Moessbauer <[email protected]> Signed-off-by: Jan Kiszka <[email protected]>
- Loading branch information
1 parent
58cba07
commit 8063652
Showing
2 changed files
with
9 additions
and
3 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
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