Missing support for short-hash archives download #73

Closed
opened 2025-11-02 03:07:43 -06:00 by GiteaMirror · 0 comments
Owner

Originally created by @strk on GitHub (Nov 22, 2016).

While short-hash are recognised by the commit browser, for example:

The same short reference doesn't work at fetching a tarball:

While full hash does work:

It would be nice if hashes recognition was consistent.

See how the first one was fixed in https://github.com/gogits/gogs/issues/3321

Ticket migrated from https://github.com/gogits/gogs/issues/3834

Originally created by @strk on GitHub (Nov 22, 2016). While short-hash are recognised by the commit browser, for example: * https://try.gogs.io/strk/trac2gogs/commit/addbbc52 The same short reference doesn't work at fetching a tarball: * https://try.gogs.io/strk/trac2gogs/archive/addbbc52.tar.gz While full hash does work: * https://try.gogs.io/strk/trac2gogs/archive/addbbc524c52f271c2542009bc947c8200b588a9.tar.gz It would be nice if hashes recognition was consistent. See how the first one was fixed in https://github.com/gogits/gogs/issues/3321 Ticket migrated from https://github.com/gogits/gogs/issues/3834
GiteaMirror added the type/enhancement label 2025-11-02 03:07:43 -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#73