/api/v1/packages/<user> returns internal/temporary _upload tag #9276

Closed
opened 2025-11-02 08:33:54 -06:00 by GiteaMirror · 1 comment
Owner

Originally created by @noerw on GitHub (Jul 26, 2022).

Description

In addition to the tags published with docker push <image:tag> as they are displayed in the UI, an additional package with version _upload is returned.

I'm not sure if its a docker registry internal thing to keep this version around, but I'd argue the API should return the same items as the web UI.

/api/v1/packages/<user>/container/<foo>/_upload returns a 404.

Maybe @KN4CK3R can comment if this is intentional behaviour

Gitea Version

1.18.0+dev-154-g3704be854

Can you reproduce the bug on the Gitea demo site?

Yes

Log Gist

No response

Screenshots

No response

Git Version

No response

Operating System

No response

How are you running Gitea?

built from source on localhost:3000

Database

SQLite

Originally created by @noerw on GitHub (Jul 26, 2022). ### Description In addition to the tags published with `docker push <image:tag>` as they are displayed in the UI, an additional package with version `_upload` is returned. I'm not sure if its a docker registry internal thing to keep this version around, but I'd argue the API should return the same items as the web UI. `/api/v1/packages/<user>/container/<foo>/_upload` returns a 404. Maybe @KN4CK3R can comment if this is intentional behaviour ### Gitea Version 1.18.0+dev-154-g3704be854 ### Can you reproduce the bug on the Gitea demo site? Yes ### Log Gist _No response_ ### Screenshots _No response_ ### Git Version _No response_ ### Operating System _No response_ ### How are you running Gitea? built from source on localhost:3000 ### Database SQLite
GiteaMirror added the topic/packagestype/bug labels 2025-11-02 08:33:54 -06:00
Author
Owner

@KN4CK3R commented on GitHub (Jul 26, 2022):

Thanks for tagging. Where exactly do you see the _upload version? You are right, this is an internal detail which should not be visible. UI and API should not display this version.

@KN4CK3R commented on GitHub (Jul 26, 2022): Thanks for tagging. Where exactly do you see the `_upload` version? You are right, this is an internal detail which should not be visible. UI and API should not display this version.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/gitea#9276