Skip to content

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

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

Add the ability to tweak RENOVATE_PERSIST_REPO_DATA (or new variable) to only store .git folder #18739

Closed
jamietanna opened this issue Nov 3, 2022 · 2 comments
Labels
status:requirements Full requirements are not yet known, so implementation should not be started type:feature Feature (new functionality)

Comments

@jamietanna
Copy link
Contributor

What would you like Renovate to be able to do?

When using RENOVATE_PERSIST_REPO_DATA on ~20 few repos with Bundler and NPM installed, this leads to ~2GB repo cache.

Being able to tweak this to just cache the .git folder would significantly reduce the cache size, while still containing benefit to reduce the git fetch time in the future.

If you have any ideas on how this should be implemented, please tell us here.

Allow RENOVATE_PERSIST_REPO_DATA=git or a new environment variable RENOVATE_PERSIST_GIT_DATA=true

Is this a feature you are interested in implementing yourself?

Maybe

@jamietanna jamietanna added priority-5-triage status:requirements Full requirements are not yet known, so implementation should not be started type:feature Feature (new functionality) labels Nov 3, 2022
@jamietanna
Copy link
Contributor Author

Actually it may be possible by caching + restoring the --base-dir

@rarkins
Copy link
Collaborator

rarkins commented Nov 7, 2022

We'd need to know the exact commands you think would be required

@renovatebot renovatebot locked and limited conversation to collaborators Oct 1, 2023
@rarkins rarkins converted this issue into discussion #24858 Oct 1, 2023

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

Labels
status:requirements Full requirements are not yet known, so implementation should not be started type:feature Feature (new functionality)
Projects
None yet
Development

No branches or pull requests

2 participants