Add licenses and copyrights to all source files #54

Closed
lbeltrame opened this Issue Jul 16, 2013 · 4 comments

Comments

Projects
None yet
2 participants
Contributor

lbeltrame commented Jul 16, 2013

Some files are without licenses and copyright. While the MIT license in the main repository tree is good, in order to prevent issues while reusing this code elsewhere license headers should be added to all files.

(I'm quite involved in other non-scientific FOSS projects, where this issue surfaced already).

Contributor

lbeltrame commented Jul 16, 2013

In fact I noticed that the MIT license is also missing from the main repository, so that should be added too.
This template should be enough for most files:

# Copyright (c) 2013 AUTHOR <EMAIL>

# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files (the "Software"), to deal
# in the Software without restriction, including without limitation the rights
# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
# copies of the Software, and to permit persons to whom the Software is
# furnished to do so, subject to the following conditions:

# The above copyright notice and this permission notice shall be included in
# all copies or substantial portions of the Software.

# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
# THE SOFTWARE.
Contributor

lbeltrame commented Jul 17, 2013

FYI, using "git blame" would be a good way to see who has committed significant changes to each file.

Owner

chapmanb commented Jul 18, 2013

Luca;
Apologies, I'm trying to do all my responses in one go since I'm not that great at being negative. I dislike all of the licensing boilerplate at the top of each file since it distracts from the actual code, and think it's unnecessary from a licensing point of view. I'm specifically developing this under a liberal MIT license to avoid all of this and make it as freely available as possible. Sorry again, hope this is okay with your contributions.

chapmanb closed this Jul 18, 2013

Contributor

lbeltrame commented Jul 18, 2013

In data mercoledì 17 luglio 2013 23:15:49, Brad Chapman ha scritto:

Hello Brad,

available as possible. Sorry again, hope this is okay with your
contributions.

It's fine for me, but at least IMO a LICENSE file should be added to the
repository with the MIT text just in case.

Luca Beltrame, Ph.D.
Translational Genomics Unit, Department of Oncology
IRCCS Istituto di Ricerche Farmacologiche "Mario Negri"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment