chartmuseum icon indicating copy to clipboard operation
chartmuseum copied to clipboard

Update index.go

Open wutongjie23hao opened this issue 1 year ago • 2 comments

the chartversions of index.yaml should be equal to the length of chartversion objects in storage backend. if not equal, we should regenerate the index.yaml.

wutongjie23hao avatar Jan 31 '24 01:01 wutongjie23hao

I prefer to not accept this PR , since we already have internal-cache option and always-regenerate-chart-index option on the other hand , this kind of feature seems duplicate . What do you think ? @cbuto

scbizu avatar Feb 01 '24 07:02 scbizu

I prefer to not accept this PR , since we already have internal-cache option and always-regenerate-chart-index option on the other hand , this kind of feature seems duplicate . What do you think ? @cbuto

always regenerate index only when the depth set a certain value. This is not valid when we set flag '--depth-dynamic'.

wutongjie23hao avatar Feb 02 '24 09:02 wutongjie23hao