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

This is some sort of follow up to an older question of me.

So I put the GPLv3 license into the project which contains my script and also added the copyright notice and copying permission statement to the top of my script.

Now, apart from the script, the package also contains files which are helpful for using the script (e.g. a bash completion file and unit tests) but which are not relevant for the script to actually work. Do I also need to put copyright notice/permission in there?

I've looked into some projects on github, and most don't seem to add these information to accompanying things.

Still, I'm unsure what's the best approach.

share|improve this question
I'm not a big fan of the GPL licenses for exactly this reason. Do you absolutely have to go with GPL, or can you consider some other license such as Apache, MIT or BSD? – GordonM Aug 2 '12 at 13:47
@GordonM The GPL was the first thing that came to my mind but going with another license would also be okay for me. Maybe I need more information on this topic. – Oliver Weiler Aug 2 '12 at 14:11
up vote 3 down vote accepted

You should put a copyright and license header into each file, even if you publish them under a different license. This way, you avoid that your users experience the same confusion that made you ask your question.

share|improve this answer

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.