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

License scan is failing for wpf repo #4373

Closed
Winniexu01 opened this issue May 6, 2024 · 8 comments · Fixed by dotnet/installer#19685
Closed

License scan is failing for wpf repo #4373

Winniexu01 opened this issue May 6, 2024 · 8 comments · Fixed by dotnet/installer#19685
Labels
ops-monitor Issues created/handled by the source build monitor role

Comments

@Winniexu01
Copy link
Member

main build: https://dev.azure.com/dnceng/internal/_build/results?buildId=2445462&view=logs&j=5df03f59-1349-559c-803f-5be5172cc74c&t=ce568090-a993-5067-a6ee-0405a2529741&l=26
release/9.0.1xx-preview4 build: https://dev.azure.com/dnceng/internal/_build/results?buildId=2445467&view=logs&j=5df03f59-1349-559c-803f-5be5172cc74c&t=ce568090-a993-5067-a6ee-0405a2529741

{
  "files": [
    {
      "path": "src/Microsoft.DotNet.Wpf/src/PresentationFramework/System/Windows/WindowBackdropType.cs",
      "detected_license_expression": "mit AND bsd-2-clause-views"
    },
    {
      "path": "src/Microsoft.DotNet.Wpf/src/Themes/PresentationFramework.Fluent/Resources/Accent.xaml",
      "detected_license_expression": "mit AND bsd-2-clause-views"
    },
    {
      "path": "src/Microsoft.DotNet.Wpf/src/Themes/PresentationFramework.Fluent/Resources/DefaultContextMenu.xaml",
      "detected_license_expression": "mit AND bsd-2-clause-views"
    },
    {
      "path": "src/Microsoft.DotNet.Wpf/src/Themes/PresentationFramework.Fluent/Resources/DefaultFocusVisualStyle.xaml",
      "detected_license_expression": "mit AND bsd-2-clause-views"
    },
    {
      "path": "src/Microsoft.DotNet.Wpf/src/Themes/PresentationFramework.Fluent/Resources/Fluent.xaml",
      "detected_license_expression": "mit AND bsd-2-clause-views"
    },
    {
      "path": "src/Microsoft.DotNet.Wpf/src/Themes/PresentationFramework.Fluent/Resources/Fonts.xaml",
      "detected_license_expression": "mit AND bsd-2-clause-views"
    },
    {
      "path": "src/Microsoft.DotNet.Wpf/src/Themes/PresentationFramework.Fluent/Resources/StaticColors.xaml",
      "detected_license_expression": "mit AND bsd-2-clause-views"
    },
    {
      "path": "src/Microsoft.DotNet.Wpf/src/Themes/PresentationFramework.Fluent/Resources/Variables.xaml",
      "detected_license_expression": "mit AND bsd-2-clause-views"
    },
    {
      "path": "src/Microsoft.DotNet.Wpf/src/Themes/PresentationFramework.Fluent/Resources/Theme/Dark.xaml",
      "detected_license_expression": "mit AND bsd-2-clause-views"
    },
    {
      "path": "src/Microsoft.DotNet.Wpf/src/Themes/PresentationFramework.Fluent/Resources/Theme/HC1.xaml",
      "detected_license_expression": "mit AND bsd-2-clause-views"
    },
    {
      "path": "src/Microsoft.DotNet.Wpf/src/Themes/PresentationFramework.Fluent/Resources/Theme/HC2.xaml",
      "detected_license_expression": "mit AND bsd-2-clause-views"
    },
    {
      "path": "src/Microsoft.DotNet.Wpf/src/Themes/PresentationFramework.Fluent/Resources/Theme/HCBlack.xaml",
      "detected_license_expression": "mit AND bsd-2-clause-views"
    },
    {
      "path": "src/Microsoft.DotNet.Wpf/src/Themes/PresentationFramework.Fluent/Resources/Theme/HCWhite.xaml",
      "detected_license_expression": "mit AND bsd-2-clause-views"
    },
    {
      "path": "src/Microsoft.DotNet.Wpf/src/Themes/PresentationFramework.Fluent/Resources/Theme/Light.xaml",
      "detected_license_expression": "mit AND bsd-2-clause-views"
    },
    {
      "path": "src/Microsoft.DotNet.Wpf/src/Themes/PresentationFramework.Fluent/Styles/Button.xaml",
      "detected_license_expression": "mit AND bsd-2-clause-views"
    },
    {
      "path": "src/Microsoft.DotNet.Wpf/src/Themes/PresentationFramework.Fluent/Styles/Calendar.xaml",
      "detected_license_expression": "mit AND bsd-2-clause-views"
    },
    {
      "path": "src/Microsoft.DotNet.Wpf/src/Themes/PresentationFramework.Fluent/Styles/CheckBox.xaml",
      "detected_license_expression": "mit AND bsd-2-clause-views"
    },
    {
      "path": "src/Microsoft.DotNet.Wpf/src/Themes/PresentationFramework.Fluent/Styles/ComboBox.xaml",
      "detected_license_expression": "mit AND mpl-2.0"
    },
    {
      "path": "src/Microsoft.DotNet.Wpf/src/Themes/PresentationFramework.Fluent/Styles/ContextMenu.xaml",
      "detected_license_expression": "mit AND bsd-2-clause-views"
    },
    {
      "path": "src/Microsoft.DotNet.Wpf/src/Themes/PresentationFramework.Fluent/Styles/DataGrid.xaml",
      "detected_license_expression": "mit AND (mpl-2.0 AND mit)"
    },
    {
      "path": "src/Microsoft.DotNet.Wpf/src/Themes/PresentationFramework.Fluent/Styles/DatePicker.xaml",
      "detected_license_expression": "mit AND mpl-2.0"
    },
    {
      "path": "src/Microsoft.DotNet.Wpf/src/Themes/PresentationFramework.Fluent/Styles/Expander.xaml",
      "detected_license_expression": "mit AND bsd-2-clause-views"
    },
    {
      "path": "src/Microsoft.DotNet.Wpf/src/Themes/PresentationFramework.Fluent/Styles/Frame.xaml",
      "detected_license_expression": "mit AND bsd-2-clause-views"
    },
    {
      "path": "src/Microsoft.DotNet.Wpf/src/Themes/PresentationFramework.Fluent/Styles/Label.xaml",
      "detected_license_expression": "mit AND bsd-2-clause-views"
    },
    {
      "path": "src/Microsoft.DotNet.Wpf/src/Themes/PresentationFramework.Fluent/Styles/ListBox.xaml",
      "detected_license_expression": "mit AND bsd-2-clause-views"
    },
    {
      "path": "src/Microsoft.DotNet.Wpf/src/Themes/PresentationFramework.Fluent/Styles/ListBoxItem.xaml",
      "detected_license_expression": "mit AND bsd-2-clause-views"
    },
    {
      "path": "src/Microsoft.DotNet.Wpf/src/Themes/PresentationFramework.Fluent/Styles/ListView.xaml",
      "detected_license_expression": "mit AND bsd-2-clause-views"
    },
    {
      "path": "src/Microsoft.DotNet.Wpf/src/Themes/PresentationFramework.Fluent/Styles/ListViewItem.xaml",
      "detected_license_expression": "mit AND bsd-2-clause-views"
    },
    {
      "path": "src/Microsoft.DotNet.Wpf/src/Themes/PresentationFramework.Fluent/Styles/Menu.xaml",
      "detected_license_expression": "mit AND bsd-2-clause-views"
    },
    {
      "path": "src/Microsoft.DotNet.Wpf/src/Themes/PresentationFramework.Fluent/Styles/MenuItem.xaml",
      "detected_license_expression": "mit AND mpl-2.0"
    },
    {
      "path": "src/Microsoft.DotNet.Wpf/src/Themes/PresentationFramework.Fluent/Styles/Page.xaml",
      "detected_license_expression": "mit AND bsd-2-clause-views"
    },
    {
      "path": "src/Microsoft.DotNet.Wpf/src/Themes/PresentationFramework.Fluent/Styles/PasswordBox.xaml",
      "detected_license_expression": "mit AND mpl-2.0"
    },
    {
      "path": "src/Microsoft.DotNet.Wpf/src/Themes/PresentationFramework.Fluent/Styles/ProgressBar.xaml",
      "detected_license_expression": "mit AND bsd-2-clause-views"
    },
    {
      "path": "src/Microsoft.DotNet.Wpf/src/Themes/PresentationFramework.Fluent/Styles/RadioButton.xaml",
      "detected_license_expression": "mit AND bsd-2-clause-views"
    },
    {
      "path": "src/Microsoft.DotNet.Wpf/src/Themes/PresentationFramework.Fluent/Styles/RichTextBox.xaml",
      "detected_license_expression": "mit AND bsd-2-clause-views"
    },
    {
      "path": "src/Microsoft.DotNet.Wpf/src/Themes/PresentationFramework.Fluent/Styles/ScrollBar.xaml",
      "detected_license_expression": "mit AND bsd-2-clause-views"
    },
    {
      "path": "src/Microsoft.DotNet.Wpf/src/Themes/PresentationFramework.Fluent/Styles/ScrollViewer.xaml",
      "detected_license_expression": "mit AND bsd-2-clause-views"
    },
    {
      "path": "src/Microsoft.DotNet.Wpf/src/Themes/PresentationFramework.Fluent/Styles/Separator.xaml",
      "detected_license_expression": "mit AND mpl-2.0"
    },
    {
      "path": "src/Microsoft.DotNet.Wpf/src/Themes/PresentationFramework.Fluent/Styles/Slider.xaml",
      "detected_license_expression": "mit AND bsd-2-clause-views"
    },
    {
      "path": "src/Microsoft.DotNet.Wpf/src/Themes/PresentationFramework.Fluent/Styles/StatusBar.xaml",
      "detected_license_expression": "mit AND mpl-2.0"
    },
    {
      "path": "src/Microsoft.DotNet.Wpf/src/Themes/PresentationFramework.Fluent/Styles/TabControl.xaml",
      "detected_license_expression": "mit AND bsd-2-clause-views"
    },
    {
      "path": "src/Microsoft.DotNet.Wpf/src/Themes/PresentationFramework.Fluent/Styles/TextBlock.xaml",
      "detected_license_expression": "mit AND bsd-2-clause-views"
    },
    {
      "path": "src/Microsoft.DotNet.Wpf/src/Themes/PresentationFramework.Fluent/Styles/TextBox.xaml",
      "detected_license_expression": "mit AND mpl-2.0"
    },
    {
      "path": "src/Microsoft.DotNet.Wpf/src/Themes/PresentationFramework.Fluent/Styles/ToggleButton.xaml",
      "detected_license_expression": "mit AND bsd-2-clause-views"
    },
    {
      "path": "src/Microsoft.DotNet.Wpf/src/Themes/PresentationFramework.Fluent/Styles/ToolBar.xaml",
      "detected_license_expression": "mit AND bsd-2-clause-views"
    },
    {
      "path": "src/Microsoft.DotNet.Wpf/src/Themes/PresentationFramework.Fluent/Styles/ToolTip.xaml",
      "detected_license_expression": "mit AND bsd-2-clause-views"
    },
    {
      "path": "src/Microsoft.DotNet.Wpf/src/Themes/PresentationFramework.Fluent/Styles/TreeView.xaml",
      "detected_license_expression": "mit AND bsd-2-clause-views"
    },
    {
      "path": "src/Microsoft.DotNet.Wpf/src/Themes/PresentationFramework.Fluent/Styles/TreeViewItem.xaml",
      "detected_license_expression": "mit AND bsd-2-clause-views"
    },
    {
      "path": "src/Microsoft.DotNet.Wpf/src/Themes/PresentationFramework.Fluent/Styles/Window.xaml",
      "detected_license_expression": "mit AND bsd-2-clause-views"
    }
  ]
}

More detail: scancode-results.json

@Winniexu01 Winniexu01 added the ops-monitor Issues created/handled by the source build monitor role label May 6, 2024
@ellahathaway
Copy link
Member

I think we can add bsd-2-clause-views to the list of allowed licenses. OSI says that it's a form of the bsd-simplified license, and we currently allow that. https://opensource.org/license/bsd-2-clause

@mthalman
Copy link
Member

mthalman commented May 6, 2024

It is a false positive though. See my comment at dotnet/wpf#8870 (comment). Even though it's allowable, I would argue that we shouldn't include it when it's a false positive.

@omajid
Copy link
Member

omajid commented May 6, 2024

Shall I report the false positive to the scancode project?

@mthalman
Copy link
Member

mthalman commented May 6, 2024

Shall I report the false positive to the scancode project?

Sounds good to me. Thanks!

@ellahathaway
Copy link
Member

It is a false positive though. See my comment at dotnet/wpf#8870 (comment). Even though it's allowable, I would argue that we shouldn't include it when it's a false positive.

I see. I can add it to the exclusion list then? Or I can update the wpf baseline so we know when/if wpf resolves the issue of the differing licenses.

@mthalman
Copy link
Member

mthalman commented May 6, 2024

It should be added as an exclusion with a comment saying it's a false positive.

@mthalman
Copy link
Member

mthalman commented May 6, 2024

There's also this mpl-2.0 license showing up. I haven't investigated that.

@omajid
Copy link
Member

omajid commented May 6, 2024

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ops-monitor Issues created/handled by the source build monitor role
Projects
Archived in project
Development

Successfully merging a pull request may close this issue.

4 participants