Add commands for reviews (#315)
add interactive `tea pr review` it's amazingly simple vendor gitea.com/noerw/unidiff-comments add `tea pr lgtm|reject` shorthands vendor slimmed down diff parser review diff: default to true if users want a shortcut, they can use lgtm or reject subcmds `tea pr approve`: accept optional comment Co-authored-by: Norwin Roosen <git@nroo.de> Reviewed-on: https://gitea.com/gitea/tea/pulls/315 Reviewed-by: Lunny Xiao <xiaolunwen@gmail.com> Reviewed-by: 6543 <6543@obermui.de> Co-Authored-By: Norwin <noerw@noreply.gitea.io> Co-Committed-By: Norwin <noerw@noreply.gitea.io>
This commit is contained in:
5
vendor/gitea.com/noerw/unidiff-comments/go.mod
generated
vendored
Normal file
5
vendor/gitea.com/noerw/unidiff-comments/go.mod
generated
vendored
Normal file
@@ -0,0 +1,5 @@
|
||||
module gitea.com/noerw/unidiff-comments
|
||||
|
||||
go 1.15
|
||||
|
||||
require github.com/seletskiy/tplutil v0.0.0-20200921103632-f880f6245597
|
||||
Reference in New Issue
Block a user