Skip to content

added --bbs-project-key arg to generate-script command - #721

Merged
dylan-smith merged 2 commits into
mainfrom
dylan-smith/add-project-to-bbs-generate-script
Nov 3, 2022
Merged

dylan-smith merged 2 commits into
mainfrom
dylan-smith/add-project-to-bbs-generate-script

Conversation

@dylan-smith

@dylan-smith dylan-smith commented Nov 3, 2022 •

Copy link
Copy Markdown
Contributor

Closes #718

Adds --bbs-project-key to bbs2gh generate-script command.

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

@dylan-smith
dylan-smith marked this pull request as ready for review November 3, 2022 03:20
@github-actions

github-actions Bot commented Nov 3, 2022

Copy link
Copy Markdown

Integration Test Results

5 tests  ±0   5 ✔️ ±0   15m 52s ⏱️ - 1m 18s
1 suites ±0   0 💤 ±0 
1 files   ±0   0 ❌ ±0 

Results for commit c32ee5e. ± Comparison against base commit 528a4e2.

@github-actions

github-actions Bot commented Nov 3, 2022 •

Copy link
Copy Markdown

Unit Test Results

621 tests   621 ✔️  19s ⏱️
    1 suites      0 💤
    1 files        0 ❌

Results for commit c32ee5e.

♻️ This comment has been updated with latest results.

@github-actions

github-actions Bot commented Nov 3, 2022

Copy link
Copy Markdown

Code Coverage

Package Line Rate Branch Rate Complexity Health
bbs2gh 74% 67% 433 ➖
ado2gh 84% 78% 684 ✔
gei 84% 79% 572 ✔
Octoshift 86% 70% 1004 ✔
Summary 84% (5796 / 6931) 74% (1383 / 1878) 2693 ✔

@ArinGhazarian ArinGhazarian left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Just added a non blocking comments but overall looks good 👍

foreach (var projectKey in projects)
{
_log.LogInformation($"Project: {projectName}");
_log.LogInformation($"Project: {projectKey}");

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

I think displaying the project name is more user friendly in the logs or maybe we might want to display both?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

I did this intentionally. I think most BBS users are used to using the project key to refer to things (it shows up all over the place in the BBS UI), but also if we want project name that means we need to do a BBS API call to get it when they provide the key as an arg.

@dylan-smith
dylan-smith merged commit ed63fcb into main Nov 3, 2022
@dylan-smith
dylan-smith deleted the dylan-smith/add-project-to-bbs-generate-script branch November 3, 2022 20:59
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.

Add --bbs-project filter to bbs2gh generate-script

2 participants