-
-
Notifications
You must be signed in to change notification settings - Fork 329
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Refactor Hosts (again) and Reconcile Project & Solution referecnces. (#…
…2225) ♻️ (solution): remove NKDAgility.AzureDevOps.Tools.CommandHost project and update project references 🔧 (docs): update generated XML documentation to reflect latest commit and branch information The NKDAgility.AzureDevOps.Tools.CommandHost project is removed from the solution to streamline the project structure. This change also updates the project references to point to the correct paths, ensuring that the solution builds correctly. The generated XML documentation is updated to reflect the latest commit and branch information, ensuring that the documentation is accurate and up-to-date. ♻️ (refactor): update project references and remove unused code - Update project references to use `MigrationTools.Helpers.Tests` instead of `MigrationTools.Fakes`. - Rename `NKDAgility.AzureDevOps.Tools.CommandHost` project to `MigrationTools.Helpers.Tests`. - Add new fake classes `FakeMigrationToolVersion` and `FakeMigrationToolVersionInfo` for testing. - Replace `RunMigrationTools` with `RunConsoleAsync` in `Program.cs` files. - Remove unused `HostExtensions` and `MigrationService` classes. These changes improve the project structure by consolidating test helpers into a single project, ensuring consistency in project references, and removing obsolete code. This refactor enhances maintainability and clarity in the codebase. ♻️ (MigrationTools.Host): refactor to use Spectre.Console.Extensions.Hosting and remove redundant services 🔧 (MigrationTools.Host): update project references to reflect new structure Refactor the code to use `Spectre.Console.Extensions.Hosting` instead of `Spectre.Console.Cli.Extensions.DependencyInjection` for better integration and maintainability. Remove redundant services like `StartupService` and `DetectVersionService` to simplify the codebase. Update project references to reflect the new structure, ensuring that tests and other dependencies are correctly aligned with the changes. This improves the overall architecture and reduces complexity. ♻️ (tests): update namespace and project references from MigrationTools.Fakes to MigrationTools.Helpers.Tests The namespace and project references are updated to reflect the new location and naming convention for the test helpers. This change improves code organization and clarity by using a more descriptive and accurate namespace.
- Loading branch information
Showing
33 changed files
with
38 additions
and
317 deletions.
There are no files selected for viewing
This file contains 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
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains 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
2 changes: 1 addition & 1 deletion
2
src/MigrationTools.Clients.AzureDevops.ObjectModel.Tests/ServiceProviderHelper.cs
This file contains 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
This file contains 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
2 changes: 1 addition & 1 deletion
2
src/MigrationTools.Clients.AzureDevops.Rest.Tests/ServiceProviderHelper.cs
This file contains 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
This file contains 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
2 changes: 1 addition & 1 deletion
2
src/MigrationTools.Clients.FileSystem.Tests/ServiceProviderHelper.cs
This file contains 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
This file contains 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
2 changes: 1 addition & 1 deletion
2
src/MigrationTools.Clients.InMemory.Tests/ServiceProviderHelper.cs
This file contains 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
This file contains 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
This file contains 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
2 changes: 1 addition & 1 deletion
2
...onTools.Fakes/FakeMigrationToolVersion.cs → ...Helpers.Tests/FakeMigrationToolVersion.cs
This file contains 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
This file contains 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
File renamed without changes.
This file contains 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
This file contains 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
This file contains 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
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains 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
This file contains 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
Oops, something went wrong.