[PR #2749] [CLOSED] [WIP] feature: list files in tree #16568

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

📋 Pull Request Information

Original PR: https://github.com/go-gitea/gitea/pull/2749
Author: @necaris
Created: 10/20/2017
Status: Closed

Base: masterHead: feature/list-tree-files


📝 Commits (10+)

  • 83fa7a5 WIP
  • c01391f Initial stab at repo listing
  • 3ac0edb Add repo listing path
  • 21cefc8 Baby integration tests
  • ea55e32 More consistent routing
  • 8532318 First cut at organized functions and types
  • 33c8939 Add stub tests, support recursion
  • 262d452 More groping around trying to find where to put tests
  • 351a341 Move data structures into models
  • 4ebbfd8 Remove redundant TODO comment

📊 Changes

5 files changed (+239 additions, -0 deletions)

View changed files

integrations/api_tree_test.go (+93 -0)
models/repo_tree.go (+79 -0)
📝 routers/api/v1/api.go (+4 -0)
📝 routers/api/v1/repo/repo.go (+53 -0)
routers/repo/repo_test.go (+10 -0)

📄 Description

Includes code stolen from @dsludwig (see 68edeb4c06)

Closes https://github.com/go-gitea/gitea/issues/1978

Note this is still very incomplete and needs design discussion, which (as I understand it) should be happening on the issue?


🔄 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/2749 **Author:** [@necaris](https://github.com/necaris) **Created:** 10/20/2017 **Status:** ❌ Closed **Base:** `master` ← **Head:** `feature/list-tree-files` --- ### 📝 Commits (10+) - [`83fa7a5`](https://github.com/go-gitea/gitea/commit/83fa7a55ddee7c994275ffddd44ed23b36292f6a) WIP - [`c01391f`](https://github.com/go-gitea/gitea/commit/c01391fe72a48baffba230c87228a3d59c4e3b6d) Initial stab at repo listing - [`3ac0edb`](https://github.com/go-gitea/gitea/commit/3ac0edb75232af0979c101a484bd7dd3d5c55d8d) Add repo listing path - [`21cefc8`](https://github.com/go-gitea/gitea/commit/21cefc88e409bfdfbc650f26af5559193cdacfb9) Baby integration tests - [`ea55e32`](https://github.com/go-gitea/gitea/commit/ea55e323b74d06033fcd7aa9eea48123acba8a77) More consistent routing - [`8532318`](https://github.com/go-gitea/gitea/commit/8532318ad05092108e9acbb22da232bcbac5a297) First cut at organized functions and types - [`33c8939`](https://github.com/go-gitea/gitea/commit/33c8939228f858b6780522116216c2aa65c6ba34) Add stub tests, support recursion - [`262d452`](https://github.com/go-gitea/gitea/commit/262d452b83708c9d8377cffd731798f4ee57dc3e) More groping around trying to find where to put tests - [`351a341`](https://github.com/go-gitea/gitea/commit/351a3419132719de80b017460d74d0a195dc7e0b) Move data structures into `models` - [`4ebbfd8`](https://github.com/go-gitea/gitea/commit/4ebbfd8a8a6eb4169d411137feb756749377444c) Remove redundant TODO comment ### 📊 Changes **5 files changed** (+239 additions, -0 deletions) <details> <summary>View changed files</summary> ➕ `integrations/api_tree_test.go` (+93 -0) ➕ `models/repo_tree.go` (+79 -0) 📝 `routers/api/v1/api.go` (+4 -0) 📝 `routers/api/v1/repo/repo.go` (+53 -0) ➕ `routers/repo/repo_test.go` (+10 -0) </details> ### 📄 Description Includes code stolen from @dsludwig (see https://github.com/dsludwig/gitea/commit/68edeb4c06401023e96174b4c4ae4e6c5b2a232e) Closes https://github.com/go-gitea/gitea/issues/1978 Note this is still very incomplete and needs design discussion, which (as I understand it) should be happening on the issue? --- <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:13:37 -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#16568