[PR #1668] [MERGED] Exposes in API the Repo entity's Size and IsBare property #15982

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

📋 Pull Request Information

Original PR: https://github.com/go-gitea/gitea/pull/1668
Author: @guyzmo
Created: 5/4/2017
Status: Merged
Merged: 5/5/2017
Merged by: @lunny

Base: masterHead: feature/api_exposes_extra_properties


📝 Commits (2)

  • d4f9cf8 Exposes in API the Repo entity's IsBare property as IsEmpty
  • 69f0ad4 Exposes in API the Repo entity's Size property

📊 Changes

4 files changed (+49 additions, -3 deletions)

View changed files

📝 models/repo.go (+2 -0)
📝 vendor/code.gitea.io/sdk/gitea/hook.go (+36 -0)
📝 vendor/code.gitea.io/sdk/gitea/repo.go (+8 -0)
📝 vendor/vendor.json (+3 -3)

📄 Description

exposes IsBare as Empty
exposes Size


🔄 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/1668 **Author:** [@guyzmo](https://github.com/guyzmo) **Created:** 5/4/2017 **Status:** ✅ Merged **Merged:** 5/5/2017 **Merged by:** [@lunny](https://github.com/lunny) **Base:** `master` ← **Head:** `feature/api_exposes_extra_properties` --- ### 📝 Commits (2) - [`d4f9cf8`](https://github.com/go-gitea/gitea/commit/d4f9cf87aaeaa201c78931d3d43c2df42bab0f65) Exposes in API the Repo entity's IsBare property as IsEmpty - [`69f0ad4`](https://github.com/go-gitea/gitea/commit/69f0ad4b466d1acf9666fa3067b7b11ab024b0e1) Exposes in API the Repo entity's Size property ### 📊 Changes **4 files changed** (+49 additions, -3 deletions) <details> <summary>View changed files</summary> 📝 `models/repo.go` (+2 -0) 📝 `vendor/code.gitea.io/sdk/gitea/hook.go` (+36 -0) 📝 `vendor/code.gitea.io/sdk/gitea/repo.go` (+8 -0) 📝 `vendor/vendor.json` (+3 -3) </details> ### 📄 Description exposes IsBare as Empty exposes Size --- <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 11:59:31 -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#15982