CLI tool to migrate users between GitHub enterprises and teams
Project description
Migrate Teams CLI Tool
This CLI tool is used to migrate users and teams from one GitHub enterprise account to another, ensuring that users are bucketed correctly under their new usernames. It handles edge cases such as missing users, existing memberships, and allows for dry-runs.
Installation
pip install migrate-teams
Usage
migrate-teams --old-enterprise old-enterprise-name --new-enterprise new-enterprise-name --old-token old-token --new-token new-token
Options
--old-enterprise: Name of the old GitHub enterprise--new-enterprise: Name of the new GitHub enterprise--old-token: Token for the old GitHub enterprise--new-token: Token for the new GitHub enterprise--log-file: File to write logs to (default:migration.log)--results-file: File to store the results in either CSV or JSON format--output: The output format for the results (csvorjson)--dry-run: If set, the tool will only simulate the migration and not actually add users to teams
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file migrate_teams-0.1.0.tar.gz.
File metadata
- Download URL: migrate_teams-0.1.0.tar.gz
- Upload date:
- Size: 3.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
276982931a635bfa426c907874aca199e3d43c771cb11e67e04fab04463400bb
|
|
| MD5 |
1795058d89ba0d0b644112d7bcabc092
|
|
| BLAKE2b-256 |
ea4179cb174714214faf63c4d5718738d1865e94a0321e78bfe86c75ed9d5fe6
|
File details
Details for the file migrate_teams-0.1.0-py3-none-any.whl.
File metadata
- Download URL: migrate_teams-0.1.0-py3-none-any.whl
- Upload date:
- Size: 2.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
3f6b2f83197d747a74336f1f4fc7145706fe0f1cad7007259f7da7d658d4c39e
|
|
| MD5 |
8f0f2d4a9d57bdc0df2b2d3cb2892cc2
|
|
| BLAKE2b-256 |
19ffb61d2af3aa70a5837a289388b0ae0a2efbcdd0cebe0fb5e580ae012d72dd
|