[PR #2459] [MERGED] Sync releases table with tags on push and for mirrors #16408

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

📋 Pull Request Information

Original PR: https://github.com/go-gitea/gitea/pull/2459
Author: @lafriks
Created: 9/4/2017
Status: Merged
Merged: 9/20/2017
Merged by: @lunny

Base: masterHead: sync_releases_tags


📝 Commits (7)

  • 1924c25 Sync releases table with tags on push and for mirrors
  • 7a4e467 Code style fixes
  • 8b78ce7 Fix api to return only releases
  • b2a9ea0 Optimize release creation and update
  • 93f8157 Fix release lower tag name updating
  • 15171ac handle tag reference update by addionally comparing commit id
  • 3927a9a Merge branch 'master' into sync_releases_tags

📊 Changes

10 files changed (+366 additions, -118 deletions)

View changed files

📝 models/migrations/migrations.go (+2 -0)
models/migrations/v42.go (+57 -0)
📝 models/release.go (+75 -14)
📝 models/repo.go (+4 -0)
📝 models/repo_mirror.go (+10 -0)
📝 models/update.go (+100 -5)
📝 modules/context/repo.go (+1 -0)
📝 routers/api/v1/repo/release.go (+48 -41)
📝 routers/repo/release.go (+53 -45)
📝 templates/repo/release/list.tmpl (+16 -13)

📄 Description

Fixes #2154

Not fully tested but ready for review


🔄 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/2459 **Author:** [@lafriks](https://github.com/lafriks) **Created:** 9/4/2017 **Status:** ✅ Merged **Merged:** 9/20/2017 **Merged by:** [@lunny](https://github.com/lunny) **Base:** `master` ← **Head:** `sync_releases_tags` --- ### 📝 Commits (7) - [`1924c25`](https://github.com/go-gitea/gitea/commit/1924c25146ecab24140530cc76ccae77c076476c) Sync releases table with tags on push and for mirrors - [`7a4e467`](https://github.com/go-gitea/gitea/commit/7a4e467bb9ac32e8cbc89a98d43eb23b7de679b9) Code style fixes - [`8b78ce7`](https://github.com/go-gitea/gitea/commit/8b78ce7259e423e0d65b5c37f07967fba7ca94c7) Fix api to return only releases - [`b2a9ea0`](https://github.com/go-gitea/gitea/commit/b2a9ea0a91ec37a1433506bad31d4ff1adc57aa9) Optimize release creation and update - [`93f8157`](https://github.com/go-gitea/gitea/commit/93f81579d0e938ffa52f038817f0e9b28a658b5e) Fix release lower tag name updating - [`15171ac`](https://github.com/go-gitea/gitea/commit/15171ac1b973d29e5a2eeaeb91c4ebe1f084ed24) handle tag reference update by addionally comparing commit id - [`3927a9a`](https://github.com/go-gitea/gitea/commit/3927a9a98ce946289a4af4e0e29e409474cf8598) Merge branch 'master' into sync_releases_tags ### 📊 Changes **10 files changed** (+366 additions, -118 deletions) <details> <summary>View changed files</summary> 📝 `models/migrations/migrations.go` (+2 -0) ➕ `models/migrations/v42.go` (+57 -0) 📝 `models/release.go` (+75 -14) 📝 `models/repo.go` (+4 -0) 📝 `models/repo_mirror.go` (+10 -0) 📝 `models/update.go` (+100 -5) 📝 `modules/context/repo.go` (+1 -0) 📝 `routers/api/v1/repo/release.go` (+48 -41) 📝 `routers/repo/release.go` (+53 -45) 📝 `templates/repo/release/list.tmpl` (+16 -13) </details> ### 📄 Description Fixes #2154 ~~Not fully tested but ready for review~~ --- <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:09:55 -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#16408