4 ms·
It's your code. You own the rights to it. You can say exactly who uses it if you like. You can add a clause to the licence saying "the following people/organis
by marcus_holmes 5y ago
It's your code. You own the rights to it. You can say exactly who uses it if you like.
You can add a clause to the licence saying "the following people/organisations are specifically prohibited from using this code: US DoD, etc" - you may want to word this better to prevent loopholes, but that's the gist of it.
- MaxBarraclough 5y agoAs detaro and kragen have pointed out, any software licence which prohibits military use is by definition neither a Free Software licence (under the FSF definition) [0] nor an Open Source licence (under the OSI definition). [1] [0] https://www.gnu.org/licenses/gpl-faq.en.html#NoMilitary https://www.gnu.org/licenses/gpl-faq.en.html#NoMilitary [1] https://news.ycombinator.com/item?id=14864288 https://news.ycombinator.com/item?id=14864288
- marcus_holmes 5y agoNeither of those things stops the GP from specifying who can use their code, only from classifying their code as FOSS if they do.