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/migrations
6543 b2435af9be
Add Allow-/Block-List for Migrate & Mirrors (#13610)
* add black list and white list support for migrating repositories

* fix fmt

* fix lint

* fix vendor

* fix modules.txt

* clean diff

* specify log message

* use blocklist/allowlist

* allways use lowercase to match url

* Apply allow/block

* Settings: use existing "migrations" section

* convert domains lower case

* dont store unused value

* Block private addresses for migration by default

* fix lint

* use proposed-upstream func to detect private IP addr

* a nit

* add own error for blocked migration, add tests, imprufe api

* fix test

* fix-if-localhost-is-ipv4

* rename error & error message

* rename setting options

* Apply suggestions from code review

Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
Co-authored-by: zeripath <art27@cantab.net>
Co-authored-by: techknowlogick <techknowlogick@gitea.io>
4 years ago
..
base Gitea 2 Gitea migration (#12657) 4 years ago
error.go [Vendor] upgrade google/go-github to v32.1.0 (#12361) 4 years ago
git.go Gitea 2 Gitea migration (#12657) 4 years ago
gitea_downloader.go Migrations should not fail for comment reactions (#13352) 4 years ago
gitea_downloader_test.go Gitea 2 Gitea migration (#12657) 4 years ago
gitea_uploader.go Add migrated pulls to pull request task queue (#13331) 4 years ago
gitea_uploader_test.go Gitea 2 Gitea migration (#12657) 4 years ago
github.go Fix bug isEnd detection on getIssues/getPullRequests (#13299) 4 years ago
github_test.go Gitea 2 Gitea migration (#12657) 4 years ago
gitlab.go finaly fix gitlab migration with subdir 2.0 (#13646) 4 years ago
gitlab_test.go Gitea 2 Gitea migration (#12657) 4 years ago
main_test.go Improve migrations to support migrating milestones/labels/issues/comments/pullrequests (#6290) 5 years ago
migrate.go Add Allow-/Block-List for Migrate & Mirrors (#13610) 4 years ago
migrate_test.go Add Allow-/Block-List for Migrate & Mirrors (#13610) 4 years ago
update.go Refactor Cron and merge dashboard tasks (#10745) 4 years ago