New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
add copyright notices to all files #154
Comments
Hi @certik , I would like to solve this issue and for this would like to know your opinion about some change. I found auto-check and auto adding copyright for source code using pre-commit, this will simplicy a lot the problem It seems we can use this too : https://reuse.software/faq/ that means
How do you feel about this move ? Meanwhile I added the pre-commit check to avoid file without license infos (the infos are added automatically) #298 |
I am fine with LICENSE / LICENSES I think. I think it's fine to just use one file, but if you feel strongly you prefer two, you can. I would not put any copyright into files. I think it's not worth the hassle. I would definitely not put names, such as mine, into files, as I think it discourages others to contribute, as they might naturally think that the person listed "owns" the file, while that is not the case. |
I understand your concerns, however some companies or institutions are very picky about copyright stuffs (even if the license are compatibles) and as such ask files to have copyright in it to perform automatic checks etcetc. I discovered this when some people asked me for a part of some code I wrote (and I would definitivelly think anyone would have thought it would be in public domain given the simplicity of it). That why The copyright intro is very short : /* cpp-terminal
* C++ library for writing multiplatform terminal applications.
*
* SPDX-FileCopyrightText: 2019-2023 Ondřej Čertík
*
* SPDX-License-Identifier: MIT
* / If you don't want to have your name I think it's fine to put the organization name jupyter-xeus. It still very nice to know from where the file comes from if some people want to contribute to the development. Sometimes project includes a lot of libraries and it can be difficult to kno where the file comes from. Then there is a pre-commit check that add directly the copyright for you so the process is quite transparent to the programmer. the pre-commit check if there is not copyright and if so copy paste the .LICENSE into the source file (This is how I added the license in #298) |
Just put copyright as "cpp-terminal". I would not do it, but if you insist, you can put the short header in each file. |
I think we should add small copyright headers to the header files. Something like:
The text was updated successfully, but these errors were encountered: