开发者

Should I provide a LICENSE.txt or COPYING.txt file in my project? [closed]

Closed. This question is opinion-based. It is not currently accepting answers.

Want to improve this question? Update the question so it can be answered with facts and citations by editing this post.

Closed 7 years ago.

Improve this question

Does it matter? Should I use one or the other? Or both, even? Can the license file be any name? (With any extension?)

I'm sure there's a "best practices" guide that contains all this, b开发者_开发问答ut I'm not having any luck finding it.


COPYING is standard in the GNU project. I think that either of COPYING or LICENSE would be understood. The FSF has a guide on how to use the GPL, which suggests COPYING, while the Producing Open Source Software book suggests either COPYING or LICENSE. The Apache License recommends a boilerplate that just points to the license online, though the Apache project seems to also include a LICENSE file in their code containing the relevant license or licenses.

It's up to you whether you want to add the .txt suffix; on Windows and Mac OS X it tends to be helpful for default file associations, while on Linux or most other Unix-type operating systems suffixes are optional and it's generally assumed that files are plain text.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜