We are developing a project in Rails
and planning to open source it under GPLv3
.
I have the following questions regarding this:
- To which files should we add the copyright header? Only the
.rb
files inlib
,controller
,model
,helpers
,config
etc? How about the.erb
,.js
, and.css
files? - Should we add the detailed GPLv3 header to the source files? Or a few liner with a pointer to some external file in the project or a URL to GPL site would be suffice?
I have looked into a couple of open source projects developed in Rails
. Some of them have added the copyright header in .rb
files. Few have added in some other file type too.
This could be a matter of preference, but I am looking for best practices in this regard.
Thanks for your help.