[PR #4110] [CLOSED] Add raw blob endpoint #17247

Closed
opened 2025-11-02 12:30:45 -06:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/go-gitea/gitea/pull/4110
Author: @clee
Created: 6/4/2018
Status: Closed

Base: masterHead: add-raw-blob-endpoint


📝 Commits (1)

📊 Changes

3 files changed (+24 additions, -0 deletions)

View changed files

📝 modules/context/repo.go (+7 -0)
📝 routers/repo/download.go (+16 -0)
📝 routers/routes/routes.go (+1 -0)

📄 Description

This should make it possible to download raw blobs directly from /:repo/:username/raw/blob/:sha1 URLs.

Fixes #4048.

(Also: depends on go-gitea/git#121)


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/go-gitea/gitea/pull/4110 **Author:** [@clee](https://github.com/clee) **Created:** 6/4/2018 **Status:** ❌ Closed **Base:** `master` ← **Head:** `add-raw-blob-endpoint` --- ### 📝 Commits (1) - [`00cd19f`](https://github.com/go-gitea/gitea/commit/00cd19fa4edcc79a658c590ab5fca8b35ab58541) Add raw blob endpoint ### 📊 Changes **3 files changed** (+24 additions, -0 deletions) <details> <summary>View changed files</summary> 📝 `modules/context/repo.go` (+7 -0) 📝 `routers/repo/download.go` (+16 -0) 📝 `routers/routes/routes.go` (+1 -0) </details> ### 📄 Description This should make it possible to download raw blobs directly from `/:repo/:username/raw/blob/:sha1` URLs. Fixes #4048. (Also: depends on go-gitea/git#121) --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
GiteaMirror added the pull-request label 2025-11-02 12:30:45 -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#17247