Skip to main content

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 (csv or json)
  • --dry-run: If set, the tool will only simulate the migration and not actually add users to teams

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

migrate_teams-0.1.0.tar.gz (3.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

migrate_teams-0.1.0-py3-none-any.whl (2.8 kB view details)

Uploaded Python 3

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

Hashes for migrate_teams-0.1.0.tar.gz
Algorithm Hash digest
SHA256 276982931a635bfa426c907874aca199e3d43c771cb11e67e04fab04463400bb
MD5 1795058d89ba0d0b644112d7bcabc092
BLAKE2b-256 ea4179cb174714214faf63c4d5718738d1865e94a0321e78bfe86c75ed9d5fe6

See more details on using hashes here.

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

Hashes for migrate_teams-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 3f6b2f83197d747a74336f1f4fc7145706fe0f1cad7007259f7da7d658d4c39e
MD5 8f0f2d4a9d57bdc0df2b2d3cb2892cc2
BLAKE2b-256 19ffb61d2af3aa70a5837a289388b0ae0a2efbcdd0cebe0fb5e580ae012d72dd

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page