PSResourceGet icon indicating copy to clipboard operation
PSResourceGet copied to clipboard

WIP: Populate companyname and other properties for PSResourceInfo

Open anamnavi opened this issue 2 years ago • 1 comments

When installing a package, save companyname, copyright and other metadata information to metadata xml file. Also change setters access levels for these properties of the PSResourceInfo class. Get-PSResource will now return consistent information for packages installed with Install-PSResource cmdlet after this fix.

When finding a package, companyname and other related information is not easily accessibly via the json metadata (IPackageSearchMetadata object returned via NuGet GetSearchAsync() and GetMetadataAsync() search APIs and currently is more operational cost than is worth to get this field. Here is a link listing the package information accessible via the package nuspec (note company name is not listed): https://docs.microsoft.com/en-us/nuget/reference/nuspec

PR Summary

PR Context

Resolves #267

PR Checklist

anamnavi avatar Jul 20 '22 15:07 anamnavi

@anamnavi, @alerickson please look at authenticode check test failures.

PaulHigin avatar Jul 20 '22 19:07 PaulHigin