-
Notifications
You must be signed in to change notification settings - Fork 61
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
Does this package include licenses into the application or dynamically load them from GitHub? #127
Comments
That’s an interesting question... SPM packages don’t include the license text, so yes, it will try to load it from GitHub. Can you highlight the relevant part of the license here? To be clear: AcknowList’s goal isn’t to offer license compliance, it just tries to make it easier to include those licenses and related acknowledgments. |
For the MIT license it would be this part:
I don't see why binary forms wouldn't be considered "substantial portions of the Software". And "included" is quite clear. It does not mean "accessible with Internet connection". Others seem to agree:
So I understand that AcknowList’s goal is not license compliance but if I still need to provide the license in another way, doesn't it kind of defy the purpose of (also) using AcknowList? Honest question. |
That makes total sense. I’m actually curious if this has been discussed on the SPM project itself, now. As for AcknowList, it can still help you include those licenses into your app. But with SPM (as opposed to CocoaPods), you’ll need to manually import/define/hardcode those licenses. Here’s an example. |
Thanks, I'll check out the example later.
I think it's not an issue for SPM as SPM does not distribute anything. SPM allows you to include software. If you include a In case the pulled code would be included in another product in either binary or source form there might be the requirement to include a license. |
If I use
AcknowListSwiftUIView(acknowList: AcknowParser.defaultPackages()!)
, would that include the license text in the application bundle or would it dynamically load and display the text from GitHub?The latter case would in my understanding go against the text of many licenses (MIT, …) and therefore not be compliant.
The text was updated successfully, but these errors were encountered: