Commit Graph

3 Commits (8b8b48ef5fb1c5c164d5534ea4b8049f1db26ce9)

Author SHA1 Message Date
wxiaoguang 83f83019ef
Clean up log messages ()
`log.Xxx("%v")` is not ideal, this PR adds necessary context messages.
Remove some unnecessary logs.

Co-authored-by: Giteabot <teabot@gitea.io>
Nanguan Lin cda97a7253
Update status and code index after changing the default branch ()
Fix  
Add `ChangeDefaultBranch` to the `notifier` interface and implement it
in `indexerNotifier`. So when changing the default branch,
`indexerNotifier` sends a message to the `indexer queue` to update the
index.

---------

Co-authored-by: techknowlogick <matti@mdranta.net>
Lunny Xiao 540bf9fa6d
Move notification interface to services layer ()
Extract from