Use tag to store both current and target version
- Dominant language
- Go
- Stars
- 84
- Forks
- 4
- Avg merge
- 3h 9m
- Merged PRs (30d)
- 6
Description
Hey, thanks for the tool!
With the current setup, one cannot see the current version of services it has set up, only the digest, for example:
```
# I don't see which version this is
caddy:alpine@sha256:5f5c8640aae01df9654968d946d8f1a56c497f1dd5c5cda4cf95ab7c14d58648
```
I was wondering whether we could misuse the tag to store both information, for example `caddy:alpine__v1.27.3`. The `--update` would then take the first part of the tag before the `__`, and update the version and the digest. For example `caddy:alpine__v1.2@sha256:XXX `-> `caddy:alpine__v1.3@sha256:YYY`
Contributor guide
No contributing guide indexed for this repository
Research direction
Trace the --update entry point and the existing Docker image tag and digest parsing, then inspect any tests covering update behavior. Done means preserving the base tag while storing the current and target versions as proposed, and updating both the tag and digest consistently.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- docker, go
- Domain
- cli
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 48/100