[PR #701] [MERGED] Spun attachments into seperate go file #15532

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

📋 Pull Request Information

Original PR: https://github.com/go-gitea/gitea/pull/701
Author: @couling
Created: 1/19/2017
Status: Merged
Merged: 1/20/2017
Merged by: @bkcsoft

Base: masterHead: attachment-file


📝 Commits (5)

📊 Changes

4 files changed (+249 additions, -217 deletions)

View changed files

models/attachment.go (+176 -0)
📝 models/issue.go (+0 -160)
routers/repo/attachment.go (+73 -0)
📝 routers/repo/issue.go (+0 -57)

📄 Description

Attachments are set to be applied to more things within gitea. They have already been applied to releases.

In this PR I've spun them into separate files instead of being burred in issue.go. This will make it easier for future maintainers to work with.


🔄 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/701 **Author:** [@couling](https://github.com/couling) **Created:** 1/19/2017 **Status:** ✅ Merged **Merged:** 1/20/2017 **Merged by:** [@bkcsoft](https://github.com/bkcsoft) **Base:** `master` ← **Head:** `attachment-file` --- ### 📝 Commits (5) - [`a03785c`](https://github.com/go-gitea/gitea/commit/a03785cee5826702b7bf11621edcce2941119157) Spun attachments into seperate go file - [`bcf2cb6`](https://github.com/go-gitea/gitea/commit/bcf2cb658c0d593e1abf0d8991a8990cdd4f5903) change copyright year - [`86e309c`](https://github.com/go-gitea/gitea/commit/86e309cb49d0ce0e589c0b0fe89dc1fc89ea76c5) update copyright year - [`4f3f586`](https://github.com/go-gitea/gitea/commit/4f3f5865f97df8ec942c8f80375b549544548a91) missed that - [`d357f5d`](https://github.com/go-gitea/gitea/commit/d357f5d2078566d824522d9afda9396de1482707) and that ### 📊 Changes **4 files changed** (+249 additions, -217 deletions) <details> <summary>View changed files</summary> ➕ `models/attachment.go` (+176 -0) 📝 `models/issue.go` (+0 -160) ➕ `routers/repo/attachment.go` (+73 -0) 📝 `routers/repo/issue.go` (+0 -57) </details> ### 📄 Description Attachments are set to be applied to more things within gitea. They have already been applied to releases. In this PR I've spun them into separate files instead of being burred in `issue.go`. This will make it easier for future maintainers to work with. --- <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:48: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#15532