Closed cxbrooks closed 5 years ago
Yes, we should make a decision about this. So far, the only dependency that I'm aware of is the pqueue implementation, which is also 2-clause BSD. My suggestion would be to add a license to files in our runtime library (e.g., reactor.h) and leave if off the generated files as they are based on LF-code written by others (and they should retain the copyright over them). Is anybody opposed to 2-clause BSD?
I have added a LICENSE.md file and pointers to it in the main source files.
The lingua-franca repository should have a LICENSE.md file.
See https://help.github.com/en/articles/adding-a-license-to-a-repository
I suggest using the BSD 2-Clause License that is listed on the Github website as opposed to the Ptolemy license so that the wording is precisely the same as the much more common BSD 2-Clause License.
However, this is just a minor suggestion, using the Ptolemy license would be fine.
In the past, each source file has had a license at the top of the file. This was in part because portions of Ptolemy would be reused and the license file not included. It might be sufficient for each file include a single line that refers to the license file. However, adding this text to each file is optional and can probably be skipped for now.
BTW - It is an open question as to whether generated files should have a license. If the generated files do have a license, then it is possible to redistribute those files under the license. If the generated files have no license, then they are copyrighted (in the US) and possibly not easily redistributed. However, a license could be added to the generated files by hand.