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

Fixed path handling for plugins #608

Merged
merged 2 commits into from
Dec 17, 2023
Merged

Fixed path handling for plugins #608

merged 2 commits into from
Dec 17, 2023

Conversation

igor84
Copy link
Collaborator

@igor84 igor84 commented Dec 14, 2023

Turns out I didn't properly handle the plugin path. I didn't make sure that it is saved as relative path and that it was turned into an absolute path when used in Cli version.

I also updated main workflow to use new net8.0 LTS for packaging nuget packages which will also means that Cli version will require it to run from now on instead of net7.0.

Besides that I also exposed INugetPackageIdentifier.Version and INuspecFile.Id setters to plugins so they can modify the default nuspec file for new packages. Another such thing is PackageInstallDir that is now exposed on INugetPluginService.

UninstallAll method is made public instead of internal so users can for example add a menu item for it if they want.

Lastly I added one more extension point for handling found installed packages when they are loaded from PackageInstalledDir or RepositoryPath as we call it in NugetConfigFile.

@igor84 igor84 merged commit f671396 into master Dec 17, 2023
8 checks passed
@igor84 igor84 deleted the plugin-api-fix branch December 17, 2023 11:11
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