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

SCTK: Bug in nuget license detection #3409

Closed
pombredanne opened this issue May 23, 2023 · 1 comment
Closed

SCTK: Bug in nuget license detection #3409

pombredanne opened this issue May 23, 2023 · 1 comment
Assignees

Comments

@pombredanne
Copy link
Member

pombredanne commented May 23, 2023

In this nuget, https://www.nuget.org/api/v2/package/Fizzler/1.3.0 <license type="file">COPYING.txt</license> is not detected correctly.
Note also the <licenseUrl>https://aka.ms/deprecateLicenseUrl</licenseUrl> that should be excluded

<?xml version="1.0" encoding="utf-8"?>
<package xmlns="http://schemas.microsoft.com/packaging/2013/05/nuspec.xsd">
  <metadata>
    <id>Fizzler</id>
    <version>1.3.0</version>
    <authors>Atif Aziz,Colin Ramsay</authors>
    <owners></owners>
    <requireLicenseAcceptance>false</requireLicenseAcceptance>
    <license type="file">COPYING.txt</license>
    <licenseUrl>https://aka.ms/deprecateLicenseUrl</licenseUrl>
    <projectUrl>https://github.com/atifaziz/Fizzler</projectUrl>
    <description>Fizzler is a W3C Selectors parser and generic selector framework for document hierarchies.</description>
    <releaseNotes>See https://github.com/atifaziz/Fizzler/releases/tag/v1.3.0</releaseNotes>
    <copyright>Copyright © 2009 Atif Aziz, Colin Ramsay. All rights reserved. Portions Copyright © 2008 Novell, Inc.</copyright>
    <tags>selectors w3c</tags>
    <repository type="Git" url="https://github.com/atifaziz/Fizzler" commit="8323ec7a49ce5dff579b1aa146492ee7aa0ab10d" />
    <dependencies>
      <group targetFramework=".NETStandard1.0">
        <dependency id="NETStandard.Library" version="1.6.1" exclude="Build,Analyzers" />
        <dependency id="System.Diagnostics.Contracts" version="4.3.0" exclude="Build,Analyzers" />
      </group>
      <group targetFramework=".NETStandard2.0" />
    </dependencies>
  </metadata>
</package>
AyanSinhaMahapatra added a commit that referenced this issue May 30, 2023
Reference: #3409
Signed-off-by: Ayan Sinha Mahapatra <[email protected]>
AyanSinhaMahapatra added a commit that referenced this issue May 30, 2023
Reference: #3409
Signed-off-by: Ayan Sinha Mahapatra <[email protected]>
@AyanSinhaMahapatra
Copy link
Member

I had fixed the bug with the commit above ^
Closing this, thanks!

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

No branches or pull requests

3 participants