question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Explicitly document the licence for the generated code

See original GitHub issue

I’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:closed
  • Created 5 years ago
  • Comments:5 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
bursauxacommented, Sep 19, 2018

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 🤷

0reactions
bursauxacommented, Jun 22, 2019

The Angular guys have not answered this issue in nine months. Closing this as I do no think we could do better than them.

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found