tomchavakis / nuget-license

.NET Core tool to print or save all the licenses of a project
Apache License 2.0
280 stars 83 forks source link

Version `100.100.100` was released on nuget.org #173

Closed Setre14 closed 1 year ago

Setre14 commented 1 year ago

It seems like the version 100.100.100 was published to https://www.nuget.org/packages/dotnet-project-licenses, however this version does not work.

And since it also does not show up in the releases here on Github, I guess this version wasn't supposed to be released.

benjaminfuchs commented 1 year ago

Seems it was this one: https://github.com/tomchavakis/nuget-license/actions/runs/3531951976/jobs/5925710871

felix-barz-brickmakers commented 1 year ago

@sensslen Can you please remove the broken version? This breaks all automated tooling that just installs the latest version of it.

svenclaesson commented 1 year ago

@tomchavakis got the access to fix this. šŸ™

sensslen commented 1 year ago

@felix-barz-brickmakers infortunately I cannot do this - I donā€˜t have the proper access rightsā€¦

tomchavakis commented 1 year ago

@sensslen this version has been deprecated and has been removed from the list. Let me know if you need anything else.

txs-lars commented 1 year ago

It is still listed here: https://api.nuget.org/v3-flatcontainer/dotnet-project-licenses/index.json

"dotnet tool update --tool-path c:\temp dotnet-project-licenses --no-cache" still installs version 100.100.100.

sensslen commented 1 year ago

According to https://learn.microsoft.com/en-us/nuget/nuget-org/policies/deleting-packages unlisting seems to not be enough. @tomchavakis could you contact Microsoft to remove this faulty package? Iā€˜m very sorry for having uploaded this - there was an error in the automatic publish procedureā€¦

In the mean time everybody could work around this by specifying a version or version rangeā€¦.

dotnet tool install dotnet-project-licenses --version [desired version] See: https://learn.microsoft.com/en-us/dotnet/core/tools/dotnet-tool-install

or

dotnet tool update dotnet-project-licenses --version 2.* See: https://learn.microsoft.com/en-us/dotnet/core/tools/dotnet-tool-update

tomchavakis commented 1 year ago

@sensslen, no reason to apologise. I have already sent a message to the nuget team to remove entirely this version from the list. Thank you for pointing out the documentation. @txs-lars, thanks for the endpoint info.

tomchavakis commented 1 year ago

@sensslen, @txs-lars, @Setre14 Nuget has deleted this package.