The sample code provides script to migrate repositories from GitLab to AWS CodeCommit.
Project description
gitlab-to-codecommit-migration
GitLab to AWS CodeCommit Migration
Script to migrate from GitLab to Amazon CodeCommit easily and setup your AWS environment with CodeCommit, CodePipeline and CodeDeploy as well.
Installation through pip::
pip install gitlab-to-codecommit-migration
Migrating one project::
gitlab-to-codecommit --gitlab-access-token <your-access-token> --gitlab-url https://gitlab.youdomain.com --projects namespace/project-name
Migrate all projects from a GitLab server that the secure access token gives you access to read:
gitlab-to-codecommit --gitlab-access-token <your-access-token> --gitlab-url https://gitlab.youdomain.com --all
Or projects for a specific user or users:
gitlab-to-codecommit --gitlab-access-token <your-access-token> --gitlab-url https://gitlab.youdomain.com --users user1 user2
Or some groups:
gitlab-to-codecommit --gitlab-access-token <your-access-token> --gitlab-url https://gitlab.youdomain.com --groups group1 group2
And you can specify a Chime Webhook to receive notifications in a chat room as well:
gitlab-to-codecommit --gitlab-access-token <your-access-token> --gitlab-url https://gitlab.youdomain.com --projects namespace/project-name --chime-webhook-url <chime-webhook-url>
Free software: MIT-0 license (https://github.com/aws/mit-0)
Documentation: https://gitlab-to-codecommit-migration.readthedocs.io.
Features
Let me know :-)
Credits
This package was created with Cookiecutter and the audreyr/cookiecutter-pypackage project template.
History
0.1.0 (2010-03-29)
First release on PyPI.
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
Built Distribution
File details
Details for the file gitlab_to_codecommit_migration-0.4.0-py2.py3-none-any.whl
.
File metadata
- Download URL: gitlab_to_codecommit_migration-0.4.0-py2.py3-none-any.whl
- Upload date:
- Size: 11.0 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.12.1 pkginfo/1.5.0.1 requests/2.20.1 setuptools/40.9.0 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.6.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3d18358c4721640e1a6e7d751764f4dd3d7d8967c5b1ed0f9cc9f6e621c00c84 |
|
MD5 | 297f0447f06760eba547a96112a78c76 |
|
BLAKE2b-256 | 84c0fecbb14929c8beb291dbaaafe74a4c8648f830ac5496719ec439c7ec9ac5 |