Would something like This program uses code written by Nathan2055 satisfy the requirements for the BSD license, or do I need to copy out the whole notice? I know it asks that the notice is kept intact, but if I'm only using one file of code it's a waste to have to copy the entire license into the main copyright file.

  • At least link to a URL of the upstream repo and license file. – Thilo May 20 '13 at 0:00

You would probably have to say something to the effect of "This program uses code written by Nathan2055, which is licensed under the BSD license" and provide a link to the version of the license. However, to be safe, you're probably better off just putting the entire license in there. You don't want to get into any legal trouble over the exclusion of a simple text document.

  • Thinking about it, I should probably put the "This program uses code written by..." in the README, and then put the license in a separate file named "LICENSE-<name of project>" with the license in it. – Nathan2055 May 20 '13 at 0:03
  • 3
    @Nathan2055 That's exactly how I would do it. Put something like "see LICENSE-<name of project>" – jepugs May 20 '13 at 0:05

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.