From 842fe5d616ade3c42f7c2d83c979d7960726c442 Mon Sep 17 00:00:00 2001 From: Eric Wong Date: Sun, 20 Apr 2014 19:07:14 +0000 Subject: [PATCH] Git*.pm: allow code improvements to flow back to git By using GPLv2+, we are compatible with AGPLv3+ while still allowing improvements to flow back into the git-svn modules distributed with git. --- lib/Ssoma/Git.pm | 13 +++++-------- lib/Ssoma/GitIndexInfo.pm | 11 ++++++----- 2 files changed, 11 insertions(+), 13 deletions(-) diff --git a/lib/Ssoma/Git.pm b/lib/Ssoma/Git.pm index aa63e1d..5cec7fb 100644 --- a/lib/Ssoma/Git.pm +++ b/lib/Ssoma/Git.pm @@ -1,14 +1,11 @@ # Copyright (C) 2013, Eric Wong and all contributors -# License: AGPLv3 or later (https://www.gnu.org/licenses/agpl-3.0.txt) +# License: GPLv2 or later (https://www.gnu.org/licenses/gpl-2.0.txt) # # Note: some trivial code here stolen from git-svn + Perl modules -# distributed with git. I wrote these long ago and retain my copyright -# to it, so I'm within my right to relicense as AGPLv3+. The original -# git versions remain GPLv2. -# -# Not using Git.pm and friends directly because some git installations may use -# a different Perl than this (and I might end up rewriting this entirely -# in C at a later time...) +# distributed with git. This remains GPLv2+ so improvements may flow +# back into git. Note: git-svn has always been GPLv2+, unlike most +# of the rest of git being GPLv2-only. + package Ssoma::Git; use strict; use warnings; diff --git a/lib/Ssoma/GitIndexInfo.pm b/lib/Ssoma/GitIndexInfo.pm index 8e8f287..7f20297 100644 --- a/lib/Ssoma/GitIndexInfo.pm +++ b/lib/Ssoma/GitIndexInfo.pm @@ -1,14 +1,15 @@ # Copyright (C) 2013, Eric Wong and all contributors -# License: AGPLv3 or later (https://www.gnu.org/licenses/agpl-3.0.txt) +# License: GPLv2 or later (https://www.gnu.org/licenses/gpl-2.0.txt) # # Note: some trivial code here stolen from git-svn + Perl modules -# distributed with git. I wrote these long ago and retain my copyright -# to it, so I'm within my right to relicense as AGPLv3+. The original -# git versions remain GPLv2. +# distributed with git. This remains GPLv2+ so improvements may flow +# back into git. Note: git-svn has always been GPLv2+, unlike most +# of the rest of git being GPLv2-only. # # Not using Git.pm and friends directly because some git installations may use # a different Perl than this (and I might end up rewriting this entirely -# in another language). +# in another language). Git::IndexInfo is also somewhat recent, so folks +# on LTS distros may not have it, yet. package Ssoma::GitIndexInfo; use strict; -- 2.26.2