generic package download command error displayed in web interface #12172

Closed
opened 2025-11-02 10:01:05 -06:00 by GiteaMirror · 0 comments
Owner

Originally created by @idweball on GitHub (Dec 9, 2023).

Description

As shown in the figure, the displayed download command is curl http://git.lovezsh.com/api/packages/lovezsh/generic/fs/1.0.0/fs, but this command cannot save the file. The correct command should be for curl -O http://git.lovezsh.com/api/packages/lovezsh/generic/fs/1.0.0/fs

Screenshots

QQ截图20231209232914

Gitea Version

1.21.0

Can you reproduce the bug on the Gitea demo site?

No

Operating System

No response

Browser Version

Google Chrome 119.0.6045.200

Originally created by @idweball on GitHub (Dec 9, 2023). ### Description As shown in the figure, the displayed download command is `curl http://git.lovezsh.com/api/packages/lovezsh/generic/fs/1.0.0/fs`, but this command cannot save the file. The correct command should be for `curl -O http://git.lovezsh.com/api/packages/lovezsh/generic/fs/1.0.0/fs` ### Screenshots ![QQ截图20231209232914](https://github.com/go-gitea/gitea/assets/18215336/45953fd0-e877-41a3-b55e-f6290865d3b3) ### Gitea Version 1.21.0 ### Can you reproduce the bug on the Gitea demo site? No ### Operating System _No response_ ### Browser Version Google Chrome 119.0.6045.200
GiteaMirror added the topic/packagestopic/uitype/bug labels 2025-11-02 10:01:06 -06:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/gitea#12172