You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
forgejo/routers
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>
3 years ago
..
api/v1 Refactor the fork service slightly to take ForkRepoOptions (#16744) 3 years ago
common Rename context.Query to context.Form (#16562) 3 years ago
install Allow setting X-FRAME-OPTIONS (#16643) 3 years ago
private Add bundle download for repository (#14538) 3 years ago
utils just add some unit tests (#16291) 3 years ago
web Refactor the fork service slightly to take ForkRepoOptions (#16744) 3 years ago
init.go Refactor: Move login out of models (#16199) 3 years ago