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

feat: Add --map-root argument to configure repository map root directory #2911

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

coredevorg
Copy link

The patch makes the root directory for .aider.tags.cache.v3 configurable through an additional argument --map-root or AIDER_MAP_ROOTenvironment variable.

This becomes important if your project lives on a CIFS mount and you encounter:

Tags cache error: database is locked
Unable to use tags cache at /mnt/.../.aider.tags.cache.v3, falling back to memory cache
Cache recreation error: [Errno 11] Resource temporarily unavailable: 'cache.db'

With the --map-root parameter, the cache directory can be moved to local device to avoid the problem.

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

Successfully merging this pull request may close these issues.

1 participant