-
-
Notifications
You must be signed in to change notification settings - Fork 5.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
use xorm builder for models.getReviewers() #19033
Conversation
... this way we could re-use the condition if needed at some point ... and first and it should dedup code and be better redable |
Codecov Report
@@ Coverage Diff @@
## main #19033 +/- ##
=======================================
Coverage ? 46.60%
=======================================
Files ? 854
Lines ? 122911
Branches ? 0
=======================================
Hits ? 57286
Misses ? 58706
Partials ? 6919
Continue to review full report at Codecov.
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Readability-wise this is a huge step backwards (at least the public repo query), so I can't really approve this. Functionality-wise this looks good.
Co-authored-by: zeripath <art27@cantab.net>
* giteaofficial/main: Prevent 500 when there is an error during new auth source post (go-gitea#19041) Update the webauthn_credential_id_sequence in Postgres (go-gitea#19048) If rendering has failed due to a net.OpError stop rendering (attempt 2) (go-gitea#19049) use xorm builder for models.getReviewers() (go-gitea#19033) RSS/Atom support for Orgs (go-gitea#17714) Fix flag validation (go-gitea#19046) Improve SyncMirrors logging (go-gitea#19045)
* xorm builder * dedup code
as title
-> #19030 (comment)