Programmers Stack Exchange is a question and answer site for professional programmers interested in conceptual questions about software development. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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.

share|improve this question

migrated from Jul 11 '13 at 12:41

This question came from our site for professional and enthusiast programmers.

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

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.

share|improve this answer
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
@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 posting your answer, you agree to the privacy policy and terms of service.

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