hellocatfood / What-Glitch--scripts

http://www.hellocatfood.com/2011/03/11/what-glitch-scripts/
GNU General Public License v2.0
22 stars 2 forks source link

Licence #1

Open rheaplex opened 11 years ago

rheaplex commented 11 years ago

Licence should be GPLv3 in a file named "COPYING" and referenced at the top of each file.

;-)

hellocatfood commented 11 years ago

Right you are! I'll fix that (I'm new to this). How would you reference it in the file itself?

rheaplex commented 11 years ago

It's heavy for a short script, but the top of the file should look like (with obvious modification):

#!/bin/bash
# script.sh - A script to do something I describe here
#
# Copyright (C) 2013 Antonio Roberts
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program.  If not, see <http://www.gnu.org/licenses/>.
hellocatfood commented 11 years ago

Why every file? Cannot the one licence file reference each script?

rheaplex commented 11 years ago

Scripts reference the license, not vice versa. See here:

http://www.gnu.org/licenses/gpl-howto.html

If you want to just put "Copyright 2013 , License: GPL v3+" at the top of each file I'm not sure how sound that is legally but I've seen it in e.g. Python files.