Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adding search functionality to repos #117

Conversation

dhoehna
Copy link
Contributor

@dhoehna dhoehna commented Feb 10, 2024

Summary of the pull request

Implementing IRepositoryProvider2. This allows the provider to accept search terms to filter down what repositories are returned from GetRepositoriesAsync.

References and relevant issues

This PR depends on the SDK change here

Detailed description of the pull request / Additional comments

Validation steps performed

Ran manually. Cloned a repo.
All tests pass.

PR checklist

  • Closes #xxx
  • Tests added/passed
  • Documentation updated

Movie!
DevHomeMultipleFields

Copy link
Collaborator

@krschau krschau left a comment

Choose a reason for hiding this comment

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

It would probably be good to separate out the .Net 8 changes into its own PR.

src/AzureExtension/AzureExtension.csproj Show resolved Hide resolved
src/AzureExtension/DataManager/AzureDataManager.cs Outdated Show resolved Hide resolved
src/AzureExtension/DeveloperId/AuthenticationHelper.cs Outdated Show resolved Hide resolved
src/AzureExtension/Helpers/AzureRepositoryHierarchy.cs Outdated Show resolved Hide resolved
src/AzureExtension/Helpers/AzureRepositoryHierarchy.cs Outdated Show resolved Hide resolved
src/AzureExtension/Providers/RepositoryProvider.cs Outdated Show resolved Hide resolved
src/AzureExtension/Providers/RepositoryProvider.cs Outdated Show resolved Hide resolved
src/AzureExtension/Providers/RepositoryProvider.cs Outdated Show resolved Hide resolved
src/AzureExtension/Providers/RepositoryProvider.cs Outdated Show resolved Hide resolved
src/AzureExtension/Providers/RepositoryProvider.cs Outdated Show resolved Hide resolved
@dhoehna
Copy link
Contributor Author

dhoehna commented Feb 15, 2024

It would probably be good to separate out the .Net 8 changes into its own PR.

Done. I'll have the .NET changes in another PR.

@dhoehna dhoehna changed the base branch from main to feature/dhoehna/SearchOptionsForGettingRepositories February 15, 2024 21:24
@dhoehna dhoehna merged commit 80e3ffe into feature/dhoehna/SearchOptionsForGettingRepositories Feb 20, 2024
1 of 3 checks passed
dhoehna added a commit that referenced this pull request Mar 21, 2024
* Adding search functionality to repos (#117)

* Building with new SDK.  Have not tested

* WIP

* Handling the new SDK + .NET 8.0

* Adding comments

* Fixing some errors

* Using updated SDK

* Update src/AzureExtension/Providers/RepositoryProvider.cs

Co-authored-by: Branden Bonaby <[email protected]>

* Update src/AzureExtension/Providers/RepositoryProvider.cs

Co-authored-by: Branden Bonaby <[email protected]>

* Reverting .NET 8 changes

* Slipped through

* Removing IRepositoryProvider since IRepositoryProvider2 requires it.

* Using lock

* USing locks instead of tasks

* Moving return to inside the lock.

* typo

---------

Co-authored-by: Darren Hoehna <[email protected]>
Co-authored-by: Branden Bonaby <[email protected]>

* Enable searching. (#136)

* Eeeyyy, it works. :)

* Removing local source

* Adding comments to explain the server search code.

* Addressing comments.

* Update src/AzureExtension/Strings/en-US/Resources.resw

Co-authored-by: Branden Bonaby <[email protected]>

* Moving reading code outside of the lock.

* Adding some race-condition checking

---------

Co-authored-by: Darren Hoehna <[email protected]>
Co-authored-by: Branden Bonaby <[email protected]>

* Change

* Updating to new SDK

* Removing local package source

---------

Co-authored-by: Darren Hoehna <[email protected]>
Co-authored-by: Branden Bonaby <[email protected]>
huzaifa-d pushed a commit that referenced this pull request Apr 1, 2024
* Adding search functionality to repos (#117)

* Building with new SDK.  Have not tested

* WIP

* Handling the new SDK + .NET 8.0

* Adding comments

* Fixing some errors

* Using updated SDK

* Update src/AzureExtension/Providers/RepositoryProvider.cs

Co-authored-by: Branden Bonaby <[email protected]>

* Update src/AzureExtension/Providers/RepositoryProvider.cs

Co-authored-by: Branden Bonaby <[email protected]>

* Reverting .NET 8 changes

* Slipped through

* Removing IRepositoryProvider since IRepositoryProvider2 requires it.

* Using lock

* USing locks instead of tasks

* Moving return to inside the lock.

* typo

---------

Co-authored-by: Darren Hoehna <[email protected]>
Co-authored-by: Branden Bonaby <[email protected]>

* Enable searching. (#136)

* Eeeyyy, it works. :)

* Removing local source

* Adding comments to explain the server search code.

* Addressing comments.

* Update src/AzureExtension/Strings/en-US/Resources.resw

Co-authored-by: Branden Bonaby <[email protected]>

* Moving reading code outside of the lock.

* Adding some race-condition checking

---------

Co-authored-by: Darren Hoehna <[email protected]>
Co-authored-by: Branden Bonaby <[email protected]>

* Change

* Updating to new SDK

* Removing local package source

---------

Co-authored-by: Darren Hoehna <[email protected]>
Co-authored-by: Branden Bonaby <[email protected]>
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.

3 participants