Hidde Beydals
5f4f91ed78
Copy loop iterator var for use by goroutine
...
This fixes a bug where only the last dependency would be downloaded.
https://github.com/golang/go/wiki/CommonMistakes#using-goroutines-on-loop-iterator-variables
Signed-off-by: Hidde Beydals <hello@hidde.co>
2021-02-18 01:39:07 +01:00
Hidde Beydals
3cdc897236
Assume local dependency without Helm repository
...
This commit fixes a bug where local chart dependencies would not be
detected correctly due to the absence of a repository URL.
Signed-off-by: Hidde Beydals <hello@hidde.co>
2021-01-28 12:28:19 +01:00
Hidde Beydals
29a051c5f4
Refactor and document DependencyManager
...
Mostly to re-use the fields of the structure instead of copying things
around.
Signed-off-by: Hidde Beydals <hello@hidde.co>
2020-12-15 15:37:42 +01:00
Hidde Beydals
8d0b54e431
Make proper use of errgroup context
...
Signed-off-by: Hidde Beydals <hello@hidde.co>
2020-12-15 09:56:40 +01:00
Hidde Beydals
bc890874e1
Add safe guards for relative paths
...
Signed-off-by: Hidde Beydals <hello@hidde.co>
2020-12-15 09:56:40 +01:00
Hidde Beydals
a3f177328a
Move Helm dependency manager to `helm` package
...
Signed-off-by: Hidde Beydals <hello@hidde.co>
2020-11-19 09:50:50 +01:00