Feature request: Support custom licenses
See original GitHub issueProblem
It seems that currently Projen supports following licenses:
Apache-2.0
MIT
MPL-2.0
… but for internally distributed (within a company) constructs / projects one should be able to set the license to something else (proprietary license).
Proposed solution
One idea could be allowing to specify the license as string:
project.license = `COWBOY LICENSE
This is a custom proprietary license.
Only people wearing cowboy hats can use this project.
Beware of our scary legal team.`;
Proposed Workaround
For a workaround one could use in .projenrc.js
:
project.gitignore.exclude('LICENSE');
… but that doesn’t work since Projen applies !/LICENSE
after that:
So at least having some way of “forcing” manual project.gitignore.exclude
operations to be appended at the end would solve the issue.
Issue Analytics
- State:
- Created 3 years ago
- Comments:11 (11 by maintainers)
Top Results From Across the Web
12 powerful feature request software tools for SaaS - Savio
Not confident about your roadmap? Use these top tools to organize and prioritize software feature requests and build a product that sells.
Read more >Feature Request - More Fields for Software Licenses #2411
The ability for the license records to hold attachments for licenses that require key files. The inclusion of custom fields for licenses (I...
Read more >Gather Feature Requests & Requirements Using Your Own ...
Create customized web forms in just minutes for use in gathering requirements from customers as well as internal stakeholders such as Sales and...
Read more >Support Custom Report - Katalon Community
Support Custom Report · Feedback & Reviews Feature Requests ... licenses, you can create a ticket via Zendesk for further support.
Read more >Tracking Bugs and Feature Requests - GitLab
Ideally, we want to keep diligent track of the bugs and feature opportunities we encounter through tickets and internal support requests.
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
Maybe there could also be an option to support no license, and have it automatically set
private: "true"
in the package.json to avoid unintentionally publishing a package. (Or this flag could be provided by a separate option)Thanks a lot for the feedback!
I don’t have a strong opinion either, so I will just let it stay as it is currently. I set the PR to ready for review.
Definitely, I was thinking of cases where the information would be specific for the license, but I can see that that is not very likely.