[PR #5334] [MERGED] Add raw blob endpoint to get objects by SHA ID #17756

Closed
opened 2025-11-02 15:31:37 -06:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/go-gitea/gitea/pull/5334
Author: @HoffmannP
Created: 11/14/2018
Status: Merged
Merged: 11/18/2018
Merged by: @techknowlogick

Base: masterHead: blob_api


📝 Commits (7)

  • da76d52 Add raw blob endpoint
  • 4a68eb9 fix: Make it work
  • 5c92f12 Update Gopkg.lock
  • 7503922 style: Add Gitea copyright header
  • 01a88c0 feat: Added integration test for /repo/u/r/raw/blob
  • 78953fc fix: correct year in copyright header
  • e2bc14e Merge branch 'master' into blob_api

📊 Changes

6 files changed (+85 additions, -2 deletions)

View changed files

📝 Gopkg.lock (+2 -2)
integrations/download_test.go (+24 -0)
📝 modules/context/repo.go (+11 -0)
📝 routers/repo/download.go (+17 -0)
📝 routers/routes/routes.go (+1 -0)
vendor/code.gitea.io/git/repo_blob.go (+30 -0)

📄 Description

feat: Add raw blob endpoint

Updating #4110, this PR enables fetching of raw SHA-ID'd objects via /:repo/:username/raw/blob/:sha1

It builds upon #132 (originally #121)

Signed-off-by: Berengar W. Lehr Berengar.Lehr@kompetenztest.de


🔄 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/5334 **Author:** [@HoffmannP](https://github.com/HoffmannP) **Created:** 11/14/2018 **Status:** ✅ Merged **Merged:** 11/18/2018 **Merged by:** [@techknowlogick](https://github.com/techknowlogick) **Base:** `master` ← **Head:** `blob_api` --- ### 📝 Commits (7) - [`da76d52`](https://github.com/go-gitea/gitea/commit/da76d5236cbbd890c8cbb8402fb70fd99bc9fd87) Add raw blob endpoint - [`4a68eb9`](https://github.com/go-gitea/gitea/commit/4a68eb91e6f7734895919a46010d7de13eaacb55) fix: Make it work - [`5c92f12`](https://github.com/go-gitea/gitea/commit/5c92f1227cbd5c42c392bb0c65ae74a87980668c) Update Gopkg.lock - [`7503922`](https://github.com/go-gitea/gitea/commit/7503922c7531baf7eb8d22bcefdbfbabefebccd2) style: Add Gitea copyright header - [`01a88c0`](https://github.com/go-gitea/gitea/commit/01a88c0571011c136e9e793317235d5ed1c53f14) feat: Added integration test for /repo/u/r/raw/blob - [`78953fc`](https://github.com/go-gitea/gitea/commit/78953fc84514c248fc6e9455c33b013b420e870c) fix: correct year in copyright header - [`e2bc14e`](https://github.com/go-gitea/gitea/commit/e2bc14ec6245bbc9d60843dbd5e5008206778e84) Merge branch 'master' into blob_api ### 📊 Changes **6 files changed** (+85 additions, -2 deletions) <details> <summary>View changed files</summary> 📝 `Gopkg.lock` (+2 -2) ➕ `integrations/download_test.go` (+24 -0) 📝 `modules/context/repo.go` (+11 -0) 📝 `routers/repo/download.go` (+17 -0) 📝 `routers/routes/routes.go` (+1 -0) ➕ `vendor/code.gitea.io/git/repo_blob.go` (+30 -0) </details> ### 📄 Description feat: Add raw blob endpoint Updating #4110, this PR enables fetching of raw SHA-ID'd objects via `/:repo/:username/raw/blob/:sha1` It builds upon #132 (originally #121) Signed-off-by: Berengar W. Lehr <Berengar.Lehr@kompetenztest.de> --- <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 15:31:47 -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#17756