helm / helm/chart-releaser-action
cr index does not remove old releases that no longer exist.
- Dominant language
- Shell
- Stars
- 668
- Forks
- 222
- PR merge metrics
- No merged PRs in 30d
Description
I could be totally missing something here, but it seems that when cr index runs, the latest release is just appended to the file.
It would be really nice if the index.yaml file was updated to only include any releases that are in the repo for that chart. For example, if you only keep the 5 most recent releases, then when index updates, only those 5 releases would be present. Rather than currently where every release exists in the index file regardless on if there is a valid release for it or not.
Contributor guide
No contributing guide indexed for this repository
Research direction
Start by tracing the cr index command used by this GitHub Action and how it reads chart releases before writing index.yaml. Confirm the behavior with a repository that retains only its five newest releases; done means index.yaml contains only releases that still exist for each chart.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- github-actions, helm, shell
- Domain
- ci-cd, release
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100