-
-
Notifications
You must be signed in to change notification settings - Fork 5.6k
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
Display image size for multiarch container images #23821
Conversation
Codecov Report
@@ Coverage Diff @@
## main #23821 +/- ##
==========================================
- Coverage 47.14% 47.01% -0.14%
==========================================
Files 1149 1158 +9
Lines 151446 153197 +1751
==========================================
+ Hits 71397 72023 +626
- Misses 71611 72674 +1063
- Partials 8438 8500 +62
... and 74 files with indirect coverage changes Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here. |
Could we display the summmary size of all images in the right siderbar? |
I see no benefit doing that because that value is meaningless. The docker client downloads just the matching architecture and not every possible image. |
But it's confusing the size is 770B on the right sidebar on your image. What's that size? |
The image is a manifest list (a json file) which just references other images (which this PR lists with their size now). So the package you are looking at is small, 770B. |
Yes, I know. That's why I think it's confusing. I think users don't care about the manifest's size because they know it's small. They should care about the total size of this package. |
But there is no "total" size because a client will never download all of it (if you don't enforce it). How about not displaying the size if it's a manifest list? |
I think it's not necessary to show the size (the size of manifest) for multi-arch images, just like Docker Hub. |
Hide the manifest size is also OK for me to make it less confusing. |
* upstream/main: [skip ci] Updated translations via Crowdin Update JS deps (go-gitea#23853) Added close/open button to details page of milestone (go-gitea#23877) Check `IsActionsToken` for LFS authentication (go-gitea#23841) Prefill input values in oauth settings as intended (go-gitea#23829) Display image size for multiarch container images (go-gitea#23821) Use clippie module to copy to clipboard (go-gitea#23801) Remove assertion debug code for show/hide refactoring (go-gitea#23576) [skip ci] Updated translations via Crowdin Remove jQuery ready usage (go-gitea#23858) Fix JS error when changing PR's target branch (go-gitea#23862) Improve action log display with control chars (go-gitea#23820) Fix review conversation reply (go-gitea#23846) Improve home page template, fix Sort dropdown menu flash (go-gitea#23856) Make first section on home page full width (go-gitea#23854) [skip ci] Updated translations via Crowdin Fix incorrect CORS failure detection logic (go-gitea#23844)
Fixes #23771
Changes the display of different architectures for multiarch images to show the image size: