]> git.ipfire.org Git - thirdparty/public-inbox.git/commitdiff
xap_helper: switch C++ implementation to AGPL-3
authorEric Wong <e@80x24.org>
Thu, 20 Feb 2025 22:14:28 +0000 (22:14 +0000)
committerEric Wong <e@80x24.org>
Sun, 23 Feb 2025 12:39:50 +0000 (12:39 +0000)
GPL-2 approxidate code won't work with the XS/SWIG version, so
it looks like we'll keep calling `git rev-parse' in both
versions for the time being.  Meanwhile, it's more valuable to
be able to take GPL-3+ code from notmuch for thread:{} query
parsing.

lib/PublicInbox/xap_helper.h
lib/PublicInbox/xh_cidx.h
lib/PublicInbox/xh_mset.h

index 51ab48bfda57979cce8f74753bdfeab1169d7041..95896725cde2e32897394c14980d46b69891fbb7 100644 (file)
@@ -1,7 +1,6 @@
 /*
  * Copyright (C) all contributors <meta@public-inbox.org>
- * License: GPL-2.0+ <https://www.gnu.org/licenses/gpl-2.0.txt>
- * Note: GPL-2+ since it'll incorporate approxidate from git someday
+ * License: AGPL-3.0+ <https://www.gnu.org/licenses/agpl-3.0.txt>
  *
  * Standalone helper process using C and minimal C++ for Xapian,
  * this is not linked to Perl in any way.
index 8cc6a8456c565404dfae9b7b9606ddd38734fba2..095999d09e08791ebfd7b1d8b5d00fb91ce02ad4 100644 (file)
@@ -1,5 +1,5 @@
 // Copyright (C) all contributors <meta@public-inbox.org>
-// License: GPL-2.0+ <https://www.gnu.org/licenses/gpl-2.0.txt>
+// License: AGPL-3.0+ <https://www.gnu.org/licenses/agpl-3.0.txt>
 // This file is only intended to be included by xap_helper.h
 // it implements pieces used by CodeSearchIdx.pm
 
index db2692c95436680500eb20e83f47baa9cda13a18..6fdecc397d0ab6080ac5dc8016728a4872974234 100644 (file)
@@ -1,5 +1,5 @@
 // Copyright (C) all contributors <meta@public-inbox.org>
-// License: GPL-2.0+ <https://www.gnu.org/licenses/gpl-2.0.txt>
+// License: AGPL-3.0+ <https://www.gnu.org/licenses/agpl-3.0.txt>
 // This file is only intended to be included by xap_helper.h
 // it implements pieces used by WWW, IMAP and lei