github / gh-gei

Migration CLI for GitHub to GitHub migrations
MIT License
327 stars 88 forks source link

Update BBS generate script to accept `--use-github-storage` option #1292

Closed begonaguereca closed 1 week ago

begonaguereca commented 2 weeks ago

Summary

Things happening in this PR:

  1. Add --use-github-storage to the GenerateScript command
  2. Update integration tests to use --use-github-storage command

Take it for a πŸš—

export GH_PAT=<<PAT>> 
dotnet run --project src/bbs2gh/bbs2gh.csproj -- generate-script --bbs-project IM --ssh-user bbs --ssh-private-key /Users/begonaguereca/.ssh/id_rsa_bbs_octoshift --use-github-storage true --bbs-server-url https://test-bbs-o.githubapp.com --github-org octoshift-staging

Closes: https://github.ghe.com/github/octoshift/issues/9633

github-actions[bot] commented 2 weeks ago

Unit Test Results

833 tests   833 βœ…β€ƒβ€ƒ22s ⏱️   1 suites    0 πŸ’€   1 files      0 ❌

Results for commit 13c453e3.

:recycle: This comment has been updated with latest results.

github-actions[bot] commented 1 week ago

Code Coverage

Package Line Rate Branch Rate Complexity Health
gei 80% 71% 550 βœ”
ado2gh 84% 78% 627 βœ”
Octoshift 87% 76% 1298 βœ”
bbs2gh 79% 74% 680 βœ”
Summary 84% (7037 / 8425) 75% (1591 / 2110) 3155 βœ”