Add ADO team project option to inventory report command#1560
Open
leafuk wants to merge 3 commits into
Open
Conversation
Unit Test Results 1 files 1 suites 25s ⏱️ Results for commit 1f9f4a1. ♻️ This comment has been updated with latest results. |
Contributor
There was a problem hiding this comment.
Pull request overview
Adds a new --ado-team-project option to the ado2gh inventory-report command so users can scope the generated CSV reports to a single Azure DevOps team project, mirroring the existing filter support in generate-script.
Changes:
- Adds
AdoTeamProjectarg/option toInventoryReportCommandandInventoryReportCommandArgs. - Wires the value into
AdoInspectorService.TeamProjectFilterinInventoryReportCommandHandler. - Adds tests and a release note entry.
Show a summary per file
| File | Description |
|---|---|
| src/ado2gh/Commands/InventoryReport/InventoryReportCommand.cs | Registers the new --ado-team-project option with description. |
| src/ado2gh/Commands/InventoryReport/InventoryReportCommandArgs.cs | Adds AdoTeamProject property. |
| src/ado2gh/Commands/InventoryReport/InventoryReportCommandHandler.cs | Sets TeamProjectFilter on the inspector service. |
| src/OctoshiftCLI.Tests/ado2gh/Commands/InventoryReport/InventoryReportCommandTests.cs | Asserts the new option is registered. |
| src/OctoshiftCLI.Tests/ado2gh/Commands/InventoryReport/InventoryReportCommandHandlerTests.cs | Adds tests for filter being null and being set. |
| RELEASENOTES.md | User-facing release note for the new option. |
Copilot's findings
- Files reviewed: 6/6 changed files
- Comments generated: 1
Collaborator
|
@leafuk can you address pr comment and resolve merge conflicts 👍🏾 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
ThirdPartyNotices.txt(if applicable)Resolves issue: #1545 - New Feature : Add Team Project Filtering to Inventory Report Command