What-Glitch--scripts icon indicating copy to clipboard operation
What-Glitch--scripts copied to clipboard

Licence

Open rheaplex opened this issue 12 years ago • 4 comments

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

;-)

rheaplex avatar May 06 '13 00:05 rheaplex

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

hellocatfood avatar May 06 '13 10:05 hellocatfood

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/>.

rheaplex avatar May 06 '13 23:05 rheaplex

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

hellocatfood avatar May 07 '13 12:05 hellocatfood

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.

rheaplex avatar May 07 '13 15:05 rheaplex