[PR #5403] [MERGED] Git-Trees API #17785

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

📋 Pull Request Information

Original PR: https://github.com/go-gitea/gitea/pull/5403
Author: @Kasi-R
Created: 11/26/2018
Status: Merged
Merged: 11/28/2018
Merged by: @techknowlogick

Base: masterHead: master


📝 Commits (10+)

  • 2806363 Git-Trees API
  • 5c077f3 Merge branch 'master' into master
  • 83d241c Merge branch 'master' into master
  • f5a8364 update vendor'd libs
  • 1985243 added comments to exported function and formatted.
  • a7ed1d0 Merge branch 'master' into master
  • 69aa2c8 Merge branch 'master' into master
  • b3810aa make fmt
  • ba600c9 update per @lafirks feedback
  • 29560ff Merge branch 'master' into master

📊 Changes

4 files changed (+134 additions, -2 deletions)

View changed files

📝 Gopkg.lock (+2 -2)
📝 routers/api/v1/api.go (+1 -0)
routers/api/v1/repo/tree.go (+92 -0)
vendor/code.gitea.io/sdk/gitea/repo_tree.go (+39 -0)

📄 Description

I somehow managed to butcher the PR at #4185

This is an updated PR with a couple changes.

  1. correct git route. (/trees -> /git/trees)
  2. additional commenting.
  3. Changed the types used as per https://github.com/go-gitea/go-sdk/pull/94 (GitTreeEntry -> GitEntry) - superficial naming changes only.

Edit: Requires the PR at https://github.com/go-gitea/git/pull/123


🔄 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/5403 **Author:** [@Kasi-R](https://github.com/Kasi-R) **Created:** 11/26/2018 **Status:** ✅ Merged **Merged:** 11/28/2018 **Merged by:** [@techknowlogick](https://github.com/techknowlogick) **Base:** `master` ← **Head:** `master` --- ### 📝 Commits (10+) - [`2806363`](https://github.com/go-gitea/gitea/commit/28063631a9f0b5dc25f57686f2404b17ed0265ab) Git-Trees API - [`5c077f3`](https://github.com/go-gitea/gitea/commit/5c077f3b7e592a523c301322e53abbd1601a8bf0) Merge branch 'master' into master - [`83d241c`](https://github.com/go-gitea/gitea/commit/83d241cbea3a7930787a522cff99c70e1331c91f) Merge branch 'master' into master - [`f5a8364`](https://github.com/go-gitea/gitea/commit/f5a8364b420651717437515eb2aed1e67d472a48) update vendor'd libs - [`1985243`](https://github.com/go-gitea/gitea/commit/1985243aec690df8a77a5d992ae0d670da839f19) added comments to exported function and formatted. - [`a7ed1d0`](https://github.com/go-gitea/gitea/commit/a7ed1d08844b16fb1b0176a96afe24fb5ea23826) Merge branch 'master' into master - [`69aa2c8`](https://github.com/go-gitea/gitea/commit/69aa2c82742d0fe7d91122a1d03fe8c9a4be2457) Merge branch 'master' into master - [`b3810aa`](https://github.com/go-gitea/gitea/commit/b3810aabc56940735796b13439c75c38d9c56898) make fmt - [`ba600c9`](https://github.com/go-gitea/gitea/commit/ba600c9ec4b8422d8cdf84f390d6f3cfe0eaaedc) update per @lafirks feedback - [`29560ff`](https://github.com/go-gitea/gitea/commit/29560ff11326732e35747a666e915825b270afa9) Merge branch 'master' into master ### 📊 Changes **4 files changed** (+134 additions, -2 deletions) <details> <summary>View changed files</summary> 📝 `Gopkg.lock` (+2 -2) 📝 `routers/api/v1/api.go` (+1 -0) ➕ `routers/api/v1/repo/tree.go` (+92 -0) ➕ `vendor/code.gitea.io/sdk/gitea/repo_tree.go` (+39 -0) </details> ### 📄 Description I somehow managed to butcher the PR at #4185 This is an updated PR with a couple changes. 1. correct git route. (/trees -> /git/trees) 2. additional commenting. 3. Changed the types used as per https://github.com/go-gitea/go-sdk/pull/94 (GitTreeEntry -> GitEntry) - superficial naming changes only. Edit: Requires the PR at https://github.com/go-gitea/git/pull/123 --- <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:46:27 -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#17785