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/modules/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>
3 years ago
..
adopt.go Fix various documentation, user-facing, and source comment typos (#16367) 3 years ago
archive.go Fix archive error when rename repo or user (#16399) 3 years ago
branch.go [API] Add pagination to ListBranches (#14524) 3 years ago
cache.go Make commit info cancelable (#16032) 3 years ago
check.go Update repository size on cron gc task (#15177) 3 years ago
commits.go Report the correct number of pushes on the feeds (#16811) 3 years ago
commits_test.go Replace `list.List` with slices (#16311) 3 years ago
create.go Check if label template exist first (#14384) 3 years ago
create_test.go Fixed assert statements. (#16089) 3 years ago
fork.go Refactor the fork service slightly to take ForkRepoOptions (#16744) 3 years ago
fork_test.go Refactor the fork service slightly to take ForkRepoOptions (#16744) 3 years ago
generate.go Ensure that HEAD is updated to match default branch in template generation (#13948) 4 years ago
hooks.go Add agit flow support in gitea (#14295) 3 years ago
init.go [API] Add pagination to ListBranches (#14524) 3 years ago
main_test.go Move push commits from models to modules/repository (#9370) 5 years ago
push.go Fix a bug on refactoring (#13373) 4 years ago
repo.go Add proxy settings and support for migration and webhook (#16704) 3 years ago
update.go Move PushUpdateAddDeleteTags to repository module from models (#10106) 4 years ago