Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update the flags of regolith clean #309

Open
Nusiq opened this issue Dec 22, 2024 · 1 comment
Open

Update the flags of regolith clean #309

Nusiq opened this issue Dec 22, 2024 · 1 comment

Comments

@Nusiq
Copy link
Member

Nusiq commented Dec 22, 2024

The regolith clean flags are currently very confusing. There are two flags for cleaning files in the user cache folder:

  • --user-cache
  • --filter-cache
    But there are 3 types of cached files in the user config:
  • filters-cache - stores the filters repositories
  • project-cache - stores the cache files of the projects (if the user decides to put "use_project_app_data_storage": true in their user configuration.
  • resolver-cache - stores the repositories with resolvers.

The names of the flags mismatch the names of the folders and we're missing one flag.

  • --user-cache cleans project-cache
  • --filter-cache cleans filters-cache (this is almost correct but the user of plural form is inconsistent)
  • Nothing cleans the resolver-cache.

We should change the flags to something that makes more sense.

@stirante
Copy link
Member

As for the resolver cache, there is an option when installing filters to force fetch resolver --force-resolver-refresh

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants