]> source.dussan.org Git - gitea.git/commit
Move some repositories' operations to a standalone service package (#8557)
authorLunny Xiao <xiaolunwen@gmail.com>
Sat, 26 Oct 2019 06:54:11 +0000 (14:54 +0800)
committerGitHub <noreply@github.com>
Sat, 26 Oct 2019 06:54:11 +0000 (14:54 +0800)
commit9e85358777ea4bd345f832d08b19915a72cc128b
tree56116e7a6acbfd91a29cade7f753802f9ea561ea
parentd2d5910894cfe513f8aa331b30c991db6fbe8e6d
Move some repositories' operations to a standalone service package (#8557)

* Move some repositories' operations to a standalone service package

* improve code

* remove unused codes

* add rollback when fork failed

* add repo when return
models/repo.go
modules/notification/indexer/indexer.go
modules/notification/webhook/webhook.go
routers/admin/repos.go
routers/api/v1/repo/fork.go
routers/api/v1/repo/repo.go
routers/repo/pull.go
routers/repo/repo.go
routers/repo/setting.go
services/repository/repository.go [new file with mode: 0644]