Skip to content
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

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

Closed
noerw opened this issue Jul 26, 2022 · 1 comment · Fixed by #20492
Closed

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

noerw opened this issue Jul 26, 2022 · 1 comment · Fixed by #20492

Comments

@noerw
Copy link
Member

noerw commented 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

@noerw noerw added this to the 1.17.0 milestone Jul 26, 2022
@KN4CK3R
Copy link
Member

KN4CK3R commented 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.

@go-gitea go-gitea locked and limited conversation to collaborators May 3, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants