From e264bed34987e3db155dbab10846f6b92320c1c0 Mon Sep 17 00:00:00 2001 From: Eric Wong Date: Thu, 20 Feb 2025 22:14:28 +0000 Subject: [PATCH] xap_helper: switch C++ implementation to AGPL-3 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 | 3 +-- lib/PublicInbox/xh_cidx.h | 2 +- lib/PublicInbox/xh_mset.h | 2 +- 3 files changed, 3 insertions(+), 4 deletions(-) diff --git a/lib/PublicInbox/xap_helper.h b/lib/PublicInbox/xap_helper.h index 51ab48bfd..95896725c 100644 --- a/lib/PublicInbox/xap_helper.h +++ b/lib/PublicInbox/xap_helper.h @@ -1,7 +1,6 @@ /* * Copyright (C) all contributors - * License: GPL-2.0+ - * Note: GPL-2+ since it'll incorporate approxidate from git someday + * License: AGPL-3.0+ * * Standalone helper process using C and minimal C++ for Xapian, * this is not linked to Perl in any way. diff --git a/lib/PublicInbox/xh_cidx.h b/lib/PublicInbox/xh_cidx.h index 8cc6a8456..095999d09 100644 --- a/lib/PublicInbox/xh_cidx.h +++ b/lib/PublicInbox/xh_cidx.h @@ -1,5 +1,5 @@ // Copyright (C) all contributors -// License: GPL-2.0+ +// License: AGPL-3.0+ // This file is only intended to be included by xap_helper.h // it implements pieces used by CodeSearchIdx.pm diff --git a/lib/PublicInbox/xh_mset.h b/lib/PublicInbox/xh_mset.h index db2692c95..6fdecc397 100644 --- a/lib/PublicInbox/xh_mset.h +++ b/lib/PublicInbox/xh_mset.h @@ -1,5 +1,5 @@ // Copyright (C) all contributors -// License: GPL-2.0+ +// License: AGPL-3.0+ // This file is only intended to be included by xap_helper.h // it implements pieces used by WWW, IMAP and lei -- 2.47.3