forked from gitea/gitea
1
0
Fork 0
gitea/services/repository
Kyle Evans cad70599a6
Refactor the fork service slightly to take ForkRepoOptions (#16744)
* Refactor the fork service slightly to take ForkRepoOptions

This reduces the number of places we need to change if we want to add other
options during fork time.

Signed-off-by: Kyle Evans <kevans@FreeBSD.org>

* Fix integrations and tests after ForkRepository refactor

Signed-off-by: Kyle Evans <kevans@FreeBSD.org>

* Update OldRepo -> BaseRepo

Signed-off-by: Kyle Evans <kevans@FreeBSD.org>

* gofmt pass

Signed-off-by: Kyle Evans <kevans@FreeBSD.org>
2021-08-28 16:37:14 +08:00
..
branch.go Small refactoring of modules/private (#15947) 2021-06-23 15:38:19 -04:00
generate.go add permission check for ``GenerateRepository`` (#15946) 2021-05-27 12:08:46 -04:00
main_test.go Move transfer repository and rename repository on a service package and start action notification (#8573) 2019-11-15 16:06:11 +08:00
push.go Replace `list.List` with slices (#16311) 2021-08-09 14:08:51 -04:00
repository.go Refactor the fork service slightly to take ForkRepoOptions (#16744) 2021-08-28 16:37:14 +08:00
transfer.go Fix private repo permission problem (#16142) 2021-06-14 14:30:35 -04:00
transfer_test.go Fix private repo permission problem (#16142) 2021-06-14 14:30:35 -04:00