-
Notifications
You must be signed in to change notification settings - Fork 462
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
Add tags to hosting packages for easier searching #1462
Add tags to hosting packages for easier searching #1462
Conversation
This sort of huge move isn't great without coordination with everyone working on the project. This isn't something we would take as it is a very disruptive change that affects all existing changes anyone is making. Can you make a smaller change that doesn't require moving all of the existing source code around? |
This would require "manually" adding project tags to all hosting-related projects due to the missing localized The downside would be "some" manual overseeing and orchestration. On the upside, the changes would be dramatically less. |
Yes |
ec83d4e
to
469aaf1
Compare
Done :) |
5 files instead of 209 😄 |
@kiapanahi you should rebased your branch on main, the current diff includes too many other unrelated changes. |
47ddad0
to
64ebada
Compare
Had done that on my other machine but somehow it was not pushed (or I forgot to update my forked Just updated the branch again; now it only includes the 5 related changes |
Much better, thanks. Now that I see the changes, I wonder how it actually makes the search better? The tags are only the list of word that the package names are made of, for instance I tried on nuget.org, maybe Visual Studio uses a different API for the search. |
Fine point. I don't see why the APIs should follow a different search path than the web application front end. I haven't tested myself either. The main reason for this PR was to address @timheuer's concert for consistency rather than search optimization (link to the issue). I admit the titles (both the issue and this PR) could be seen as a tad misleading though. If the consistency of package names is not a relatively valid concern in the hosting part of Aspire packages then this work would probably loose its main purpose. Back to your point on NuGet being clever enough, I naively didn't do the search myself and just assumed that it wasn't that clever. |
One advantage I see with tags is that you can create formal groups, instead of relying on word similarity matches. I had not paid attention to the issue you are referencing, sorry. |
Related to #1314
This PR moves all
Aspire.Hosting.*
project to/src/Hosting/
and adds a directory-specificDirectory.Build.props
to said directory to manage common and specific hosting-related tags.It also adds relative
<PackageTags>...<PackageTags/>
to allAspire.Hosting.*
projects.Microsoft Reviewers: Open in CodeFlow