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

[Bug]: Non open source code in end to end tests #11094

Closed
omajid opened this issue Jul 27, 2021 · 11 comments · Fixed by NuGet/NuGet.Client#4740
Closed

[Bug]: Non open source code in end to end tests #11094

omajid opened this issue Jul 27, 2021 · 11 comments · Fixed by NuGet/NuGet.Client#4740
Assignees
Labels
Category:Quality Week Issues that should be considered for quality week Type:Bug Type:Test
Milestone

Comments

@omajid
Copy link

omajid commented Jul 27, 2021

NuGet Product Used

dotnet.exe

Product Version

.NET 6.0 Preview 6

Worked before?

Not sure

Impact

I'm unable to use this version

Repro Steps & Context

Here's how I can see the affected file:

$ git clone https://github.com/NuGet/NuGet.Client
Cloning into 'NuGet.Client'...
remote: Enumerating objects: 127652, done.
remote: Counting objects: 100% (4262/4262), done.
remote: Compressing objects: 100% (1763/1763), done.
remote: Total 127652 (delta 2764), reused 3676 (delta 2436), pack-reused 123390
Receiving objects: 100% (127652/127652), 52.34 MiB | 1.16 MiB/s, done.
Resolving deltas: 100% (99133/99133), done.
$ cd NuGet.Client/
$ git rev-parse HEAD
d70adaba77e5754ecdc41984edd21c5cecf8c2a2
$ grep license test/EndToEnd/ProjectTemplates/NetCoreWebApplication1.0.zip/wwwroot/lib/jquery-validation-unobtrusive/.bower.json
  "license": "http://www.microsoft.com/web/webpi/eula/net_library_eula_enu.htm",

You can also see this online at:
https://github.com/NuGet/NuGet.Client/blob/d70adaba77e5754ecdc41984edd21c5cecf8c2a2/test/EndToEnd/ProjectTemplates/NetCoreWebApplication1.0.zip/wwwroot/lib/jquery-validation-unobtrusive/.bower.json#L26

Verbose Logs

No response

@omajid
Copy link
Author

omajid commented Jul 27, 2021

cc @dleeapho @leecow

@omajid
Copy link
Author

omajid commented Jul 29, 2021

cc @dseefeld @MichaelSimons @crummel

@aortiz-msft
Copy link
Contributor

@omajid - Would you please add additional information to the request?

@omajid
Copy link
Author

omajid commented Aug 12, 2021

@aortiz-msft sure, happy to. Can you tell me what sort of additional information I can provide here?

@zkat
Copy link
Contributor

zkat commented Aug 16, 2021

@zivkan would you please help us understand implications and next steps here? I'm told you also brought this up recently.

@zivkan
Copy link
Member

zivkan commented Aug 16, 2021

We're waiting to hear from the source-build team to help us determine priority/impact.

@zivkan
Copy link
Member

zivkan commented Aug 16, 2021

For what it's worth, End to End tests are Visual Studio tests, which don't impact source-build or the .NET SDK in any way. NuGet is just a mono-repo with code that ships in both the .NET SDK and Visual Studio.

@omajid
Copy link
Author

omajid commented Aug 17, 2021

For what it's worth, End to End tests are Visual Studio tests, which don't impact source-build or the .NET SDK in any way.

I disagree with the characterization that there's no impact on source-build. Anyone using source-build is using source-build because they care about the sources as well as binaries. The fact that these libraries with non-open source licenses get included into the source compilation (produced by source-build) makes the source compilation unusable by anyone trying to only use open source code. That means users of source-build, just by using these source files (even if they don't build them), are at risk of violating this non-open source license. Companies, organizations and projects that mandate a "open source only" approach will be forced to not use source-build.

In particular, the license at http://www.microsoft.com/web/webpi/eula/net_library_eula_enu.htm has several clauses that place restrictions on "distributable code". I am not even sure what that is, and the fact that I have to get legal review and approval of this makes this almost a non-starter as an open source project.

@richlander
Copy link

Ping ... Can we take another run at this for .NET 7? The goal is to have a way to validate NuGet client w/only OSS assets.

@richlander
Copy link

Thanks!

How's that look @omajid?

@omajid
Copy link
Author

omajid commented Aug 2, 2022

I have verified the original issue is now fixed for me.

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Category:Quality Week Issues that should be considered for quality week Type:Bug Type:Test
Projects
None yet
Development

Successfully merging a pull request may close this issue.

9 participants