AcademySoftwareFoundation / AcademySoftwareFoundation/rez

add --flush-solves to rez-memcache

Open
#228 0 comments 0 reactions 0 assignees View on GitHub
enhancement
Dominant language
Python
Stars
1.1k
Forks
369
Avg merge
12d 3h
Merged PRs (30d)
5

Description

Sometimes you need to flush the memcache (eg when a new package is made by hand). In these cases it usually isn't necessary to flush _everything_, especially package files, which take the most amount of time to reload from disk. Adding a --flush-solves option would correctly update the cache to detect new, non-rez-released packages, without losing all the cached package files.

Contributor guide

Open the contributing guide

Research direction

Start by locating the rez-memcache entry point and reading how its existing flush behavior selects cached data. Add the --flush-solves option so newly hand-created packages are detected without reloading package files, then verify that the targeted solve cache is refreshed while other cached data is retained.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
cli
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.