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
KN4CK3R 440039c0cc
Add push to remote mirror repository (#15157)
* Added push mirror model.

* Integrated push mirror into queue.

* Moved methods into own file.

* Added basic implementation.

* Mirror wiki too.

* Removed duplicated method.

* Get url for different remotes.

* Added migration.

* Unified remote url access.

* Add/Remove push mirror remotes.

* Prevent hangs with missing credentials.

* Moved code between files.

* Changed sanitizer interface.

* Added push mirror backend methods.

* Only update the mirror remote.

* Limit refs on push.

* Added UI part.

* Added missing table.

* Delete mirror if repository gets removed.

* Changed signature. Handle object errors.

* Added upload method.

* Added "upload" unit tests.

* Added transfer adapter unit tests.

* Send correct headers.

* Added pushing of LFS objects.

* Added more logging.

* Simpler body handling.

* Process files in batches to reduce HTTP calls.

* Added created timestamp.

* Fixed invalid column name.

* Changed name to prevent xorm auto setting.

* Remove table header im empty.

* Strip exit code from error message.

* Added docs page about mirroring.

* Fixed date.

* Fixed merge errors.

* Moved test to integrations.

* Added push mirror test.

* Added test.
3 years ago
..
adopt.go Fix bug where repositories appear unadopted (#15757) 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 Fix frontpage avatars (#13853) 4 years ago
commits_test.go Fixed assert statements. (#16089) 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 Fix potential copy lfs records failure when fork a repository (#15441) 3 years ago
fork_test.go Move create/fork repository from models to modules/repository (#9489) 5 years ago
generate.go Ensure that HEAD is updated to match default branch in template generation (#13948) 4 years ago
hooks.go Set GIT_DIR correctly if it is not set (#15751) 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 push to remote mirror repository (#15157) 3 years ago
update.go Move PushUpdateAddDeleteTags to repository module from models (#10106) 4 years ago