]> git.apps.os.sepia.ceph.com Git - ceph-build.git/commit
prune-quay.py: use functools.cache to cache shaman results
authorDan Mick <dan.mick@redhat.com>
Tue, 2 Jul 2024 07:03:14 +0000 (00:03 -0700)
committerDan Mick <dan.mick@redhat.com>
Tue, 2 Jul 2024 22:24:38 +0000 (15:24 -0700)
commit41bd32b6e0bf2646c03d9ae0171c73f059700324
treeccb8996b2623c6651b6aa5e2700c30d2b88d0710
parent0ce11572bb6d76ac4dad46fd8b24a12d0b7a3a3f
prune-quay.py: use functools.cache to cache shaman results

Avoids a global, separates caching from searching, and is
thus bit cleaner/clearer.

Signed-off-by: Dan Mick <dan.mick@redhat.com>
quay-pruner/build/prune-quay.py