-
Notifications
You must be signed in to change notification settings - Fork 361
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
Improving performance of dependency git pulling #2641
Comments
@lizardruss I am sorry to tag you, but could this be considered. Look at the example below. TLDR
Run
|
@Andrioden We will take a look and see if we can get this prioritized. |
Hi, did you consider this? I would hope its a low-hanging fruit, that would be a great time-saver for many! |
@lizardruss - I have solved and tested the easiest part of this in this PR: #2708 |
@lizardruss - Aaannd i solved the second part of this issue in this PR: #2709 |
Any chance a new release of devspace could be made? |
@lizardruss - Any chance of a new release? |
Description
We are seeing some performance cost due to our complex circular repo dependency graph. This can be speed up by using a cached version of the git repo that is being pulled. Logs below should make it clear.
Feature request 1 - Cache which git repos branches have been pulled, se solution in section below.
Feature request 2 - It would also be nice to skip downloading dependencies when the dependencies are filtered out by something like
--dependency "-"
. Se below.Is your feature request related to a problem?
No.
Which solution do you suggest?
Within a single devspace deploy command you should store in memory a dictionary for each unique pair of
repo url + branch name
, which points to a dependency cache folder. This can then be reused deeper down the dependency hierarchy.Which alternative solutions exist?
None
The text was updated successfully, but these errors were encountered: