Explicitly document the licence for the generated code
See original GitHub issueI’m submitting a…
- Bug report
- Feature request
- Documentation issue or request
Current behavior
The licence for the generated code is not explicitly stated.
As there is no strong distinction between the templates from the generators (generator-ngx-rocket
or angular-cli
) and the generated files, we can assume that the generated code is MIT (same licence as both generators). But it would be better to be explicit, in particular for enterprise users.
Expected behavior
Add an explicit statement in the generator’s documentation. And/or in the generated code ? (in individual files ?, not for the whole generated project, which the user might choose to licence under a different licence)
Great project. Many thanks @sinedied and contributors !
Issue Analytics
- State:
- Created 5 years ago
- Comments:5 (3 by maintainers)
Top Results From Across the Web
Licensing a repository - GitHub Docs
Most people place their license text in a file named LICENSE.txt (or LICENSE.md or LICENSE.rst ) in the root of the repository; here's...
Read more >License of code generated by a code generator
The license on the templates is a different matter. As much of the content of the template does make it into the output,...
Read more >How to apply the Apache 2.0 License to your Open Source ...
It's clear, explicit, and reusable without rewording. To apply the license to your Open Source software project, create two files: LICENSE and ...
Read more >Content License | Android Open Source Project
In those cases, the license covering the source code module will apply to the documentation extracted from it. Source code modules that are...
Read more >How open source licenses work and how to add them to your ...
Apache License 2.0 · The source code doesn't need to be public when a distribution of the software is made. · Modifications to...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
I feel like granting such a license would mean that we can 100% guarantee that the entire build chain (angular-cli, webpack, sass, typescript minify, etc etc) does grant you an equivalent license. I mean, if we said “go ahead use our code” but the webpack license itself said “you are free to use webpack but you are forbidden from distributing its output” (it does not - it’s MIT just like this project), our statement would probably infringe on Webpack’s rights, and in turn they could sue us if you distributed code built by webpack through the ngx-rocket scripts. Probably. I am not a lawyer 🤷
The Angular guys have not answered this issue in nine months. Closing this as I do no think we could do better than them.