Skip to content

Add download links to commits_list #25216

Closed
@wolfpackmars2

Description

@wolfpackmars2

Feature Description

This is a small change which adds links to download any commit from the commits list. The change makes the "message" column slightly smaller and adds text "[.zip]|[.tar.gz]" in the sha1 column, with "[.zip]" being a link to download the .zip copy of the repo commit on the related row, and "[.tar.gz]" being the same in .tar.gz format.

An example can be seen live here:

https://git.groesz.org/Groesz.org/bits/commits/branch/master.

I've found this to be very convenient when needing to download a specific commit of a repo with fewer clicks.

Screenshots

Screenshot from 2023-06-12 18-40-50

Metadata

Metadata

Assignees

No one assigned

    Labels

    proposal/rejectedWe have reviewed the proposal but disagree in that it should not be implemented into Gitea.type/featureCompletely new functionality. Can only be merged if feature freeze is not active.type/proposalThe new feature has not been accepted yet but needs to be discussed first.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions