]> source.dussan.org Git - gitea.git/commit
Support migration from AWS CodeCommit (#31981)
authorZettat123 <zettat123@gmail.com>
Tue, 10 Sep 2024 23:49:42 +0000 (07:49 +0800)
committerGitHub <noreply@github.com>
Tue, 10 Sep 2024 23:49:42 +0000 (07:49 +0800)
commitdef1c9670b5f8d5cc967bea61255fb3935dd5f50
treef0d29f039c74979768da2ffdda0afd676023ce39
parentd9a7748cdc3f13392acbde87edd18602b566c216
Support migration from AWS CodeCommit (#31981)

This PR adds support for migrating repos from [AWS
CodeCommit](https://docs.aws.amazon.com/codecommit/latest/userguide/welcome.html).

The access key ID and secret access key are required to get repository
information and pull requests. And [HTTPS Git
credentials](https://docs.aws.amazon.com/codecommit/latest/userguide/setting-up-gc.html)
are required to clone the repository.

<img
src="https://github.com/user-attachments/assets/82ecb2d0-8d43-42b0-b5af-f5347a13b9d0"
width="680" />

The AWS CodeCommit icon is from [AWS Architecture
Icons](https://aws.amazon.com/architecture/icons/).

<img
src="https://github.com/user-attachments/assets/3c44d21f-d753-40f5-9eae-5d3589e0d50d"
width="320" />
15 files changed:
assets/go-licenses.json
go.mod
go.sum
modules/migration/options.go
modules/structs/repo.go
options/locale/locale_en-US.ini
public/assets/img/svg/gitea-codecommit.svg [new file with mode: 0644]
routers/api/v1/repo/migrate.go
routers/web/repo/migrate.go
services/convert/utils.go
services/forms/repo_form.go
services/migrations/codecommit.go [new file with mode: 0644]
templates/repo/migrate/codecommit.tmpl [new file with mode: 0644]
templates/swagger/v1_json.tmpl
web_src/svg/gitea-codecommit.svg [new file with mode: 0644]