gitea/services/migrations
Giteabot ac03e65cf4
Fix GitHub release assets URL validation (#35287) (#35290)
Backport #35287 by @alexblackie

GitHub changed where the attachments on releases are stored, which means
repo migrations with releases now fail because the redirect URLs don't
match the base URL validation. We need to update the base URL check to
check for the `release-assets` subdomain as well.

Co-authored-by: Alex Blackie <alex@blackie.ca>
2025-08-15 19:43:59 +07:00
..
codebase.go Enable addtional linters (#34085) 2025-04-01 10:14:01 +07:00
codebase_test.go Use test context in tests and new loop system in benchmarks (#33648) 2025-02-20 09:57:40 +07:00
codecommit.go Fix missed merge commit sha and time when migrating from codecommit (#34645) (#34650) 2025-06-08 21:21:27 +07:00
common.go Adjust object format interface (#28469) 2023-12-17 11:56:08 +07:00
dump.go Remove context from git struct (#33793) 2025-03-04 11:56:11 +07:00
error.go Upgrade go-github v61 -> v71 (#34385) (#34387) 2025-05-07 10:05:41 +07:00
git.go refactor: decouple context from migration structs (#33399) 2025-02-07 05:37:32 +07:00
gitbucket.go Change the default maxPerPage for gitbucket (#30392) 2024-04-11 22:51:40 +07:00
gitea_downloader.go Enable addtional linters (#34085) 2025-04-01 10:14:01 +07:00
gitea_downloader_test.go Enable testifylint rules (#34075) 2025-03-31 01:53:48 +07:00
gitea_uploader.go Fix migration pull request title too long (#34577) (#34604) 2025-06-04 13:36:09 +07:00
gitea_uploader_test.go Enable addtional linters (#34085) 2025-04-01 10:14:01 +07:00
github.go Fix GitHub release assets URL validation (#35287) (#35290) 2025-08-15 19:43:59 +07:00
github_test.go fix github migration error when using multiple tokens (#34144) 2025-04-13 23:20:14 +07:00
gitlab.go Enable addtional linters (#34085) 2025-04-01 10:14:01 +07:00
gitlab_test.go Enable testifylint rules (#34075) 2025-03-31 01:53:48 +07:00
gogs.go refactor: decouple context from migration structs (#33399) 2025-02-07 05:37:32 +07:00
gogs_test.go Use test context in tests and new loop system in benchmarks (#33648) 2025-02-20 09:57:40 +07:00
http_client.go Support allowed hosts for migrations to work with proxy (#32025) 2024-09-11 05:47:00 +07:00
main_test.go make writing main test easier (#27270) 2023-09-28 01:38:53 +07:00
migrate.go Enable addtional linters (#34085) 2025-04-01 10:14:01 +07:00
migrate_test.go Implement FSFE REUSE for golang files (#21840) 2022-11-27 18:20:29 +07:00
onedev.go Enable addtional linters (#34085) 2025-04-01 10:14:01 +07:00
onedev_test.go Use test context in tests and new loop system in benchmarks (#33648) 2025-02-20 09:57:40 +07:00
restore.go refactor: decouple context from migration structs (#33399) 2025-02-07 05:37:32 +07:00
update.go Use db.Find instead of writing methods for every object (#28084) 2023-11-24 03:49:41 +07:00