Skip to content

Add BBS client/API plumbing#583

Merged
tambling merged 10 commits intomainfrom
bbs-api-client
Aug 23, 2022
Merged

Add BBS client/API plumbing#583
tambling merged 10 commits intomainfrom
bbs-api-client

Conversation

@tambling
Copy link
Copy Markdown
Contributor

@tambling tambling commented Aug 18, 2022

The first step in migrating BBS repos is to tell the source instance to generate the archive, then to query the REST API to get the state of the export (until it's done). Additionally, we want to be able to query the server to get its version, to make sure it's one that supports the export API. This PR adds a minimal, naïve implementation of BbsClient (which abstracts away talking to the BBS source instance) and BbsApi, which formalizes the API endpoints we want to hit as we kick off a migration.

Closes #524

  • Did you write/update appropriate tests
  • Appropriate logging output
  • Issue linked
  • Release notes updated (if appropriate)
  • Docs updated (or issue created)

@github-actions
Copy link
Copy Markdown

github-actions bot commented Aug 18, 2022

Integration Test Results

4 tests  ±0   4 ✔️ ±0   11m 21s ⏱️ -13s
1 suites ±0   0 💤 ±0 
1 files   ±0   0 ±0 

Results for commit ee08f91. ± Comparison against base commit 983803d.

♻️ This comment has been updated with latest results.

@github-actions
Copy link
Copy Markdown

github-actions bot commented Aug 18, 2022

Unit Test Results

494 tests   494 ✔️  25s ⏱️
    1 suites      0 💤
    1 files        0

Results for commit d1274a6.

♻️ This comment has been updated with latest results.

@tambling tambling marked this pull request as ready for review August 19, 2022 21:52
Copy link
Copy Markdown
Contributor

@dylan-smith dylan-smith left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I left one comment about a minor potential improvement, but looks good!

Copy link
Copy Markdown
Contributor

@ArinGhazarian ArinGhazarian left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good 👍 , just added a nit

@tambling tambling enabled auto-merge (squash) August 23, 2022 00:15
@tambling tambling merged commit d0681c1 into main Aug 23, 2022
@tambling tambling deleted the bbs-api-client branch August 23, 2022 00:48
@github-actions
Copy link
Copy Markdown

Code Coverage

Package Line Rate Branch Rate Complexity Health
gei 86% 86% 343
ado2gh 88% 84% 498
bbs2gh 44% 24% 51
Octoshift 92% 78% 696
Summary 88% (4443 / 5059) 80% (947 / 1178) 1588

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Get BBS to generate archive

3 participants