Skip to content

Small refactor to reduce unnecessary database queries and remove duplicated functions#33779

Merged
lunny merged 4 commits into
go-gitea:mainfrom
lunny:lunny/small_refactor
Mar 4, 2025
Merged

Small refactor to reduce unnecessary database queries and remove duplicated functions#33779
lunny merged 4 commits into
go-gitea:mainfrom
lunny:lunny/small_refactor

Conversation

@lunny

@lunny lunny commented Mar 3, 2025

Copy link
Copy Markdown
Member

No description provided.

@lunny lunny added the type/refactoring Existing code has been cleaned up. There should be no new functionality. label Mar 3, 2025
@GiteaBot GiteaBot added the lgtm/need 2 This PR needs two approvals by maintainers to be considered for merging. label Mar 3, 2025
@GiteaBot GiteaBot added lgtm/need 1 This PR needs approval from one additional maintainer to be merged. and removed lgtm/need 2 This PR needs two approvals by maintainers to be considered for merging. labels Mar 3, 2025
@lunny lunny added this to the 1.24.0 milestone Mar 3, 2025
Comment thread models/actions/schedule.go
@GiteaBot GiteaBot added lgtm/done This PR has enough approvals to get merged. There are no important open reservations anymore. and removed lgtm/need 1 This PR needs approval from one additional maintainer to be merged. labels Mar 4, 2025
@lunny lunny added the reviewed/wait-merge This pull request is part of the merge queue. It will be merged soon. label Mar 4, 2025
@lunny lunny enabled auto-merge (squash) March 4, 2025 17:13
@lunny lunny merged commit 6c8fb8d into go-gitea:main Mar 4, 2025
@GiteaBot GiteaBot removed the reviewed/wait-merge This pull request is part of the merge queue. It will be merged soon. label Mar 4, 2025
@lunny lunny deleted the lunny/small_refactor branch March 4, 2025 19:09
zjjhot added a commit to zjjhot/gitea that referenced this pull request Mar 5, 2025
* giteaofficial/main:
  [skip ci] Updated translations via Crowdin
  Upgrade golang net from 0.35.0 -> 0.36.0 (go-gitea#33795)
  Remove context from git struct (go-gitea#33793)
  Small refactor to reduce unnecessary database queries and remove duplicated functions (go-gitea#33779)
  Refactor repo-issue.ts (go-gitea#33784)
  Refactor repo-settings.ts (go-gitea#33785)
  Refactor admin/common.ts (go-gitea#33788)
project-mirrors-bot-tu Bot pushed a commit to project-mirrors/forgejo-as-gitea-fork that referenced this pull request Mar 11, 2025
@go-gitea go-gitea locked as resolved and limited conversation to collaborators Jun 2, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

lgtm/done This PR has enough approvals to get merged. There are no important open reservations anymore. type/refactoring Existing code has been cleaned up. There should be no new functionality.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants