forgejo/models
zeripath 3c5655ce18
Improve trace logging for pulls and processes ()
Our trace logging is far from perfect and is difficult to follow.

This PR:

* Add trace logging for process manager add and remove.
* Fixes an errant read file for git refs in getMergeCommit
* Brings in the pullrequest `String` and `ColorFormat` methods
introduced in 
* Adds a lot more logging in to testPR etc.

Ref 

---------

Signed-off-by: Andrew Thornton <art27@cantab.net>
Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
Co-authored-by: delvh <dev.lh@web.de>
Co-authored-by: 6543 <6543@obermui.de>
Co-authored-by: techknowlogick <techknowlogick@gitea.io>
2023-02-03 18:11:48 -05:00
..
actions Fix ref to trigger Actions () 2023-01-31 22:45:25 +00:00
activities Don't return duplicated users who can create org repo () 2023-01-30 18:12:45 +08:00
admin Implement FSFE REUSE for golang files () 2022-11-27 18:20:29 +00:00
asymkey Improve error report when user passes a private key () 2023-02-02 18:25:54 +00:00
auth Support scoped access tokens () 2023-01-17 15:46:03 -06:00
avatars Fix get system setting bug when enabled redis cache () 2023-01-02 00:06:52 +08:00
db update to build with go1.20 () 2023-02-03 11:23:52 -05:00
dbfs Add some comments for recent code () 2023-02-02 11:39:38 -06:00
fixtures Do not overwrite empty DefaultBranch () 2023-02-02 14:48:48 -06:00
git Add cron method to gc LFS MetaObjects () 2023-01-16 13:50:53 -06:00
issues Improve trace logging for pulls and processes () 2023-02-03 18:11:48 -05:00
migrations Implement actions () 2023-01-31 09:45:19 +08:00
organization Don't return duplicated users who can create org repo () 2023-01-30 18:12:45 +08:00
packages Add Conda package registry () 2023-02-01 12:30:39 -06:00
perm Rename almost all Ctx functions () 2022-12-10 10:46:31 +08:00
project Project links should use parent link methods () 2023-01-23 15:51:18 -06:00
pull refactor some functions to support ctx as first parameter () 2022-12-03 10:48:26 +08:00
repo Do not overwrite empty DefaultBranch () 2023-02-02 14:48:48 -06:00
secret Secrets storage with SecretKey encrypted () 2022-12-20 17:07:13 +08:00
system Set disable_gravatar/enable_federated_avatar when offline mode is true () 2023-01-17 17:00:19 +02:00
unit Implement actions () 2023-01-31 09:45:19 +08:00
unittest Implement actions () 2023-01-31 09:45:19 +08:00
user Implement actions () 2023-01-31 09:45:19 +08:00
webhook Support system hook API () 2023-01-28 19:12:10 +01:00
error.go Implement FSFE REUSE for golang files () 2022-11-27 18:20:29 +00:00
fixture_generation.go Implement FSFE REUSE for golang files () 2022-11-27 18:20:29 +00:00
fixture_test.go Implement FSFE REUSE for golang files () 2022-11-27 18:20:29 +00:00
main_test.go Implement FSFE REUSE for golang files () 2022-11-27 18:20:29 +00:00
migrate.go Check primary keys for all tables and drop ForeignReference () 2022-12-23 19:35:43 +08:00
migrate_test.go Check primary keys for all tables and drop ForeignReference () 2022-12-23 19:35:43 +08:00
org.go refactor some functions to support ctx as first parameter () 2022-12-03 10:48:26 +08:00
org_team.go Supports wildcard protected branch () 2023-01-16 16:00:22 +08:00
org_team_test.go Implement FSFE REUSE for golang files () 2022-11-27 18:20:29 +00:00
org_test.go Implement FSFE REUSE for golang files () 2022-11-27 18:20:29 +00:00
repo.go Implement actions () 2023-01-31 09:45:19 +08:00
repo_collaboration.go refactor some functions to support ctx as first parameter () 2022-12-03 10:48:26 +08:00
repo_collaboration_test.go Implement FSFE REUSE for golang files () 2022-11-27 18:20:29 +00:00
repo_test.go Implement FSFE REUSE for golang files () 2022-11-27 18:20:29 +00:00
repo_transfer.go Always reuse transaction () 2023-01-08 09:34:58 +08:00
repo_transfer_test.go Rename almost all Ctx functions () 2022-12-10 10:46:31 +08:00
user.go Supports wildcard protected branch () 2023-01-16 16:00:22 +08:00