From 50ee0f5be86e79c5b974ad2a2f1d452c7fda5012 Mon Sep 17 00:00:00 2001 From: Drew DeVault Date: Thu, 21 Mar 2024 20:11:44 +0100 Subject: [PATCH] all: let's go LGPL over GPL Based on feedback from interested parties --- COPYING | 2 +- .../{GPL-3.0-only.txt => LGPL-3.0-only.txt} | 80 ++++++++++++++++++- README.md | 4 +- runtest | 2 +- runtest-cluster | 2 +- runtest-moduleapi | 2 +- runtest-sentinel | 2 +- src/Makefile | 2 +- src/acl.c | 2 +- src/adlist.c | 2 +- src/adlist.h | 2 +- src/ae.c | 2 +- src/ae.h | 2 +- src/ae_epoll.c | 2 +- src/ae_evport.c | 2 +- src/ae_kqueue.c | 2 +- src/ae_select.c | 2 +- src/anet.c | 2 +- src/anet.h | 2 +- src/aof.c | 2 +- src/asciilogo.h | 2 +- src/atomicvar.h | 2 +- src/bio.c | 2 +- src/bio.h | 2 +- src/bitops.c | 2 +- src/blocked.c | 2 +- src/call_reply.c | 2 +- src/call_reply.h | 2 +- src/childinfo.c | 2 +- src/cli_commands.c | 2 +- src/cli_commands.h | 2 +- src/cli_common.c | 2 +- src/cli_common.h | 2 +- src/cluster.c | 2 +- src/cluster.h | 2 +- src/cluster_legacy.c | 2 +- src/cluster_legacy.h | 2 +- src/commands.c | 2 +- src/commands.h | 2 +- src/config.c | 2 +- src/config.h | 2 +- src/connection.c | 2 +- src/connection.h | 2 +- src/connhelpers.h | 2 +- src/crc16.c | 2 +- src/crc16_slottable.h | 2 +- src/crc64.c | 2 +- src/crc64.h | 2 +- src/crcspeed.c | 2 +- src/crcspeed.h | 2 +- src/db.c | 2 +- src/debug.c | 2 +- src/debugmacro.h | 2 +- src/defrag.c | 2 +- src/dict.c | 2 +- src/dict.h | 2 +- src/endianconv.c | 2 +- src/endianconv.h | 2 +- src/eval.c | 2 +- src/evict.c | 2 +- src/expire.c | 2 +- src/fmacros.h | 2 +- src/fmtargs.h | 2 +- src/function_lua.c | 2 +- src/functions.c | 2 +- src/functions.h | 2 +- src/geo.c | 2 +- src/geo.h | 2 +- src/geohash.c | 2 +- src/geohash.h | 2 +- src/geohash_helper.c | 2 +- src/geohash_helper.h | 2 +- src/hyperloglog.c | 2 +- src/intset.c | 2 +- src/intset.h | 2 +- src/kvstore.c | 2 +- src/kvstore.h | 2 +- src/latency.c | 2 +- src/latency.h | 2 +- src/lazyfree.c | 2 +- src/listpack.c | 2 +- src/listpack.h | 2 +- src/listpack_malloc.h | 2 +- src/localtime.c | 2 +- src/logreqres.c | 2 +- src/lolwut.c | 2 +- src/lolwut.h | 2 +- src/lolwut5.c | 2 +- src/lolwut6.c | 2 +- src/lzf.h | 2 +- src/lzfP.h | 2 +- src/lzf_c.c | 2 +- src/lzf_d.c | 2 +- src/memtest.c | 2 +- src/mkreleasehdr.sh | 2 +- src/module.c | 2 +- src/modules/Makefile | 2 +- src/monotonic.c | 2 +- src/monotonic.h | 2 +- src/mt19937-64.c | 2 +- src/mt19937-64.h | 2 +- src/multi.c | 2 +- src/networking.c | 2 +- src/notify.c | 2 +- src/object.c | 2 +- src/pqsort.c | 2 +- src/pqsort.h | 2 +- src/pubsub.c | 2 +- src/quicklist.c | 2 +- src/quicklist.h | 2 +- src/rand.c | 2 +- src/rand.h | 2 +- src/rax.c | 2 +- src/rax.h | 2 +- src/rax_malloc.h | 2 +- src/rdb.c | 2 +- src/rdb.h | 2 +- src/redict-benchmark.c | 2 +- src/redict-check-aof.c | 2 +- src/redict-check-rdb.c | 2 +- src/redict-cli.c | 2 +- src/redict-trib.rb | 2 +- src/redictassert.c | 2 +- src/redictassert.h | 2 +- src/release.c | 2 +- src/replication.c | 2 +- src/resp_parser.c | 2 +- src/resp_parser.h | 2 +- src/rio.c | 2 +- src/rio.h | 2 +- src/script.c | 2 +- src/script.h | 2 +- src/script_lua.c | 2 +- src/script_lua.h | 2 +- src/sds.c | 2 +- src/sds.h | 2 +- src/sdsalloc.h | 2 +- src/sentinel.c | 2 +- src/server.c | 2 +- src/server.h | 2 +- src/setcpuaffinity.c | 2 +- src/setproctitle.c | 2 +- src/sha1.c | 2 +- src/sha1.h | 2 +- src/sha256.c | 2 +- src/sha256.h | 2 +- src/siphash.c | 2 +- src/slowlog.c | 2 +- src/slowlog.h | 2 +- src/socket.c | 2 +- src/solarisfixes.h | 2 +- src/sort.c | 2 +- src/sparkline.c | 2 +- src/sparkline.h | 2 +- src/stream.h | 2 +- src/strl.c | 2 +- src/syncio.c | 2 +- src/syscheck.c | 2 +- src/syscheck.h | 2 +- src/t_hash.c | 2 +- src/t_list.c | 2 +- src/t_set.c | 2 +- src/t_stream.c | 2 +- src/t_string.c | 2 +- src/t_zset.c | 2 +- src/testhelp.h | 2 +- src/threads_mngr.c | 2 +- src/threads_mngr.h | 2 +- src/timeout.c | 2 +- src/tls.c | 2 +- src/tracking.c | 2 +- src/unix.c | 2 +- src/util.c | 2 +- src/util.h | 2 +- src/version.h | 2 +- src/ziplist.c | 2 +- src/ziplist.h | 2 +- src/zipmap.c | 2 +- src/zipmap.h | 2 +- src/zmalloc.c | 2 +- src/zmalloc.h | 2 +- tests/cluster/cluster.tcl | 2 +- tests/cluster/run.tcl | 2 +- tests/cluster/tests/00-base.tcl | 2 +- tests/cluster/tests/01-faildet.tcl | 2 +- tests/cluster/tests/02-failover.tcl | 2 +- tests/cluster/tests/03-failover-loop.tcl | 2 +- tests/cluster/tests/04-resharding.tcl | 2 +- tests/cluster/tests/05-slave-selection.tcl | 2 +- tests/cluster/tests/06-slave-stop-cond.tcl | 2 +- tests/cluster/tests/07-replica-migration.tcl | 2 +- tests/cluster/tests/08-update-msg.tcl | 2 +- tests/cluster/tests/09-pubsub.tcl | 2 +- tests/cluster/tests/10-manual-failover.tcl | 2 +- tests/cluster/tests/11-manual-takeover.tcl | 2 +- .../cluster/tests/12-replica-migration-2.tcl | 2 +- .../tests/12.1-replica-migration-3.tcl | 2 +- tests/cluster/tests/13-no-failover-option.tcl | 2 +- tests/cluster/tests/14-consistency-check.tcl | 2 +- tests/cluster/tests/15-cluster-slots.tcl | 2 +- .../tests/16-transactions-on-replica.tcl | 2 +- .../cluster/tests/17-diskless-load-swapdb.tcl | 2 +- tests/cluster/tests/18-info.tcl | 2 +- .../cluster/tests/19-cluster-nodes-slots.tcl | 2 +- tests/cluster/tests/20-half-migrated-slot.tcl | 2 +- .../cluster/tests/21-many-slot-migration.tcl | 2 +- tests/cluster/tests/22-replica-in-sync.tcl | 2 +- .../tests/25-pubsubshard-slot-migration.tcl | 2 +- tests/cluster/tests/26-pubsubshard.tcl | 2 +- tests/cluster/tests/28-cluster-shards.tcl | 2 +- .../tests/29-slot-migration-response.tcl | 2 +- tests/cluster/tests/helpers/onlydots.tcl | 2 +- tests/cluster/tests/includes/init-tests.tcl | 2 +- tests/cluster/tests/includes/utils.tcl | 2 +- tests/helpers/bg_block_op.tcl | 2 +- tests/helpers/bg_complex_data.tcl | 2 +- tests/helpers/fake_redict_node.tcl | 2 +- tests/helpers/gen_write_load.tcl | 2 +- tests/instances.tcl | 2 +- tests/integration/aof-multi-part.tcl | 2 +- tests/integration/aof-race.tcl | 2 +- tests/integration/aof.tcl | 2 +- tests/integration/block-repl.tcl | 2 +- .../convert-ziplist-hash-on-load.tcl | 2 +- .../convert-ziplist-zset-on-load.tcl | 2 +- .../convert-zipmap-hash-on-load.tcl | 2 +- tests/integration/corrupt-dump-fuzzer.tcl | 2 +- tests/integration/corrupt-dump.tcl | 2 +- tests/integration/dismiss-mem.tcl | 2 +- tests/integration/failover.tcl | 2 +- tests/integration/logging.tcl | 2 +- tests/integration/psync2-master-restart.tcl | 2 +- tests/integration/psync2-pingoff.tcl | 2 +- tests/integration/psync2-reg.tcl | 2 +- tests/integration/psync2.tcl | 2 +- tests/integration/rdb.tcl | 2 +- tests/integration/redict-benchmark.tcl | 2 +- tests/integration/redict-cli.tcl | 2 +- tests/integration/replication-2.tcl | 2 +- tests/integration/replication-3.tcl | 2 +- tests/integration/replication-4.tcl | 2 +- tests/integration/replication-buffer.tcl | 2 +- tests/integration/replication-psync.tcl | 2 +- tests/integration/replication.tcl | 2 +- tests/integration/shutdown.tcl | 2 +- tests/modules/aclcheck.c | 2 +- tests/modules/auth.c | 2 +- tests/modules/basics.c | 2 +- tests/modules/blockedclient.c | 2 +- tests/modules/blockonbackground.c | 2 +- tests/modules/blockonkeys.c | 2 +- tests/modules/cmdintrospection.c | 2 +- tests/modules/commandfilter.c | 2 +- tests/modules/crash.c | 2 +- tests/modules/datatype.c | 2 +- tests/modules/datatype2.c | 2 +- tests/modules/defragtest.c | 2 +- tests/modules/eventloop.c | 2 +- tests/modules/fork.c | 2 +- tests/modules/getchannels.c | 2 +- tests/modules/getkeys.c | 2 +- tests/modules/hash.c | 2 +- tests/modules/hooks.c | 2 +- tests/modules/infotest.c | 2 +- tests/modules/keyspace_events.c | 2 +- tests/modules/keyspecs.c | 2 +- tests/modules/list.c | 2 +- tests/modules/mallocsize.c | 2 +- tests/modules/misc.c | 2 +- tests/modules/moduleauthtwo.c | 2 +- tests/modules/moduleconfigs.c | 2 +- tests/modules/moduleconfigstwo.c | 2 +- tests/modules/postnotifications.c | 2 +- tests/modules/propagate.c | 2 +- tests/modules/publish.c | 2 +- tests/modules/rdbloadsave.c | 2 +- tests/modules/reply.c | 2 +- tests/modules/scan.c | 2 +- tests/modules/stream.c | 2 +- tests/modules/subcommands.c | 2 +- tests/modules/test_lazyfree.c | 2 +- tests/modules/testrdb.c | 2 +- tests/modules/timer.c | 2 +- tests/modules/usercall.c | 2 +- tests/modules/zset.c | 2 +- tests/sentinel/run.tcl | 2 +- tests/sentinel/tests/00-base.tcl | 2 +- tests/sentinel/tests/01-conf-update.tcl | 2 +- tests/sentinel/tests/02-slaves-reconf.tcl | 2 +- tests/sentinel/tests/03-runtime-reconf.tcl | 2 +- tests/sentinel/tests/04-slave-selection.tcl | 2 +- tests/sentinel/tests/05-manual.tcl | 2 +- tests/sentinel/tests/06-ckquorum.tcl | 2 +- tests/sentinel/tests/07-down-conditions.tcl | 2 +- tests/sentinel/tests/08-hostname-conf.tcl | 2 +- tests/sentinel/tests/09-acl-support.tcl | 2 +- tests/sentinel/tests/10-replica-priority.tcl | 2 +- tests/sentinel/tests/11-port-0.tcl | 2 +- tests/sentinel/tests/12-master-reboot.tcl | 2 +- tests/sentinel/tests/13-info-command.tcl | 2 +- tests/sentinel/tests/14-debug-command.tcl | 2 +- .../tests/15-config-set-config-get.tcl | 2 +- .../tests/helpers/check_leaked_fds.tcl | 2 +- tests/sentinel/tests/includes/init-tests.tcl | 2 +- .../tests/includes/start-init-tests.tcl | 2 +- tests/sentinel/tests/includes/utils.tcl | 2 +- tests/support/aofmanifest.tcl | 2 +- tests/support/benchmark.tcl | 2 +- tests/support/cli.tcl | 2 +- tests/support/cluster.tcl | 2 +- tests/support/cluster_util.tcl | 2 +- tests/support/redict.tcl | 2 +- tests/support/response_transformers.tcl | 2 +- tests/support/server.tcl | 2 +- tests/support/test.tcl | 2 +- tests/support/tmpfile.tcl | 2 +- tests/support/util.tcl | 2 +- tests/test_helper.tcl | 2 +- tests/unit/acl-v2.tcl | 2 +- tests/unit/acl.tcl | 2 +- tests/unit/aofrw.tcl | 2 +- tests/unit/auth.tcl | 2 +- tests/unit/bitfield.tcl | 2 +- tests/unit/bitops.tcl | 2 +- tests/unit/client-eviction.tcl | 2 +- tests/unit/cluster/announced-endpoints.tcl | 2 +- tests/unit/cluster/cli.tcl | 2 +- tests/unit/cluster/cluster-response-tls.tcl | 2 +- tests/unit/cluster/failure-marking.tcl | 2 +- tests/unit/cluster/hostnames.tcl | 2 +- .../unit/cluster/human-announced-nodename.tcl | 2 +- tests/unit/cluster/links.tcl | 2 +- tests/unit/cluster/misc.tcl | 2 +- tests/unit/cluster/multi-slot-operations.tcl | 2 +- tests/unit/cluster/scripting.tcl | 2 +- tests/unit/cluster/slot-ownership.tcl | 2 +- tests/unit/dump.tcl | 2 +- tests/unit/expire.tcl | 2 +- tests/unit/functions.tcl | 2 +- tests/unit/geo.tcl | 2 +- tests/unit/hyperloglog.tcl | 2 +- tests/unit/info-command.tcl | 2 +- tests/unit/info.tcl | 2 +- tests/unit/introspection-2.tcl | 2 +- tests/unit/introspection.tcl | 2 +- tests/unit/keyspace.tcl | 2 +- tests/unit/latency-monitor.tcl | 2 +- tests/unit/lazyfree.tcl | 2 +- tests/unit/limits.tcl | 2 +- tests/unit/maxmemory.tcl | 2 +- tests/unit/memefficiency.tcl | 2 +- tests/unit/moduleapi/aclcheck.tcl | 2 +- tests/unit/moduleapi/async_rm_call.tcl | 2 +- tests/unit/moduleapi/auth.tcl | 2 +- tests/unit/moduleapi/basics.tcl | 2 +- tests/unit/moduleapi/blockedclient.tcl | 2 +- tests/unit/moduleapi/blockonbackground.tcl | 2 +- tests/unit/moduleapi/blockonkeys.tcl | 2 +- tests/unit/moduleapi/cluster.tcl | 2 +- tests/unit/moduleapi/cmdintrospection.tcl | 2 +- tests/unit/moduleapi/commandfilter.tcl | 2 +- tests/unit/moduleapi/crash.tcl | 2 +- tests/unit/moduleapi/datatype.tcl | 2 +- tests/unit/moduleapi/datatype2.tcl | 2 +- tests/unit/moduleapi/defrag.tcl | 2 +- tests/unit/moduleapi/eventloop.tcl | 2 +- tests/unit/moduleapi/fork.tcl | 2 +- tests/unit/moduleapi/getchannels.tcl | 2 +- tests/unit/moduleapi/getkeys.tcl | 2 +- tests/unit/moduleapi/hash.tcl | 2 +- tests/unit/moduleapi/hooks.tcl | 2 +- tests/unit/moduleapi/infotest.tcl | 2 +- tests/unit/moduleapi/infra.tcl | 2 +- tests/unit/moduleapi/keyspace_events.tcl | 2 +- tests/unit/moduleapi/keyspecs.tcl | 2 +- tests/unit/moduleapi/list.tcl | 2 +- tests/unit/moduleapi/mallocsize.tcl | 2 +- tests/unit/moduleapi/misc.tcl | 2 +- tests/unit/moduleapi/moduleauth.tcl | 2 +- tests/unit/moduleapi/moduleconfigs.tcl | 2 +- tests/unit/moduleapi/postnotifications.tcl | 2 +- tests/unit/moduleapi/propagate.tcl | 2 +- tests/unit/moduleapi/publish.tcl | 2 +- tests/unit/moduleapi/rdbloadsave.tcl | 2 +- tests/unit/moduleapi/reply.tcl | 2 +- tests/unit/moduleapi/scan.tcl | 2 +- tests/unit/moduleapi/stream.tcl | 2 +- tests/unit/moduleapi/subcommands.tcl | 2 +- tests/unit/moduleapi/test_lazyfree.tcl | 2 +- tests/unit/moduleapi/testrdb.tcl | 2 +- tests/unit/moduleapi/timer.tcl | 2 +- tests/unit/moduleapi/usercall.tcl | 2 +- tests/unit/moduleapi/zset.tcl | 2 +- tests/unit/multi.tcl | 2 +- tests/unit/networking.tcl | 2 +- tests/unit/obuf-limits.tcl | 2 +- tests/unit/oom-score-adj.tcl | 2 +- tests/unit/other.tcl | 2 +- tests/unit/pause.tcl | 2 +- tests/unit/printver.tcl | 2 +- tests/unit/protocol.tcl | 2 +- tests/unit/pubsub.tcl | 2 +- tests/unit/pubsubshard.tcl | 2 +- tests/unit/querybuf.tcl | 2 +- tests/unit/quit.tcl | 2 +- tests/unit/replybufsize.tcl | 2 +- tests/unit/scan.tcl | 2 +- tests/unit/scripting.tcl | 2 +- tests/unit/shutdown.tcl | 2 +- tests/unit/slowlog.tcl | 2 +- tests/unit/sort.tcl | 2 +- tests/unit/tls.tcl | 2 +- tests/unit/tracking.tcl | 2 +- tests/unit/type/hash.tcl | 2 +- tests/unit/type/incr.tcl | 2 +- tests/unit/type/list-2.tcl | 2 +- tests/unit/type/list-3.tcl | 2 +- tests/unit/type/list-common.tcl | 2 +- tests/unit/type/list.tcl | 2 +- tests/unit/type/set.tcl | 2 +- tests/unit/type/stream-cgroups.tcl | 2 +- tests/unit/type/stream.tcl | 2 +- tests/unit/type/string.tcl | 2 +- tests/unit/type/zset.tcl | 2 +- tests/unit/violations.tcl | 2 +- tests/unit/wait.tcl | 2 +- utils/build-static-symbols.tcl | 2 +- utils/cluster_fail_time.tcl | 2 +- utils/corrupt_rdb.c | 2 +- utils/create-cluster/create-cluster | 2 +- utils/gen-test-certs.sh | 2 +- utils/generate-command-code.py | 2 +- utils/generate-commands-json.py | 2 +- utils/generate-fmtargs.py | 2 +- utils/generate-module-api-doc.rb | 2 +- utils/graphs/commits-over-time/genhtml.tcl | 2 +- utils/hyperloglog/hll-err.rb | 2 +- utils/hyperloglog/hll-gnuplot-graph.rb | 2 +- utils/install_server.sh | 2 +- utils/lru/lfu-simulation.c | 2 +- utils/lru/test-lru.rb | 2 +- utils/redis-copy.rb | 2 +- utils/redis-sha1.rb | 2 +- utils/redis_init_script | 2 +- utils/redis_init_script.tpl | 2 +- utils/releasetools/01_create_tarball.sh | 2 +- utils/releasetools/02_upload_tarball.sh | 2 +- utils/releasetools/03_test_release.sh | 2 +- utils/releasetools/04_release_hash.sh | 2 +- utils/releasetools/changelog.tcl | 2 +- utils/reply_schema_linter.js | 2 +- utils/req-res-log-validator.py | 2 +- utils/speed-regression.tcl | 2 +- utils/srandmember/showdist.rb | 2 +- utils/srandmember/showfreq.rb | 2 +- utils/tracking_collisions.c | 2 +- utils/whatisdoing.sh | 2 +- 457 files changed, 533 insertions(+), 461 deletions(-) rename LICENSES/{GPL-3.0-only.txt => LGPL-3.0-only.txt} (81%) diff --git a/COPYING b/COPYING index ec10c8e48..3bef7f09f 100644 --- a/COPYING +++ b/COPYING @@ -13,7 +13,7 @@ Redistribution and use in source and binary forms, with or without modification, THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. All changes added after 7.2.4 are distributed under the terms of the GNU General -Public License 3.0 (GPL-3.0-only): +Public License 3.0 (LGPL-3.0-only): GNU GENERAL PUBLIC LICENSE Version 3, 29 June 2007 diff --git a/LICENSES/GPL-3.0-only.txt b/LICENSES/LGPL-3.0-only.txt similarity index 81% rename from LICENSES/GPL-3.0-only.txt rename to LICENSES/LGPL-3.0-only.txt index f6cdd22a6..513d1c01f 100644 --- a/LICENSES/GPL-3.0-only.txt +++ b/LICENSES/LGPL-3.0-only.txt @@ -1,7 +1,79 @@ +GNU LESSER GENERAL PUBLIC LICENSE +Version 3, 29 June 2007 + +Copyright (C) 2007 Free Software Foundation, Inc. + +Everyone is permitted to copy and distribute verbatim copies of this license document, but changing it is not allowed. + +This version of the GNU Lesser General Public License incorporates the terms and conditions of version 3 of the GNU General Public License, supplemented by the additional permissions listed below. + +0. Additional Definitions. + +As used herein, "this License" refers to version 3 of the GNU Lesser General Public License, and the "GNU GPL" refers to version 3 of the GNU General Public License. + +"The Library" refers to a covered work governed by this License, other than an Application or a Combined Work as defined below. + +An "Application" is any work that makes use of an interface provided by the Library, but which is not otherwise based on the Library. Defining a subclass of a class defined by the Library is deemed a mode of using an interface provided by the Library. + +A "Combined Work" is a work produced by combining or linking an Application with the Library. The particular version of the Library with which the Combined Work was made is also called the "Linked Version". + +The "Minimal Corresponding Source" for a Combined Work means the Corresponding Source for the Combined Work, excluding any source code for portions of the Combined Work that, considered in isolation, are based on the Application, and not on the Linked Version. + +The "Corresponding Application Code" for a Combined Work means the object code and/or source code for the Application, including any data and utility programs needed for reproducing the Combined Work from the Application, but excluding the System Libraries of the Combined Work. + +1. Exception to Section 3 of the GNU GPL. +You may convey a covered work under sections 3 and 4 of this License without being bound by section 3 of the GNU GPL. + +2. Conveying Modified Versions. +If you modify a copy of the Library, and, in your modifications, a facility refers to a function or data to be supplied by an Application that uses the facility (other than as an argument passed when the facility is invoked), then you may convey a copy of the modified version: + + a) under this License, provided that you make a good faith effort to ensure that, in the event an Application does not supply the function or data, the facility still operates, and performs whatever part of its purpose remains meaningful, or + + b) under the GNU GPL, with none of the additional permissions of this License applicable to that copy. + +3. Object Code Incorporating Material from Library Header Files. +The object code form of an Application may incorporate material from a header file that is part of the Library. You may convey such object code under terms of your choice, provided that, if the incorporated material is not limited to numerical parameters, data structure layouts and accessors, or small macros, inline functions and templates (ten or fewer lines in length), you do both of the following: + + a) Give prominent notice with each copy of the object code that the Library is used in it and that the Library and its use are covered by this License. + + b) Accompany the object code with a copy of the GNU GPL and this license document. + +4. Combined Works. +You may convey a Combined Work under terms of your choice that, taken together, effectively do not restrict modification of the portions of the Library contained in the Combined Work and reverse engineering for debugging such modifications, if you also do each of the following: + + a) Give prominent notice with each copy of the Combined Work that the Library is used in it and that the Library and its use are covered by this License. + + b) Accompany the Combined Work with a copy of the GNU GPL and this license document. + + c) For a Combined Work that displays copyright notices during execution, include the copyright notice for the Library among these notices, as well as a reference directing the user to the copies of the GNU GPL and this license document. + + d) Do one of the following: + + 0) Convey the Minimal Corresponding Source under the terms of this License, and the Corresponding Application Code in a form suitable for, and under terms that permit, the user to recombine or relink the Application with a modified version of the Linked Version to produce a modified Combined Work, in the manner specified by section 6 of the GNU GPL for conveying Corresponding Source. + + 1) Use a suitable shared library mechanism for linking with the Library. A suitable mechanism is one that (a) uses at run time a copy of the Library already present on the user's computer system, and (b) will operate properly with a modified version of the Library that is interface-compatible with the Linked Version. + + e) Provide Installation Information, but only if you would otherwise be required to provide such information under section 6 of the GNU GPL, and only to the extent that such information is necessary to install and execute a modified version of the Combined Work produced by recombining or relinking the Application with a modified version of the Linked Version. (If you use option 4d0, the Installation Information must accompany the Minimal Corresponding Source and Corresponding Application Code. If you use option 4d1, you must provide the Installation Information in the manner specified by section 6 of the GNU GPL for conveying Corresponding Source.) + +5. Combined Libraries. +You may place library facilities that are a work based on the Library side by side in a single library together with other library facilities that are not Applications and are not covered by this License, and convey such a combined library under terms of your choice, if you do both of the following: + + a) Accompany the combined library with a copy of the same work based on the Library, uncombined with any other library facilities, conveyed under the terms of this License. + + b) Give prominent notice with the combined library that part of it is a work based on the Library, and explaining where to find the accompanying uncombined form of the same work. + +6. Revised Versions of the GNU Lesser General Public License. +The Free Software Foundation may publish revised and/or new versions of the GNU Lesser General Public License from time to time. Such new versions will be similar in spirit to the present version, but may differ in detail to address new problems or concerns. + +Each version is given a distinguishing version number. If the Library as you received it specifies that a certain numbered version of the GNU Lesser General Public License "or any later version" applies to it, you have the option of following the terms and conditions either of that published version or of any later version published by the Free Software Foundation. If the Library as you received it does not specify a version number of the GNU Lesser General Public License, you may choose any version of the GNU Lesser General Public License ever published by the Free Software Foundation. + +If the Library as you received it specifies that a proxy can decide whether future versions of the GNU Lesser General Public License shall +apply, that proxy's public statement of acceptance of any version is permanent authorization for you to choose that version for the Library. + GNU GENERAL PUBLIC LICENSE Version 3, 29 June 2007 -Copyright © 2007 Free Software Foundation, Inc. +Copyright © 2007 Free Software Foundation, Inc. Everyone is permitted to copy and distribute verbatim copies of this license document, but changing it is not allowed. @@ -215,7 +287,7 @@ To do so, attach the following notices to the program. It is safest to attach th 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 . + You should have received a copy of the GNU General Public License along with this program. If not, see . Also add information on how to contact you by electronic and paper mail. @@ -227,6 +299,6 @@ If the program does terminal interaction, make it output a short notice like thi The hypothetical commands `show w' and `show c' should show the appropriate parts of the General Public License. Of course, your program's commands might be different; for a GUI interface, you would use an “about box”. -You should also get your employer (if you work as a programmer) or school, if any, to sign a “copyright disclaimer” for the program, if necessary. For more information on this, and how to apply and follow the GNU GPL, see . +You should also get your employer (if you work as a programmer) or school, if any, to sign a “copyright disclaimer” for the program, if necessary. For more information on this, and how to apply and follow the GNU GPL, see . -The GNU General Public License does not permit incorporating your program into proprietary programs. If your program is a subroutine library, you may consider it more useful to permit linking proprietary applications with the library. If this is what you want to do, use the GNU Lesser General Public License instead of this License. But first, please read . +The GNU General Public License does not permit incorporating your program into proprietary programs. If your program is a subroutine library, you may consider it more useful to permit linking proprietary applications with the library. If this is what you want to do, use the GNU Lesser General Public License instead of this License. But first, please read . diff --git a/README.md b/README.md index a1b4dd942..58ddd93d0 100644 --- a/README.md +++ b/README.md @@ -12,7 +12,7 @@ to a [non-free license][nonfree]. This fork is intended to be backwards-compatible with Redis 7.2.4 and then to diverge from then onwards. It should work as a drop-in replacement for Redis 7.2.4, but compatibility with later versions of Redis is not guaranteed. The -codebase has been relicensed from BSD-3-Clause to GPL-3.0-only and will not be +codebase has been relicensed from BSD-3-Clause to LGPL-3.0-only and will not be using a Contributor License Agreement, which prevents it a similar non-free change from ever taking place in the future of Redict. @@ -22,7 +22,7 @@ More details to come in a later announcement. * [x] Rename binaries * [x] Update test suite -* [x] Relicense as GPL-3.0-only +* [x] Relicense as LGPL-3.0-only * [x] Update copyright headers * [x] REUSE for license management * [x] Rename source files diff --git a/runtest b/runtest index 7cefaed65..cabbabf15 100755 --- a/runtest +++ b/runtest @@ -2,7 +2,7 @@ # # SPDX-FileCopyrightText: 2024 Redict Contributors # -# SPDX-License-Identifier: GPL-3.0-only +# SPDX-License-Identifier: LGPL-3.0-only TCL_VERSIONS="8.5 8.6 8.7" TCLSH="" diff --git a/runtest-cluster b/runtest-cluster index d7f471e4d..7a849cd3b 100755 --- a/runtest-cluster +++ b/runtest-cluster @@ -2,7 +2,7 @@ # # SPDX-FileCopyrightText: 2024 Redict Contributors # -# SPDX-License-Identifier: GPL-3.0-only +# SPDX-License-Identifier: LGPL-3.0-only TCL_VERSIONS="8.5 8.6 8.7" TCLSH="" diff --git a/runtest-moduleapi b/runtest-moduleapi index a286325c6..94cc789e5 100755 --- a/runtest-moduleapi +++ b/runtest-moduleapi @@ -2,7 +2,7 @@ # # SPDX-FileCopyrightText: 2024 Redict Contributors # -# SPDX-License-Identifier: GPL-3.0-only +# SPDX-License-Identifier: LGPL-3.0-only TCL_VERSIONS="8.5 8.6 8.7" TCLSH="" [ -z "$MAKE" ] && MAKE=make diff --git a/runtest-sentinel b/runtest-sentinel index 0cf0b23b0..b77c6fde0 100755 --- a/runtest-sentinel +++ b/runtest-sentinel @@ -2,7 +2,7 @@ # # SPDX-FileCopyrightText: 2024 Redict Contributors # -# SPDX-License-Identifier: GPL-3.0-only +# SPDX-License-Identifier: LGPL-3.0-only TCL_VERSIONS="8.5 8.6 8.7" TCLSH="" diff --git a/src/Makefile b/src/Makefile index 47f8f385f..f15866621 100644 --- a/src/Makefile +++ b/src/Makefile @@ -3,7 +3,7 @@ # SPDX-FileCopyrightText: 2024 Salvatore Sanfilippo # # SPDX-License-Identifier: BSD-3-Clause -# SPDX-License-Identifier: GPL-3.0-only +# SPDX-License-Identifier: LGPL-3.0-only release_hdr := $(shell sh -c './mkreleasehdr.sh') uname_S := $(shell sh -c 'uname -s 2>/dev/null || echo not') diff --git a/src/acl.c b/src/acl.c index f34fc3177..768176e7e 100644 --- a/src/acl.c +++ b/src/acl.c @@ -3,7 +3,7 @@ // SPDX-FileCopyrightText: 2024 Salvatore Sanfilippo // // SPDX-License-Identifier: BSD-3-Clause -// SPDX-License-Identifier: GPL-3.0-only +// SPDX-License-Identifier: LGPL-3.0-only #include "server.h" #include "sha256.h" diff --git a/src/adlist.c b/src/adlist.c index e02a15761..02f86f643 100644 --- a/src/adlist.c +++ b/src/adlist.c @@ -3,7 +3,7 @@ // SPDX-FileCopyrightText: 2024 Salvatore Sanfilippo // // SPDX-License-Identifier: BSD-3-Clause -// SPDX-License-Identifier: GPL-3.0-only +// SPDX-License-Identifier: LGPL-3.0-only #include #include "adlist.h" diff --git a/src/adlist.h b/src/adlist.h index cf2edd3e2..429fb6bcc 100644 --- a/src/adlist.h +++ b/src/adlist.h @@ -3,7 +3,7 @@ // SPDX-FileCopyrightText: 2024 Salvatore Sanfilippo // // SPDX-License-Identifier: BSD-3-Clause -// SPDX-License-Identifier: GPL-3.0-only +// SPDX-License-Identifier: LGPL-3.0-only #ifndef __ADLIST_H__ #define __ADLIST_H__ diff --git a/src/ae.c b/src/ae.c index c2267c936..df4ae40f2 100644 --- a/src/ae.c +++ b/src/ae.c @@ -3,7 +3,7 @@ // SPDX-FileCopyrightText: 2024 Salvatore Sanfilippo // // SPDX-License-Identifier: BSD-3-Clause -// SPDX-License-Identifier: GPL-3.0-only +// SPDX-License-Identifier: LGPL-3.0-only #include "ae.h" #include "anet.h" diff --git a/src/ae.h b/src/ae.h index 671966cbe..a2d5719a6 100644 --- a/src/ae.h +++ b/src/ae.h @@ -3,7 +3,7 @@ // SPDX-FileCopyrightText: 2024 Salvatore Sanfilippo // // SPDX-License-Identifier: BSD-3-Clause -// SPDX-License-Identifier: GPL-3.0-only +// SPDX-License-Identifier: LGPL-3.0-only #ifndef __AE_H__ #define __AE_H__ diff --git a/src/ae_epoll.c b/src/ae_epoll.c index c5bc51fe9..d6cb6ce13 100644 --- a/src/ae_epoll.c +++ b/src/ae_epoll.c @@ -3,7 +3,7 @@ // SPDX-FileCopyrightText: 2024 Salvatore Sanfilippo // // SPDX-License-Identifier: BSD-3-Clause -// SPDX-License-Identifier: GPL-3.0-only +// SPDX-License-Identifier: LGPL-3.0-only #include diff --git a/src/ae_evport.c b/src/ae_evport.c index b751d5154..f611e62d7 100644 --- a/src/ae_evport.c +++ b/src/ae_evport.c @@ -3,7 +3,7 @@ // SPDX-FileCopyrightText: 2024 Salvatore Sanfilippo // // SPDX-License-Identifier: BSD-3-Clause -// SPDX-License-Identifier: GPL-3.0-only +// SPDX-License-Identifier: LGPL-3.0-only #include #include diff --git a/src/ae_kqueue.c b/src/ae_kqueue.c index e09582bc3..4cb161382 100644 --- a/src/ae_kqueue.c +++ b/src/ae_kqueue.c @@ -3,7 +3,7 @@ // SPDX-FileCopyrightText: 2024 Salvatore Sanfilippo // // SPDX-License-Identifier: BSD-3-Clause -// SPDX-License-Identifier: GPL-3.0-only +// SPDX-License-Identifier: LGPL-3.0-only #include #include diff --git a/src/ae_select.c b/src/ae_select.c index edb2c962e..eee75d51f 100644 --- a/src/ae_select.c +++ b/src/ae_select.c @@ -3,7 +3,7 @@ // SPDX-FileCopyrightText: 2024 Salvatore Sanfilippo // // SPDX-License-Identifier: BSD-3-Clause -// SPDX-License-Identifier: GPL-3.0-only +// SPDX-License-Identifier: LGPL-3.0-only #include #include diff --git a/src/anet.c b/src/anet.c index e41b50a86..f32d4770a 100644 --- a/src/anet.c +++ b/src/anet.c @@ -3,7 +3,7 @@ // SPDX-FileCopyrightText: 2024 Salvatore Sanfilippo // // SPDX-License-Identifier: BSD-3-Clause -// SPDX-License-Identifier: GPL-3.0-only +// SPDX-License-Identifier: LGPL-3.0-only #include "fmacros.h" diff --git a/src/anet.h b/src/anet.h index 44fb43802..521feb0c1 100644 --- a/src/anet.h +++ b/src/anet.h @@ -3,7 +3,7 @@ // SPDX-FileCopyrightText: 2024 Salvatore Sanfilippo // // SPDX-License-Identifier: BSD-3-Clause -// SPDX-License-Identifier: GPL-3.0-only +// SPDX-License-Identifier: LGPL-3.0-only #ifndef ANET_H #define ANET_H diff --git a/src/aof.c b/src/aof.c index ebffd5717..7ec41cc09 100644 --- a/src/aof.c +++ b/src/aof.c @@ -3,7 +3,7 @@ // SPDX-FileCopyrightText: 2024 Salvatore Sanfilippo // // SPDX-License-Identifier: BSD-3-Clause -// SPDX-License-Identifier: GPL-3.0-only +// SPDX-License-Identifier: LGPL-3.0-only #include "server.h" #include "bio.h" diff --git a/src/asciilogo.h b/src/asciilogo.h index a68c6e479..da578d81e 100644 --- a/src/asciilogo.h +++ b/src/asciilogo.h @@ -3,7 +3,7 @@ // SPDX-FileCopyrightText: 2024 Salvatore Sanfilippo // // SPDX-License-Identifier: BSD-3-Clause -// SPDX-License-Identifier: GPL-3.0-only +// SPDX-License-Identifier: LGPL-3.0-only const char *ascii_logo = " _._ \n" diff --git a/src/atomicvar.h b/src/atomicvar.h index ae0572a4b..806c94f60 100644 --- a/src/atomicvar.h +++ b/src/atomicvar.h @@ -3,7 +3,7 @@ // SPDX-FileCopyrightText: 2024 Salvatore Sanfilippo // // SPDX-License-Identifier: BSD-3-Clause -// SPDX-License-Identifier: GPL-3.0-only +// SPDX-License-Identifier: LGPL-3.0-only #include #include "config.h" diff --git a/src/bio.c b/src/bio.c index b8d2e4c69..1e5990610 100644 --- a/src/bio.c +++ b/src/bio.c @@ -3,7 +3,7 @@ // SPDX-FileCopyrightText: 2024 Salvatore Sanfilippo // // SPDX-License-Identifier: BSD-3-Clause -// SPDX-License-Identifier: GPL-3.0-only +// SPDX-License-Identifier: LGPL-3.0-only #include "server.h" #include "bio.h" diff --git a/src/bio.h b/src/bio.h index 4d7fbcb1e..a6111507a 100644 --- a/src/bio.h +++ b/src/bio.h @@ -3,7 +3,7 @@ // SPDX-FileCopyrightText: 2024 Salvatore Sanfilippo // // SPDX-License-Identifier: BSD-3-Clause -// SPDX-License-Identifier: GPL-3.0-only +// SPDX-License-Identifier: LGPL-3.0-only #ifndef __BIO_H #define __BIO_H diff --git a/src/bitops.c b/src/bitops.c index 4a69c6654..60e0e3b85 100644 --- a/src/bitops.c +++ b/src/bitops.c @@ -3,7 +3,7 @@ // SPDX-FileCopyrightText: 2024 Salvatore Sanfilippo // // SPDX-License-Identifier: BSD-3-Clause -// SPDX-License-Identifier: GPL-3.0-only +// SPDX-License-Identifier: LGPL-3.0-only #include "server.h" diff --git a/src/blocked.c b/src/blocked.c index f2da9f188..a63e13241 100644 --- a/src/blocked.c +++ b/src/blocked.c @@ -3,7 +3,7 @@ // SPDX-FileCopyrightText: 2024 Salvatore Sanfilippo // // SPDX-License-Identifier: BSD-3-Clause -// SPDX-License-Identifier: GPL-3.0-only +// SPDX-License-Identifier: LGPL-3.0-only #include "server.h" #include "slowlog.h" diff --git a/src/call_reply.c b/src/call_reply.c index 41e899f93..9ad136db0 100644 --- a/src/call_reply.c +++ b/src/call_reply.c @@ -3,7 +3,7 @@ // SPDX-FileCopyrightText: 2024 Salvatore Sanfilippo // // SPDX-License-Identifier: BSD-3-Clause -// SPDX-License-Identifier: GPL-3.0-only +// SPDX-License-Identifier: LGPL-3.0-only #include "server.h" #include "call_reply.h" diff --git a/src/call_reply.h b/src/call_reply.h index 3d5650f6c..9de09ba25 100644 --- a/src/call_reply.h +++ b/src/call_reply.h @@ -3,7 +3,7 @@ // SPDX-FileCopyrightText: 2024 Salvatore Sanfilippo // // SPDX-License-Identifier: BSD-3-Clause -// SPDX-License-Identifier: GPL-3.0-only +// SPDX-License-Identifier: LGPL-3.0-only #ifndef SRC_CALL_REPLY_H_ #define SRC_CALL_REPLY_H_ diff --git a/src/childinfo.c b/src/childinfo.c index 8a60baa6f..d50fd8fde 100644 --- a/src/childinfo.c +++ b/src/childinfo.c @@ -3,7 +3,7 @@ // SPDX-FileCopyrightText: 2024 Salvatore Sanfilippo // // SPDX-License-Identifier: BSD-3-Clause -// SPDX-License-Identifier: GPL-3.0-only +// SPDX-License-Identifier: LGPL-3.0-only #include "server.h" #include diff --git a/src/cli_commands.c b/src/cli_commands.c index 0a135ddc4..acf11fce2 100644 --- a/src/cli_commands.c +++ b/src/cli_commands.c @@ -2,7 +2,7 @@ // SPDX-FileCopyrightText: 2024 Salvatore Sanfilippo // // SPDX-License-Identifier: BSD-3-Clause -// SPDX-License-Identifier: GPL-3.0-only +// SPDX-License-Identifier: LGPL-3.0-only #include #include "cli_commands.h" diff --git a/src/cli_commands.h b/src/cli_commands.h index 9749a3df4..0b6695edf 100644 --- a/src/cli_commands.h +++ b/src/cli_commands.h @@ -2,7 +2,7 @@ // SPDX-FileCopyrightText: 2024 Salvatore Sanfilippo // // SPDX-License-Identifier: BSD-3-Clause -// SPDX-License-Identifier: GPL-3.0-only +// SPDX-License-Identifier: LGPL-3.0-only /* This file is used by redict-cli in place of server.h when including commands.c * It contains alternative structs which omit the parts of the commands table diff --git a/src/cli_common.c b/src/cli_common.c index b51f1fd43..9d65e0e3e 100644 --- a/src/cli_common.c +++ b/src/cli_common.c @@ -3,7 +3,7 @@ // SPDX-FileCopyrightText: 2024 Salvatore Sanfilippo // // SPDX-License-Identifier: BSD-3-Clause -// SPDX-License-Identifier: GPL-3.0-only +// SPDX-License-Identifier: LGPL-3.0-only #include "fmacros.h" #include "cli_common.h" diff --git a/src/cli_common.h b/src/cli_common.h index 173f7ca24..8f97f4aec 100644 --- a/src/cli_common.h +++ b/src/cli_common.h @@ -2,7 +2,7 @@ // SPDX-FileCopyrightText: 2024 Salvatore Sanfilippo // // SPDX-License-Identifier: BSD-3-Clause -// SPDX-License-Identifier: GPL-3.0-only +// SPDX-License-Identifier: LGPL-3.0-only #ifndef __CLICOMMON_H #define __CLICOMMON_H diff --git a/src/cluster.c b/src/cluster.c index cb6f327a7..31948fc50 100644 --- a/src/cluster.c +++ b/src/cluster.c @@ -3,7 +3,7 @@ // SPDX-FileCopyrightText: 2024 Salvatore Sanfilippo // // SPDX-License-Identifier: BSD-3-Clause -// SPDX-License-Identifier: GPL-3.0-only +// SPDX-License-Identifier: LGPL-3.0-only /* * cluster.c contains the common parts of a clustering diff --git a/src/cluster.h b/src/cluster.h index c91fe1273..4ec770b2a 100644 --- a/src/cluster.h +++ b/src/cluster.h @@ -2,7 +2,7 @@ // SPDX-FileCopyrightText: 2024 Salvatore Sanfilippo // // SPDX-License-Identifier: BSD-3-Clause -// SPDX-License-Identifier: GPL-3.0-only +// SPDX-License-Identifier: LGPL-3.0-only #ifndef __CLUSTER_H #define __CLUSTER_H diff --git a/src/cluster_legacy.c b/src/cluster_legacy.c index 67e1f80d6..4b53785a3 100644 --- a/src/cluster_legacy.c +++ b/src/cluster_legacy.c @@ -3,7 +3,7 @@ // SPDX-FileCopyrightText: 2024 Salvatore Sanfilippo // // SPDX-License-Identifier: BSD-3-Clause -// SPDX-License-Identifier: GPL-3.0-only +// SPDX-License-Identifier: LGPL-3.0-only /* * cluster_legacy.c contains the implementation of the cluster API that is diff --git a/src/cluster_legacy.h b/src/cluster_legacy.h index 00daece60..cd4f68754 100644 --- a/src/cluster_legacy.h +++ b/src/cluster_legacy.h @@ -2,7 +2,7 @@ // SPDX-FileCopyrightText: 2024 Salvatore Sanfilippo // // SPDX-License-Identifier: BSD-3-Clause -// SPDX-License-Identifier: GPL-3.0-only +// SPDX-License-Identifier: LGPL-3.0-only #ifndef CLUSTER_LEGACY_H #define CLUSTER_LEGACY_H diff --git a/src/commands.c b/src/commands.c index d787e9754..1e7f8e31c 100644 --- a/src/commands.c +++ b/src/commands.c @@ -2,7 +2,7 @@ // SPDX-FileCopyrightText: 2024 Salvatore Sanfilippo // // SPDX-License-Identifier: BSD-3-Clause -// SPDX-License-Identifier: GPL-3.0-only +// SPDX-License-Identifier: LGPL-3.0-only #include "commands.h" #include "server.h" diff --git a/src/commands.h b/src/commands.h index 9dff164ff..cf654d1ae 100644 --- a/src/commands.h +++ b/src/commands.h @@ -2,7 +2,7 @@ // SPDX-FileCopyrightText: 2024 Salvatore Sanfilippo // // SPDX-License-Identifier: BSD-3-Clause -// SPDX-License-Identifier: GPL-3.0-only +// SPDX-License-Identifier: LGPL-3.0-only #ifndef __REDICT_COMMANDS_H #define __REDICT_COMMANDS_H diff --git a/src/config.c b/src/config.c index 99981d9d0..02ef72226 100644 --- a/src/config.c +++ b/src/config.c @@ -3,7 +3,7 @@ // SPDX-FileCopyrightText: 2024 Salvatore Sanfilippo // // SPDX-License-Identifier: BSD-3-Clause -// SPDX-License-Identifier: GPL-3.0-only +// SPDX-License-Identifier: LGPL-3.0-only #include "server.h" #include "cluster.h" diff --git a/src/config.h b/src/config.h index 7eaadd563..568ebfb3b 100644 --- a/src/config.h +++ b/src/config.h @@ -3,7 +3,7 @@ // SPDX-FileCopyrightText: 2024 Salvatore Sanfilippo // // SPDX-License-Identifier: BSD-3-Clause -// SPDX-License-Identifier: GPL-3.0-only +// SPDX-License-Identifier: LGPL-3.0-only #ifndef __CONFIG_H #define __CONFIG_H diff --git a/src/connection.c b/src/connection.c index 101de7b22..b3e46c5ca 100644 --- a/src/connection.c +++ b/src/connection.c @@ -3,7 +3,7 @@ // SPDX-FileCopyrightText: 2024 Salvatore Sanfilippo // // SPDX-License-Identifier: BSD-3-Clause -// SPDX-License-Identifier: GPL-3.0-only +// SPDX-License-Identifier: LGPL-3.0-only #include "server.h" #include "connection.h" diff --git a/src/connection.h b/src/connection.h index eb4dc2204..d95238172 100644 --- a/src/connection.h +++ b/src/connection.h @@ -3,7 +3,7 @@ // SPDX-FileCopyrightText: 2024 Salvatore Sanfilippo // // SPDX-License-Identifier: BSD-3-Clause -// SPDX-License-Identifier: GPL-3.0-only +// SPDX-License-Identifier: LGPL-3.0-only #ifndef __REDICT_CONNECTION_H #define __REDICT_CONNECTION_H diff --git a/src/connhelpers.h b/src/connhelpers.h index e1151604e..e025c66bb 100644 --- a/src/connhelpers.h +++ b/src/connhelpers.h @@ -3,7 +3,7 @@ // SPDX-FileCopyrightText: 2024 Salvatore Sanfilippo // // SPDX-License-Identifier: BSD-3-Clause -// SPDX-License-Identifier: GPL-3.0-only +// SPDX-License-Identifier: LGPL-3.0-only #ifndef __REDICT_CONNHELPERS_H #define __REDICT_CONNHELPERS_H diff --git a/src/crc16.c b/src/crc16.c index e40da4a54..f9d9205f0 100644 --- a/src/crc16.c +++ b/src/crc16.c @@ -6,7 +6,7 @@ // SPDX-FileCopyrightText: 2024 Salvatore Sanfilippo // // SPDX-License-Identifier: BSD-3-Clause -// SPDX-License-Identifier: GPL-3.0-only +// SPDX-License-Identifier: LGPL-3.0-only /* CRC16 implementation according to CCITT standards. * diff --git a/src/crc16_slottable.h b/src/crc16_slottable.h index 308ecc448..f5d3c09bf 100644 --- a/src/crc16_slottable.h +++ b/src/crc16_slottable.h @@ -2,7 +2,7 @@ // SPDX-FileCopyrightText: 2024 Salvatore Sanfilippo // // SPDX-License-Identifier: BSD-3-Clause -// SPDX-License-Identifier: GPL-3.0-only +// SPDX-License-Identifier: LGPL-3.0-only #ifndef _CRC16_TABLE_H__ #define _CRC16_TABLE_H__ diff --git a/src/crc64.c b/src/crc64.c index 5a264e206..6c75bc60f 100644 --- a/src/crc64.c +++ b/src/crc64.c @@ -4,7 +4,7 @@ // SPDX-FileCopyrightText: 2024 Salvatore Sanfilippo // // SPDX-License-Identifier: BSD-3-Clause -// SPDX-License-Identifier: GPL-3.0-only +// SPDX-License-Identifier: LGPL-3.0-only #include "crc64.h" #include "crcspeed.h" diff --git a/src/crc64.h b/src/crc64.h index e2e9ce7b7..42b940ff5 100644 --- a/src/crc64.h +++ b/src/crc64.h @@ -2,7 +2,7 @@ // SPDX-FileCopyrightText: 2024 Salvatore Sanfilippo // // SPDX-License-Identifier: BSD-3-Clause -// SPDX-License-Identifier: GPL-3.0-only +// SPDX-License-Identifier: LGPL-3.0-only #ifndef CRC64_H #define CRC64_H diff --git a/src/crcspeed.c b/src/crcspeed.c index 9156005d3..14d0590c0 100644 --- a/src/crcspeed.c +++ b/src/crcspeed.c @@ -3,7 +3,7 @@ // SPDX-FileCopyrightText: 2024 Salvatore Sanfilippo // // SPDX-License-Identifier: BSD-3-Clause -// SPDX-License-Identifier: GPL-3.0-only +// SPDX-License-Identifier: LGPL-3.0-only #include "crcspeed.h" diff --git a/src/crcspeed.h b/src/crcspeed.h index ca8200b67..317ee8bcd 100644 --- a/src/crcspeed.h +++ b/src/crcspeed.h @@ -3,7 +3,7 @@ // SPDX-FileCopyrightText: 2024 Salvatore Sanfilippo // // SPDX-License-Identifier: BSD-3-Clause -// SPDX-License-Identifier: GPL-3.0-only +// SPDX-License-Identifier: LGPL-3.0-only #ifndef CRCSPEED_H #define CRCSPEED_H diff --git a/src/db.c b/src/db.c index e0e40ed97..c02440d0c 100644 --- a/src/db.c +++ b/src/db.c @@ -3,7 +3,7 @@ // SPDX-FileCopyrightText: 2024 Salvatore Sanfilippo // // SPDX-License-Identifier: BSD-3-Clause -// SPDX-License-Identifier: GPL-3.0-only +// SPDX-License-Identifier: LGPL-3.0-only #include "server.h" #include "cluster.h" diff --git a/src/debug.c b/src/debug.c index 012b138b6..f4f0f84d7 100644 --- a/src/debug.c +++ b/src/debug.c @@ -4,7 +4,7 @@ // SPDX-FileCopyrightText: 2024 Salvatore Sanfilippo // // SPDX-License-Identifier: BSD-3-Clause -// SPDX-License-Identifier: GPL-3.0-only +// SPDX-License-Identifier: LGPL-3.0-only #include "server.h" #include "util.h" diff --git a/src/debugmacro.h b/src/debugmacro.h index d765f24d4..1cba43715 100644 --- a/src/debugmacro.h +++ b/src/debugmacro.h @@ -3,7 +3,7 @@ // SPDX-FileCopyrightText: 2024 Salvatore Sanfilippo // // SPDX-License-Identifier: BSD-3-Clause -// SPDX-License-Identifier: GPL-3.0-only +// SPDX-License-Identifier: LGPL-3.0-only #ifndef _REDICT_DEBUGMACRO_H_ #define _REDICT_DEBUGMACRO_H_ diff --git a/src/defrag.c b/src/defrag.c index 38356fbf9..130e47eb2 100644 --- a/src/defrag.c +++ b/src/defrag.c @@ -3,7 +3,7 @@ // SPDX-FileCopyrightText: 2024 Salvatore Sanfilippo // // SPDX-License-Identifier: BSD-3-Clause -// SPDX-License-Identifier: GPL-3.0-only +// SPDX-License-Identifier: LGPL-3.0-only #include "server.h" #include diff --git a/src/dict.c b/src/dict.c index 291e23aee..9af26bef5 100644 --- a/src/dict.c +++ b/src/dict.c @@ -3,7 +3,7 @@ // SPDX-FileCopyrightText: 2024 Salvatore Sanfilippo // // SPDX-License-Identifier: BSD-3-Clause -// SPDX-License-Identifier: GPL-3.0-only +// SPDX-License-Identifier: LGPL-3.0-only #include "fmacros.h" diff --git a/src/dict.h b/src/dict.h index 96c827842..f3eb5c8f9 100644 --- a/src/dict.h +++ b/src/dict.h @@ -3,7 +3,7 @@ // SPDX-FileCopyrightText: 2024 Salvatore Sanfilippo // // SPDX-License-Identifier: BSD-3-Clause -// SPDX-License-Identifier: GPL-3.0-only +// SPDX-License-Identifier: LGPL-3.0-only #ifndef __DICT_H #define __DICT_H diff --git a/src/endianconv.c b/src/endianconv.c index 69862c83b..208da8d66 100644 --- a/src/endianconv.c +++ b/src/endianconv.c @@ -3,7 +3,7 @@ // SPDX-FileCopyrightText: 2024 Salvatore Sanfilippo // // SPDX-License-Identifier: BSD-3-Clause -// SPDX-License-Identifier: GPL-3.0-only +// SPDX-License-Identifier: LGPL-3.0-only #include diff --git a/src/endianconv.h b/src/endianconv.h index 826fcad87..5ff20e0f2 100644 --- a/src/endianconv.h +++ b/src/endianconv.h @@ -3,7 +3,7 @@ // SPDX-FileCopyrightText: 2024 Salvatore Sanfilippo // // SPDX-License-Identifier: BSD-3-Clause -// SPDX-License-Identifier: GPL-3.0-only +// SPDX-License-Identifier: LGPL-3.0-only #ifndef __ENDIANCONV_H #define __ENDIANCONV_H diff --git a/src/eval.c b/src/eval.c index c2b73cb9f..336ed9140 100644 --- a/src/eval.c +++ b/src/eval.c @@ -3,7 +3,7 @@ // SPDX-FileCopyrightText: 2024 Salvatore Sanfilippo // // SPDX-License-Identifier: BSD-3-Clause -// SPDX-License-Identifier: GPL-3.0-only +// SPDX-License-Identifier: LGPL-3.0-only #include "server.h" #include "sha1.h" diff --git a/src/evict.c b/src/evict.c index 971038d8e..a56c89a90 100644 --- a/src/evict.c +++ b/src/evict.c @@ -3,7 +3,7 @@ // SPDX-FileCopyrightText: 2024 Salvatore Sanfilippo // // SPDX-License-Identifier: BSD-3-Clause -// SPDX-License-Identifier: GPL-3.0-only +// SPDX-License-Identifier: LGPL-3.0-only #include "server.h" #include "bio.h" diff --git a/src/expire.c b/src/expire.c index b87d26e77..4ed50bd1b 100644 --- a/src/expire.c +++ b/src/expire.c @@ -3,7 +3,7 @@ // SPDX-FileCopyrightText: 2024 Salvatore Sanfilippo // // SPDX-License-Identifier: BSD-3-Clause -// SPDX-License-Identifier: GPL-3.0-only +// SPDX-License-Identifier: LGPL-3.0-only #include "server.h" diff --git a/src/fmacros.h b/src/fmacros.h index 34796d33e..8e3bc0e84 100644 --- a/src/fmacros.h +++ b/src/fmacros.h @@ -3,7 +3,7 @@ // SPDX-FileCopyrightText: 2024 Salvatore Sanfilippo // // SPDX-License-Identifier: BSD-3-Clause -// SPDX-License-Identifier: GPL-3.0-only +// SPDX-License-Identifier: LGPL-3.0-only #ifndef _REDICT_FMACRO_H #define _REDICT_FMACRO_H diff --git a/src/fmtargs.h b/src/fmtargs.h index f257a5b5e..b54ab7ee7 100644 --- a/src/fmtargs.h +++ b/src/fmtargs.h @@ -3,7 +3,7 @@ // SPDX-FileCopyrightText: 2024 Salvatore Sanfilippo // // SPDX-License-Identifier: BSD-3-Clause -// SPDX-License-Identifier: GPL-3.0-only +// SPDX-License-Identifier: LGPL-3.0-only #ifndef FMTARGS_H #define FMTARGS_H diff --git a/src/function_lua.c b/src/function_lua.c index 89ca8c8ae..2faa0a498 100644 --- a/src/function_lua.c +++ b/src/function_lua.c @@ -3,7 +3,7 @@ // SPDX-FileCopyrightText: 2024 Salvatore Sanfilippo // // SPDX-License-Identifier: BSD-3-Clause -// SPDX-License-Identifier: GPL-3.0-only +// SPDX-License-Identifier: LGPL-3.0-only /* * function_lua.c unit provides the Lua engine functionality. diff --git a/src/functions.c b/src/functions.c index 44165058b..1ce2c2549 100644 --- a/src/functions.c +++ b/src/functions.c @@ -3,7 +3,7 @@ // SPDX-FileCopyrightText: 2024 Salvatore Sanfilippo // // SPDX-License-Identifier: BSD-3-Clause -// SPDX-License-Identifier: GPL-3.0-only +// SPDX-License-Identifier: LGPL-3.0-only #include "functions.h" #include "sds.h" diff --git a/src/functions.h b/src/functions.h index b3707c95f..68c80ba82 100644 --- a/src/functions.h +++ b/src/functions.h @@ -3,7 +3,7 @@ // SPDX-FileCopyrightText: 2024 Salvatore Sanfilippo // // SPDX-License-Identifier: BSD-3-Clause -// SPDX-License-Identifier: GPL-3.0-only +// SPDX-License-Identifier: LGPL-3.0-only #ifndef __FUNCTIONS_H_ #define __FUNCTIONS_H_ diff --git a/src/geo.c b/src/geo.c index 3688c2e0e..222cab72c 100644 --- a/src/geo.c +++ b/src/geo.c @@ -4,7 +4,7 @@ // SPDX-FileCopyrightText: 2024 Salvatore Sanfilippo // // SPDX-License-Identifier: BSD-3-Clause -// SPDX-License-Identifier: GPL-3.0-only +// SPDX-License-Identifier: LGPL-3.0-only #include "geo.h" #include "geohash_helper.h" diff --git a/src/geo.h b/src/geo.h index 8aa608047..a2837a3ed 100644 --- a/src/geo.h +++ b/src/geo.h @@ -2,7 +2,7 @@ // SPDX-FileCopyrightText: 2024 Salvatore Sanfilippo // // SPDX-License-Identifier: BSD-3-Clause -// SPDX-License-Identifier: GPL-3.0-only +// SPDX-License-Identifier: LGPL-3.0-only #ifndef __GEO_H__ #define __GEO_H__ diff --git a/src/geohash.c b/src/geohash.c index b9ffe9761..ce5f36318 100644 --- a/src/geohash.c +++ b/src/geohash.c @@ -5,7 +5,7 @@ // SPDX-FileCopyrightText: 2024 Salvatore Sanfilippo // // SPDX-License-Identifier: BSD-3-Clause -// SPDX-License-Identifier: GPL-3.0-only +// SPDX-License-Identifier: LGPL-3.0-only #include "geohash.h" diff --git a/src/geohash.h b/src/geohash.h index e03ebba98..b26c61474 100644 --- a/src/geohash.h +++ b/src/geohash.h @@ -5,7 +5,7 @@ // SPDX-FileCopyrightText: 2024 Salvatore Sanfilippo // // SPDX-License-Identifier: BSD-3-Clause -// SPDX-License-Identifier: GPL-3.0-only +// SPDX-License-Identifier: LGPL-3.0-only #ifndef GEOHASH_H_ #define GEOHASH_H_ diff --git a/src/geohash_helper.c b/src/geohash_helper.c index 965441685..dfee6de19 100644 --- a/src/geohash_helper.c +++ b/src/geohash_helper.c @@ -5,7 +5,7 @@ // SPDX-FileCopyrightText: 2024 Salvatore Sanfilippo // // SPDX-License-Identifier: BSD-3-Clause -// SPDX-License-Identifier: GPL-3.0-only +// SPDX-License-Identifier: LGPL-3.0-only /* This is a C++ to C conversion from the ardb project. * This file started out as: diff --git a/src/geohash_helper.h b/src/geohash_helper.h index d71b823ed..efd6d49a1 100644 --- a/src/geohash_helper.h +++ b/src/geohash_helper.h @@ -5,7 +5,7 @@ // SPDX-FileCopyrightText: 2024 Salvatore Sanfilippo // // SPDX-License-Identifier: BSD-3-Clause -// SPDX-License-Identifier: GPL-3.0-only +// SPDX-License-Identifier: LGPL-3.0-only #ifndef GEOHASH_HELPER_HPP_ #define GEOHASH_HELPER_HPP_ diff --git a/src/hyperloglog.c b/src/hyperloglog.c index 1911e3be8..0c76bab6b 100644 --- a/src/hyperloglog.c +++ b/src/hyperloglog.c @@ -3,7 +3,7 @@ // SPDX-FileCopyrightText: 2024 Salvatore Sanfilippo // // SPDX-License-Identifier: BSD-3-Clause -// SPDX-License-Identifier: GPL-3.0-only +// SPDX-License-Identifier: LGPL-3.0-only #include "server.h" diff --git a/src/intset.c b/src/intset.c index dfd3af592..8a794857b 100644 --- a/src/intset.c +++ b/src/intset.c @@ -4,7 +4,7 @@ // SPDX-FileCopyrightText: 2024 Salvatore Sanfilippo // // SPDX-License-Identifier: BSD-3-Clause -// SPDX-License-Identifier: GPL-3.0-only +// SPDX-License-Identifier: LGPL-3.0-only #include #include diff --git a/src/intset.h b/src/intset.h index 3ee4d9d41..3b3025c87 100644 --- a/src/intset.h +++ b/src/intset.h @@ -4,7 +4,7 @@ // SPDX-FileCopyrightText: 2024 Salvatore Sanfilippo // // SPDX-License-Identifier: BSD-3-Clause -// SPDX-License-Identifier: GPL-3.0-only +// SPDX-License-Identifier: LGPL-3.0-only #ifndef __INTSET_H #define __INTSET_H diff --git a/src/kvstore.c b/src/kvstore.c index d42475291..9bfcc2e34 100644 --- a/src/kvstore.c +++ b/src/kvstore.c @@ -3,7 +3,7 @@ // SPDX-FileCopyrightText: 2024 Salvatore Sanfilippo // // SPDX-License-Identifier: BSD-3-Clause -// SPDX-License-Identifier: GPL-3.0-only +// SPDX-License-Identifier: LGPL-3.0-only #include "fmacros.h" diff --git a/src/kvstore.h b/src/kvstore.h index 78adc9972..fa3368028 100644 --- a/src/kvstore.h +++ b/src/kvstore.h @@ -2,7 +2,7 @@ // SPDX-FileCopyrightText: 2024 Salvatore Sanfilippo // // SPDX-License-Identifier: BSD-3-Clause -// SPDX-License-Identifier: GPL-3.0-only +// SPDX-License-Identifier: LGPL-3.0-only #ifndef DICTARRAY_H_ #define DICTARRAY_H_ diff --git a/src/latency.c b/src/latency.c index 69f1d1cec..fae980bcb 100644 --- a/src/latency.c +++ b/src/latency.c @@ -3,7 +3,7 @@ // SPDX-FileCopyrightText: 2024 Salvatore Sanfilippo // // SPDX-License-Identifier: BSD-3-Clause -// SPDX-License-Identifier: GPL-3.0-only +// SPDX-License-Identifier: LGPL-3.0-only #include "server.h" #include "hdr_histogram.h" diff --git a/src/latency.h b/src/latency.h index c6d8b4505..0b89089ae 100644 --- a/src/latency.h +++ b/src/latency.h @@ -3,7 +3,7 @@ // SPDX-FileCopyrightText: 2024 Salvatore Sanfilippo // // SPDX-License-Identifier: BSD-3-Clause -// SPDX-License-Identifier: GPL-3.0-only +// SPDX-License-Identifier: LGPL-3.0-only #ifndef __LATENCY_H #define __LATENCY_H diff --git a/src/lazyfree.c b/src/lazyfree.c index 20bde6fc5..ecb654846 100644 --- a/src/lazyfree.c +++ b/src/lazyfree.c @@ -2,7 +2,7 @@ // SPDX-FileCopyrightText: 2024 Salvatore Sanfilippo // // SPDX-License-Identifier: BSD-3-Clause -// SPDX-License-Identifier: GPL-3.0-only +// SPDX-License-Identifier: LGPL-3.0-only #include "server.h" #include "bio.h" diff --git a/src/listpack.c b/src/listpack.c index 25d8e191b..369592e80 100644 --- a/src/listpack.c +++ b/src/listpack.c @@ -4,7 +4,7 @@ // SPDX-FileCopyrightText: 2024 Salvatore Sanfilippo // // SPDX-License-Identifier: BSD-3-Clause -// SPDX-License-Identifier: GPL-3.0-only +// SPDX-License-Identifier: LGPL-3.0-only #include #include diff --git a/src/listpack.h b/src/listpack.h index a1db6c343..e701d9b6b 100644 --- a/src/listpack.h +++ b/src/listpack.h @@ -3,7 +3,7 @@ // SPDX-FileCopyrightText: 2024 Salvatore Sanfilippo // // SPDX-License-Identifier: BSD-3-Clause -// SPDX-License-Identifier: GPL-3.0-only +// SPDX-License-Identifier: LGPL-3.0-only #ifndef __LISTPACK_H #define __LISTPACK_H diff --git a/src/listpack_malloc.h b/src/listpack_malloc.h index c9c7c9f10..4a5ab8a8a 100644 --- a/src/listpack_malloc.h +++ b/src/listpack_malloc.h @@ -3,7 +3,7 @@ // SPDX-FileCopyrightText: 2024 Salvatore Sanfilippo // // SPDX-License-Identifier: BSD-3-Clause -// SPDX-License-Identifier: GPL-3.0-only +// SPDX-License-Identifier: LGPL-3.0-only /* Allocator selection. * diff --git a/src/localtime.c b/src/localtime.c index 3e8ba5875..00ab11c0c 100644 --- a/src/localtime.c +++ b/src/localtime.c @@ -3,7 +3,7 @@ // SPDX-FileCopyrightText: 2024 Salvatore Sanfilippo // // SPDX-License-Identifier: BSD-3-Clause -// SPDX-License-Identifier: GPL-3.0-only +// SPDX-License-Identifier: LGPL-3.0-only #include diff --git a/src/logreqres.c b/src/logreqres.c index 0b59f3b0c..b298fd470 100644 --- a/src/logreqres.c +++ b/src/logreqres.c @@ -3,7 +3,7 @@ // SPDX-FileCopyrightText: 2024 Salvatore Sanfilippo // // SPDX-License-Identifier: BSD-3-Clause -// SPDX-License-Identifier: GPL-3.0-only +// SPDX-License-Identifier: LGPL-3.0-only /* This file implements the interface of logging clients' requests and * responses into a file. diff --git a/src/lolwut.c b/src/lolwut.c index 42cb502ab..d8dfef6ff 100644 --- a/src/lolwut.c +++ b/src/lolwut.c @@ -3,7 +3,7 @@ // SPDX-FileCopyrightText: 2024 Salvatore Sanfilippo // // SPDX-License-Identifier: BSD-3-Clause -// SPDX-License-Identifier: GPL-3.0-only +// SPDX-License-Identifier: LGPL-3.0-only #include "server.h" #include "lolwut.h" diff --git a/src/lolwut.h b/src/lolwut.h index 491c943dd..d88b39ea3 100644 --- a/src/lolwut.h +++ b/src/lolwut.h @@ -3,7 +3,7 @@ // SPDX-FileCopyrightText: 2024 Salvatore Sanfilippo // // SPDX-License-Identifier: BSD-3-Clause -// SPDX-License-Identifier: GPL-3.0-only +// SPDX-License-Identifier: LGPL-3.0-only /* This structure represents our canvas. Drawing functions will take a pointer * to a canvas to write to it. Later the canvas can be rendered to a string diff --git a/src/lolwut5.c b/src/lolwut5.c index 95c8dfc00..e62e6cf6c 100644 --- a/src/lolwut5.c +++ b/src/lolwut5.c @@ -3,7 +3,7 @@ // SPDX-FileCopyrightText: 2024 Salvatore Sanfilippo // // SPDX-License-Identifier: BSD-3-Clause -// SPDX-License-Identifier: GPL-3.0-only +// SPDX-License-Identifier: LGPL-3.0-only #include "server.h" #include "lolwut.h" diff --git a/src/lolwut6.c b/src/lolwut6.c index c1deee6a9..724664cac 100644 --- a/src/lolwut6.c +++ b/src/lolwut6.c @@ -3,7 +3,7 @@ // SPDX-FileCopyrightText: 2024 Salvatore Sanfilippo // // SPDX-License-Identifier: BSD-3-Clause -// SPDX-License-Identifier: GPL-3.0-only +// SPDX-License-Identifier: LGPL-3.0-only #include "server.h" #include "lolwut.h" diff --git a/src/lzf.h b/src/lzf.h index 54ba36d90..6bc2d01df 100644 --- a/src/lzf.h +++ b/src/lzf.h @@ -3,7 +3,7 @@ // SPDX-FileCopyrightText: 2024 Salvatore Sanfilippo // // SPDX-License-Identifier: BSD-3-Clause -// SPDX-License-Identifier: GPL-3.0-only +// SPDX-License-Identifier: LGPL-3.0-only #ifndef LZF_H #define LZF_H diff --git a/src/lzfP.h b/src/lzfP.h index 3471c454e..710e90912 100644 --- a/src/lzfP.h +++ b/src/lzfP.h @@ -3,7 +3,7 @@ // SPDX-FileCopyrightText: 2024 Salvatore Sanfilippo // // SPDX-License-Identifier: BSD-3-Clause -// SPDX-License-Identifier: GPL-3.0-only +// SPDX-License-Identifier: LGPL-3.0-only #ifndef LZFP_h #define LZFP_h diff --git a/src/lzf_c.c b/src/lzf_c.c index a583fcbe9..3ea7d8c9d 100644 --- a/src/lzf_c.c +++ b/src/lzf_c.c @@ -3,7 +3,7 @@ // SPDX-FileCopyrightText: 2024 Salvatore Sanfilippo // // SPDX-License-Identifier: BSD-3-Clause -// SPDX-License-Identifier: GPL-3.0-only +// SPDX-License-Identifier: LGPL-3.0-only #include "lzfP.h" diff --git a/src/lzf_d.c b/src/lzf_d.c index 50f9e896e..046c14f1b 100644 --- a/src/lzf_d.c +++ b/src/lzf_d.c @@ -3,7 +3,7 @@ // SPDX-FileCopyrightText: 2024 Salvatore Sanfilippo // // SPDX-License-Identifier: BSD-3-Clause -// SPDX-License-Identifier: GPL-3.0-only +// SPDX-License-Identifier: LGPL-3.0-only #include "lzfP.h" diff --git a/src/memtest.c b/src/memtest.c index aac108b68..26da65886 100644 --- a/src/memtest.c +++ b/src/memtest.c @@ -3,7 +3,7 @@ // SPDX-FileCopyrightText: 2024 Salvatore Sanfilippo // // SPDX-License-Identifier: BSD-3-Clause -// SPDX-License-Identifier: GPL-3.0-only +// SPDX-License-Identifier: LGPL-3.0-only #include #include diff --git a/src/mkreleasehdr.sh b/src/mkreleasehdr.sh index c158054a5..dac6c9322 100755 --- a/src/mkreleasehdr.sh +++ b/src/mkreleasehdr.sh @@ -2,7 +2,7 @@ # # SPDX-FileCopyrightText: 2024 Redict Contributors # -# SPDX-License-Identifier: GPL-3.0-only +# SPDX-License-Identifier: LGPL-3.0-only GIT_SHA1=`(git show-ref --head --hash=8 2> /dev/null || echo 00000000) | head -n1` GIT_DIRTY=`git diff --no-ext-diff -- ../src ../deps 2> /dev/null | wc -l` BUILD_ID=`uname -n`"-"`date +%s` diff --git a/src/module.c b/src/module.c index 2ef17454c..8091e03b1 100644 --- a/src/module.c +++ b/src/module.c @@ -3,7 +3,7 @@ // SPDX-FileCopyrightText: 2024 Salvatore Sanfilippo // // SPDX-License-Identifier: BSD-3-Clause -// SPDX-License-Identifier: GPL-3.0-only +// SPDX-License-Identifier: LGPL-3.0-only /* -------------------------------------------------------------------------- * Modules API documentation information diff --git a/src/modules/Makefile b/src/modules/Makefile index c10644120..d8a4082da 100644 --- a/src/modules/Makefile +++ b/src/modules/Makefile @@ -2,7 +2,7 @@ # SPDX-FileCopyrightText: 2024 Salvatore Sanfilippo # # SPDX-License-Identifier: BSD-3-Clause -# SPDX-License-Identifier: GPL-3.0-only +# SPDX-License-Identifier: LGPL-3.0-only # find the OS uname_S := $(shell sh -c 'uname -s 2>/dev/null || echo not') diff --git a/src/monotonic.c b/src/monotonic.c index 6005849c2..14b396a63 100644 --- a/src/monotonic.c +++ b/src/monotonic.c @@ -2,7 +2,7 @@ // SPDX-FileCopyrightText: 2024 Salvatore Sanfilippo // // SPDX-License-Identifier: BSD-3-Clause -// SPDX-License-Identifier: GPL-3.0-only +// SPDX-License-Identifier: LGPL-3.0-only #include "monotonic.h" #include diff --git a/src/monotonic.h b/src/monotonic.h index c16d19bc9..2afb9e745 100644 --- a/src/monotonic.h +++ b/src/monotonic.h @@ -2,7 +2,7 @@ // SPDX-FileCopyrightText: 2024 Salvatore Sanfilippo // // SPDX-License-Identifier: BSD-3-Clause -// SPDX-License-Identifier: GPL-3.0-only +// SPDX-License-Identifier: LGPL-3.0-only #ifndef __MONOTONIC_H #define __MONOTONIC_H diff --git a/src/mt19937-64.c b/src/mt19937-64.c index aece0503d..ce25fcd68 100644 --- a/src/mt19937-64.c +++ b/src/mt19937-64.c @@ -3,7 +3,7 @@ // SPDX-FileCopyrightText: 2024 Salvatore Sanfilippo // // SPDX-License-Identifier: BSD-3-Clause -// SPDX-License-Identifier: GPL-3.0-only +// SPDX-License-Identifier: LGPL-3.0-only #include "mt19937-64.h" #include diff --git a/src/mt19937-64.h b/src/mt19937-64.h index b4fa84ec0..67444468b 100644 --- a/src/mt19937-64.h +++ b/src/mt19937-64.h @@ -3,7 +3,7 @@ // SPDX-FileCopyrightText: 2024 Salvatore Sanfilippo // // SPDX-License-Identifier: BSD-3-Clause -// SPDX-License-Identifier: GPL-3.0-only +// SPDX-License-Identifier: LGPL-3.0-only #ifndef __MT19937_64_H #define __MT19937_64_H diff --git a/src/multi.c b/src/multi.c index 04c94f9d0..c1d078d14 100644 --- a/src/multi.c +++ b/src/multi.c @@ -3,7 +3,7 @@ // SPDX-FileCopyrightText: 2024 Salvatore Sanfilippo // // SPDX-License-Identifier: BSD-3-Clause -// SPDX-License-Identifier: GPL-3.0-only +// SPDX-License-Identifier: LGPL-3.0-only #include "server.h" diff --git a/src/networking.c b/src/networking.c index 8202cab48..4694e7e11 100644 --- a/src/networking.c +++ b/src/networking.c @@ -3,7 +3,7 @@ // SPDX-FileCopyrightText: 2024 Salvatore Sanfilippo // // SPDX-License-Identifier: BSD-3-Clause -// SPDX-License-Identifier: GPL-3.0-only +// SPDX-License-Identifier: LGPL-3.0-only #include "server.h" #include "atomicvar.h" diff --git a/src/notify.c b/src/notify.c index 205eccfc7..af2cf9a63 100644 --- a/src/notify.c +++ b/src/notify.c @@ -3,7 +3,7 @@ // SPDX-FileCopyrightText: 2024 Salvatore Sanfilippo // // SPDX-License-Identifier: BSD-3-Clause -// SPDX-License-Identifier: GPL-3.0-only +// SPDX-License-Identifier: LGPL-3.0-only #include "server.h" diff --git a/src/object.c b/src/object.c index 168b6a634..cf7811e81 100644 --- a/src/object.c +++ b/src/object.c @@ -3,7 +3,7 @@ // SPDX-FileCopyrightText: 2024 Salvatore Sanfilippo // // SPDX-License-Identifier: BSD-3-Clause -// SPDX-License-Identifier: GPL-3.0-only +// SPDX-License-Identifier: LGPL-3.0-only #include "server.h" #include "functions.h" diff --git a/src/pqsort.c b/src/pqsort.c index 278493b05..1e9ecb7ea 100644 --- a/src/pqsort.c +++ b/src/pqsort.c @@ -3,7 +3,7 @@ // SPDX-FileCopyrightText: 2024 Salvatore Sanfilippo // // SPDX-License-Identifier: BSD-3-Clause -// SPDX-License-Identifier: GPL-3.0-only +// SPDX-License-Identifier: LGPL-3.0-only /* $NetBSD: qsort.c,v 1.19 2009/01/30 23:38:44 lukem Exp $ */ diff --git a/src/pqsort.h b/src/pqsort.h index bf9b7e3a8..267868811 100644 --- a/src/pqsort.h +++ b/src/pqsort.h @@ -3,7 +3,7 @@ // SPDX-FileCopyrightText: 2024 Salvatore Sanfilippo // // SPDX-License-Identifier: BSD-3-Clause -// SPDX-License-Identifier: GPL-3.0-only +// SPDX-License-Identifier: LGPL-3.0-only #ifndef __PQSORT_H #define __PQSORT_H diff --git a/src/pubsub.c b/src/pubsub.c index 90aee89a1..80d54bc7c 100644 --- a/src/pubsub.c +++ b/src/pubsub.c @@ -3,7 +3,7 @@ // SPDX-FileCopyrightText: 2024 Salvatore Sanfilippo // // SPDX-License-Identifier: BSD-3-Clause -// SPDX-License-Identifier: GPL-3.0-only +// SPDX-License-Identifier: LGPL-3.0-only #include "server.h" #include "cluster.h" diff --git a/src/quicklist.c b/src/quicklist.c index 285aaf7cb..087d110ca 100644 --- a/src/quicklist.c +++ b/src/quicklist.c @@ -3,7 +3,7 @@ // SPDX-FileCopyrightText: 2024 Salvatore Sanfilippo // // SPDX-License-Identifier: BSD-3-Clause -// SPDX-License-Identifier: GPL-3.0-only +// SPDX-License-Identifier: LGPL-3.0-only #include #include /* for memcpy */ diff --git a/src/quicklist.h b/src/quicklist.h index 793701927..be92d4af1 100644 --- a/src/quicklist.h +++ b/src/quicklist.h @@ -3,7 +3,7 @@ // SPDX-FileCopyrightText: 2024 Salvatore Sanfilippo // // SPDX-License-Identifier: BSD-3-Clause -// SPDX-License-Identifier: GPL-3.0-only +// SPDX-License-Identifier: LGPL-3.0-only #include // for UINTPTR_MAX diff --git a/src/rand.c b/src/rand.c index 37b4271a8..a387c1b8a 100644 --- a/src/rand.c +++ b/src/rand.c @@ -3,7 +3,7 @@ // SPDX-FileCopyrightText: 2024 Salvatore Sanfilippo // // SPDX-License-Identifier: BSD-3-Clause -// SPDX-License-Identifier: GPL-3.0-only +// SPDX-License-Identifier: LGPL-3.0-only #include diff --git a/src/rand.h b/src/rand.h index ed9923cc8..8068a7f40 100644 --- a/src/rand.h +++ b/src/rand.h @@ -3,7 +3,7 @@ // SPDX-FileCopyrightText: 2024 Salvatore Sanfilippo // // SPDX-License-Identifier: BSD-3-Clause -// SPDX-License-Identifier: GPL-3.0-only +// SPDX-License-Identifier: LGPL-3.0-only #ifndef REDICT_RANDOM_H #define REDICT_RANDOM_H diff --git a/src/rax.c b/src/rax.c index 97f18941f..985036204 100644 --- a/src/rax.c +++ b/src/rax.c @@ -3,7 +3,7 @@ // SPDX-FileCopyrightText: 2024 Salvatore Sanfilippo // // SPDX-License-Identifier: BSD-3-Clause -// SPDX-License-Identifier: GPL-3.0-only +// SPDX-License-Identifier: LGPL-3.0-only #include #include diff --git a/src/rax.h b/src/rax.h index 7e2365a1d..59fa93961 100644 --- a/src/rax.h +++ b/src/rax.h @@ -3,7 +3,7 @@ // SPDX-FileCopyrightText: 2024 Salvatore Sanfilippo // // SPDX-License-Identifier: BSD-3-Clause -// SPDX-License-Identifier: GPL-3.0-only +// SPDX-License-Identifier: LGPL-3.0-only #ifndef RAX_H #define RAX_H diff --git a/src/rax_malloc.h b/src/rax_malloc.h index 1ee01c651..7899a0ea6 100644 --- a/src/rax_malloc.h +++ b/src/rax_malloc.h @@ -3,7 +3,7 @@ // SPDX-FileCopyrightText: 2024 Salvatore Sanfilippo // // SPDX-License-Identifier: BSD-3-Clause -// SPDX-License-Identifier: GPL-3.0-only +// SPDX-License-Identifier: LGPL-3.0-only /* Allocator selection. * diff --git a/src/rdb.c b/src/rdb.c index 97980c3dc..a8a8c38cf 100644 --- a/src/rdb.c +++ b/src/rdb.c @@ -3,7 +3,7 @@ // SPDX-FileCopyrightText: 2024 Salvatore Sanfilippo // // SPDX-License-Identifier: BSD-3-Clause -// SPDX-License-Identifier: GPL-3.0-only +// SPDX-License-Identifier: LGPL-3.0-only #include "server.h" #include "lzf.h" /* LZF compression library */ diff --git a/src/rdb.h b/src/rdb.h index 7ebd942c9..e441e82c1 100644 --- a/src/rdb.h +++ b/src/rdb.h @@ -3,7 +3,7 @@ // SPDX-FileCopyrightText: 2024 Salvatore Sanfilippo // // SPDX-License-Identifier: BSD-3-Clause -// SPDX-License-Identifier: GPL-3.0-only +// SPDX-License-Identifier: LGPL-3.0-only #ifndef __RDB_H #define __RDB_H diff --git a/src/redict-benchmark.c b/src/redict-benchmark.c index a4974cb4d..bb040422e 100644 --- a/src/redict-benchmark.c +++ b/src/redict-benchmark.c @@ -3,7 +3,7 @@ // SPDX-FileCopyrightText: 2024 Salvatore Sanfilippo // // SPDX-License-Identifier: BSD-3-Clause -// SPDX-License-Identifier: GPL-3.0-only +// SPDX-License-Identifier: LGPL-3.0-only #include "fmacros.h" diff --git a/src/redict-check-aof.c b/src/redict-check-aof.c index 2a5a5dc75..0266cc70e 100644 --- a/src/redict-check-aof.c +++ b/src/redict-check-aof.c @@ -4,7 +4,7 @@ // SPDX-FileCopyrightText: 2024 Salvatore Sanfilippo // // SPDX-License-Identifier: BSD-3-Clause -// SPDX-License-Identifier: GPL-3.0-only +// SPDX-License-Identifier: LGPL-3.0-only #include "server.h" diff --git a/src/redict-check-rdb.c b/src/redict-check-rdb.c index 9c2bdc4cb..72bebd475 100644 --- a/src/redict-check-rdb.c +++ b/src/redict-check-rdb.c @@ -3,7 +3,7 @@ // SPDX-FileCopyrightText: 2024 Salvatore Sanfilippo // // SPDX-License-Identifier: BSD-3-Clause -// SPDX-License-Identifier: GPL-3.0-only +// SPDX-License-Identifier: LGPL-3.0-only #include "mt19937-64.h" #include "server.h" diff --git a/src/redict-cli.c b/src/redict-cli.c index 303e09afb..138dc081b 100644 --- a/src/redict-cli.c +++ b/src/redict-cli.c @@ -3,7 +3,7 @@ // SPDX-FileCopyrightText: 2024 Salvatore Sanfilippo // // SPDX-License-Identifier: BSD-3-Clause -// SPDX-License-Identifier: GPL-3.0-only +// SPDX-License-Identifier: LGPL-3.0-only #include "fmacros.h" diff --git a/src/redict-trib.rb b/src/redict-trib.rb index be08df0e3..ae3ba5f8b 100755 --- a/src/redict-trib.rb +++ b/src/redict-trib.rb @@ -2,7 +2,7 @@ # # SPDX-FileCopyrightText: 2024 Redict Contributors # -# SPDX-License-Identifier: GPL-3.0-only +# SPDX-License-Identifier: LGPL-3.0-only def colorized(str, color) return str if !(ENV['TERM'] || '')["xterm"] diff --git a/src/redictassert.c b/src/redictassert.c index 98fd827c8..df324c151 100644 --- a/src/redictassert.c +++ b/src/redictassert.c @@ -3,7 +3,7 @@ // SPDX-FileCopyrightText: 2024 Salvatore Sanfilippo // // SPDX-License-Identifier: BSD-3-Clause -// SPDX-License-Identifier: GPL-3.0-only +// SPDX-License-Identifier: LGPL-3.0-only #include #include diff --git a/src/redictassert.h b/src/redictassert.h index 02fd0b462..895413c44 100644 --- a/src/redictassert.h +++ b/src/redictassert.h @@ -3,7 +3,7 @@ // SPDX-FileCopyrightText: 2024 Salvatore Sanfilippo // // SPDX-License-Identifier: BSD-3-Clause -// SPDX-License-Identifier: GPL-3.0-only +// SPDX-License-Identifier: LGPL-3.0-only #ifndef __REDICT_ASSERT_H__ #define __REDICT_ASSERT_H__ diff --git a/src/release.c b/src/release.c index fae79d36f..c2d26355a 100644 --- a/src/release.c +++ b/src/release.c @@ -3,7 +3,7 @@ // SPDX-FileCopyrightText: 2024 Salvatore Sanfilippo // // SPDX-License-Identifier: BSD-3-Clause -// SPDX-License-Identifier: GPL-3.0-only +// SPDX-License-Identifier: LGPL-3.0-only /* Every time the Redict Git SHA1 or Dirty status changes only this small * file is recompiled, as we access this information in all the other diff --git a/src/replication.c b/src/replication.c index ab7bd8ff0..e31401d61 100644 --- a/src/replication.c +++ b/src/replication.c @@ -3,7 +3,7 @@ // SPDX-FileCopyrightText: 2024 Salvatore Sanfilippo // // SPDX-License-Identifier: BSD-3-Clause -// SPDX-License-Identifier: GPL-3.0-only +// SPDX-License-Identifier: LGPL-3.0-only #include "server.h" #include "cluster.h" diff --git a/src/resp_parser.c b/src/resp_parser.c index 4eaa7b567..01046fbbf 100644 --- a/src/resp_parser.c +++ b/src/resp_parser.c @@ -3,7 +3,7 @@ // SPDX-FileCopyrightText: 2024 Salvatore Sanfilippo // // SPDX-License-Identifier: BSD-3-Clause -// SPDX-License-Identifier: GPL-3.0-only +// SPDX-License-Identifier: LGPL-3.0-only /* ---------------------------------------------------------------------------------------- * A RESP parser for parsing replies returned by RM_Call or Lua's diff --git a/src/resp_parser.h b/src/resp_parser.h index 04ed648e1..82e09b0cd 100644 --- a/src/resp_parser.h +++ b/src/resp_parser.h @@ -3,7 +3,7 @@ // SPDX-FileCopyrightText: 2024 Salvatore Sanfilippo // // SPDX-License-Identifier: BSD-3-Clause -// SPDX-License-Identifier: GPL-3.0-only +// SPDX-License-Identifier: LGPL-3.0-only #ifndef SRC_RESP_PARSER_H_ #define SRC_RESP_PARSER_H_ diff --git a/src/rio.c b/src/rio.c index be65ee4f3..d70dbd157 100644 --- a/src/rio.c +++ b/src/rio.c @@ -4,7 +4,7 @@ // SPDX-FileCopyrightText: 2024 Salvatore Sanfilippo // // SPDX-License-Identifier: BSD-3-Clause -// SPDX-License-Identifier: GPL-3.0-only +// SPDX-License-Identifier: LGPL-3.0-only #include "fmacros.h" #include "fpconv_dtoa.h" diff --git a/src/rio.h b/src/rio.h index 556ff9db2..c37a5c505 100644 --- a/src/rio.h +++ b/src/rio.h @@ -4,7 +4,7 @@ // SPDX-FileCopyrightText: 2024 Salvatore Sanfilippo // // SPDX-License-Identifier: BSD-3-Clause -// SPDX-License-Identifier: GPL-3.0-only +// SPDX-License-Identifier: LGPL-3.0-only #ifndef __REDICT_RIO_H #define __REDICT_RIO_H diff --git a/src/script.c b/src/script.c index aa974f644..99c7842ae 100644 --- a/src/script.c +++ b/src/script.c @@ -3,7 +3,7 @@ // SPDX-FileCopyrightText: 2024 Salvatore Sanfilippo // // SPDX-License-Identifier: BSD-3-Clause -// SPDX-License-Identifier: GPL-3.0-only +// SPDX-License-Identifier: LGPL-3.0-only #include "server.h" #include "script.h" diff --git a/src/script.h b/src/script.h index 6bb1b637c..7d6580788 100644 --- a/src/script.h +++ b/src/script.h @@ -3,7 +3,7 @@ // SPDX-FileCopyrightText: 2024 Salvatore Sanfilippo // // SPDX-License-Identifier: BSD-3-Clause -// SPDX-License-Identifier: GPL-3.0-only +// SPDX-License-Identifier: LGPL-3.0-only #ifndef __SCRIPT_H_ #define __SCRIPT_H_ diff --git a/src/script_lua.c b/src/script_lua.c index f46fa6df7..9b35180f8 100644 --- a/src/script_lua.c +++ b/src/script_lua.c @@ -3,7 +3,7 @@ // SPDX-FileCopyrightText: 2024 Salvatore Sanfilippo // // SPDX-License-Identifier: BSD-3-Clause -// SPDX-License-Identifier: GPL-3.0-only +// SPDX-License-Identifier: LGPL-3.0-only #include "script_lua.h" #include "fpconv_dtoa.h" diff --git a/src/script_lua.h b/src/script_lua.h index 3e496dd64..bcca68265 100644 --- a/src/script_lua.h +++ b/src/script_lua.h @@ -3,7 +3,7 @@ // SPDX-FileCopyrightText: 2024 Salvatore Sanfilippo // // SPDX-License-Identifier: BSD-3-Clause -// SPDX-License-Identifier: GPL-3.0-only +// SPDX-License-Identifier: LGPL-3.0-only #ifndef __SCRIPT_LUA_H_ #define __SCRIPT_LUA_H_ diff --git a/src/sds.c b/src/sds.c index 3364caa22..08887e210 100644 --- a/src/sds.c +++ b/src/sds.c @@ -5,7 +5,7 @@ // SPDX-FileCopyrightText: 2024 Salvatore Sanfilippo // // SPDX-License-Identifier: BSD-3-Clause -// SPDX-License-Identifier: GPL-3.0-only +// SPDX-License-Identifier: LGPL-3.0-only #include #include diff --git a/src/sds.h b/src/sds.h index 90f3dce28..f1434e2c1 100644 --- a/src/sds.h +++ b/src/sds.h @@ -5,7 +5,7 @@ // SPDX-FileCopyrightText: 2024 Salvatore Sanfilippo // // SPDX-License-Identifier: BSD-3-Clause -// SPDX-License-Identifier: GPL-3.0-only +// SPDX-License-Identifier: LGPL-3.0-only #ifndef __SDS_H #define __SDS_H diff --git a/src/sdsalloc.h b/src/sdsalloc.h index 5188a3280..58a1f57db 100644 --- a/src/sdsalloc.h +++ b/src/sdsalloc.h @@ -4,7 +4,7 @@ // SPDX-FileCopyrightText: 2024 Salvatore Sanfilippo // // SPDX-License-Identifier: BSD-3-Clause -// SPDX-License-Identifier: GPL-3.0-only +// SPDX-License-Identifier: LGPL-3.0-only /* SDS allocator selection. * diff --git a/src/sentinel.c b/src/sentinel.c index e629b5e94..096a0f919 100644 --- a/src/sentinel.c +++ b/src/sentinel.c @@ -3,7 +3,7 @@ // SPDX-FileCopyrightText: 2024 Salvatore Sanfilippo // // SPDX-License-Identifier: BSD-3-Clause -// SPDX-License-Identifier: GPL-3.0-only +// SPDX-License-Identifier: LGPL-3.0-only #include "server.h" #include "hiredis.h" diff --git a/src/server.c b/src/server.c index 3fb8f2880..114909bcb 100644 --- a/src/server.c +++ b/src/server.c @@ -3,7 +3,7 @@ // SPDX-FileCopyrightText: 2024 Salvatore Sanfilippo // // SPDX-License-Identifier: BSD-3-Clause -// SPDX-License-Identifier: GPL-3.0-only +// SPDX-License-Identifier: LGPL-3.0-only #include "server.h" #include "monotonic.h" diff --git a/src/server.h b/src/server.h index 90002f7d4..b0d2c4b9f 100644 --- a/src/server.h +++ b/src/server.h @@ -3,7 +3,7 @@ // SPDX-FileCopyrightText: 2024 Salvatore Sanfilippo // // SPDX-License-Identifier: BSD-3-Clause -// SPDX-License-Identifier: GPL-3.0-only +// SPDX-License-Identifier: LGPL-3.0-only #ifndef __REDICT_H #define __REDICT_H diff --git a/src/setcpuaffinity.c b/src/setcpuaffinity.c index 1c163c975..a30fb1d65 100644 --- a/src/setcpuaffinity.c +++ b/src/setcpuaffinity.c @@ -3,7 +3,7 @@ // SPDX-FileCopyrightText: 2024 Salvatore Sanfilippo // // SPDX-License-Identifier: BSD-3-Clause -// SPDX-License-Identifier: GPL-3.0-only +// SPDX-License-Identifier: LGPL-3.0-only #ifndef _GNU_SOURCE #define _GNU_SOURCE diff --git a/src/setproctitle.c b/src/setproctitle.c index 577e61293..e66deceed 100644 --- a/src/setproctitle.c +++ b/src/setproctitle.c @@ -5,7 +5,7 @@ // SPDX-FileCopyrightText: 2024 Salvatore Sanfilippo // // SPDX-License-Identifier: BSD-3-Clause -// SPDX-License-Identifier: GPL-3.0-only +// SPDX-License-Identifier: LGPL-3.0-only #ifndef _GNU_SOURCE #define _GNU_SOURCE diff --git a/src/sha1.c b/src/sha1.c index 2a650b9df..5f0d8b13a 100644 --- a/src/sha1.c +++ b/src/sha1.c @@ -2,7 +2,7 @@ // SPDX-FileCopyrightText: 2024 Salvatore Sanfilippo // // SPDX-License-Identifier: BSD-3-Clause -// SPDX-License-Identifier: GPL-3.0-only +// SPDX-License-Identifier: LGPL-3.0-only /* from valgrind tests */ diff --git a/src/sha1.h b/src/sha1.h index 6e5c21c37..51dc3c93b 100644 --- a/src/sha1.h +++ b/src/sha1.h @@ -2,7 +2,7 @@ // SPDX-FileCopyrightText: 2024 Salvatore Sanfilippo // // SPDX-License-Identifier: BSD-3-Clause -// SPDX-License-Identifier: GPL-3.0-only +// SPDX-License-Identifier: LGPL-3.0-only #ifndef SHA1_H #define SHA1_H diff --git a/src/sha256.c b/src/sha256.c index 4ac92a5a9..078aa2096 100644 --- a/src/sha256.c +++ b/src/sha256.c @@ -2,7 +2,7 @@ // SPDX-FileCopyrightText: 2024 Salvatore Sanfilippo // // SPDX-License-Identifier: BSD-3-Clause -// SPDX-License-Identifier: GPL-3.0-only +// SPDX-License-Identifier: LGPL-3.0-only /********************************************************************* * Filename: sha256.c diff --git a/src/sha256.h b/src/sha256.h index 321b58a48..3888e05f9 100644 --- a/src/sha256.h +++ b/src/sha256.h @@ -2,7 +2,7 @@ // SPDX-FileCopyrightText: 2024 Salvatore Sanfilippo // // SPDX-License-Identifier: BSD-3-Clause -// SPDX-License-Identifier: GPL-3.0-only +// SPDX-License-Identifier: LGPL-3.0-only /********************************************************************* * Filename: sha256.h diff --git a/src/siphash.c b/src/siphash.c index 182030517..0fb586a2b 100644 --- a/src/siphash.c +++ b/src/siphash.c @@ -5,7 +5,7 @@ // SPDX-FileCopyrightText: 2024 Salvatore Sanfilippo // // SPDX-License-Identifier: BSD-3-Clause -// SPDX-License-Identifier: GPL-3.0-only +// SPDX-License-Identifier: LGPL-3.0-only #include #include diff --git a/src/slowlog.c b/src/slowlog.c index 7c71ac429..79df1b4c8 100644 --- a/src/slowlog.c +++ b/src/slowlog.c @@ -3,7 +3,7 @@ // SPDX-FileCopyrightText: 2024 Salvatore Sanfilippo // // SPDX-License-Identifier: BSD-3-Clause -// SPDX-License-Identifier: GPL-3.0-only +// SPDX-License-Identifier: LGPL-3.0-only #include "server.h" #include "slowlog.h" diff --git a/src/slowlog.h b/src/slowlog.h index 97adc273b..fd2b0c044 100644 --- a/src/slowlog.h +++ b/src/slowlog.h @@ -3,7 +3,7 @@ // SPDX-FileCopyrightText: 2024 Salvatore Sanfilippo // // SPDX-License-Identifier: BSD-3-Clause -// SPDX-License-Identifier: GPL-3.0-only +// SPDX-License-Identifier: LGPL-3.0-only #ifndef __SLOWLOG_H__ #define __SLOWLOG_H__ diff --git a/src/socket.c b/src/socket.c index a67ced04b..5f9e93dea 100644 --- a/src/socket.c +++ b/src/socket.c @@ -3,7 +3,7 @@ // SPDX-FileCopyrightText: 2024 Salvatore Sanfilippo // // SPDX-License-Identifier: BSD-3-Clause -// SPDX-License-Identifier: GPL-3.0-only +// SPDX-License-Identifier: LGPL-3.0-only #include "server.h" #include "connhelpers.h" diff --git a/src/solarisfixes.h b/src/solarisfixes.h index c67965107..133c32774 100644 --- a/src/solarisfixes.h +++ b/src/solarisfixes.h @@ -3,7 +3,7 @@ // SPDX-FileCopyrightText: 2024 Salvatore Sanfilippo // // SPDX-License-Identifier: BSD-3-Clause -// SPDX-License-Identifier: GPL-3.0-only +// SPDX-License-Identifier: LGPL-3.0-only #if defined(__sun) diff --git a/src/sort.c b/src/sort.c index fd57bac29..90df8aadf 100644 --- a/src/sort.c +++ b/src/sort.c @@ -3,7 +3,7 @@ // SPDX-FileCopyrightText: 2024 Salvatore Sanfilippo // // SPDX-License-Identifier: BSD-3-Clause -// SPDX-License-Identifier: GPL-3.0-only +// SPDX-License-Identifier: LGPL-3.0-only #include "server.h" #include "pqsort.h" /* Partial qsort for SORT+LIMIT */ diff --git a/src/sparkline.c b/src/sparkline.c index c38d9e9df..ad16c1533 100644 --- a/src/sparkline.c +++ b/src/sparkline.c @@ -3,7 +3,7 @@ // SPDX-FileCopyrightText: 2024 Salvatore Sanfilippo // // SPDX-License-Identifier: BSD-3-Clause -// SPDX-License-Identifier: GPL-3.0-only +// SPDX-License-Identifier: LGPL-3.0-only #include "server.h" diff --git a/src/sparkline.h b/src/sparkline.h index ef4e821b1..31cc9a196 100644 --- a/src/sparkline.h +++ b/src/sparkline.h @@ -3,7 +3,7 @@ // SPDX-FileCopyrightText: 2024 Salvatore Sanfilippo // // SPDX-License-Identifier: BSD-3-Clause -// SPDX-License-Identifier: GPL-3.0-only +// SPDX-License-Identifier: LGPL-3.0-only #ifndef __SPARKLINE_H #define __SPARKLINE_H diff --git a/src/stream.h b/src/stream.h index 67fa13f16..003940f26 100644 --- a/src/stream.h +++ b/src/stream.h @@ -2,7 +2,7 @@ // SPDX-FileCopyrightText: 2024 Salvatore Sanfilippo // // SPDX-License-Identifier: BSD-3-Clause -// SPDX-License-Identifier: GPL-3.0-only +// SPDX-License-Identifier: LGPL-3.0-only #ifndef STREAM_H #define STREAM_H diff --git a/src/strl.c b/src/strl.c index 55a2a054a..021c75b35 100644 --- a/src/strl.c +++ b/src/strl.c @@ -3,7 +3,7 @@ // SPDX-FileCopyrightText: 2024 Salvatore Sanfilippo // // SPDX-License-Identifier: BSD-3-Clause -// SPDX-License-Identifier: GPL-3.0-only +// SPDX-License-Identifier: LGPL-3.0-only #include diff --git a/src/syncio.c b/src/syncio.c index 258c97715..a2f3ca46b 100644 --- a/src/syncio.c +++ b/src/syncio.c @@ -3,7 +3,7 @@ // SPDX-FileCopyrightText: 2024 Salvatore Sanfilippo // // SPDX-License-Identifier: BSD-3-Clause -// SPDX-License-Identifier: GPL-3.0-only +// SPDX-License-Identifier: LGPL-3.0-only #include "server.h" diff --git a/src/syscheck.c b/src/syscheck.c index d12a80d19..5343b7063 100644 --- a/src/syscheck.c +++ b/src/syscheck.c @@ -4,7 +4,7 @@ // SPDX-FileCopyrightText: 2024 Salvatore Sanfilippo // // SPDX-License-Identifier: BSD-3-Clause -// SPDX-License-Identifier: GPL-3.0-only +// SPDX-License-Identifier: LGPL-3.0-only #include "fmacros.h" #include "config.h" diff --git a/src/syscheck.h b/src/syscheck.h index 560b4f05c..783c48c18 100644 --- a/src/syscheck.h +++ b/src/syscheck.h @@ -3,7 +3,7 @@ // SPDX-FileCopyrightText: 2024 Salvatore Sanfilippo // // SPDX-License-Identifier: BSD-3-Clause -// SPDX-License-Identifier: GPL-3.0-only +// SPDX-License-Identifier: LGPL-3.0-only #ifndef __SYSCHECK_H #define __SYSCHECK_H diff --git a/src/t_hash.c b/src/t_hash.c index c294596c6..861b2325a 100644 --- a/src/t_hash.c +++ b/src/t_hash.c @@ -3,7 +3,7 @@ // SPDX-FileCopyrightText: 2024 Salvatore Sanfilippo // // SPDX-License-Identifier: BSD-3-Clause -// SPDX-License-Identifier: GPL-3.0-only +// SPDX-License-Identifier: LGPL-3.0-only #include "server.h" #include diff --git a/src/t_list.c b/src/t_list.c index b4fc14170..de547ee6e 100644 --- a/src/t_list.c +++ b/src/t_list.c @@ -3,7 +3,7 @@ // SPDX-FileCopyrightText: 2024 Salvatore Sanfilippo // // SPDX-License-Identifier: BSD-3-Clause -// SPDX-License-Identifier: GPL-3.0-only +// SPDX-License-Identifier: LGPL-3.0-only #include "server.h" diff --git a/src/t_set.c b/src/t_set.c index 46200b156..1c13f8937 100644 --- a/src/t_set.c +++ b/src/t_set.c @@ -3,7 +3,7 @@ // SPDX-FileCopyrightText: 2024 Salvatore Sanfilippo // // SPDX-License-Identifier: BSD-3-Clause -// SPDX-License-Identifier: GPL-3.0-only +// SPDX-License-Identifier: LGPL-3.0-only #include "server.h" #include "intset.h" /* Compact integer set structure */ diff --git a/src/t_stream.c b/src/t_stream.c index e85552e7f..8b9509bb1 100644 --- a/src/t_stream.c +++ b/src/t_stream.c @@ -3,7 +3,7 @@ // SPDX-FileCopyrightText: 2024 Salvatore Sanfilippo // // SPDX-License-Identifier: BSD-3-Clause -// SPDX-License-Identifier: GPL-3.0-only +// SPDX-License-Identifier: LGPL-3.0-only #include "server.h" #include "endianconv.h" diff --git a/src/t_string.c b/src/t_string.c index c342ee7e9..4577a57a5 100644 --- a/src/t_string.c +++ b/src/t_string.c @@ -3,7 +3,7 @@ // SPDX-FileCopyrightText: 2024 Salvatore Sanfilippo // // SPDX-License-Identifier: BSD-3-Clause -// SPDX-License-Identifier: GPL-3.0-only +// SPDX-License-Identifier: LGPL-3.0-only #include "server.h" #include /* isnan(), isinf() */ diff --git a/src/t_zset.c b/src/t_zset.c index 67ec5809b..0cdb905b3 100644 --- a/src/t_zset.c +++ b/src/t_zset.c @@ -4,7 +4,7 @@ // SPDX-FileCopyrightText: 2024 Salvatore Sanfilippo // // SPDX-License-Identifier: BSD-3-Clause -// SPDX-License-Identifier: GPL-3.0-only +// SPDX-License-Identifier: LGPL-3.0-only /*----------------------------------------------------------------------------- * Sorted set API diff --git a/src/testhelp.h b/src/testhelp.h index ac5a73c66..672d6956a 100644 --- a/src/testhelp.h +++ b/src/testhelp.h @@ -3,7 +3,7 @@ // SPDX-FileCopyrightText: 2024 Salvatore Sanfilippo // // SPDX-License-Identifier: BSD-3-Clause -// SPDX-License-Identifier: GPL-3.0-only +// SPDX-License-Identifier: LGPL-3.0-only #ifndef __TESTHELP_H #define __TESTHELP_H diff --git a/src/threads_mngr.c b/src/threads_mngr.c index c8744e137..fc74a8847 100644 --- a/src/threads_mngr.c +++ b/src/threads_mngr.c @@ -3,7 +3,7 @@ // SPDX-FileCopyrightText: 2024 Salvatore Sanfilippo // // SPDX-License-Identifier: BSD-3-Clause -// SPDX-License-Identifier: GPL-3.0-only +// SPDX-License-Identifier: LGPL-3.0-only #include "threads_mngr.h" /* Anti-warning macro... */ diff --git a/src/threads_mngr.h b/src/threads_mngr.h index e41c808ac..f21e070ad 100644 --- a/src/threads_mngr.h +++ b/src/threads_mngr.h @@ -3,7 +3,7 @@ // SPDX-FileCopyrightText: 2024 Salvatore Sanfilippo // // SPDX-License-Identifier: BSD-3-Clause -// SPDX-License-Identifier: GPL-3.0-only +// SPDX-License-Identifier: LGPL-3.0-only #pragma once diff --git a/src/timeout.c b/src/timeout.c index a0efb2849..83d7a989f 100644 --- a/src/timeout.c +++ b/src/timeout.c @@ -3,7 +3,7 @@ // SPDX-FileCopyrightText: 2024 Salvatore Sanfilippo // // SPDX-License-Identifier: BSD-3-Clause -// SPDX-License-Identifier: GPL-3.0-only +// SPDX-License-Identifier: LGPL-3.0-only #include "server.h" #include "cluster.h" diff --git a/src/tls.c b/src/tls.c index dc56fb3bf..b7b626ab0 100644 --- a/src/tls.c +++ b/src/tls.c @@ -3,7 +3,7 @@ // SPDX-FileCopyrightText: 2024 Salvatore Sanfilippo // // SPDX-License-Identifier: BSD-3-Clause -// SPDX-License-Identifier: GPL-3.0-only +// SPDX-License-Identifier: LGPL-3.0-only #define REDISMODULE_CORE_MODULE /* A module that's part of the redict core, uses server.h too. */ diff --git a/src/tracking.c b/src/tracking.c index c90ce1b23..2413f94b4 100644 --- a/src/tracking.c +++ b/src/tracking.c @@ -3,7 +3,7 @@ // SPDX-FileCopyrightText: 2024 Salvatore Sanfilippo // // SPDX-License-Identifier: BSD-3-Clause -// SPDX-License-Identifier: GPL-3.0-only +// SPDX-License-Identifier: LGPL-3.0-only #include "server.h" diff --git a/src/unix.c b/src/unix.c index d3e10a477..691dc22a6 100644 --- a/src/unix.c +++ b/src/unix.c @@ -3,7 +3,7 @@ // SPDX-FileCopyrightText: 2024 Salvatore Sanfilippo // // SPDX-License-Identifier: BSD-3-Clause -// SPDX-License-Identifier: GPL-3.0-only +// SPDX-License-Identifier: LGPL-3.0-only #include "server.h" #include "connection.h" diff --git a/src/util.c b/src/util.c index 9ca023837..eb6cd650c 100644 --- a/src/util.c +++ b/src/util.c @@ -4,7 +4,7 @@ // SPDX-FileCopyrightText: 2024 Salvatore Sanfilippo // // SPDX-License-Identifier: BSD-3-Clause -// SPDX-License-Identifier: GPL-3.0-only +// SPDX-License-Identifier: LGPL-3.0-only #include "fmacros.h" #include "fpconv_dtoa.h" diff --git a/src/util.h b/src/util.h index 73ddfb460..1ce11d2b1 100644 --- a/src/util.h +++ b/src/util.h @@ -3,7 +3,7 @@ // SPDX-FileCopyrightText: 2024 Salvatore Sanfilippo // // SPDX-License-Identifier: BSD-3-Clause -// SPDX-License-Identifier: GPL-3.0-only +// SPDX-License-Identifier: LGPL-3.0-only #ifndef __REDICT_UTIL_H #define __REDICT_UTIL_H diff --git a/src/version.h b/src/version.h index e64fcd325..56b8494de 100644 --- a/src/version.h +++ b/src/version.h @@ -2,7 +2,7 @@ // SPDX-FileCopyrightText: 2024 Salvatore Sanfilippo // // SPDX-License-Identifier: BSD-3-Clause -// SPDX-License-Identifier: GPL-3.0-only +// SPDX-License-Identifier: LGPL-3.0-only #define REDICT_VERSION "255.255.255" #define REDICT_VERSION_NUM 0x00ffffff diff --git a/src/ziplist.c b/src/ziplist.c index a49f1e55f..1a0a38f30 100644 --- a/src/ziplist.c +++ b/src/ziplist.c @@ -5,7 +5,7 @@ // SPDX-FileCopyrightText: 2024 Salvatore Sanfilippo // // SPDX-License-Identifier: BSD-3-Clause -// SPDX-License-Identifier: GPL-3.0-only +// SPDX-License-Identifier: LGPL-3.0-only #include #include diff --git a/src/ziplist.h b/src/ziplist.h index 6a030c1b0..d8f2ce1df 100644 --- a/src/ziplist.h +++ b/src/ziplist.h @@ -4,7 +4,7 @@ // SPDX-FileCopyrightText: 2024 Salvatore Sanfilippo // // SPDX-License-Identifier: BSD-3-Clause -// SPDX-License-Identifier: GPL-3.0-only +// SPDX-License-Identifier: LGPL-3.0-only #ifndef _ZIPLIST_H #define _ZIPLIST_H diff --git a/src/zipmap.c b/src/zipmap.c index b71e8c1cd..863d0cdd6 100644 --- a/src/zipmap.c +++ b/src/zipmap.c @@ -3,7 +3,7 @@ // SPDX-FileCopyrightText: 2024 Salvatore Sanfilippo // // SPDX-License-Identifier: BSD-3-Clause -// SPDX-License-Identifier: GPL-3.0-only +// SPDX-License-Identifier: LGPL-3.0-only /* Memory layout of a zipmap, for the map "foo" => "bar", "hello" => "world": * diff --git a/src/zipmap.h b/src/zipmap.h index 1ff590e4f..c29f2aaba 100644 --- a/src/zipmap.h +++ b/src/zipmap.h @@ -3,7 +3,7 @@ // SPDX-FileCopyrightText: 2024 Salvatore Sanfilippo // // SPDX-License-Identifier: BSD-3-Clause -// SPDX-License-Identifier: GPL-3.0-only +// SPDX-License-Identifier: LGPL-3.0-only #ifndef _ZIPMAP_H #define _ZIPMAP_H diff --git a/src/zmalloc.c b/src/zmalloc.c index 09d39d94c..85f3e811e 100644 --- a/src/zmalloc.c +++ b/src/zmalloc.c @@ -3,7 +3,7 @@ // SPDX-FileCopyrightText: 2024 Salvatore Sanfilippo // // SPDX-License-Identifier: BSD-3-Clause -// SPDX-License-Identifier: GPL-3.0-only +// SPDX-License-Identifier: LGPL-3.0-only #include "fmacros.h" #include "config.h" diff --git a/src/zmalloc.h b/src/zmalloc.h index e929e4c08..c863b7d4b 100644 --- a/src/zmalloc.h +++ b/src/zmalloc.h @@ -3,7 +3,7 @@ // SPDX-FileCopyrightText: 2024 Salvatore Sanfilippo // // SPDX-License-Identifier: BSD-3-Clause -// SPDX-License-Identifier: GPL-3.0-only +// SPDX-License-Identifier: LGPL-3.0-only #ifndef __ZMALLOC_H #define __ZMALLOC_H diff --git a/tests/cluster/cluster.tcl b/tests/cluster/cluster.tcl index 562fc89a7..64b439111 100644 --- a/tests/cluster/cluster.tcl +++ b/tests/cluster/cluster.tcl @@ -3,7 +3,7 @@ # SPDX-FileCopyrightText: 2024 Salvatore Sanfilippo # # SPDX-License-Identifier: BSD-3-Clause -# SPDX-License-Identifier: GPL-3.0-only +# SPDX-License-Identifier: LGPL-3.0-only # Track cluster configuration as created by create_cluster below set ::cluster_master_nodes 0 diff --git a/tests/cluster/run.tcl b/tests/cluster/run.tcl index d93e58df1..0aa563704 100644 --- a/tests/cluster/run.tcl +++ b/tests/cluster/run.tcl @@ -3,7 +3,7 @@ # SPDX-FileCopyrightText: 2024 Salvatore Sanfilippo # # SPDX-License-Identifier: BSD-3-Clause -# SPDX-License-Identifier: GPL-3.0-only +# SPDX-License-Identifier: LGPL-3.0-only cd tests/cluster source cluster.tcl diff --git a/tests/cluster/tests/00-base.tcl b/tests/cluster/tests/00-base.tcl index 18f044bc4..7488e40bb 100644 --- a/tests/cluster/tests/00-base.tcl +++ b/tests/cluster/tests/00-base.tcl @@ -2,7 +2,7 @@ # SPDX-FileCopyrightText: 2024 Salvatore Sanfilippo # # SPDX-License-Identifier: BSD-3-Clause -# SPDX-License-Identifier: GPL-3.0-only +# SPDX-License-Identifier: LGPL-3.0-only # Check the basic monitoring and failover capabilities. diff --git a/tests/cluster/tests/01-faildet.tcl b/tests/cluster/tests/01-faildet.tcl index 584a46911..9cdfe9b23 100644 --- a/tests/cluster/tests/01-faildet.tcl +++ b/tests/cluster/tests/01-faildet.tcl @@ -2,7 +2,7 @@ # SPDX-FileCopyrightText: 2024 Salvatore Sanfilippo # # SPDX-License-Identifier: BSD-3-Clause -# SPDX-License-Identifier: GPL-3.0-only +# SPDX-License-Identifier: LGPL-3.0-only # Check the basic monitoring and failover capabilities. diff --git a/tests/cluster/tests/02-failover.tcl b/tests/cluster/tests/02-failover.tcl index 5bb152bdb..450afc1c1 100644 --- a/tests/cluster/tests/02-failover.tcl +++ b/tests/cluster/tests/02-failover.tcl @@ -2,7 +2,7 @@ # SPDX-FileCopyrightText: 2024 Salvatore Sanfilippo # # SPDX-License-Identifier: BSD-3-Clause -# SPDX-License-Identifier: GPL-3.0-only +# SPDX-License-Identifier: LGPL-3.0-only # Check the basic monitoring and failover capabilities. diff --git a/tests/cluster/tests/03-failover-loop.tcl b/tests/cluster/tests/03-failover-loop.tcl index 7e66429a1..046c5e125 100644 --- a/tests/cluster/tests/03-failover-loop.tcl +++ b/tests/cluster/tests/03-failover-loop.tcl @@ -2,7 +2,7 @@ # SPDX-FileCopyrightText: 2024 Salvatore Sanfilippo # # SPDX-License-Identifier: BSD-3-Clause -# SPDX-License-Identifier: GPL-3.0-only +# SPDX-License-Identifier: LGPL-3.0-only # Failover stress test. # In this test a different node is killed in a loop for N diff --git a/tests/cluster/tests/04-resharding.tcl b/tests/cluster/tests/04-resharding.tcl index 76efba3e6..d8bedaaca 100644 --- a/tests/cluster/tests/04-resharding.tcl +++ b/tests/cluster/tests/04-resharding.tcl @@ -2,7 +2,7 @@ # SPDX-FileCopyrightText: 2024 Salvatore Sanfilippo # # SPDX-License-Identifier: BSD-3-Clause -# SPDX-License-Identifier: GPL-3.0-only +# SPDX-License-Identifier: LGPL-3.0-only # Failover stress test. # In this test a different node is killed in a loop for N diff --git a/tests/cluster/tests/05-slave-selection.tcl b/tests/cluster/tests/05-slave-selection.tcl index 05de13117..258d681ff 100644 --- a/tests/cluster/tests/05-slave-selection.tcl +++ b/tests/cluster/tests/05-slave-selection.tcl @@ -2,7 +2,7 @@ # SPDX-FileCopyrightText: 2024 Salvatore Sanfilippo # # SPDX-License-Identifier: BSD-3-Clause -# SPDX-License-Identifier: GPL-3.0-only +# SPDX-License-Identifier: LGPL-3.0-only # Slave selection test # Check the algorithm trying to pick the slave with the most complete history. diff --git a/tests/cluster/tests/06-slave-stop-cond.tcl b/tests/cluster/tests/06-slave-stop-cond.tcl index bdfbef965..4e906e471 100644 --- a/tests/cluster/tests/06-slave-stop-cond.tcl +++ b/tests/cluster/tests/06-slave-stop-cond.tcl @@ -2,7 +2,7 @@ # SPDX-FileCopyrightText: 2024 Salvatore Sanfilippo # # SPDX-License-Identifier: BSD-3-Clause -# SPDX-License-Identifier: GPL-3.0-only +# SPDX-License-Identifier: LGPL-3.0-only # Slave stop condition test # Check that if there is a disconnection time limit, the slave will not try diff --git a/tests/cluster/tests/07-replica-migration.tcl b/tests/cluster/tests/07-replica-migration.tcl index 7841e3971..52b78dc7c 100644 --- a/tests/cluster/tests/07-replica-migration.tcl +++ b/tests/cluster/tests/07-replica-migration.tcl @@ -2,7 +2,7 @@ # SPDX-FileCopyrightText: 2024 Salvatore Sanfilippo # # SPDX-License-Identifier: BSD-3-Clause -# SPDX-License-Identifier: GPL-3.0-only +# SPDX-License-Identifier: LGPL-3.0-only # Replica migration test. # Check that orphaned masters are joined by replicas of masters having diff --git a/tests/cluster/tests/08-update-msg.tcl b/tests/cluster/tests/08-update-msg.tcl index 100d3f6c6..70755ee82 100644 --- a/tests/cluster/tests/08-update-msg.tcl +++ b/tests/cluster/tests/08-update-msg.tcl @@ -2,7 +2,7 @@ # SPDX-FileCopyrightText: 2024 Salvatore Sanfilippo # # SPDX-License-Identifier: BSD-3-Clause -# SPDX-License-Identifier: GPL-3.0-only +# SPDX-License-Identifier: LGPL-3.0-only # Test UPDATE messages sent by other nodes when the currently authorirative # master is unavailable. The test is performed in the following steps: diff --git a/tests/cluster/tests/09-pubsub.tcl b/tests/cluster/tests/09-pubsub.tcl index ef7762746..44ab5aa7f 100644 --- a/tests/cluster/tests/09-pubsub.tcl +++ b/tests/cluster/tests/09-pubsub.tcl @@ -2,7 +2,7 @@ # SPDX-FileCopyrightText: 2024 Salvatore Sanfilippo # # SPDX-License-Identifier: BSD-3-Clause -# SPDX-License-Identifier: GPL-3.0-only +# SPDX-License-Identifier: LGPL-3.0-only # Test PUBLISH propagation across the cluster. diff --git a/tests/cluster/tests/10-manual-failover.tcl b/tests/cluster/tests/10-manual-failover.tcl index 543636bab..ccae3c9e9 100644 --- a/tests/cluster/tests/10-manual-failover.tcl +++ b/tests/cluster/tests/10-manual-failover.tcl @@ -2,7 +2,7 @@ # SPDX-FileCopyrightText: 2024 Salvatore Sanfilippo # # SPDX-License-Identifier: BSD-3-Clause -# SPDX-License-Identifier: GPL-3.0-only +# SPDX-License-Identifier: LGPL-3.0-only # Check the manual failover diff --git a/tests/cluster/tests/11-manual-takeover.tcl b/tests/cluster/tests/11-manual-takeover.tcl index d42c24bf2..6eb43d7ae 100644 --- a/tests/cluster/tests/11-manual-takeover.tcl +++ b/tests/cluster/tests/11-manual-takeover.tcl @@ -2,7 +2,7 @@ # SPDX-FileCopyrightText: 2024 Salvatore Sanfilippo # # SPDX-License-Identifier: BSD-3-Clause -# SPDX-License-Identifier: GPL-3.0-only +# SPDX-License-Identifier: LGPL-3.0-only # Manual takeover test diff --git a/tests/cluster/tests/12-replica-migration-2.tcl b/tests/cluster/tests/12-replica-migration-2.tcl index 4de81642f..c33f83271 100644 --- a/tests/cluster/tests/12-replica-migration-2.tcl +++ b/tests/cluster/tests/12-replica-migration-2.tcl @@ -2,7 +2,7 @@ # SPDX-FileCopyrightText: 2024 Salvatore Sanfilippo # # SPDX-License-Identifier: BSD-3-Clause -# SPDX-License-Identifier: GPL-3.0-only +# SPDX-License-Identifier: LGPL-3.0-only # Replica migration test #2. # diff --git a/tests/cluster/tests/12.1-replica-migration-3.tcl b/tests/cluster/tests/12.1-replica-migration-3.tcl index 81c000a4e..6eec989a2 100644 --- a/tests/cluster/tests/12.1-replica-migration-3.tcl +++ b/tests/cluster/tests/12.1-replica-migration-3.tcl @@ -2,7 +2,7 @@ # SPDX-FileCopyrightText: 2024 Salvatore Sanfilippo # # SPDX-License-Identifier: BSD-3-Clause -# SPDX-License-Identifier: GPL-3.0-only +# SPDX-License-Identifier: LGPL-3.0-only # Replica migration test #2. # diff --git a/tests/cluster/tests/13-no-failover-option.tcl b/tests/cluster/tests/13-no-failover-option.tcl index 63f701842..2b0186826 100644 --- a/tests/cluster/tests/13-no-failover-option.tcl +++ b/tests/cluster/tests/13-no-failover-option.tcl @@ -2,7 +2,7 @@ # SPDX-FileCopyrightText: 2024 Salvatore Sanfilippo # # SPDX-License-Identifier: BSD-3-Clause -# SPDX-License-Identifier: GPL-3.0-only +# SPDX-License-Identifier: LGPL-3.0-only # Check that the no-failover option works diff --git a/tests/cluster/tests/14-consistency-check.tcl b/tests/cluster/tests/14-consistency-check.tcl index 364b9bffb..432e1a005 100644 --- a/tests/cluster/tests/14-consistency-check.tcl +++ b/tests/cluster/tests/14-consistency-check.tcl @@ -2,7 +2,7 @@ # SPDX-FileCopyrightText: 2024 Salvatore Sanfilippo # # SPDX-License-Identifier: BSD-3-Clause -# SPDX-License-Identifier: GPL-3.0-only +# SPDX-License-Identifier: LGPL-3.0-only source "../tests/includes/init-tests.tcl" source "../../../tests/support/cli.tcl" diff --git a/tests/cluster/tests/15-cluster-slots.tcl b/tests/cluster/tests/15-cluster-slots.tcl index 34ee7ad55..44f362787 100644 --- a/tests/cluster/tests/15-cluster-slots.tcl +++ b/tests/cluster/tests/15-cluster-slots.tcl @@ -2,7 +2,7 @@ # SPDX-FileCopyrightText: 2024 Salvatore Sanfilippo # # SPDX-License-Identifier: BSD-3-Clause -# SPDX-License-Identifier: GPL-3.0-only +# SPDX-License-Identifier: LGPL-3.0-only source "../tests/includes/init-tests.tcl" diff --git a/tests/cluster/tests/16-transactions-on-replica.tcl b/tests/cluster/tests/16-transactions-on-replica.tcl index 9584933d2..39e305c38 100644 --- a/tests/cluster/tests/16-transactions-on-replica.tcl +++ b/tests/cluster/tests/16-transactions-on-replica.tcl @@ -2,7 +2,7 @@ # SPDX-FileCopyrightText: 2024 Salvatore Sanfilippo # # SPDX-License-Identifier: BSD-3-Clause -# SPDX-License-Identifier: GPL-3.0-only +# SPDX-License-Identifier: LGPL-3.0-only # Check basic transactions on a replica. diff --git a/tests/cluster/tests/17-diskless-load-swapdb.tcl b/tests/cluster/tests/17-diskless-load-swapdb.tcl index f6cd353a5..16e6c3829 100644 --- a/tests/cluster/tests/17-diskless-load-swapdb.tcl +++ b/tests/cluster/tests/17-diskless-load-swapdb.tcl @@ -2,7 +2,7 @@ # SPDX-FileCopyrightText: 2024 Salvatore Sanfilippo # # SPDX-License-Identifier: BSD-3-Clause -# SPDX-License-Identifier: GPL-3.0-only +# SPDX-License-Identifier: LGPL-3.0-only # Check that replica keys and keys to slots map are right after failing to diskless load using SWAPDB. diff --git a/tests/cluster/tests/18-info.tcl b/tests/cluster/tests/18-info.tcl index c6707ef0e..21b04424d 100644 --- a/tests/cluster/tests/18-info.tcl +++ b/tests/cluster/tests/18-info.tcl @@ -2,7 +2,7 @@ # SPDX-FileCopyrightText: 2024 Salvatore Sanfilippo # # SPDX-License-Identifier: BSD-3-Clause -# SPDX-License-Identifier: GPL-3.0-only +# SPDX-License-Identifier: LGPL-3.0-only # Check cluster info stats diff --git a/tests/cluster/tests/19-cluster-nodes-slots.tcl b/tests/cluster/tests/19-cluster-nodes-slots.tcl index a314c58e0..47da981ed 100644 --- a/tests/cluster/tests/19-cluster-nodes-slots.tcl +++ b/tests/cluster/tests/19-cluster-nodes-slots.tcl @@ -2,7 +2,7 @@ # SPDX-FileCopyrightText: 2024 Salvatore Sanfilippo # # SPDX-License-Identifier: BSD-3-Clause -# SPDX-License-Identifier: GPL-3.0-only +# SPDX-License-Identifier: LGPL-3.0-only # Optimize CLUSTER NODES command by generating all nodes slot topology firstly diff --git a/tests/cluster/tests/20-half-migrated-slot.tcl b/tests/cluster/tests/20-half-migrated-slot.tcl index 31af47329..06b722ecd 100644 --- a/tests/cluster/tests/20-half-migrated-slot.tcl +++ b/tests/cluster/tests/20-half-migrated-slot.tcl @@ -2,7 +2,7 @@ # SPDX-FileCopyrightText: 2024 Salvatore Sanfilippo # # SPDX-License-Identifier: BSD-3-Clause -# SPDX-License-Identifier: GPL-3.0-only +# SPDX-License-Identifier: LGPL-3.0-only # Tests for fixing migrating slot at all stages: # 1. when migration is half inited on "migrating" node diff --git a/tests/cluster/tests/21-many-slot-migration.tcl b/tests/cluster/tests/21-many-slot-migration.tcl index 44f2a6a41..1bd34a6f3 100644 --- a/tests/cluster/tests/21-many-slot-migration.tcl +++ b/tests/cluster/tests/21-many-slot-migration.tcl @@ -2,7 +2,7 @@ # SPDX-FileCopyrightText: 2024 Salvatore Sanfilippo # # SPDX-License-Identifier: BSD-3-Clause -# SPDX-License-Identifier: GPL-3.0-only +# SPDX-License-Identifier: LGPL-3.0-only # Tests for many simultaneous migrations. diff --git a/tests/cluster/tests/22-replica-in-sync.tcl b/tests/cluster/tests/22-replica-in-sync.tcl index 14efb494f..a8b1b5484 100644 --- a/tests/cluster/tests/22-replica-in-sync.tcl +++ b/tests/cluster/tests/22-replica-in-sync.tcl @@ -2,7 +2,7 @@ # SPDX-FileCopyrightText: 2024 Salvatore Sanfilippo # # SPDX-License-Identifier: BSD-3-Clause -# SPDX-License-Identifier: GPL-3.0-only +# SPDX-License-Identifier: LGPL-3.0-only source "../tests/includes/init-tests.tcl" diff --git a/tests/cluster/tests/25-pubsubshard-slot-migration.tcl b/tests/cluster/tests/25-pubsubshard-slot-migration.tcl index 565924943..580bff59b 100644 --- a/tests/cluster/tests/25-pubsubshard-slot-migration.tcl +++ b/tests/cluster/tests/25-pubsubshard-slot-migration.tcl @@ -2,7 +2,7 @@ # SPDX-FileCopyrightText: 2024 Salvatore Sanfilippo # # SPDX-License-Identifier: BSD-3-Clause -# SPDX-License-Identifier: GPL-3.0-only +# SPDX-License-Identifier: LGPL-3.0-only source "../tests/includes/init-tests.tcl" diff --git a/tests/cluster/tests/26-pubsubshard.tcl b/tests/cluster/tests/26-pubsubshard.tcl index eb831bb15..f5f416c8a 100644 --- a/tests/cluster/tests/26-pubsubshard.tcl +++ b/tests/cluster/tests/26-pubsubshard.tcl @@ -2,7 +2,7 @@ # SPDX-FileCopyrightText: 2024 Salvatore Sanfilippo # # SPDX-License-Identifier: BSD-3-Clause -# SPDX-License-Identifier: GPL-3.0-only +# SPDX-License-Identifier: LGPL-3.0-only # Test PUBSUB shard propagation in a cluster slot. diff --git a/tests/cluster/tests/28-cluster-shards.tcl b/tests/cluster/tests/28-cluster-shards.tcl index c6432cc0e..26578c984 100644 --- a/tests/cluster/tests/28-cluster-shards.tcl +++ b/tests/cluster/tests/28-cluster-shards.tcl @@ -2,7 +2,7 @@ # SPDX-FileCopyrightText: 2024 Salvatore Sanfilippo # # SPDX-License-Identifier: BSD-3-Clause -# SPDX-License-Identifier: GPL-3.0-only +# SPDX-License-Identifier: LGPL-3.0-only source "../tests/includes/init-tests.tcl" diff --git a/tests/cluster/tests/29-slot-migration-response.tcl b/tests/cluster/tests/29-slot-migration-response.tcl index 181d9d345..59f0dac9f 100644 --- a/tests/cluster/tests/29-slot-migration-response.tcl +++ b/tests/cluster/tests/29-slot-migration-response.tcl @@ -2,7 +2,7 @@ # SPDX-FileCopyrightText: 2024 Salvatore Sanfilippo # # SPDX-License-Identifier: BSD-3-Clause -# SPDX-License-Identifier: GPL-3.0-only +# SPDX-License-Identifier: LGPL-3.0-only # Tests for the response of slot migrations. diff --git a/tests/cluster/tests/helpers/onlydots.tcl b/tests/cluster/tests/helpers/onlydots.tcl index 7edf5a7f6..62aa28dd7 100644 --- a/tests/cluster/tests/helpers/onlydots.tcl +++ b/tests/cluster/tests/helpers/onlydots.tcl @@ -2,7 +2,7 @@ # SPDX-FileCopyrightText: 2024 Salvatore Sanfilippo # # SPDX-License-Identifier: BSD-3-Clause -# SPDX-License-Identifier: GPL-3.0-only +# SPDX-License-Identifier: LGPL-3.0-only # Read the standard input and only shows dots in the output, filtering out # all the other characters. Designed to avoid bufferization so that when diff --git a/tests/cluster/tests/includes/init-tests.tcl b/tests/cluster/tests/includes/init-tests.tcl index 155a4e234..94f504b45 100644 --- a/tests/cluster/tests/includes/init-tests.tcl +++ b/tests/cluster/tests/includes/init-tests.tcl @@ -2,7 +2,7 @@ # SPDX-FileCopyrightText: 2024 Salvatore Sanfilippo # # SPDX-License-Identifier: BSD-3-Clause -# SPDX-License-Identifier: GPL-3.0-only +# SPDX-License-Identifier: LGPL-3.0-only # Initialization tests -- most units will start including this. diff --git a/tests/cluster/tests/includes/utils.tcl b/tests/cluster/tests/includes/utils.tcl index f29e6cc85..ffe4a3ad5 100644 --- a/tests/cluster/tests/includes/utils.tcl +++ b/tests/cluster/tests/includes/utils.tcl @@ -2,7 +2,7 @@ # SPDX-FileCopyrightText: 2024 Salvatore Sanfilippo # # SPDX-License-Identifier: BSD-3-Clause -# SPDX-License-Identifier: GPL-3.0-only +# SPDX-License-Identifier: LGPL-3.0-only source "../../../tests/support/cli.tcl" diff --git a/tests/helpers/bg_block_op.tcl b/tests/helpers/bg_block_op.tcl index c2176370e..9a795dcce 100644 --- a/tests/helpers/bg_block_op.tcl +++ b/tests/helpers/bg_block_op.tcl @@ -2,7 +2,7 @@ # SPDX-FileCopyrightText: 2024 Salvatore Sanfilippo # # SPDX-License-Identifier: BSD-3-Clause -# SPDX-License-Identifier: GPL-3.0-only +# SPDX-License-Identifier: LGPL-3.0-only source tests/support/redict.tcl source tests/support/util.tcl diff --git a/tests/helpers/bg_complex_data.tcl b/tests/helpers/bg_complex_data.tcl index 6574d8539..66e62d80a 100644 --- a/tests/helpers/bg_complex_data.tcl +++ b/tests/helpers/bg_complex_data.tcl @@ -2,7 +2,7 @@ # SPDX-FileCopyrightText: 2024 Salvatore Sanfilippo # # SPDX-License-Identifier: BSD-3-Clause -# SPDX-License-Identifier: GPL-3.0-only +# SPDX-License-Identifier: LGPL-3.0-only source tests/support/redict.tcl source tests/support/util.tcl diff --git a/tests/helpers/fake_redict_node.tcl b/tests/helpers/fake_redict_node.tcl index 725da3df8..e81ae0733 100644 --- a/tests/helpers/fake_redict_node.tcl +++ b/tests/helpers/fake_redict_node.tcl @@ -2,7 +2,7 @@ # SPDX-FileCopyrightText: 2024 Salvatore Sanfilippo # # SPDX-License-Identifier: BSD-3-Clause -# SPDX-License-Identifier: GPL-3.0-only +# SPDX-License-Identifier: LGPL-3.0-only # A fake Redict node for replaying predefined/expected traffic with a client. # diff --git a/tests/helpers/gen_write_load.tcl b/tests/helpers/gen_write_load.tcl index ba0137bff..1855427a4 100644 --- a/tests/helpers/gen_write_load.tcl +++ b/tests/helpers/gen_write_load.tcl @@ -2,7 +2,7 @@ # SPDX-FileCopyrightText: 2024 Salvatore Sanfilippo # # SPDX-License-Identifier: BSD-3-Clause -# SPDX-License-Identifier: GPL-3.0-only +# SPDX-License-Identifier: LGPL-3.0-only source tests/support/redict.tcl diff --git a/tests/instances.tcl b/tests/instances.tcl index a4ad9c69a..bac9fbbfd 100644 --- a/tests/instances.tcl +++ b/tests/instances.tcl @@ -3,7 +3,7 @@ # SPDX-FileCopyrightText: 2024 Salvatore Sanfilippo # # SPDX-License-Identifier: BSD-3-Clause -# SPDX-License-Identifier: GPL-3.0-only +# SPDX-License-Identifier: LGPL-3.0-only package require Tcl 8.5 diff --git a/tests/integration/aof-multi-part.tcl b/tests/integration/aof-multi-part.tcl index 559e53220..61dfb56ab 100644 --- a/tests/integration/aof-multi-part.tcl +++ b/tests/integration/aof-multi-part.tcl @@ -2,7 +2,7 @@ # SPDX-FileCopyrightText: 2024 Salvatore Sanfilippo # # SPDX-License-Identifier: BSD-3-Clause -# SPDX-License-Identifier: GPL-3.0-only +# SPDX-License-Identifier: LGPL-3.0-only source tests/support/aofmanifest.tcl set defaults {appendonly {yes} appendfilename {appendonly.aof} appenddirname {appendonlydir} auto-aof-rewrite-percentage {0}} diff --git a/tests/integration/aof-race.tcl b/tests/integration/aof-race.tcl index 54645e295..d0e75f3eb 100644 --- a/tests/integration/aof-race.tcl +++ b/tests/integration/aof-race.tcl @@ -2,7 +2,7 @@ # SPDX-FileCopyrightText: 2024 Salvatore Sanfilippo # # SPDX-License-Identifier: BSD-3-Clause -# SPDX-License-Identifier: GPL-3.0-only +# SPDX-License-Identifier: LGPL-3.0-only source tests/support/aofmanifest.tcl set defaults { appendonly {yes} appendfilename {appendonly.aof} appenddirname {appendonlydir} aof-use-rdb-preamble {no} } diff --git a/tests/integration/aof.tcl b/tests/integration/aof.tcl index bdf01f178..aa0e7c97d 100644 --- a/tests/integration/aof.tcl +++ b/tests/integration/aof.tcl @@ -2,7 +2,7 @@ # SPDX-FileCopyrightText: 2024 Salvatore Sanfilippo # # SPDX-License-Identifier: BSD-3-Clause -# SPDX-License-Identifier: GPL-3.0-only +# SPDX-License-Identifier: LGPL-3.0-only source tests/support/aofmanifest.tcl set defaults { appendonly {yes} appendfilename {appendonly.aof} appenddirname {appendonlydir} auto-aof-rewrite-percentage {0}} diff --git a/tests/integration/block-repl.tcl b/tests/integration/block-repl.tcl index 7782f208d..6ef62684c 100644 --- a/tests/integration/block-repl.tcl +++ b/tests/integration/block-repl.tcl @@ -2,7 +2,7 @@ # SPDX-FileCopyrightText: 2024 Salvatore Sanfilippo # # SPDX-License-Identifier: BSD-3-Clause -# SPDX-License-Identifier: GPL-3.0-only +# SPDX-License-Identifier: LGPL-3.0-only # Test replication of blocking lists and zset operations. # Unlike stream operations such operations are "pop" style, so they consume diff --git a/tests/integration/convert-ziplist-hash-on-load.tcl b/tests/integration/convert-ziplist-hash-on-load.tcl index 5de28b4af..77fd7bad1 100644 --- a/tests/integration/convert-ziplist-hash-on-load.tcl +++ b/tests/integration/convert-ziplist-hash-on-load.tcl @@ -2,7 +2,7 @@ # SPDX-FileCopyrightText: 2024 Salvatore Sanfilippo # # SPDX-License-Identifier: BSD-3-Clause -# SPDX-License-Identifier: GPL-3.0-only +# SPDX-License-Identifier: LGPL-3.0-only tags {"external:skip"} { diff --git a/tests/integration/convert-ziplist-zset-on-load.tcl b/tests/integration/convert-ziplist-zset-on-load.tcl index 36f689d7e..b0837f5b4 100644 --- a/tests/integration/convert-ziplist-zset-on-load.tcl +++ b/tests/integration/convert-ziplist-zset-on-load.tcl @@ -2,7 +2,7 @@ # SPDX-FileCopyrightText: 2024 Salvatore Sanfilippo # # SPDX-License-Identifier: BSD-3-Clause -# SPDX-License-Identifier: GPL-3.0-only +# SPDX-License-Identifier: LGPL-3.0-only tags {"external:skip"} { diff --git a/tests/integration/convert-zipmap-hash-on-load.tcl b/tests/integration/convert-zipmap-hash-on-load.tcl index 8eb04f97d..2b5d48511 100644 --- a/tests/integration/convert-zipmap-hash-on-load.tcl +++ b/tests/integration/convert-zipmap-hash-on-load.tcl @@ -2,7 +2,7 @@ # SPDX-FileCopyrightText: 2024 Salvatore Sanfilippo # # SPDX-License-Identifier: BSD-3-Clause -# SPDX-License-Identifier: GPL-3.0-only +# SPDX-License-Identifier: LGPL-3.0-only tags {"external:skip"} { diff --git a/tests/integration/corrupt-dump-fuzzer.tcl b/tests/integration/corrupt-dump-fuzzer.tcl index 0661e61fd..3b9b82c5a 100644 --- a/tests/integration/corrupt-dump-fuzzer.tcl +++ b/tests/integration/corrupt-dump-fuzzer.tcl @@ -2,7 +2,7 @@ # SPDX-FileCopyrightText: 2024 Salvatore Sanfilippo # # SPDX-License-Identifier: BSD-3-Clause -# SPDX-License-Identifier: GPL-3.0-only +# SPDX-License-Identifier: LGPL-3.0-only # tests of corrupt listpack payload with valid CRC diff --git a/tests/integration/corrupt-dump.tcl b/tests/integration/corrupt-dump.tcl index 3d42abc52..19f0cf646 100644 --- a/tests/integration/corrupt-dump.tcl +++ b/tests/integration/corrupt-dump.tcl @@ -2,7 +2,7 @@ # SPDX-FileCopyrightText: 2024 Salvatore Sanfilippo # # SPDX-License-Identifier: BSD-3-Clause -# SPDX-License-Identifier: GPL-3.0-only +# SPDX-License-Identifier: LGPL-3.0-only # tests of corrupt ziplist payload with valid CRC # * setting crash-memcheck-enabled to no to avoid issues with valgrind diff --git a/tests/integration/dismiss-mem.tcl b/tests/integration/dismiss-mem.tcl index 4025ddf22..05f8bbcd3 100644 --- a/tests/integration/dismiss-mem.tcl +++ b/tests/integration/dismiss-mem.tcl @@ -2,7 +2,7 @@ # SPDX-FileCopyrightText: 2024 Salvatore Sanfilippo # # SPDX-License-Identifier: BSD-3-Clause -# SPDX-License-Identifier: GPL-3.0-only +# SPDX-License-Identifier: LGPL-3.0-only # The tests of this file aim to get coverage on all the "dismiss" methods # that dismiss all data-types memory in the fork child. like client query diff --git a/tests/integration/failover.tcl b/tests/integration/failover.tcl index c478477c7..df1b0da52 100644 --- a/tests/integration/failover.tcl +++ b/tests/integration/failover.tcl @@ -2,7 +2,7 @@ # SPDX-FileCopyrightText: 2024 Salvatore Sanfilippo # # SPDX-License-Identifier: BSD-3-Clause -# SPDX-License-Identifier: GPL-3.0-only +# SPDX-License-Identifier: LGPL-3.0-only start_server {tags {"failover external:skip"} overrides {save {}}} { start_server {overrides {save {}}} { diff --git a/tests/integration/logging.tcl b/tests/integration/logging.tcl index 122e18b1c..a7b46ec7e 100644 --- a/tests/integration/logging.tcl +++ b/tests/integration/logging.tcl @@ -2,7 +2,7 @@ # SPDX-FileCopyrightText: 2024 Salvatore Sanfilippo # # SPDX-License-Identifier: BSD-3-Clause -# SPDX-License-Identifier: GPL-3.0-only +# SPDX-License-Identifier: LGPL-3.0-only tags {"external:skip"} { diff --git a/tests/integration/psync2-master-restart.tcl b/tests/integration/psync2-master-restart.tcl index ab8a1baeb..b681e0a3d 100644 --- a/tests/integration/psync2-master-restart.tcl +++ b/tests/integration/psync2-master-restart.tcl @@ -2,7 +2,7 @@ # SPDX-FileCopyrightText: 2024 Salvatore Sanfilippo # # SPDX-License-Identifier: BSD-3-Clause -# SPDX-License-Identifier: GPL-3.0-only +# SPDX-License-Identifier: LGPL-3.0-only start_server {tags {"psync2 external:skip"}} { start_server {} { diff --git a/tests/integration/psync2-pingoff.tcl b/tests/integration/psync2-pingoff.tcl index e7a179e11..f88a8801c 100644 --- a/tests/integration/psync2-pingoff.tcl +++ b/tests/integration/psync2-pingoff.tcl @@ -2,7 +2,7 @@ # SPDX-FileCopyrightText: 2024 Salvatore Sanfilippo # # SPDX-License-Identifier: BSD-3-Clause -# SPDX-License-Identifier: GPL-3.0-only +# SPDX-License-Identifier: LGPL-3.0-only # These tests were added together with the meaningful offset implementation # in redict 6.0.0, which was later abandoned in 6.0.4, they used to test that diff --git a/tests/integration/psync2-reg.tcl b/tests/integration/psync2-reg.tcl index 21c720cfc..e77405128 100644 --- a/tests/integration/psync2-reg.tcl +++ b/tests/integration/psync2-reg.tcl @@ -2,7 +2,7 @@ # SPDX-FileCopyrightText: 2024 Salvatore Sanfilippo # # SPDX-License-Identifier: BSD-3-Clause -# SPDX-License-Identifier: GPL-3.0-only +# SPDX-License-Identifier: LGPL-3.0-only # Issue 3899 regression test. # We create a chain of three instances: master -> slave -> slave2 diff --git a/tests/integration/psync2.tcl b/tests/integration/psync2.tcl index fbc84d066..890157b1b 100644 --- a/tests/integration/psync2.tcl +++ b/tests/integration/psync2.tcl @@ -2,7 +2,7 @@ # SPDX-FileCopyrightText: 2024 Salvatore Sanfilippo # # SPDX-License-Identifier: BSD-3-Clause -# SPDX-License-Identifier: GPL-3.0-only +# SPDX-License-Identifier: LGPL-3.0-only proc show_cluster_status {} { uplevel 1 { diff --git a/tests/integration/rdb.tcl b/tests/integration/rdb.tcl index 6bba9360e..b195635ab 100644 --- a/tests/integration/rdb.tcl +++ b/tests/integration/rdb.tcl @@ -2,7 +2,7 @@ # SPDX-FileCopyrightText: 2024 Salvatore Sanfilippo # # SPDX-License-Identifier: BSD-3-Clause -# SPDX-License-Identifier: GPL-3.0-only +# SPDX-License-Identifier: LGPL-3.0-only tags {"rdb external:skip"} { diff --git a/tests/integration/redict-benchmark.tcl b/tests/integration/redict-benchmark.tcl index 48bd433cf..39c900e72 100644 --- a/tests/integration/redict-benchmark.tcl +++ b/tests/integration/redict-benchmark.tcl @@ -2,7 +2,7 @@ # SPDX-FileCopyrightText: 2024 Salvatore Sanfilippo # # SPDX-License-Identifier: BSD-3-Clause -# SPDX-License-Identifier: GPL-3.0-only +# SPDX-License-Identifier: LGPL-3.0-only source tests/support/benchmark.tcl source tests/support/cli.tcl diff --git a/tests/integration/redict-cli.tcl b/tests/integration/redict-cli.tcl index cbfdb0278..88473dba0 100644 --- a/tests/integration/redict-cli.tcl +++ b/tests/integration/redict-cli.tcl @@ -2,7 +2,7 @@ # SPDX-FileCopyrightText: 2024 Salvatore Sanfilippo # # SPDX-License-Identifier: BSD-3-Clause -# SPDX-License-Identifier: GPL-3.0-only +# SPDX-License-Identifier: LGPL-3.0-only source tests/support/cli.tcl diff --git a/tests/integration/replication-2.tcl b/tests/integration/replication-2.tcl index 285e8e947..5e596fe63 100644 --- a/tests/integration/replication-2.tcl +++ b/tests/integration/replication-2.tcl @@ -2,7 +2,7 @@ # SPDX-FileCopyrightText: 2024 Salvatore Sanfilippo # # SPDX-License-Identifier: BSD-3-Clause -# SPDX-License-Identifier: GPL-3.0-only +# SPDX-License-Identifier: LGPL-3.0-only start_server {tags {"repl external:skip"}} { start_server {} { diff --git a/tests/integration/replication-3.tcl b/tests/integration/replication-3.tcl index 1a312001a..d2aa1aeb9 100644 --- a/tests/integration/replication-3.tcl +++ b/tests/integration/replication-3.tcl @@ -2,7 +2,7 @@ # SPDX-FileCopyrightText: 2024 Salvatore Sanfilippo # # SPDX-License-Identifier: BSD-3-Clause -# SPDX-License-Identifier: GPL-3.0-only +# SPDX-License-Identifier: LGPL-3.0-only start_server {tags {"repl external:skip"}} { start_server {} { diff --git a/tests/integration/replication-4.tcl b/tests/integration/replication-4.tcl index 02c8de635..11282d0d7 100644 --- a/tests/integration/replication-4.tcl +++ b/tests/integration/replication-4.tcl @@ -2,7 +2,7 @@ # SPDX-FileCopyrightText: 2024 Salvatore Sanfilippo # # SPDX-License-Identifier: BSD-3-Clause -# SPDX-License-Identifier: GPL-3.0-only +# SPDX-License-Identifier: LGPL-3.0-only start_server {tags {"repl network external:skip singledb:skip"} overrides {save {}}} { start_server { overrides {save {}}} { diff --git a/tests/integration/replication-buffer.tcl b/tests/integration/replication-buffer.tcl index 9d133d017..ee2396bda 100644 --- a/tests/integration/replication-buffer.tcl +++ b/tests/integration/replication-buffer.tcl @@ -2,7 +2,7 @@ # SPDX-FileCopyrightText: 2024 Salvatore Sanfilippo # # SPDX-License-Identifier: BSD-3-Clause -# SPDX-License-Identifier: GPL-3.0-only +# SPDX-License-Identifier: LGPL-3.0-only # This test group aims to test that all replicas share one global replication buffer, # two replicas don't make replication buffer size double, and when there is no replica, diff --git a/tests/integration/replication-psync.tcl b/tests/integration/replication-psync.tcl index a9716ccd8..4930754ea 100644 --- a/tests/integration/replication-psync.tcl +++ b/tests/integration/replication-psync.tcl @@ -2,7 +2,7 @@ # SPDX-FileCopyrightText: 2024 Salvatore Sanfilippo # # SPDX-License-Identifier: BSD-3-Clause -# SPDX-License-Identifier: GPL-3.0-only +# SPDX-License-Identifier: LGPL-3.0-only # Creates a master-slave pair and breaks the link continuously to force # partial resyncs attempts, all this while flooding the master with diff --git a/tests/integration/replication.tcl b/tests/integration/replication.tcl index 2bee65b80..31e1ce523 100644 --- a/tests/integration/replication.tcl +++ b/tests/integration/replication.tcl @@ -2,7 +2,7 @@ # SPDX-FileCopyrightText: 2024 Salvatore Sanfilippo # # SPDX-License-Identifier: BSD-3-Clause -# SPDX-License-Identifier: GPL-3.0-only +# SPDX-License-Identifier: LGPL-3.0-only proc log_file_matches {log pattern} { set fp [open $log r] diff --git a/tests/integration/shutdown.tcl b/tests/integration/shutdown.tcl index 82a6af654..96260f4df 100644 --- a/tests/integration/shutdown.tcl +++ b/tests/integration/shutdown.tcl @@ -2,7 +2,7 @@ # SPDX-FileCopyrightText: 2024 Salvatore Sanfilippo # # SPDX-License-Identifier: BSD-3-Clause -# SPDX-License-Identifier: GPL-3.0-only +# SPDX-License-Identifier: LGPL-3.0-only # This test suite tests shutdown when there are lagging replicas connected. diff --git a/tests/modules/aclcheck.c b/tests/modules/aclcheck.c index 7440c45d3..74608dc92 100644 --- a/tests/modules/aclcheck.c +++ b/tests/modules/aclcheck.c @@ -2,7 +2,7 @@ // SPDX-FileCopyrightText: 2024 Salvatore Sanfilippo // // SPDX-License-Identifier: BSD-3-Clause -// SPDX-License-Identifier: GPL-3.0-only +// SPDX-License-Identifier: LGPL-3.0-only #include "redictmodule.h" #include diff --git a/tests/modules/auth.c b/tests/modules/auth.c index d2f92ec60..b7b59e2c6 100644 --- a/tests/modules/auth.c +++ b/tests/modules/auth.c @@ -2,7 +2,7 @@ // SPDX-FileCopyrightText: 2024 Salvatore Sanfilippo // // SPDX-License-Identifier: BSD-3-Clause -// SPDX-License-Identifier: GPL-3.0-only +// SPDX-License-Identifier: LGPL-3.0-only /* define macros for having usleep */ #define _BSD_SOURCE diff --git a/tests/modules/basics.c b/tests/modules/basics.c index 949053d44..1ab943d0e 100644 --- a/tests/modules/basics.c +++ b/tests/modules/basics.c @@ -3,7 +3,7 @@ // SPDX-FileCopyrightText: 2024 Salvatore Sanfilippo // // SPDX-License-Identifier: BSD-3-Clause -// SPDX-License-Identifier: GPL-3.0-only +// SPDX-License-Identifier: LGPL-3.0-only #include "redictmodule.h" #include diff --git a/tests/modules/blockedclient.c b/tests/modules/blockedclient.c index b5e84e7b1..759cdc77a 100644 --- a/tests/modules/blockedclient.c +++ b/tests/modules/blockedclient.c @@ -2,7 +2,7 @@ // SPDX-FileCopyrightText: 2024 Salvatore Sanfilippo // // SPDX-License-Identifier: BSD-3-Clause -// SPDX-License-Identifier: GPL-3.0-only +// SPDX-License-Identifier: LGPL-3.0-only /* define macros for having usleep */ #define _BSD_SOURCE diff --git a/tests/modules/blockonbackground.c b/tests/modules/blockonbackground.c index 9d643715d..1ad176c71 100644 --- a/tests/modules/blockonbackground.c +++ b/tests/modules/blockonbackground.c @@ -2,7 +2,7 @@ // SPDX-FileCopyrightText: 2024 Salvatore Sanfilippo // // SPDX-License-Identifier: BSD-3-Clause -// SPDX-License-Identifier: GPL-3.0-only +// SPDX-License-Identifier: LGPL-3.0-only #define _XOPEN_SOURCE 700 #include "redictmodule.h" diff --git a/tests/modules/blockonkeys.c b/tests/modules/blockonkeys.c index 827cc84a8..eeefffed5 100644 --- a/tests/modules/blockonkeys.c +++ b/tests/modules/blockonkeys.c @@ -2,7 +2,7 @@ // SPDX-FileCopyrightText: 2024 Salvatore Sanfilippo // // SPDX-License-Identifier: BSD-3-Clause -// SPDX-License-Identifier: GPL-3.0-only +// SPDX-License-Identifier: LGPL-3.0-only #include "redictmodule.h" diff --git a/tests/modules/cmdintrospection.c b/tests/modules/cmdintrospection.c index e079ce5d2..a2a4ca7cb 100644 --- a/tests/modules/cmdintrospection.c +++ b/tests/modules/cmdintrospection.c @@ -2,7 +2,7 @@ // SPDX-FileCopyrightText: 2024 Salvatore Sanfilippo // // SPDX-License-Identifier: BSD-3-Clause -// SPDX-License-Identifier: GPL-3.0-only +// SPDX-License-Identifier: LGPL-3.0-only #include "redictmodule.h" diff --git a/tests/modules/commandfilter.c b/tests/modules/commandfilter.c index 0e99bf7a3..58c5f55ff 100644 --- a/tests/modules/commandfilter.c +++ b/tests/modules/commandfilter.c @@ -2,7 +2,7 @@ // SPDX-FileCopyrightText: 2024 Salvatore Sanfilippo // // SPDX-License-Identifier: BSD-3-Clause -// SPDX-License-Identifier: GPL-3.0-only +// SPDX-License-Identifier: LGPL-3.0-only #include "redictmodule.h" diff --git a/tests/modules/crash.c b/tests/modules/crash.c index fdb402722..a5b4915da 100644 --- a/tests/modules/crash.c +++ b/tests/modules/crash.c @@ -2,7 +2,7 @@ // SPDX-FileCopyrightText: 2024 Salvatore Sanfilippo // // SPDX-License-Identifier: BSD-3-Clause -// SPDX-License-Identifier: GPL-3.0-only +// SPDX-License-Identifier: LGPL-3.0-only #include "redictmodule.h" diff --git a/tests/modules/datatype.c b/tests/modules/datatype.c index be96fbb20..ca45fc8d4 100644 --- a/tests/modules/datatype.c +++ b/tests/modules/datatype.c @@ -2,7 +2,7 @@ // SPDX-FileCopyrightText: 2024 Salvatore Sanfilippo // // SPDX-License-Identifier: BSD-3-Clause -// SPDX-License-Identifier: GPL-3.0-only +// SPDX-License-Identifier: LGPL-3.0-only /* This module current tests a small subset but should be extended in the future * for general ModuleDataType coverage. diff --git a/tests/modules/datatype2.c b/tests/modules/datatype2.c index 772be8a2f..e101b86f3 100644 --- a/tests/modules/datatype2.c +++ b/tests/modules/datatype2.c @@ -2,7 +2,7 @@ // SPDX-FileCopyrightText: 2024 Salvatore Sanfilippo // // SPDX-License-Identifier: BSD-3-Clause -// SPDX-License-Identifier: GPL-3.0-only +// SPDX-License-Identifier: LGPL-3.0-only /* This module is used to test a use case of a module that stores information * about keys in global memory, and relies on the enhanced data type callbacks to diff --git a/tests/modules/defragtest.c b/tests/modules/defragtest.c index 967037b0f..585fc2a79 100644 --- a/tests/modules/defragtest.c +++ b/tests/modules/defragtest.c @@ -2,7 +2,7 @@ // SPDX-FileCopyrightText: 2024 Salvatore Sanfilippo // // SPDX-License-Identifier: BSD-3-Clause -// SPDX-License-Identifier: GPL-3.0-only +// SPDX-License-Identifier: LGPL-3.0-only /* A module that implements defrag callback mechanisms. */ diff --git a/tests/modules/eventloop.c b/tests/modules/eventloop.c index 1393526f0..02e8b63a1 100644 --- a/tests/modules/eventloop.c +++ b/tests/modules/eventloop.c @@ -2,7 +2,7 @@ // SPDX-FileCopyrightText: 2024 Salvatore Sanfilippo // // SPDX-License-Identifier: BSD-3-Clause -// SPDX-License-Identifier: GPL-3.0-only +// SPDX-License-Identifier: LGPL-3.0-only /* This module contains four tests : * 1- test.sanity : Basic tests for argument validation mostly. diff --git a/tests/modules/fork.c b/tests/modules/fork.c index b84588028..372b98732 100644 --- a/tests/modules/fork.c +++ b/tests/modules/fork.c @@ -2,7 +2,7 @@ // SPDX-FileCopyrightText: 2024 Salvatore Sanfilippo // // SPDX-License-Identifier: BSD-3-Clause -// SPDX-License-Identifier: GPL-3.0-only +// SPDX-License-Identifier: LGPL-3.0-only /* define macros for having usleep */ #define _BSD_SOURCE diff --git a/tests/modules/getchannels.c b/tests/modules/getchannels.c index 614b573c3..780d054ed 100644 --- a/tests/modules/getchannels.c +++ b/tests/modules/getchannels.c @@ -2,7 +2,7 @@ // SPDX-FileCopyrightText: 2024 Salvatore Sanfilippo // // SPDX-License-Identifier: BSD-3-Clause -// SPDX-License-Identifier: GPL-3.0-only +// SPDX-License-Identifier: LGPL-3.0-only #include "redictmodule.h" #include diff --git a/tests/modules/getkeys.c b/tests/modules/getkeys.c index 2f89f713d..f326d950a 100644 --- a/tests/modules/getkeys.c +++ b/tests/modules/getkeys.c @@ -2,7 +2,7 @@ // SPDX-FileCopyrightText: 2024 Salvatore Sanfilippo // // SPDX-License-Identifier: BSD-3-Clause -// SPDX-License-Identifier: GPL-3.0-only +// SPDX-License-Identifier: LGPL-3.0-only #include "redictmodule.h" #include diff --git a/tests/modules/hash.c b/tests/modules/hash.c index 66a99195c..4ac8db49f 100644 --- a/tests/modules/hash.c +++ b/tests/modules/hash.c @@ -2,7 +2,7 @@ // SPDX-FileCopyrightText: 2024 Salvatore Sanfilippo // // SPDX-License-Identifier: BSD-3-Clause -// SPDX-License-Identifier: GPL-3.0-only +// SPDX-License-Identifier: LGPL-3.0-only #include "redictmodule.h" #include diff --git a/tests/modules/hooks.c b/tests/modules/hooks.c index 7d4cbf929..61ec0e1c2 100644 --- a/tests/modules/hooks.c +++ b/tests/modules/hooks.c @@ -3,7 +3,7 @@ // SPDX-FileCopyrightText: 2024 Salvatore Sanfilippo // // SPDX-License-Identifier: BSD-3-Clause -// SPDX-License-Identifier: GPL-3.0-only +// SPDX-License-Identifier: LGPL-3.0-only #include "redictmodule.h" #include diff --git a/tests/modules/infotest.c b/tests/modules/infotest.c index 8d0db3321..a36c06971 100644 --- a/tests/modules/infotest.c +++ b/tests/modules/infotest.c @@ -2,7 +2,7 @@ // SPDX-FileCopyrightText: 2024 Salvatore Sanfilippo // // SPDX-License-Identifier: BSD-3-Clause -// SPDX-License-Identifier: GPL-3.0-only +// SPDX-License-Identifier: LGPL-3.0-only #include "redictmodule.h" diff --git a/tests/modules/keyspace_events.c b/tests/modules/keyspace_events.c index b19303d57..e13306bae 100644 --- a/tests/modules/keyspace_events.c +++ b/tests/modules/keyspace_events.c @@ -3,7 +3,7 @@ // SPDX-FileCopyrightText: 2024 Salvatore Sanfilippo // // SPDX-License-Identifier: BSD-3-Clause -// SPDX-License-Identifier: GPL-3.0-only +// SPDX-License-Identifier: LGPL-3.0-only #define _BSD_SOURCE #define _DEFAULT_SOURCE /* For usleep */ diff --git a/tests/modules/keyspecs.c b/tests/modules/keyspecs.c index dcdbd92a6..da7d401ce 100644 --- a/tests/modules/keyspecs.c +++ b/tests/modules/keyspecs.c @@ -2,7 +2,7 @@ // SPDX-FileCopyrightText: 2024 Salvatore Sanfilippo // // SPDX-License-Identifier: BSD-3-Clause -// SPDX-License-Identifier: GPL-3.0-only +// SPDX-License-Identifier: LGPL-3.0-only #include "redictmodule.h" diff --git a/tests/modules/list.c b/tests/modules/list.c index c5e209a64..14b87e2a1 100644 --- a/tests/modules/list.c +++ b/tests/modules/list.c @@ -2,7 +2,7 @@ // SPDX-FileCopyrightText: 2024 Salvatore Sanfilippo // // SPDX-License-Identifier: BSD-3-Clause -// SPDX-License-Identifier: GPL-3.0-only +// SPDX-License-Identifier: LGPL-3.0-only #include "redictmodule.h" #include diff --git a/tests/modules/mallocsize.c b/tests/modules/mallocsize.c index 252f9f83c..feb5ab63b 100644 --- a/tests/modules/mallocsize.c +++ b/tests/modules/mallocsize.c @@ -2,7 +2,7 @@ // SPDX-FileCopyrightText: 2024 Salvatore Sanfilippo // // SPDX-License-Identifier: BSD-3-Clause -// SPDX-License-Identifier: GPL-3.0-only +// SPDX-License-Identifier: LGPL-3.0-only #include "redictmodule.h" #include diff --git a/tests/modules/misc.c b/tests/modules/misc.c index 720f24025..e88ab9a6d 100644 --- a/tests/modules/misc.c +++ b/tests/modules/misc.c @@ -2,7 +2,7 @@ // SPDX-FileCopyrightText: 2024 Salvatore Sanfilippo // // SPDX-License-Identifier: BSD-3-Clause -// SPDX-License-Identifier: GPL-3.0-only +// SPDX-License-Identifier: LGPL-3.0-only #include "redictmodule.h" diff --git a/tests/modules/moduleauthtwo.c b/tests/modules/moduleauthtwo.c index 47e276aef..054ffaa7d 100644 --- a/tests/modules/moduleauthtwo.c +++ b/tests/modules/moduleauthtwo.c @@ -2,7 +2,7 @@ // SPDX-FileCopyrightText: 2024 Salvatore Sanfilippo // // SPDX-License-Identifier: BSD-3-Clause -// SPDX-License-Identifier: GPL-3.0-only +// SPDX-License-Identifier: LGPL-3.0-only #include "redictmodule.h" diff --git a/tests/modules/moduleconfigs.c b/tests/modules/moduleconfigs.c index a37a0368a..ceb639d1f 100644 --- a/tests/modules/moduleconfigs.c +++ b/tests/modules/moduleconfigs.c @@ -2,7 +2,7 @@ // SPDX-FileCopyrightText: 2024 Salvatore Sanfilippo // // SPDX-License-Identifier: BSD-3-Clause -// SPDX-License-Identifier: GPL-3.0-only +// SPDX-License-Identifier: LGPL-3.0-only #include "redictmodule.h" #include diff --git a/tests/modules/moduleconfigstwo.c b/tests/modules/moduleconfigstwo.c index f58e8d873..7d6405030 100644 --- a/tests/modules/moduleconfigstwo.c +++ b/tests/modules/moduleconfigstwo.c @@ -2,7 +2,7 @@ // SPDX-FileCopyrightText: 2024 Salvatore Sanfilippo // // SPDX-License-Identifier: BSD-3-Clause -// SPDX-License-Identifier: GPL-3.0-only +// SPDX-License-Identifier: LGPL-3.0-only #include "redictmodule.h" #include diff --git a/tests/modules/postnotifications.c b/tests/modules/postnotifications.c index 2941a75b8..c979115d9 100644 --- a/tests/modules/postnotifications.c +++ b/tests/modules/postnotifications.c @@ -3,7 +3,7 @@ // SPDX-FileCopyrightText: 2024 Salvatore Sanfilippo // // SPDX-License-Identifier: BSD-3-Clause -// SPDX-License-Identifier: GPL-3.0-only +// SPDX-License-Identifier: LGPL-3.0-only /* This module allow to verify 'RedisModule_AddPostNotificationJob' by registering to 3 * key space event: diff --git a/tests/modules/propagate.c b/tests/modules/propagate.c index cb2400077..6db8f39a5 100644 --- a/tests/modules/propagate.c +++ b/tests/modules/propagate.c @@ -3,7 +3,7 @@ // SPDX-FileCopyrightText: 2024 Salvatore Sanfilippo // // SPDX-License-Identifier: BSD-3-Clause -// SPDX-License-Identifier: GPL-3.0-only +// SPDX-License-Identifier: LGPL-3.0-only #include "redictmodule.h" #include diff --git a/tests/modules/publish.c b/tests/modules/publish.c index 6a7ac3d21..713a3112b 100644 --- a/tests/modules/publish.c +++ b/tests/modules/publish.c @@ -2,7 +2,7 @@ // SPDX-FileCopyrightText: 2024 Salvatore Sanfilippo // // SPDX-License-Identifier: BSD-3-Clause -// SPDX-License-Identifier: GPL-3.0-only +// SPDX-License-Identifier: LGPL-3.0-only #include "redictmodule.h" #include diff --git a/tests/modules/rdbloadsave.c b/tests/modules/rdbloadsave.c index 35455c484..a54e4457d 100644 --- a/tests/modules/rdbloadsave.c +++ b/tests/modules/rdbloadsave.c @@ -2,7 +2,7 @@ // SPDX-FileCopyrightText: 2024 Salvatore Sanfilippo // // SPDX-License-Identifier: BSD-3-Clause -// SPDX-License-Identifier: GPL-3.0-only +// SPDX-License-Identifier: LGPL-3.0-only #include "redictmodule.h" diff --git a/tests/modules/reply.c b/tests/modules/reply.c index 79b342a12..60b5aba61 100644 --- a/tests/modules/reply.c +++ b/tests/modules/reply.c @@ -2,7 +2,7 @@ // SPDX-FileCopyrightText: 2024 Salvatore Sanfilippo // // SPDX-License-Identifier: BSD-3-Clause -// SPDX-License-Identifier: GPL-3.0-only +// SPDX-License-Identifier: LGPL-3.0-only /* * A module the tests RM_ReplyWith family of commands diff --git a/tests/modules/scan.c b/tests/modules/scan.c index aeee7228e..1975e77c9 100644 --- a/tests/modules/scan.c +++ b/tests/modules/scan.c @@ -2,7 +2,7 @@ // SPDX-FileCopyrightText: 2024 Salvatore Sanfilippo // // SPDX-License-Identifier: BSD-3-Clause -// SPDX-License-Identifier: GPL-3.0-only +// SPDX-License-Identifier: LGPL-3.0-only #include "redictmodule.h" diff --git a/tests/modules/stream.c b/tests/modules/stream.c index fd23adb15..ff591d02f 100644 --- a/tests/modules/stream.c +++ b/tests/modules/stream.c @@ -2,7 +2,7 @@ // SPDX-FileCopyrightText: 2024 Salvatore Sanfilippo // // SPDX-License-Identifier: BSD-3-Clause -// SPDX-License-Identifier: GPL-3.0-only +// SPDX-License-Identifier: LGPL-3.0-only #include "redictmodule.h" diff --git a/tests/modules/subcommands.c b/tests/modules/subcommands.c index 13a24ffe1..2371c0755 100644 --- a/tests/modules/subcommands.c +++ b/tests/modules/subcommands.c @@ -2,7 +2,7 @@ // SPDX-FileCopyrightText: 2024 Salvatore Sanfilippo // // SPDX-License-Identifier: BSD-3-Clause -// SPDX-License-Identifier: GPL-3.0-only +// SPDX-License-Identifier: LGPL-3.0-only #include "redictmodule.h" diff --git a/tests/modules/test_lazyfree.c b/tests/modules/test_lazyfree.c index c51a95f17..f8ca2d28b 100644 --- a/tests/modules/test_lazyfree.c +++ b/tests/modules/test_lazyfree.c @@ -2,7 +2,7 @@ // SPDX-FileCopyrightText: 2024 Salvatore Sanfilippo // // SPDX-License-Identifier: BSD-3-Clause -// SPDX-License-Identifier: GPL-3.0-only +// SPDX-License-Identifier: LGPL-3.0-only /* This module emulates a linked list for lazyfree testing of modules, which is a simplified version of 'hellotype.c' diff --git a/tests/modules/testrdb.c b/tests/modules/testrdb.c index 88d1c06a5..f7b323dac 100644 --- a/tests/modules/testrdb.c +++ b/tests/modules/testrdb.c @@ -2,7 +2,7 @@ // SPDX-FileCopyrightText: 2024 Salvatore Sanfilippo // // SPDX-License-Identifier: BSD-3-Clause -// SPDX-License-Identifier: GPL-3.0-only +// SPDX-License-Identifier: LGPL-3.0-only #include "redictmodule.h" diff --git a/tests/modules/timer.c b/tests/modules/timer.c index f4fbcd448..94cfe5bc9 100644 --- a/tests/modules/timer.c +++ b/tests/modules/timer.c @@ -2,7 +2,7 @@ // SPDX-FileCopyrightText: 2024 Salvatore Sanfilippo // // SPDX-License-Identifier: BSD-3-Clause -// SPDX-License-Identifier: GPL-3.0-only +// SPDX-License-Identifier: LGPL-3.0-only #include "redictmodule.h" diff --git a/tests/modules/usercall.c b/tests/modules/usercall.c index 62c76fce8..ddc88297c 100644 --- a/tests/modules/usercall.c +++ b/tests/modules/usercall.c @@ -2,7 +2,7 @@ // SPDX-FileCopyrightText: 2024 Salvatore Sanfilippo // // SPDX-License-Identifier: BSD-3-Clause -// SPDX-License-Identifier: GPL-3.0-only +// SPDX-License-Identifier: LGPL-3.0-only #include "redictmodule.h" #include diff --git a/tests/modules/zset.c b/tests/modules/zset.c index 64b6cef3b..ae3ae0b6e 100644 --- a/tests/modules/zset.c +++ b/tests/modules/zset.c @@ -2,7 +2,7 @@ // SPDX-FileCopyrightText: 2024 Salvatore Sanfilippo // // SPDX-License-Identifier: BSD-3-Clause -// SPDX-License-Identifier: GPL-3.0-only +// SPDX-License-Identifier: LGPL-3.0-only #include "redictmodule.h" #include diff --git a/tests/sentinel/run.tcl b/tests/sentinel/run.tcl index e51fab467..1aa5a78be 100644 --- a/tests/sentinel/run.tcl +++ b/tests/sentinel/run.tcl @@ -3,7 +3,7 @@ # SPDX-FileCopyrightText: 2024 Salvatore Sanfilippo # # SPDX-License-Identifier: BSD-3-Clause -# SPDX-License-Identifier: GPL-3.0-only +# SPDX-License-Identifier: LGPL-3.0-only cd tests/sentinel source ../instances.tcl diff --git a/tests/sentinel/tests/00-base.tcl b/tests/sentinel/tests/00-base.tcl index 06ffe4641..562659392 100644 --- a/tests/sentinel/tests/00-base.tcl +++ b/tests/sentinel/tests/00-base.tcl @@ -2,7 +2,7 @@ # SPDX-FileCopyrightText: 2024 Salvatore Sanfilippo # # SPDX-License-Identifier: BSD-3-Clause -# SPDX-License-Identifier: GPL-3.0-only +# SPDX-License-Identifier: LGPL-3.0-only # Check the basic monitoring and failover capabilities. source "../tests/includes/start-init-tests.tcl" diff --git a/tests/sentinel/tests/01-conf-update.tcl b/tests/sentinel/tests/01-conf-update.tcl index 0091e3144..06ae6c0fc 100644 --- a/tests/sentinel/tests/01-conf-update.tcl +++ b/tests/sentinel/tests/01-conf-update.tcl @@ -2,7 +2,7 @@ # SPDX-FileCopyrightText: 2024 Salvatore Sanfilippo # # SPDX-License-Identifier: BSD-3-Clause -# SPDX-License-Identifier: GPL-3.0-only +# SPDX-License-Identifier: LGPL-3.0-only # Test Sentinel configuration consistency after partitions heal. diff --git a/tests/sentinel/tests/02-slaves-reconf.tcl b/tests/sentinel/tests/02-slaves-reconf.tcl index 9c138f5de..bf9f9db45 100644 --- a/tests/sentinel/tests/02-slaves-reconf.tcl +++ b/tests/sentinel/tests/02-slaves-reconf.tcl @@ -2,7 +2,7 @@ # SPDX-FileCopyrightText: 2024 Salvatore Sanfilippo # # SPDX-License-Identifier: BSD-3-Clause -# SPDX-License-Identifier: GPL-3.0-only +# SPDX-License-Identifier: LGPL-3.0-only # Check that slaves are reconfigured at a latter time if they are partitioned. # diff --git a/tests/sentinel/tests/03-runtime-reconf.tcl b/tests/sentinel/tests/03-runtime-reconf.tcl index aa516868e..1edb9b102 100644 --- a/tests/sentinel/tests/03-runtime-reconf.tcl +++ b/tests/sentinel/tests/03-runtime-reconf.tcl @@ -2,7 +2,7 @@ # SPDX-FileCopyrightText: 2024 Salvatore Sanfilippo # # SPDX-License-Identifier: BSD-3-Clause -# SPDX-License-Identifier: GPL-3.0-only +# SPDX-License-Identifier: LGPL-3.0-only # Test runtime reconfiguration command SENTINEL SET. source "../tests/includes/init-tests.tcl" diff --git a/tests/sentinel/tests/04-slave-selection.tcl b/tests/sentinel/tests/04-slave-selection.tcl index 023a1ef2b..d7410a53d 100644 --- a/tests/sentinel/tests/04-slave-selection.tcl +++ b/tests/sentinel/tests/04-slave-selection.tcl @@ -2,7 +2,7 @@ # SPDX-FileCopyrightText: 2024 Salvatore Sanfilippo # # SPDX-License-Identifier: BSD-3-Clause -# SPDX-License-Identifier: GPL-3.0-only +# SPDX-License-Identifier: LGPL-3.0-only # Test slave selection algorithm. # diff --git a/tests/sentinel/tests/05-manual.tcl b/tests/sentinel/tests/05-manual.tcl index 228887455..dc25273b5 100644 --- a/tests/sentinel/tests/05-manual.tcl +++ b/tests/sentinel/tests/05-manual.tcl @@ -2,7 +2,7 @@ # SPDX-FileCopyrightText: 2024 Salvatore Sanfilippo # # SPDX-License-Identifier: BSD-3-Clause -# SPDX-License-Identifier: GPL-3.0-only +# SPDX-License-Identifier: LGPL-3.0-only # Test manual failover diff --git a/tests/sentinel/tests/06-ckquorum.tcl b/tests/sentinel/tests/06-ckquorum.tcl index a8f737caf..5dafffc51 100644 --- a/tests/sentinel/tests/06-ckquorum.tcl +++ b/tests/sentinel/tests/06-ckquorum.tcl @@ -2,7 +2,7 @@ # SPDX-FileCopyrightText: 2024 Salvatore Sanfilippo # # SPDX-License-Identifier: BSD-3-Clause -# SPDX-License-Identifier: GPL-3.0-only +# SPDX-License-Identifier: LGPL-3.0-only # Test for the SENTINEL CKQUORUM command diff --git a/tests/sentinel/tests/07-down-conditions.tcl b/tests/sentinel/tests/07-down-conditions.tcl index 5900a829d..40f7aa0cd 100644 --- a/tests/sentinel/tests/07-down-conditions.tcl +++ b/tests/sentinel/tests/07-down-conditions.tcl @@ -2,7 +2,7 @@ # SPDX-FileCopyrightText: 2024 Salvatore Sanfilippo # # SPDX-License-Identifier: BSD-3-Clause -# SPDX-License-Identifier: GPL-3.0-only +# SPDX-License-Identifier: LGPL-3.0-only # Test conditions where an instance is considered to be down diff --git a/tests/sentinel/tests/08-hostname-conf.tcl b/tests/sentinel/tests/08-hostname-conf.tcl index 838d9729d..0cc80af65 100644 --- a/tests/sentinel/tests/08-hostname-conf.tcl +++ b/tests/sentinel/tests/08-hostname-conf.tcl @@ -2,7 +2,7 @@ # SPDX-FileCopyrightText: 2024 Salvatore Sanfilippo # # SPDX-License-Identifier: BSD-3-Clause -# SPDX-License-Identifier: GPL-3.0-only +# SPDX-License-Identifier: LGPL-3.0-only source "../tests/includes/utils.tcl" diff --git a/tests/sentinel/tests/09-acl-support.tcl b/tests/sentinel/tests/09-acl-support.tcl index ff3b17a25..ccf93eeb3 100644 --- a/tests/sentinel/tests/09-acl-support.tcl +++ b/tests/sentinel/tests/09-acl-support.tcl @@ -2,7 +2,7 @@ # SPDX-FileCopyrightText: 2024 Salvatore Sanfilippo # # SPDX-License-Identifier: BSD-3-Clause -# SPDX-License-Identifier: GPL-3.0-only +# SPDX-License-Identifier: LGPL-3.0-only source "../tests/includes/init-tests.tcl" diff --git a/tests/sentinel/tests/10-replica-priority.tcl b/tests/sentinel/tests/10-replica-priority.tcl index 93048ce8a..79a42c40a 100644 --- a/tests/sentinel/tests/10-replica-priority.tcl +++ b/tests/sentinel/tests/10-replica-priority.tcl @@ -2,7 +2,7 @@ # SPDX-FileCopyrightText: 2024 Salvatore Sanfilippo # # SPDX-License-Identifier: BSD-3-Clause -# SPDX-License-Identifier: GPL-3.0-only +# SPDX-License-Identifier: LGPL-3.0-only source "../tests/includes/init-tests.tcl" diff --git a/tests/sentinel/tests/11-port-0.tcl b/tests/sentinel/tests/11-port-0.tcl index b55127bf7..44e099e11 100644 --- a/tests/sentinel/tests/11-port-0.tcl +++ b/tests/sentinel/tests/11-port-0.tcl @@ -2,7 +2,7 @@ # SPDX-FileCopyrightText: 2024 Salvatore Sanfilippo # # SPDX-License-Identifier: BSD-3-Clause -# SPDX-License-Identifier: GPL-3.0-only +# SPDX-License-Identifier: LGPL-3.0-only source "../tests/includes/init-tests.tcl" diff --git a/tests/sentinel/tests/12-master-reboot.tcl b/tests/sentinel/tests/12-master-reboot.tcl index fed6bea05..5b42f2465 100644 --- a/tests/sentinel/tests/12-master-reboot.tcl +++ b/tests/sentinel/tests/12-master-reboot.tcl @@ -2,7 +2,7 @@ # SPDX-FileCopyrightText: 2024 Salvatore Sanfilippo # # SPDX-License-Identifier: BSD-3-Clause -# SPDX-License-Identifier: GPL-3.0-only +# SPDX-License-Identifier: LGPL-3.0-only # Check the basic monitoring and failover capabilities. source "../tests/includes/init-tests.tcl" diff --git a/tests/sentinel/tests/13-info-command.tcl b/tests/sentinel/tests/13-info-command.tcl index 6d0450e29..171c973ed 100644 --- a/tests/sentinel/tests/13-info-command.tcl +++ b/tests/sentinel/tests/13-info-command.tcl @@ -2,7 +2,7 @@ # SPDX-FileCopyrightText: 2024 Salvatore Sanfilippo # # SPDX-License-Identifier: BSD-3-Clause -# SPDX-License-Identifier: GPL-3.0-only +# SPDX-License-Identifier: LGPL-3.0-only source "../tests/includes/init-tests.tcl" diff --git a/tests/sentinel/tests/14-debug-command.tcl b/tests/sentinel/tests/14-debug-command.tcl index 320bbfffb..a393ba093 100644 --- a/tests/sentinel/tests/14-debug-command.tcl +++ b/tests/sentinel/tests/14-debug-command.tcl @@ -2,7 +2,7 @@ # SPDX-FileCopyrightText: 2024 Salvatore Sanfilippo # # SPDX-License-Identifier: BSD-3-Clause -# SPDX-License-Identifier: GPL-3.0-only +# SPDX-License-Identifier: LGPL-3.0-only source "../tests/includes/init-tests.tcl" diff --git a/tests/sentinel/tests/15-config-set-config-get.tcl b/tests/sentinel/tests/15-config-set-config-get.tcl index 5b0afad99..f34b2a3b0 100644 --- a/tests/sentinel/tests/15-config-set-config-get.tcl +++ b/tests/sentinel/tests/15-config-set-config-get.tcl @@ -2,7 +2,7 @@ # SPDX-FileCopyrightText: 2024 Salvatore Sanfilippo # # SPDX-License-Identifier: BSD-3-Clause -# SPDX-License-Identifier: GPL-3.0-only +# SPDX-License-Identifier: LGPL-3.0-only source "../tests/includes/init-tests.tcl" diff --git a/tests/sentinel/tests/helpers/check_leaked_fds.tcl b/tests/sentinel/tests/helpers/check_leaked_fds.tcl index f7e85eaf7..d3e802d4b 100755 --- a/tests/sentinel/tests/helpers/check_leaked_fds.tcl +++ b/tests/sentinel/tests/helpers/check_leaked_fds.tcl @@ -4,7 +4,7 @@ # SPDX-FileCopyrightText: 2024 Salvatore Sanfilippo # # SPDX-License-Identifier: BSD-3-Clause -# SPDX-License-Identifier: GPL-3.0-only +# SPDX-License-Identifier: LGPL-3.0-only # # This script detects file descriptors that have leaked from a parent process. diff --git a/tests/sentinel/tests/includes/init-tests.tcl b/tests/sentinel/tests/includes/init-tests.tcl index 51158c66a..6d2d0752d 100644 --- a/tests/sentinel/tests/includes/init-tests.tcl +++ b/tests/sentinel/tests/includes/init-tests.tcl @@ -2,7 +2,7 @@ # SPDX-FileCopyrightText: 2024 Salvatore Sanfilippo # # SPDX-License-Identifier: BSD-3-Clause -# SPDX-License-Identifier: GPL-3.0-only +# SPDX-License-Identifier: LGPL-3.0-only # Initialization tests -- most units will start including this. source "../tests/includes/utils.tcl" diff --git a/tests/sentinel/tests/includes/start-init-tests.tcl b/tests/sentinel/tests/includes/start-init-tests.tcl index f9af631dd..998081759 100644 --- a/tests/sentinel/tests/includes/start-init-tests.tcl +++ b/tests/sentinel/tests/includes/start-init-tests.tcl @@ -2,7 +2,7 @@ # SPDX-FileCopyrightText: 2024 Salvatore Sanfilippo # # SPDX-License-Identifier: BSD-3-Clause -# SPDX-License-Identifier: GPL-3.0-only +# SPDX-License-Identifier: LGPL-3.0-only test "(start-init) Flush config and compare rewrite config file lines" { foreach_sentinel_id id { diff --git a/tests/sentinel/tests/includes/utils.tcl b/tests/sentinel/tests/includes/utils.tcl index 2afbee8a5..46a36bb80 100644 --- a/tests/sentinel/tests/includes/utils.tcl +++ b/tests/sentinel/tests/includes/utils.tcl @@ -2,7 +2,7 @@ # SPDX-FileCopyrightText: 2024 Salvatore Sanfilippo # # SPDX-License-Identifier: BSD-3-Clause -# SPDX-License-Identifier: GPL-3.0-only +# SPDX-License-Identifier: LGPL-3.0-only proc restart_killed_instances {} { foreach type {redict sentinel} { diff --git a/tests/support/aofmanifest.tcl b/tests/support/aofmanifest.tcl index 827e980ec..bfc8eaffe 100644 --- a/tests/support/aofmanifest.tcl +++ b/tests/support/aofmanifest.tcl @@ -2,7 +2,7 @@ # SPDX-FileCopyrightText: 2024 Salvatore Sanfilippo # # SPDX-License-Identifier: BSD-3-Clause -# SPDX-License-Identifier: GPL-3.0-only +# SPDX-License-Identifier: LGPL-3.0-only set ::base_aof_sufix ".base" set ::incr_aof_sufix ".incr" diff --git a/tests/support/benchmark.tcl b/tests/support/benchmark.tcl index d7bc0c4ee..673636849 100644 --- a/tests/support/benchmark.tcl +++ b/tests/support/benchmark.tcl @@ -2,7 +2,7 @@ # SPDX-FileCopyrightText: 2024 Salvatore Sanfilippo # # SPDX-License-Identifier: BSD-3-Clause -# SPDX-License-Identifier: GPL-3.0-only +# SPDX-License-Identifier: LGPL-3.0-only proc redictbenchmark_tls_config {testsdir} { set tlsdir [file join $testsdir tls] diff --git a/tests/support/cli.tcl b/tests/support/cli.tcl index a59dea640..e2e24772e 100644 --- a/tests/support/cli.tcl +++ b/tests/support/cli.tcl @@ -2,7 +2,7 @@ # SPDX-FileCopyrightText: 2024 Salvatore Sanfilippo # # SPDX-License-Identifier: BSD-3-Clause -# SPDX-License-Identifier: GPL-3.0-only +# SPDX-License-Identifier: LGPL-3.0-only proc redictcli_tls_config {testsdir} { set tlsdir [file join $testsdir tls] diff --git a/tests/support/cluster.tcl b/tests/support/cluster.tcl index af6c7435b..60f2077c9 100644 --- a/tests/support/cluster.tcl +++ b/tests/support/cluster.tcl @@ -3,7 +3,7 @@ # SPDX-FileCopyrightText: 2024 Salvatore Sanfilippo # # SPDX-License-Identifier: BSD-3-Clause -# SPDX-License-Identifier: GPL-3.0-only +# SPDX-License-Identifier: LGPL-3.0-only package require Tcl 8.5 package provide redict_cluster 0.1 diff --git a/tests/support/cluster_util.tcl b/tests/support/cluster_util.tcl index e0f9d6d9e..b0a7af288 100644 --- a/tests/support/cluster_util.tcl +++ b/tests/support/cluster_util.tcl @@ -2,7 +2,7 @@ # SPDX-FileCopyrightText: 2024 Salvatore Sanfilippo # # SPDX-License-Identifier: BSD-3-Clause -# SPDX-License-Identifier: GPL-3.0-only +# SPDX-License-Identifier: LGPL-3.0-only # Cluster helper functions diff --git a/tests/support/redict.tcl b/tests/support/redict.tcl index 0514a8f7b..95ca3207f 100644 --- a/tests/support/redict.tcl +++ b/tests/support/redict.tcl @@ -3,7 +3,7 @@ # SPDX-FileCopyrightText: 2024 Salvatore Sanfilippo # # SPDX-License-Identifier: BSD-3-Clause -# SPDX-License-Identifier: GPL-3.0-only +# SPDX-License-Identifier: LGPL-3.0-only package require Tcl 8.5 package provide redict 0.1 diff --git a/tests/support/response_transformers.tcl b/tests/support/response_transformers.tcl index 53dd1bec6..ad1fd0c85 100644 --- a/tests/support/response_transformers.tcl +++ b/tests/support/response_transformers.tcl @@ -3,7 +3,7 @@ # SPDX-FileCopyrightText: 2024 Salvatore Sanfilippo # # SPDX-License-Identifier: BSD-3-Clause -# SPDX-License-Identifier: GPL-3.0-only +# SPDX-License-Identifier: LGPL-3.0-only package require Tcl 8.5 diff --git a/tests/support/server.tcl b/tests/support/server.tcl index 86c961b47..05e064226 100644 --- a/tests/support/server.tcl +++ b/tests/support/server.tcl @@ -2,7 +2,7 @@ # SPDX-FileCopyrightText: 2024 Salvatore Sanfilippo # # SPDX-License-Identifier: BSD-3-Clause -# SPDX-License-Identifier: GPL-3.0-only +# SPDX-License-Identifier: LGPL-3.0-only set ::global_overrides {} set ::tags {} diff --git a/tests/support/test.tcl b/tests/support/test.tcl index 48b6cd642..ba782502a 100644 --- a/tests/support/test.tcl +++ b/tests/support/test.tcl @@ -2,7 +2,7 @@ # SPDX-FileCopyrightText: 2024 Salvatore Sanfilippo # # SPDX-License-Identifier: BSD-3-Clause -# SPDX-License-Identifier: GPL-3.0-only +# SPDX-License-Identifier: LGPL-3.0-only set ::num_tests 0 set ::num_passed 0 diff --git a/tests/support/tmpfile.tcl b/tests/support/tmpfile.tcl index 08915a8d2..af2ab73b8 100644 --- a/tests/support/tmpfile.tcl +++ b/tests/support/tmpfile.tcl @@ -2,7 +2,7 @@ # SPDX-FileCopyrightText: 2024 Salvatore Sanfilippo # # SPDX-License-Identifier: BSD-3-Clause -# SPDX-License-Identifier: GPL-3.0-only +# SPDX-License-Identifier: LGPL-3.0-only set ::tmpcounter 0 set ::tmproot "./tests/tmp" diff --git a/tests/support/util.tcl b/tests/support/util.tcl index fc5dfb594..074e0df0b 100644 --- a/tests/support/util.tcl +++ b/tests/support/util.tcl @@ -2,7 +2,7 @@ # SPDX-FileCopyrightText: 2024 Salvatore Sanfilippo # # SPDX-License-Identifier: BSD-3-Clause -# SPDX-License-Identifier: GPL-3.0-only +# SPDX-License-Identifier: LGPL-3.0-only proc randstring {min max {type binary}} { set len [expr {$min+int(rand()*($max-$min+1))}] diff --git a/tests/test_helper.tcl b/tests/test_helper.tcl index 119763266..b986da1e8 100644 --- a/tests/test_helper.tcl +++ b/tests/test_helper.tcl @@ -3,7 +3,7 @@ # SPDX-FileCopyrightText: 2024 Salvatore Sanfilippo # # SPDX-License-Identifier: BSD-3-Clause -# SPDX-License-Identifier: GPL-3.0-only +# SPDX-License-Identifier: LGPL-3.0-only package require Tcl 8.5 diff --git a/tests/unit/acl-v2.tcl b/tests/unit/acl-v2.tcl index 02cfa39e3..210fe93b5 100644 --- a/tests/unit/acl-v2.tcl +++ b/tests/unit/acl-v2.tcl @@ -2,7 +2,7 @@ # SPDX-FileCopyrightText: 2024 Salvatore Sanfilippo # # SPDX-License-Identifier: BSD-3-Clause -# SPDX-License-Identifier: GPL-3.0-only +# SPDX-License-Identifier: LGPL-3.0-only start_server {tags {"acl external:skip"}} { set r2 [redict_client] diff --git a/tests/unit/acl.tcl b/tests/unit/acl.tcl index f720be3f9..c9f115f31 100644 --- a/tests/unit/acl.tcl +++ b/tests/unit/acl.tcl @@ -2,7 +2,7 @@ # SPDX-FileCopyrightText: 2024 Salvatore Sanfilippo # # SPDX-License-Identifier: BSD-3-Clause -# SPDX-License-Identifier: GPL-3.0-only +# SPDX-License-Identifier: LGPL-3.0-only start_server {tags {"acl external:skip"}} { test {Connections start with the default user} { diff --git a/tests/unit/aofrw.tcl b/tests/unit/aofrw.tcl index 04e3afc10..8fb6652ef 100644 --- a/tests/unit/aofrw.tcl +++ b/tests/unit/aofrw.tcl @@ -2,7 +2,7 @@ # SPDX-FileCopyrightText: 2024 Salvatore Sanfilippo # # SPDX-License-Identifier: BSD-3-Clause -# SPDX-License-Identifier: GPL-3.0-only +# SPDX-License-Identifier: LGPL-3.0-only # This unit has the potential to create huge .reqres files, causing log-req-res-validator.py to run for a very long time... # Since this unit doesn't do anything worth validating, reply_schema-wise, we decided to skip it diff --git a/tests/unit/auth.tcl b/tests/unit/auth.tcl index 49ae2921d..55e64ec3d 100644 --- a/tests/unit/auth.tcl +++ b/tests/unit/auth.tcl @@ -2,7 +2,7 @@ # SPDX-FileCopyrightText: 2024 Salvatore Sanfilippo # # SPDX-License-Identifier: BSD-3-Clause -# SPDX-License-Identifier: GPL-3.0-only +# SPDX-License-Identifier: LGPL-3.0-only start_server {tags {"auth external:skip"}} { test {AUTH fails if there is no password configured server side} { diff --git a/tests/unit/bitfield.tcl b/tests/unit/bitfield.tcl index 9f3025451..223f6d3fb 100644 --- a/tests/unit/bitfield.tcl +++ b/tests/unit/bitfield.tcl @@ -2,7 +2,7 @@ # SPDX-FileCopyrightText: 2024 Salvatore Sanfilippo # # SPDX-License-Identifier: BSD-3-Clause -# SPDX-License-Identifier: GPL-3.0-only +# SPDX-License-Identifier: LGPL-3.0-only start_server {tags {"bitops"}} { test {BITFIELD signed SET and GET basics} { diff --git a/tests/unit/bitops.tcl b/tests/unit/bitops.tcl index 04f82a5e0..4585d6459 100644 --- a/tests/unit/bitops.tcl +++ b/tests/unit/bitops.tcl @@ -2,7 +2,7 @@ # SPDX-FileCopyrightText: 2024 Salvatore Sanfilippo # # SPDX-License-Identifier: BSD-3-Clause -# SPDX-License-Identifier: GPL-3.0-only +# SPDX-License-Identifier: LGPL-3.0-only # Compare Redict commands against Tcl implementations of the same commands. proc count_bits s { diff --git a/tests/unit/client-eviction.tcl b/tests/unit/client-eviction.tcl index e4274405e..6b7b9d5ae 100644 --- a/tests/unit/client-eviction.tcl +++ b/tests/unit/client-eviction.tcl @@ -2,7 +2,7 @@ # SPDX-FileCopyrightText: 2024 Salvatore Sanfilippo # # SPDX-License-Identifier: BSD-3-Clause -# SPDX-License-Identifier: GPL-3.0-only +# SPDX-License-Identifier: LGPL-3.0-only tags {"external:skip logreqres:skip"} { diff --git a/tests/unit/cluster/announced-endpoints.tcl b/tests/unit/cluster/announced-endpoints.tcl index 1c1f74a3c..a023525b3 100644 --- a/tests/unit/cluster/announced-endpoints.tcl +++ b/tests/unit/cluster/announced-endpoints.tcl @@ -2,7 +2,7 @@ # SPDX-FileCopyrightText: 2024 Salvatore Sanfilippo # # SPDX-License-Identifier: BSD-3-Clause -# SPDX-License-Identifier: GPL-3.0-only +# SPDX-License-Identifier: LGPL-3.0-only start_cluster 2 2 {tags {external:skip cluster}} { diff --git a/tests/unit/cluster/cli.tcl b/tests/unit/cluster/cli.tcl index 7843222e4..34f144764 100644 --- a/tests/unit/cluster/cli.tcl +++ b/tests/unit/cluster/cli.tcl @@ -2,7 +2,7 @@ # SPDX-FileCopyrightText: 2024 Salvatore Sanfilippo # # SPDX-License-Identifier: BSD-3-Clause -# SPDX-License-Identifier: GPL-3.0-only +# SPDX-License-Identifier: LGPL-3.0-only # Primitive tests on cluster-enabled redict using redict-cli diff --git a/tests/unit/cluster/cluster-response-tls.tcl b/tests/unit/cluster/cluster-response-tls.tcl index ded43a723..381822e3f 100644 --- a/tests/unit/cluster/cluster-response-tls.tcl +++ b/tests/unit/cluster/cluster-response-tls.tcl @@ -2,7 +2,7 @@ # SPDX-FileCopyrightText: 2024 Salvatore Sanfilippo # # SPDX-License-Identifier: BSD-3-Clause -# SPDX-License-Identifier: GPL-3.0-only +# SPDX-License-Identifier: LGPL-3.0-only source tests/support/cluster.tcl diff --git a/tests/unit/cluster/failure-marking.tcl b/tests/unit/cluster/failure-marking.tcl index 9fa6abe5f..d9e31dae2 100644 --- a/tests/unit/cluster/failure-marking.tcl +++ b/tests/unit/cluster/failure-marking.tcl @@ -2,7 +2,7 @@ # SPDX-FileCopyrightText: 2024 Salvatore Sanfilippo # # SPDX-License-Identifier: BSD-3-Clause -# SPDX-License-Identifier: GPL-3.0-only +# SPDX-License-Identifier: LGPL-3.0-only # Test a single primary can mark replica as `fail` start_cluster 1 1 {tags {external:skip cluster}} { diff --git a/tests/unit/cluster/hostnames.tcl b/tests/unit/cluster/hostnames.tcl index ebecd8d0f..23f69c3f7 100644 --- a/tests/unit/cluster/hostnames.tcl +++ b/tests/unit/cluster/hostnames.tcl @@ -2,7 +2,7 @@ # SPDX-FileCopyrightText: 2024 Salvatore Sanfilippo # # SPDX-License-Identifier: BSD-3-Clause -# SPDX-License-Identifier: GPL-3.0-only +# SPDX-License-Identifier: LGPL-3.0-only proc get_slot_field {slot_output shard_id node_id attrib_id} { return [lindex [lindex [lindex $slot_output $shard_id] $node_id] $attrib_id] diff --git a/tests/unit/cluster/human-announced-nodename.tcl b/tests/unit/cluster/human-announced-nodename.tcl index b65f31b47..a5a98ecb9 100644 --- a/tests/unit/cluster/human-announced-nodename.tcl +++ b/tests/unit/cluster/human-announced-nodename.tcl @@ -2,7 +2,7 @@ # SPDX-FileCopyrightText: 2024 Salvatore Sanfilippo # # SPDX-License-Identifier: BSD-3-Clause -# SPDX-License-Identifier: GPL-3.0-only +# SPDX-License-Identifier: LGPL-3.0-only # Check if cluster's view of human announced nodename is reported in logs start_cluster 3 0 {tags {external:skip cluster}} { diff --git a/tests/unit/cluster/links.tcl b/tests/unit/cluster/links.tcl index b7bbaecef..4252f9447 100644 --- a/tests/unit/cluster/links.tcl +++ b/tests/unit/cluster/links.tcl @@ -2,7 +2,7 @@ # SPDX-FileCopyrightText: 2024 Salvatore Sanfilippo # # SPDX-License-Identifier: BSD-3-Clause -# SPDX-License-Identifier: GPL-3.0-only +# SPDX-License-Identifier: LGPL-3.0-only proc get_links_with_peer {this_instance_id peer_nodename} { set links [R $this_instance_id cluster links] diff --git a/tests/unit/cluster/misc.tcl b/tests/unit/cluster/misc.tcl index 0657e7cba..6579b604d 100644 --- a/tests/unit/cluster/misc.tcl +++ b/tests/unit/cluster/misc.tcl @@ -2,7 +2,7 @@ # SPDX-FileCopyrightText: 2024 Salvatore Sanfilippo # # SPDX-License-Identifier: BSD-3-Clause -# SPDX-License-Identifier: GPL-3.0-only +# SPDX-License-Identifier: LGPL-3.0-only start_cluster 2 2 {tags {external:skip cluster}} { test {Key lazy expires during key migration} { diff --git a/tests/unit/cluster/multi-slot-operations.tcl b/tests/unit/cluster/multi-slot-operations.tcl index 26f5aedfb..39569fc48 100644 --- a/tests/unit/cluster/multi-slot-operations.tcl +++ b/tests/unit/cluster/multi-slot-operations.tcl @@ -2,7 +2,7 @@ # SPDX-FileCopyrightText: 2024 Salvatore Sanfilippo # # SPDX-License-Identifier: BSD-3-Clause -# SPDX-License-Identifier: GPL-3.0-only +# SPDX-License-Identifier: LGPL-3.0-only # This test uses a custom slot allocation for testing proc cluster_allocate_with_continuous_slots_local {n} { diff --git a/tests/unit/cluster/scripting.tcl b/tests/unit/cluster/scripting.tcl index 746e96a45..c36fc2664 100644 --- a/tests/unit/cluster/scripting.tcl +++ b/tests/unit/cluster/scripting.tcl @@ -2,7 +2,7 @@ # SPDX-FileCopyrightText: 2024 Salvatore Sanfilippo # # SPDX-License-Identifier: BSD-3-Clause -# SPDX-License-Identifier: GPL-3.0-only +# SPDX-License-Identifier: LGPL-3.0-only start_cluster 1 0 {tags {external:skip cluster}} { diff --git a/tests/unit/cluster/slot-ownership.tcl b/tests/unit/cluster/slot-ownership.tcl index 8ccec9020..761ecdd7b 100644 --- a/tests/unit/cluster/slot-ownership.tcl +++ b/tests/unit/cluster/slot-ownership.tcl @@ -2,7 +2,7 @@ # SPDX-FileCopyrightText: 2024 Salvatore Sanfilippo # # SPDX-License-Identifier: BSD-3-Clause -# SPDX-License-Identifier: GPL-3.0-only +# SPDX-License-Identifier: LGPL-3.0-only start_cluster 2 2 {tags {external:skip cluster}} { diff --git a/tests/unit/dump.tcl b/tests/unit/dump.tcl index e22ed4aa6..b5d675ab6 100644 --- a/tests/unit/dump.tcl +++ b/tests/unit/dump.tcl @@ -2,7 +2,7 @@ # SPDX-FileCopyrightText: 2024 Salvatore Sanfilippo # # SPDX-License-Identifier: BSD-3-Clause -# SPDX-License-Identifier: GPL-3.0-only +# SPDX-License-Identifier: LGPL-3.0-only start_server {tags {"dump"}} { test {DUMP / RESTORE are able to serialize / unserialize a simple key} { diff --git a/tests/unit/expire.tcl b/tests/unit/expire.tcl index fce4dd981..ce9ba257a 100644 --- a/tests/unit/expire.tcl +++ b/tests/unit/expire.tcl @@ -2,7 +2,7 @@ # SPDX-FileCopyrightText: 2024 Salvatore Sanfilippo # # SPDX-License-Identifier: BSD-3-Clause -# SPDX-License-Identifier: GPL-3.0-only +# SPDX-License-Identifier: LGPL-3.0-only start_server {tags {"expire"}} { test {EXPIRE - set timeouts multiple times} { diff --git a/tests/unit/functions.tcl b/tests/unit/functions.tcl index a1353efe5..b776d1b78 100644 --- a/tests/unit/functions.tcl +++ b/tests/unit/functions.tcl @@ -2,7 +2,7 @@ # SPDX-FileCopyrightText: 2024 Salvatore Sanfilippo # # SPDX-License-Identifier: BSD-3-Clause -# SPDX-License-Identifier: GPL-3.0-only +# SPDX-License-Identifier: LGPL-3.0-only proc get_function_code {args} { return [format "#!%s name=%s\nredis.register_function('%s', function(KEYS, ARGV)\n %s \nend)" [lindex $args 0] [lindex $args 1] [lindex $args 2] [lindex $args 3]] diff --git a/tests/unit/geo.tcl b/tests/unit/geo.tcl index 09af2cda0..1267bcf7d 100644 --- a/tests/unit/geo.tcl +++ b/tests/unit/geo.tcl @@ -2,7 +2,7 @@ # SPDX-FileCopyrightText: 2024 Salvatore Sanfilippo # # SPDX-License-Identifier: BSD-3-Clause -# SPDX-License-Identifier: GPL-3.0-only +# SPDX-License-Identifier: LGPL-3.0-only # Helper functions to simulate search-in-radius in the Tcl side in order to # verify the Redict implementation with a fuzzy test. diff --git a/tests/unit/hyperloglog.tcl b/tests/unit/hyperloglog.tcl index 28881eac2..32205ef7b 100644 --- a/tests/unit/hyperloglog.tcl +++ b/tests/unit/hyperloglog.tcl @@ -2,7 +2,7 @@ # SPDX-FileCopyrightText: 2024 Salvatore Sanfilippo # # SPDX-License-Identifier: BSD-3-Clause -# SPDX-License-Identifier: GPL-3.0-only +# SPDX-License-Identifier: LGPL-3.0-only start_server {tags {"hll"}} { test {HyperLogLog self test passes} { diff --git a/tests/unit/info-command.tcl b/tests/unit/info-command.tcl index 0a29f9094..aad7009b6 100644 --- a/tests/unit/info-command.tcl +++ b/tests/unit/info-command.tcl @@ -2,7 +2,7 @@ # SPDX-FileCopyrightText: 2024 Salvatore Sanfilippo # # SPDX-License-Identifier: BSD-3-Clause -# SPDX-License-Identifier: GPL-3.0-only +# SPDX-License-Identifier: LGPL-3.0-only start_server {tags {"info and its relative command"}} { test "info command with at most one sub command" { diff --git a/tests/unit/info.tcl b/tests/unit/info.tcl index 658833f96..36102fe48 100644 --- a/tests/unit/info.tcl +++ b/tests/unit/info.tcl @@ -2,7 +2,7 @@ # SPDX-FileCopyrightText: 2024 Salvatore Sanfilippo # # SPDX-License-Identifier: BSD-3-Clause -# SPDX-License-Identifier: GPL-3.0-only +# SPDX-License-Identifier: LGPL-3.0-only proc cmdstat {cmd} { return [cmdrstat $cmd r] diff --git a/tests/unit/introspection-2.tcl b/tests/unit/introspection-2.tcl index 914935429..7ebcb3a4d 100644 --- a/tests/unit/introspection-2.tcl +++ b/tests/unit/introspection-2.tcl @@ -2,7 +2,7 @@ # SPDX-FileCopyrightText: 2024 Salvatore Sanfilippo # # SPDX-License-Identifier: BSD-3-Clause -# SPDX-License-Identifier: GPL-3.0-only +# SPDX-License-Identifier: LGPL-3.0-only proc cmdstat {cmd} { return [cmdrstat $cmd r] diff --git a/tests/unit/introspection.tcl b/tests/unit/introspection.tcl index df5314f14..a93594ee3 100644 --- a/tests/unit/introspection.tcl +++ b/tests/unit/introspection.tcl @@ -2,7 +2,7 @@ # SPDX-FileCopyrightText: 2024 Salvatore Sanfilippo # # SPDX-License-Identifier: BSD-3-Clause -# SPDX-License-Identifier: GPL-3.0-only +# SPDX-License-Identifier: LGPL-3.0-only start_server {tags {"introspection"}} { test "PING" { diff --git a/tests/unit/keyspace.tcl b/tests/unit/keyspace.tcl index e882ea641..abfda9cc6 100644 --- a/tests/unit/keyspace.tcl +++ b/tests/unit/keyspace.tcl @@ -2,7 +2,7 @@ # SPDX-FileCopyrightText: 2024 Salvatore Sanfilippo # # SPDX-License-Identifier: BSD-3-Clause -# SPDX-License-Identifier: GPL-3.0-only +# SPDX-License-Identifier: LGPL-3.0-only start_server {tags {"keyspace"}} { test {DEL against a single item} { diff --git a/tests/unit/latency-monitor.tcl b/tests/unit/latency-monitor.tcl index f8e05df6f..6b4d4e165 100644 --- a/tests/unit/latency-monitor.tcl +++ b/tests/unit/latency-monitor.tcl @@ -2,7 +2,7 @@ # SPDX-FileCopyrightText: 2024 Salvatore Sanfilippo # # SPDX-License-Identifier: BSD-3-Clause -# SPDX-License-Identifier: GPL-3.0-only +# SPDX-License-Identifier: LGPL-3.0-only start_server {tags {"latency-monitor needs:latency"}} { # Set a threshold high enough to avoid spurious latency events. diff --git a/tests/unit/lazyfree.tcl b/tests/unit/lazyfree.tcl index f2fdf1c72..0cc2685bc 100644 --- a/tests/unit/lazyfree.tcl +++ b/tests/unit/lazyfree.tcl @@ -2,7 +2,7 @@ # SPDX-FileCopyrightText: 2024 Salvatore Sanfilippo # # SPDX-License-Identifier: BSD-3-Clause -# SPDX-License-Identifier: GPL-3.0-only +# SPDX-License-Identifier: LGPL-3.0-only start_server {tags {"lazyfree"}} { test "UNLINK can reclaim memory in background" { diff --git a/tests/unit/limits.tcl b/tests/unit/limits.tcl index 58b68095f..df1d9f2c9 100644 --- a/tests/unit/limits.tcl +++ b/tests/unit/limits.tcl @@ -2,7 +2,7 @@ # SPDX-FileCopyrightText: 2024 Salvatore Sanfilippo # # SPDX-License-Identifier: BSD-3-Clause -# SPDX-License-Identifier: GPL-3.0-only +# SPDX-License-Identifier: LGPL-3.0-only start_server {tags {"limits network external:skip"} overrides {maxclients 10}} { if {$::tls} { diff --git a/tests/unit/maxmemory.tcl b/tests/unit/maxmemory.tcl index 7ebbf1adc..1fd01de37 100644 --- a/tests/unit/maxmemory.tcl +++ b/tests/unit/maxmemory.tcl @@ -2,7 +2,7 @@ # SPDX-FileCopyrightText: 2024 Salvatore Sanfilippo # # SPDX-License-Identifier: BSD-3-Clause -# SPDX-License-Identifier: GPL-3.0-only +# SPDX-License-Identifier: LGPL-3.0-only start_server {tags {"maxmemory" "external:skip"}} { r config set maxmemory 11mb diff --git a/tests/unit/memefficiency.tcl b/tests/unit/memefficiency.tcl index a26fad131..6a0a18446 100644 --- a/tests/unit/memefficiency.tcl +++ b/tests/unit/memefficiency.tcl @@ -2,7 +2,7 @@ # SPDX-FileCopyrightText: 2024 Salvatore Sanfilippo # # SPDX-License-Identifier: BSD-3-Clause -# SPDX-License-Identifier: GPL-3.0-only +# SPDX-License-Identifier: LGPL-3.0-only proc test_memory_efficiency {range} { r flushall diff --git a/tests/unit/moduleapi/aclcheck.tcl b/tests/unit/moduleapi/aclcheck.tcl index dcf1b6d2c..df50149cb 100644 --- a/tests/unit/moduleapi/aclcheck.tcl +++ b/tests/unit/moduleapi/aclcheck.tcl @@ -2,7 +2,7 @@ # SPDX-FileCopyrightText: 2024 Salvatore Sanfilippo # # SPDX-License-Identifier: BSD-3-Clause -# SPDX-License-Identifier: GPL-3.0-only +# SPDX-License-Identifier: LGPL-3.0-only set testmodule [file normalize tests/modules/aclcheck.so] diff --git a/tests/unit/moduleapi/async_rm_call.tcl b/tests/unit/moduleapi/async_rm_call.tcl index bd77475c0..1f0ec20ee 100644 --- a/tests/unit/moduleapi/async_rm_call.tcl +++ b/tests/unit/moduleapi/async_rm_call.tcl @@ -2,7 +2,7 @@ # SPDX-FileCopyrightText: 2024 Salvatore Sanfilippo # # SPDX-License-Identifier: BSD-3-Clause -# SPDX-License-Identifier: GPL-3.0-only +# SPDX-License-Identifier: LGPL-3.0-only set testmodule [file normalize tests/modules/blockedclient.so] set testmodule2 [file normalize tests/modules/postnotifications.so] diff --git a/tests/unit/moduleapi/auth.tcl b/tests/unit/moduleapi/auth.tcl index d9cb17f31..ea01b6ba0 100644 --- a/tests/unit/moduleapi/auth.tcl +++ b/tests/unit/moduleapi/auth.tcl @@ -2,7 +2,7 @@ # SPDX-FileCopyrightText: 2024 Salvatore Sanfilippo # # SPDX-License-Identifier: BSD-3-Clause -# SPDX-License-Identifier: GPL-3.0-only +# SPDX-License-Identifier: LGPL-3.0-only set testmodule [file normalize tests/modules/auth.so] diff --git a/tests/unit/moduleapi/basics.tcl b/tests/unit/moduleapi/basics.tcl index 05a3e859d..b7ae5ace7 100644 --- a/tests/unit/moduleapi/basics.tcl +++ b/tests/unit/moduleapi/basics.tcl @@ -2,7 +2,7 @@ # SPDX-FileCopyrightText: 2024 Salvatore Sanfilippo # # SPDX-License-Identifier: BSD-3-Clause -# SPDX-License-Identifier: GPL-3.0-only +# SPDX-License-Identifier: LGPL-3.0-only set testmodule [file normalize tests/modules/basics.so] diff --git a/tests/unit/moduleapi/blockedclient.tcl b/tests/unit/moduleapi/blockedclient.tcl index fea01e2b9..6f678e6b5 100644 --- a/tests/unit/moduleapi/blockedclient.tcl +++ b/tests/unit/moduleapi/blockedclient.tcl @@ -2,7 +2,7 @@ # SPDX-FileCopyrightText: 2024 Salvatore Sanfilippo # # SPDX-License-Identifier: BSD-3-Clause -# SPDX-License-Identifier: GPL-3.0-only +# SPDX-License-Identifier: LGPL-3.0-only set testmodule [file normalize tests/modules/blockedclient.so] diff --git a/tests/unit/moduleapi/blockonbackground.tcl b/tests/unit/moduleapi/blockonbackground.tcl index 6e34cb509..3268f10c9 100644 --- a/tests/unit/moduleapi/blockonbackground.tcl +++ b/tests/unit/moduleapi/blockonbackground.tcl @@ -2,7 +2,7 @@ # SPDX-FileCopyrightText: 2024 Salvatore Sanfilippo # # SPDX-License-Identifier: BSD-3-Clause -# SPDX-License-Identifier: GPL-3.0-only +# SPDX-License-Identifier: LGPL-3.0-only set testmodule [file normalize tests/modules/blockonbackground.so] diff --git a/tests/unit/moduleapi/blockonkeys.tcl b/tests/unit/moduleapi/blockonkeys.tcl index 70e6ba920..8085f2a15 100644 --- a/tests/unit/moduleapi/blockonkeys.tcl +++ b/tests/unit/moduleapi/blockonkeys.tcl @@ -2,7 +2,7 @@ # SPDX-FileCopyrightText: 2024 Salvatore Sanfilippo # # SPDX-License-Identifier: BSD-3-Clause -# SPDX-License-Identifier: GPL-3.0-only +# SPDX-License-Identifier: LGPL-3.0-only set testmodule [file normalize tests/modules/blockonkeys.so] diff --git a/tests/unit/moduleapi/cluster.tcl b/tests/unit/moduleapi/cluster.tcl index e26d36a19..5c8792736 100644 --- a/tests/unit/moduleapi/cluster.tcl +++ b/tests/unit/moduleapi/cluster.tcl @@ -2,7 +2,7 @@ # SPDX-FileCopyrightText: 2024 Salvatore Sanfilippo # # SPDX-License-Identifier: BSD-3-Clause -# SPDX-License-Identifier: GPL-3.0-only +# SPDX-License-Identifier: LGPL-3.0-only # Primitive tests on cluster-enabled redict with modules diff --git a/tests/unit/moduleapi/cmdintrospection.tcl b/tests/unit/moduleapi/cmdintrospection.tcl index 2401e5420..91e11cc62 100644 --- a/tests/unit/moduleapi/cmdintrospection.tcl +++ b/tests/unit/moduleapi/cmdintrospection.tcl @@ -2,7 +2,7 @@ # SPDX-FileCopyrightText: 2024 Salvatore Sanfilippo # # SPDX-License-Identifier: BSD-3-Clause -# SPDX-License-Identifier: GPL-3.0-only +# SPDX-License-Identifier: LGPL-3.0-only set testmodule [file normalize tests/modules/cmdintrospection.so] diff --git a/tests/unit/moduleapi/commandfilter.tcl b/tests/unit/moduleapi/commandfilter.tcl index 9594353c7..018ab5b80 100644 --- a/tests/unit/moduleapi/commandfilter.tcl +++ b/tests/unit/moduleapi/commandfilter.tcl @@ -2,7 +2,7 @@ # SPDX-FileCopyrightText: 2024 Salvatore Sanfilippo # # SPDX-License-Identifier: BSD-3-Clause -# SPDX-License-Identifier: GPL-3.0-only +# SPDX-License-Identifier: LGPL-3.0-only set testmodule [file normalize tests/modules/commandfilter.so] diff --git a/tests/unit/moduleapi/crash.tcl b/tests/unit/moduleapi/crash.tcl index fa32ed832..04851b0d4 100644 --- a/tests/unit/moduleapi/crash.tcl +++ b/tests/unit/moduleapi/crash.tcl @@ -2,7 +2,7 @@ # SPDX-FileCopyrightText: 2024 Salvatore Sanfilippo # # SPDX-License-Identifier: BSD-3-Clause -# SPDX-License-Identifier: GPL-3.0-only +# SPDX-License-Identifier: LGPL-3.0-only # This file is used to test certain crash edge cases to make sure they produce # correct stack traces for debugging. diff --git a/tests/unit/moduleapi/datatype.tcl b/tests/unit/moduleapi/datatype.tcl index 724731c04..ea4d6e8c9 100644 --- a/tests/unit/moduleapi/datatype.tcl +++ b/tests/unit/moduleapi/datatype.tcl @@ -2,7 +2,7 @@ # SPDX-FileCopyrightText: 2024 Salvatore Sanfilippo # # SPDX-License-Identifier: BSD-3-Clause -# SPDX-License-Identifier: GPL-3.0-only +# SPDX-License-Identifier: LGPL-3.0-only set testmodule [file normalize tests/modules/datatype.so] diff --git a/tests/unit/moduleapi/datatype2.tcl b/tests/unit/moduleapi/datatype2.tcl index 6a6dcc4bd..1561d5cb8 100644 --- a/tests/unit/moduleapi/datatype2.tcl +++ b/tests/unit/moduleapi/datatype2.tcl @@ -2,7 +2,7 @@ # SPDX-FileCopyrightText: 2024 Salvatore Sanfilippo # # SPDX-License-Identifier: BSD-3-Clause -# SPDX-License-Identifier: GPL-3.0-only +# SPDX-License-Identifier: LGPL-3.0-only set testmodule [file normalize tests/modules/datatype2.so] diff --git a/tests/unit/moduleapi/defrag.tcl b/tests/unit/moduleapi/defrag.tcl index b59dc99ff..5f3d83028 100644 --- a/tests/unit/moduleapi/defrag.tcl +++ b/tests/unit/moduleapi/defrag.tcl @@ -2,7 +2,7 @@ # SPDX-FileCopyrightText: 2024 Salvatore Sanfilippo # # SPDX-License-Identifier: BSD-3-Clause -# SPDX-License-Identifier: GPL-3.0-only +# SPDX-License-Identifier: LGPL-3.0-only set testmodule [file normalize tests/modules/defragtest.so] diff --git a/tests/unit/moduleapi/eventloop.tcl b/tests/unit/moduleapi/eventloop.tcl index cb79c9bc1..ddf86145b 100644 --- a/tests/unit/moduleapi/eventloop.tcl +++ b/tests/unit/moduleapi/eventloop.tcl @@ -2,7 +2,7 @@ # SPDX-FileCopyrightText: 2024 Salvatore Sanfilippo # # SPDX-License-Identifier: BSD-3-Clause -# SPDX-License-Identifier: GPL-3.0-only +# SPDX-License-Identifier: LGPL-3.0-only set testmodule [file normalize tests/modules/eventloop.so] diff --git a/tests/unit/moduleapi/fork.tcl b/tests/unit/moduleapi/fork.tcl index a6ae8fc07..e6e95cd6b 100644 --- a/tests/unit/moduleapi/fork.tcl +++ b/tests/unit/moduleapi/fork.tcl @@ -2,7 +2,7 @@ # SPDX-FileCopyrightText: 2024 Salvatore Sanfilippo # # SPDX-License-Identifier: BSD-3-Clause -# SPDX-License-Identifier: GPL-3.0-only +# SPDX-License-Identifier: LGPL-3.0-only set testmodule [file normalize tests/modules/fork.so] diff --git a/tests/unit/moduleapi/getchannels.tcl b/tests/unit/moduleapi/getchannels.tcl index 54c2e3ef9..b9eed073b 100644 --- a/tests/unit/moduleapi/getchannels.tcl +++ b/tests/unit/moduleapi/getchannels.tcl @@ -2,7 +2,7 @@ # SPDX-FileCopyrightText: 2024 Salvatore Sanfilippo # # SPDX-License-Identifier: BSD-3-Clause -# SPDX-License-Identifier: GPL-3.0-only +# SPDX-License-Identifier: LGPL-3.0-only set testmodule [file normalize tests/modules/getchannels.so] diff --git a/tests/unit/moduleapi/getkeys.tcl b/tests/unit/moduleapi/getkeys.tcl index ad1873a6e..7e16e6bdb 100644 --- a/tests/unit/moduleapi/getkeys.tcl +++ b/tests/unit/moduleapi/getkeys.tcl @@ -2,7 +2,7 @@ # SPDX-FileCopyrightText: 2024 Salvatore Sanfilippo # # SPDX-License-Identifier: BSD-3-Clause -# SPDX-License-Identifier: GPL-3.0-only +# SPDX-License-Identifier: LGPL-3.0-only set testmodule [file normalize tests/modules/getkeys.so] diff --git a/tests/unit/moduleapi/hash.tcl b/tests/unit/moduleapi/hash.tcl index c1eed4907..15b3dd7e7 100644 --- a/tests/unit/moduleapi/hash.tcl +++ b/tests/unit/moduleapi/hash.tcl @@ -2,7 +2,7 @@ # SPDX-FileCopyrightText: 2024 Salvatore Sanfilippo # # SPDX-License-Identifier: BSD-3-Clause -# SPDX-License-Identifier: GPL-3.0-only +# SPDX-License-Identifier: LGPL-3.0-only set testmodule [file normalize tests/modules/hash.so] diff --git a/tests/unit/moduleapi/hooks.tcl b/tests/unit/moduleapi/hooks.tcl index f51195978..11e59b769 100644 --- a/tests/unit/moduleapi/hooks.tcl +++ b/tests/unit/moduleapi/hooks.tcl @@ -2,7 +2,7 @@ # SPDX-FileCopyrightText: 2024 Salvatore Sanfilippo # # SPDX-License-Identifier: BSD-3-Clause -# SPDX-License-Identifier: GPL-3.0-only +# SPDX-License-Identifier: LGPL-3.0-only set testmodule [file normalize tests/modules/hooks.so] diff --git a/tests/unit/moduleapi/infotest.tcl b/tests/unit/moduleapi/infotest.tcl index 1fa508cab..b8ada3bee 100644 --- a/tests/unit/moduleapi/infotest.tcl +++ b/tests/unit/moduleapi/infotest.tcl @@ -2,7 +2,7 @@ # SPDX-FileCopyrightText: 2024 Salvatore Sanfilippo # # SPDX-License-Identifier: BSD-3-Clause -# SPDX-License-Identifier: GPL-3.0-only +# SPDX-License-Identifier: LGPL-3.0-only set testmodule [file normalize tests/modules/infotest.so] diff --git a/tests/unit/moduleapi/infra.tcl b/tests/unit/moduleapi/infra.tcl index 105438b15..4f6a3e4da 100644 --- a/tests/unit/moduleapi/infra.tcl +++ b/tests/unit/moduleapi/infra.tcl @@ -2,7 +2,7 @@ # SPDX-FileCopyrightText: 2024 Salvatore Sanfilippo # # SPDX-License-Identifier: BSD-3-Clause -# SPDX-License-Identifier: GPL-3.0-only +# SPDX-License-Identifier: LGPL-3.0-only set testmodule [file normalize tests/modules/infotest.so] diff --git a/tests/unit/moduleapi/keyspace_events.tcl b/tests/unit/moduleapi/keyspace_events.tcl index 9cb7c3797..f9bb89527 100644 --- a/tests/unit/moduleapi/keyspace_events.tcl +++ b/tests/unit/moduleapi/keyspace_events.tcl @@ -2,7 +2,7 @@ # SPDX-FileCopyrightText: 2024 Salvatore Sanfilippo # # SPDX-License-Identifier: BSD-3-Clause -# SPDX-License-Identifier: GPL-3.0-only +# SPDX-License-Identifier: LGPL-3.0-only set testmodule [file normalize tests/modules/keyspace_events.so] diff --git a/tests/unit/moduleapi/keyspecs.tcl b/tests/unit/moduleapi/keyspecs.tcl index e992e28b2..5197a3c60 100644 --- a/tests/unit/moduleapi/keyspecs.tcl +++ b/tests/unit/moduleapi/keyspecs.tcl @@ -2,7 +2,7 @@ # SPDX-FileCopyrightText: 2024 Salvatore Sanfilippo # # SPDX-License-Identifier: BSD-3-Clause -# SPDX-License-Identifier: GPL-3.0-only +# SPDX-License-Identifier: LGPL-3.0-only set testmodule [file normalize tests/modules/keyspecs.so] diff --git a/tests/unit/moduleapi/list.tcl b/tests/unit/moduleapi/list.tcl index aab3284db..90721cc8b 100644 --- a/tests/unit/moduleapi/list.tcl +++ b/tests/unit/moduleapi/list.tcl @@ -2,7 +2,7 @@ # SPDX-FileCopyrightText: 2024 Salvatore Sanfilippo # # SPDX-License-Identifier: BSD-3-Clause -# SPDX-License-Identifier: GPL-3.0-only +# SPDX-License-Identifier: LGPL-3.0-only set testmodule [file normalize tests/modules/list.so] diff --git a/tests/unit/moduleapi/mallocsize.tcl b/tests/unit/moduleapi/mallocsize.tcl index f03313454..3c85d330f 100644 --- a/tests/unit/moduleapi/mallocsize.tcl +++ b/tests/unit/moduleapi/mallocsize.tcl @@ -2,7 +2,7 @@ # SPDX-FileCopyrightText: 2024 Salvatore Sanfilippo # # SPDX-License-Identifier: BSD-3-Clause -# SPDX-License-Identifier: GPL-3.0-only +# SPDX-License-Identifier: LGPL-3.0-only set testmodule [file normalize tests/modules/mallocsize.so] diff --git a/tests/unit/moduleapi/misc.tcl b/tests/unit/moduleapi/misc.tcl index d13053d5d..e077fea25 100644 --- a/tests/unit/moduleapi/misc.tcl +++ b/tests/unit/moduleapi/misc.tcl @@ -2,7 +2,7 @@ # SPDX-FileCopyrightText: 2024 Salvatore Sanfilippo # # SPDX-License-Identifier: BSD-3-Clause -# SPDX-License-Identifier: GPL-3.0-only +# SPDX-License-Identifier: LGPL-3.0-only set testmodule [file normalize tests/modules/misc.so] diff --git a/tests/unit/moduleapi/moduleauth.tcl b/tests/unit/moduleapi/moduleauth.tcl index 463159f6d..1a7960320 100644 --- a/tests/unit/moduleapi/moduleauth.tcl +++ b/tests/unit/moduleapi/moduleauth.tcl @@ -2,7 +2,7 @@ # SPDX-FileCopyrightText: 2024 Salvatore Sanfilippo # # SPDX-License-Identifier: BSD-3-Clause -# SPDX-License-Identifier: GPL-3.0-only +# SPDX-License-Identifier: LGPL-3.0-only set testmodule [file normalize tests/modules/auth.so] set testmoduletwo [file normalize tests/modules/moduleauthtwo.so] diff --git a/tests/unit/moduleapi/moduleconfigs.tcl b/tests/unit/moduleapi/moduleconfigs.tcl index 324213d53..a3492039e 100644 --- a/tests/unit/moduleapi/moduleconfigs.tcl +++ b/tests/unit/moduleapi/moduleconfigs.tcl @@ -2,7 +2,7 @@ # SPDX-FileCopyrightText: 2024 Salvatore Sanfilippo # # SPDX-License-Identifier: BSD-3-Clause -# SPDX-License-Identifier: GPL-3.0-only +# SPDX-License-Identifier: LGPL-3.0-only set testmodule [file normalize tests/modules/moduleconfigs.so] set testmoduletwo [file normalize tests/modules/moduleconfigstwo.so] diff --git a/tests/unit/moduleapi/postnotifications.tcl b/tests/unit/moduleapi/postnotifications.tcl index 7fb442123..e46a45141 100644 --- a/tests/unit/moduleapi/postnotifications.tcl +++ b/tests/unit/moduleapi/postnotifications.tcl @@ -2,7 +2,7 @@ # SPDX-FileCopyrightText: 2024 Salvatore Sanfilippo # # SPDX-License-Identifier: BSD-3-Clause -# SPDX-License-Identifier: GPL-3.0-only +# SPDX-License-Identifier: LGPL-3.0-only set testmodule [file normalize tests/modules/postnotifications.so] diff --git a/tests/unit/moduleapi/propagate.tcl b/tests/unit/moduleapi/propagate.tcl index c01654030..10f653473 100644 --- a/tests/unit/moduleapi/propagate.tcl +++ b/tests/unit/moduleapi/propagate.tcl @@ -2,7 +2,7 @@ # SPDX-FileCopyrightText: 2024 Salvatore Sanfilippo # # SPDX-License-Identifier: BSD-3-Clause -# SPDX-License-Identifier: GPL-3.0-only +# SPDX-License-Identifier: LGPL-3.0-only set testmodule [file normalize tests/modules/propagate.so] set miscmodule [file normalize tests/modules/misc.so] diff --git a/tests/unit/moduleapi/publish.tcl b/tests/unit/moduleapi/publish.tcl index c02f8c1d4..3627216c1 100644 --- a/tests/unit/moduleapi/publish.tcl +++ b/tests/unit/moduleapi/publish.tcl @@ -2,7 +2,7 @@ # SPDX-FileCopyrightText: 2024 Salvatore Sanfilippo # # SPDX-License-Identifier: BSD-3-Clause -# SPDX-License-Identifier: GPL-3.0-only +# SPDX-License-Identifier: LGPL-3.0-only set testmodule [file normalize tests/modules/publish.so] diff --git a/tests/unit/moduleapi/rdbloadsave.tcl b/tests/unit/moduleapi/rdbloadsave.tcl index 0ebf5da3f..a29336e1a 100644 --- a/tests/unit/moduleapi/rdbloadsave.tcl +++ b/tests/unit/moduleapi/rdbloadsave.tcl @@ -2,7 +2,7 @@ # SPDX-FileCopyrightText: 2024 Salvatore Sanfilippo # # SPDX-License-Identifier: BSD-3-Clause -# SPDX-License-Identifier: GPL-3.0-only +# SPDX-License-Identifier: LGPL-3.0-only set testmodule [file normalize tests/modules/rdbloadsave.so] diff --git a/tests/unit/moduleapi/reply.tcl b/tests/unit/moduleapi/reply.tcl index 4b24fd8fc..3937e5a37 100644 --- a/tests/unit/moduleapi/reply.tcl +++ b/tests/unit/moduleapi/reply.tcl @@ -2,7 +2,7 @@ # SPDX-FileCopyrightText: 2024 Salvatore Sanfilippo # # SPDX-License-Identifier: BSD-3-Clause -# SPDX-License-Identifier: GPL-3.0-only +# SPDX-License-Identifier: LGPL-3.0-only set testmodule [file normalize tests/modules/reply.so] diff --git a/tests/unit/moduleapi/scan.tcl b/tests/unit/moduleapi/scan.tcl index 4f196e59d..bba840e39 100644 --- a/tests/unit/moduleapi/scan.tcl +++ b/tests/unit/moduleapi/scan.tcl @@ -2,7 +2,7 @@ # SPDX-FileCopyrightText: 2024 Salvatore Sanfilippo # # SPDX-License-Identifier: BSD-3-Clause -# SPDX-License-Identifier: GPL-3.0-only +# SPDX-License-Identifier: LGPL-3.0-only set testmodule [file normalize tests/modules/scan.so] diff --git a/tests/unit/moduleapi/stream.tcl b/tests/unit/moduleapi/stream.tcl index cbb3b8b62..80e8b983e 100644 --- a/tests/unit/moduleapi/stream.tcl +++ b/tests/unit/moduleapi/stream.tcl @@ -2,7 +2,7 @@ # SPDX-FileCopyrightText: 2024 Salvatore Sanfilippo # # SPDX-License-Identifier: BSD-3-Clause -# SPDX-License-Identifier: GPL-3.0-only +# SPDX-License-Identifier: LGPL-3.0-only set testmodule [file normalize tests/modules/stream.so] diff --git a/tests/unit/moduleapi/subcommands.tcl b/tests/unit/moduleapi/subcommands.tcl index 77f489177..10572cae8 100644 --- a/tests/unit/moduleapi/subcommands.tcl +++ b/tests/unit/moduleapi/subcommands.tcl @@ -2,7 +2,7 @@ # SPDX-FileCopyrightText: 2024 Salvatore Sanfilippo # # SPDX-License-Identifier: BSD-3-Clause -# SPDX-License-Identifier: GPL-3.0-only +# SPDX-License-Identifier: LGPL-3.0-only set testmodule [file normalize tests/modules/subcommands.so] diff --git a/tests/unit/moduleapi/test_lazyfree.tcl b/tests/unit/moduleapi/test_lazyfree.tcl index 897ef0ed7..1c7a68013 100644 --- a/tests/unit/moduleapi/test_lazyfree.tcl +++ b/tests/unit/moduleapi/test_lazyfree.tcl @@ -2,7 +2,7 @@ # SPDX-FileCopyrightText: 2024 Salvatore Sanfilippo # # SPDX-License-Identifier: BSD-3-Clause -# SPDX-License-Identifier: GPL-3.0-only +# SPDX-License-Identifier: LGPL-3.0-only set testmodule [file normalize tests/modules/test_lazyfree.so] diff --git a/tests/unit/moduleapi/testrdb.tcl b/tests/unit/moduleapi/testrdb.tcl index e07ec42f4..10b5dd130 100644 --- a/tests/unit/moduleapi/testrdb.tcl +++ b/tests/unit/moduleapi/testrdb.tcl @@ -2,7 +2,7 @@ # SPDX-FileCopyrightText: 2024 Salvatore Sanfilippo # # SPDX-License-Identifier: BSD-3-Clause -# SPDX-License-Identifier: GPL-3.0-only +# SPDX-License-Identifier: LGPL-3.0-only # This module can be configure with multiple options given as flags on module load time # 0 - not aux fields will be declared (this is the default) diff --git a/tests/unit/moduleapi/timer.tcl b/tests/unit/moduleapi/timer.tcl index e9395f69d..d62c9186c 100644 --- a/tests/unit/moduleapi/timer.tcl +++ b/tests/unit/moduleapi/timer.tcl @@ -2,7 +2,7 @@ # SPDX-FileCopyrightText: 2024 Salvatore Sanfilippo # # SPDX-License-Identifier: BSD-3-Clause -# SPDX-License-Identifier: GPL-3.0-only +# SPDX-License-Identifier: LGPL-3.0-only set testmodule [file normalize tests/modules/timer.so] diff --git a/tests/unit/moduleapi/usercall.tcl b/tests/unit/moduleapi/usercall.tcl index 119b911a4..99efae96b 100644 --- a/tests/unit/moduleapi/usercall.tcl +++ b/tests/unit/moduleapi/usercall.tcl @@ -2,7 +2,7 @@ # SPDX-FileCopyrightText: 2024 Salvatore Sanfilippo # # SPDX-License-Identifier: BSD-3-Clause -# SPDX-License-Identifier: GPL-3.0-only +# SPDX-License-Identifier: LGPL-3.0-only set testmodule [file normalize tests/modules/usercall.so] diff --git a/tests/unit/moduleapi/zset.tcl b/tests/unit/moduleapi/zset.tcl index 8e5f49815..e0c542d45 100644 --- a/tests/unit/moduleapi/zset.tcl +++ b/tests/unit/moduleapi/zset.tcl @@ -2,7 +2,7 @@ # SPDX-FileCopyrightText: 2024 Salvatore Sanfilippo # # SPDX-License-Identifier: BSD-3-Clause -# SPDX-License-Identifier: GPL-3.0-only +# SPDX-License-Identifier: LGPL-3.0-only set testmodule [file normalize tests/modules/zset.so] diff --git a/tests/unit/multi.tcl b/tests/unit/multi.tcl index e1010f5bc..e36f3936f 100644 --- a/tests/unit/multi.tcl +++ b/tests/unit/multi.tcl @@ -2,7 +2,7 @@ # SPDX-FileCopyrightText: 2024 Salvatore Sanfilippo # # SPDX-License-Identifier: BSD-3-Clause -# SPDX-License-Identifier: GPL-3.0-only +# SPDX-License-Identifier: LGPL-3.0-only proc wait_for_dbsize {size} { set r2 [redict_client] diff --git a/tests/unit/networking.tcl b/tests/unit/networking.tcl index 0f1bc04d6..6791c073b 100644 --- a/tests/unit/networking.tcl +++ b/tests/unit/networking.tcl @@ -2,7 +2,7 @@ # SPDX-FileCopyrightText: 2024 Salvatore Sanfilippo # # SPDX-License-Identifier: BSD-3-Clause -# SPDX-License-Identifier: GPL-3.0-only +# SPDX-License-Identifier: LGPL-3.0-only source tests/support/cli.tcl diff --git a/tests/unit/obuf-limits.tcl b/tests/unit/obuf-limits.tcl index 67def781e..0ef20d12a 100644 --- a/tests/unit/obuf-limits.tcl +++ b/tests/unit/obuf-limits.tcl @@ -2,7 +2,7 @@ # SPDX-FileCopyrightText: 2024 Salvatore Sanfilippo # # SPDX-License-Identifier: BSD-3-Clause -# SPDX-License-Identifier: GPL-3.0-only +# SPDX-License-Identifier: LGPL-3.0-only start_server {tags {"obuf-limits external:skip logreqres:skip"}} { test {CONFIG SET client-output-buffer-limit} { diff --git a/tests/unit/oom-score-adj.tcl b/tests/unit/oom-score-adj.tcl index d08759b1f..e2023a96f 100644 --- a/tests/unit/oom-score-adj.tcl +++ b/tests/unit/oom-score-adj.tcl @@ -2,7 +2,7 @@ # SPDX-FileCopyrightText: 2024 Salvatore Sanfilippo # # SPDX-License-Identifier: BSD-3-Clause -# SPDX-License-Identifier: GPL-3.0-only +# SPDX-License-Identifier: LGPL-3.0-only set system_name [string tolower [exec uname -s]] diff --git a/tests/unit/other.tcl b/tests/unit/other.tcl index 328cccf25..90b5932f3 100644 --- a/tests/unit/other.tcl +++ b/tests/unit/other.tcl @@ -2,7 +2,7 @@ # SPDX-FileCopyrightText: 2024 Salvatore Sanfilippo # # SPDX-License-Identifier: BSD-3-Clause -# SPDX-License-Identifier: GPL-3.0-only +# SPDX-License-Identifier: LGPL-3.0-only start_server {tags {"other"}} { if {$::force_failure} { diff --git a/tests/unit/pause.tcl b/tests/unit/pause.tcl index 964874b0e..0b9b7197e 100644 --- a/tests/unit/pause.tcl +++ b/tests/unit/pause.tcl @@ -2,7 +2,7 @@ # SPDX-FileCopyrightText: 2024 Salvatore Sanfilippo # # SPDX-License-Identifier: BSD-3-Clause -# SPDX-License-Identifier: GPL-3.0-only +# SPDX-License-Identifier: LGPL-3.0-only start_server {tags {"pause network"}} { test "Test read commands are not blocked by client pause" { diff --git a/tests/unit/printver.tcl b/tests/unit/printver.tcl index 29bbfa083..98f73bd73 100644 --- a/tests/unit/printver.tcl +++ b/tests/unit/printver.tcl @@ -2,7 +2,7 @@ # SPDX-FileCopyrightText: 2024 Salvatore Sanfilippo # # SPDX-License-Identifier: BSD-3-Clause -# SPDX-License-Identifier: GPL-3.0-only +# SPDX-License-Identifier: LGPL-3.0-only start_server {} { set i [r info] diff --git a/tests/unit/protocol.tcl b/tests/unit/protocol.tcl index b9c73c53a..e3dae2345 100644 --- a/tests/unit/protocol.tcl +++ b/tests/unit/protocol.tcl @@ -2,7 +2,7 @@ # SPDX-FileCopyrightText: 2024 Salvatore Sanfilippo # # SPDX-License-Identifier: BSD-3-Clause -# SPDX-License-Identifier: GPL-3.0-only +# SPDX-License-Identifier: LGPL-3.0-only start_server {tags {"protocol network"}} { test "Handle an empty query" { diff --git a/tests/unit/pubsub.tcl b/tests/unit/pubsub.tcl index ac0ecfb92..453b4b6a9 100644 --- a/tests/unit/pubsub.tcl +++ b/tests/unit/pubsub.tcl @@ -2,7 +2,7 @@ # SPDX-FileCopyrightText: 2024 Salvatore Sanfilippo # # SPDX-License-Identifier: BSD-3-Clause -# SPDX-License-Identifier: GPL-3.0-only +# SPDX-License-Identifier: LGPL-3.0-only start_server {tags {"pubsub network"}} { if {$::singledb} { diff --git a/tests/unit/pubsubshard.tcl b/tests/unit/pubsubshard.tcl index 15305445b..33db06e59 100644 --- a/tests/unit/pubsubshard.tcl +++ b/tests/unit/pubsubshard.tcl @@ -2,7 +2,7 @@ # SPDX-FileCopyrightText: 2024 Salvatore Sanfilippo # # SPDX-License-Identifier: BSD-3-Clause -# SPDX-License-Identifier: GPL-3.0-only +# SPDX-License-Identifier: LGPL-3.0-only start_server {tags {"pubsubshard external:skip"}} { test "SPUBLISH/SSUBSCRIBE basics" { diff --git a/tests/unit/querybuf.tcl b/tests/unit/querybuf.tcl index af9033978..6ee2d2fe3 100644 --- a/tests/unit/querybuf.tcl +++ b/tests/unit/querybuf.tcl @@ -2,7 +2,7 @@ # SPDX-FileCopyrightText: 2024 Salvatore Sanfilippo # # SPDX-License-Identifier: BSD-3-Clause -# SPDX-License-Identifier: GPL-3.0-only +# SPDX-License-Identifier: LGPL-3.0-only proc client_idle_sec {name} { set clients [split [r client list] "\r\n"] diff --git a/tests/unit/quit.tcl b/tests/unit/quit.tcl index 6c3a2a104..dad212d7f 100644 --- a/tests/unit/quit.tcl +++ b/tests/unit/quit.tcl @@ -2,7 +2,7 @@ # SPDX-FileCopyrightText: 2024 Salvatore Sanfilippo # # SPDX-License-Identifier: BSD-3-Clause -# SPDX-License-Identifier: GPL-3.0-only +# SPDX-License-Identifier: LGPL-3.0-only start_server {tags {"quit"}} { diff --git a/tests/unit/replybufsize.tcl b/tests/unit/replybufsize.tcl index 0d16d6e89..5ead7151f 100644 --- a/tests/unit/replybufsize.tcl +++ b/tests/unit/replybufsize.tcl @@ -2,7 +2,7 @@ # SPDX-FileCopyrightText: 2024 Salvatore Sanfilippo # # SPDX-License-Identifier: BSD-3-Clause -# SPDX-License-Identifier: GPL-3.0-only +# SPDX-License-Identifier: LGPL-3.0-only proc get_reply_buffer_size {cname} { diff --git a/tests/unit/scan.tcl b/tests/unit/scan.tcl index ab45060c8..19504de59 100644 --- a/tests/unit/scan.tcl +++ b/tests/unit/scan.tcl @@ -2,7 +2,7 @@ # SPDX-FileCopyrightText: 2024 Salvatore Sanfilippo # # SPDX-License-Identifier: BSD-3-Clause -# SPDX-License-Identifier: GPL-3.0-only +# SPDX-License-Identifier: LGPL-3.0-only proc test_scan {type} { test "{$type} SCAN basic" { diff --git a/tests/unit/scripting.tcl b/tests/unit/scripting.tcl index 8386759a2..268327a88 100644 --- a/tests/unit/scripting.tcl +++ b/tests/unit/scripting.tcl @@ -2,7 +2,7 @@ # SPDX-FileCopyrightText: 2024 Salvatore Sanfilippo # # SPDX-License-Identifier: BSD-3-Clause -# SPDX-License-Identifier: GPL-3.0-only +# SPDX-License-Identifier: LGPL-3.0-only foreach is_eval {0 1} { diff --git a/tests/unit/shutdown.tcl b/tests/unit/shutdown.tcl index 9fa69b1f7..8556786fe 100644 --- a/tests/unit/shutdown.tcl +++ b/tests/unit/shutdown.tcl @@ -2,7 +2,7 @@ # SPDX-FileCopyrightText: 2024 Salvatore Sanfilippo # # SPDX-License-Identifier: BSD-3-Clause -# SPDX-License-Identifier: GPL-3.0-only +# SPDX-License-Identifier: LGPL-3.0-only start_server {tags {"shutdown external:skip"}} { test {Temp rdb will be deleted if we use bg_unlink when shutdown} { diff --git a/tests/unit/slowlog.tcl b/tests/unit/slowlog.tcl index 8b9b92024..7ef3fec43 100644 --- a/tests/unit/slowlog.tcl +++ b/tests/unit/slowlog.tcl @@ -2,7 +2,7 @@ # SPDX-FileCopyrightText: 2024 Salvatore Sanfilippo # # SPDX-License-Identifier: BSD-3-Clause -# SPDX-License-Identifier: GPL-3.0-only +# SPDX-License-Identifier: LGPL-3.0-only start_server {tags {"slowlog"} overrides {slowlog-log-slower-than 1000000}} { test {SLOWLOG - check that it starts with an empty log} { diff --git a/tests/unit/sort.tcl b/tests/unit/sort.tcl index 6f76f2979..b5acd32d3 100644 --- a/tests/unit/sort.tcl +++ b/tests/unit/sort.tcl @@ -2,7 +2,7 @@ # SPDX-FileCopyrightText: 2024 Salvatore Sanfilippo # # SPDX-License-Identifier: BSD-3-Clause -# SPDX-License-Identifier: GPL-3.0-only +# SPDX-License-Identifier: LGPL-3.0-only start_server { tags {"sort"} diff --git a/tests/unit/tls.tcl b/tests/unit/tls.tcl index ae69ec1a3..6e091e719 100644 --- a/tests/unit/tls.tcl +++ b/tests/unit/tls.tcl @@ -2,7 +2,7 @@ # SPDX-FileCopyrightText: 2024 Salvatore Sanfilippo # # SPDX-License-Identifier: BSD-3-Clause -# SPDX-License-Identifier: GPL-3.0-only +# SPDX-License-Identifier: LGPL-3.0-only start_server {tags {"tls"}} { if {$::tls} { diff --git a/tests/unit/tracking.tcl b/tests/unit/tracking.tcl index 68544b02d..1628fe6d4 100644 --- a/tests/unit/tracking.tcl +++ b/tests/unit/tracking.tcl @@ -2,7 +2,7 @@ # SPDX-FileCopyrightText: 2024 Salvatore Sanfilippo # # SPDX-License-Identifier: BSD-3-Clause -# SPDX-License-Identifier: GPL-3.0-only +# SPDX-License-Identifier: LGPL-3.0-only # logreqres:skip because it seems many of these tests rely heavily on RESP2 start_server {tags {"tracking network logreqres:skip"}} { diff --git a/tests/unit/type/hash.tcl b/tests/unit/type/hash.tcl index 60b8dfec5..5af16f59f 100644 --- a/tests/unit/type/hash.tcl +++ b/tests/unit/type/hash.tcl @@ -2,7 +2,7 @@ # SPDX-FileCopyrightText: 2024 Salvatore Sanfilippo # # SPDX-License-Identifier: BSD-3-Clause -# SPDX-License-Identifier: GPL-3.0-only +# SPDX-License-Identifier: LGPL-3.0-only start_server {tags {"hash"}} { test {HSET/HLEN - Small hash creation} { diff --git a/tests/unit/type/incr.tcl b/tests/unit/type/incr.tcl index 1e63b49af..55b00fce1 100644 --- a/tests/unit/type/incr.tcl +++ b/tests/unit/type/incr.tcl @@ -2,7 +2,7 @@ # SPDX-FileCopyrightText: 2024 Salvatore Sanfilippo # # SPDX-License-Identifier: BSD-3-Clause -# SPDX-License-Identifier: GPL-3.0-only +# SPDX-License-Identifier: LGPL-3.0-only start_server {tags {"incr"}} { test {INCR against non existing key} { diff --git a/tests/unit/type/list-2.tcl b/tests/unit/type/list-2.tcl index 9a6a1ed23..ccfbd2c51 100644 --- a/tests/unit/type/list-2.tcl +++ b/tests/unit/type/list-2.tcl @@ -2,7 +2,7 @@ # SPDX-FileCopyrightText: 2024 Salvatore Sanfilippo # # SPDX-License-Identifier: BSD-3-Clause -# SPDX-License-Identifier: GPL-3.0-only +# SPDX-License-Identifier: LGPL-3.0-only start_server { tags {"list"} diff --git a/tests/unit/type/list-3.tcl b/tests/unit/type/list-3.tcl index 157f92ad5..04ae10d78 100644 --- a/tests/unit/type/list-3.tcl +++ b/tests/unit/type/list-3.tcl @@ -2,7 +2,7 @@ # SPDX-FileCopyrightText: 2024 Salvatore Sanfilippo # # SPDX-License-Identifier: BSD-3-Clause -# SPDX-License-Identifier: GPL-3.0-only +# SPDX-License-Identifier: LGPL-3.0-only proc generate_cmd_on_list_key {key} { set op [randomInt 7] diff --git a/tests/unit/type/list-common.tcl b/tests/unit/type/list-common.tcl index 80c9af0e9..239705174 100644 --- a/tests/unit/type/list-common.tcl +++ b/tests/unit/type/list-common.tcl @@ -2,7 +2,7 @@ # SPDX-FileCopyrightText: 2024 Salvatore Sanfilippo # # SPDX-License-Identifier: BSD-3-Clause -# SPDX-License-Identifier: GPL-3.0-only +# SPDX-License-Identifier: LGPL-3.0-only # We need a value to make sure the list has the right encoding when it is inserted. array set largevalue {} diff --git a/tests/unit/type/list.tcl b/tests/unit/type/list.tcl index d110043b9..f2f71f440 100644 --- a/tests/unit/type/list.tcl +++ b/tests/unit/type/list.tcl @@ -2,7 +2,7 @@ # SPDX-FileCopyrightText: 2024 Salvatore Sanfilippo # # SPDX-License-Identifier: BSD-3-Clause -# SPDX-License-Identifier: GPL-3.0-only +# SPDX-License-Identifier: LGPL-3.0-only # check functionality compression of plain and packed nodes start_server [list overrides [list save ""] ] { diff --git a/tests/unit/type/set.tcl b/tests/unit/type/set.tcl index 4cfbd5296..88ef69a83 100644 --- a/tests/unit/type/set.tcl +++ b/tests/unit/type/set.tcl @@ -2,7 +2,7 @@ # SPDX-FileCopyrightText: 2024 Salvatore Sanfilippo # # SPDX-License-Identifier: BSD-3-Clause -# SPDX-License-Identifier: GPL-3.0-only +# SPDX-License-Identifier: LGPL-3.0-only start_server { tags {"set"} diff --git a/tests/unit/type/stream-cgroups.tcl b/tests/unit/type/stream-cgroups.tcl index af3b95916..30af24a56 100644 --- a/tests/unit/type/stream-cgroups.tcl +++ b/tests/unit/type/stream-cgroups.tcl @@ -2,7 +2,7 @@ # SPDX-FileCopyrightText: 2024 Salvatore Sanfilippo # # SPDX-License-Identifier: BSD-3-Clause -# SPDX-License-Identifier: GPL-3.0-only +# SPDX-License-Identifier: LGPL-3.0-only start_server { tags {"stream"} diff --git a/tests/unit/type/stream.tcl b/tests/unit/type/stream.tcl index 707bff190..5f8fa8428 100644 --- a/tests/unit/type/stream.tcl +++ b/tests/unit/type/stream.tcl @@ -2,7 +2,7 @@ # SPDX-FileCopyrightText: 2024 Salvatore Sanfilippo # # SPDX-License-Identifier: BSD-3-Clause -# SPDX-License-Identifier: GPL-3.0-only +# SPDX-License-Identifier: LGPL-3.0-only # return value is like strcmp() and similar. proc streamCompareID {a b} { diff --git a/tests/unit/type/string.tcl b/tests/unit/type/string.tcl index 2c44f12c8..2a33f9859 100644 --- a/tests/unit/type/string.tcl +++ b/tests/unit/type/string.tcl @@ -2,7 +2,7 @@ # SPDX-FileCopyrightText: 2024 Salvatore Sanfilippo # # SPDX-License-Identifier: BSD-3-Clause -# SPDX-License-Identifier: GPL-3.0-only +# SPDX-License-Identifier: LGPL-3.0-only start_server {tags {"string"}} { test {SET and GET an item} { diff --git a/tests/unit/type/zset.tcl b/tests/unit/type/zset.tcl index 634a9674d..459572ec5 100644 --- a/tests/unit/type/zset.tcl +++ b/tests/unit/type/zset.tcl @@ -2,7 +2,7 @@ # SPDX-FileCopyrightText: 2024 Salvatore Sanfilippo # # SPDX-License-Identifier: BSD-3-Clause -# SPDX-License-Identifier: GPL-3.0-only +# SPDX-License-Identifier: LGPL-3.0-only start_server {tags {"zset"}} { proc create_zset {key items} { diff --git a/tests/unit/violations.tcl b/tests/unit/violations.tcl index e28678bfc..533b8b365 100644 --- a/tests/unit/violations.tcl +++ b/tests/unit/violations.tcl @@ -2,7 +2,7 @@ # SPDX-FileCopyrightText: 2024 Salvatore Sanfilippo # # SPDX-License-Identifier: BSD-3-Clause -# SPDX-License-Identifier: GPL-3.0-only +# SPDX-License-Identifier: LGPL-3.0-only # One XADD with one huge 5GB field # Expected to fail resulting in an empty stream diff --git a/tests/unit/wait.tcl b/tests/unit/wait.tcl index e81e26054..aa25efebe 100644 --- a/tests/unit/wait.tcl +++ b/tests/unit/wait.tcl @@ -2,7 +2,7 @@ # SPDX-FileCopyrightText: 2024 Salvatore Sanfilippo # # SPDX-License-Identifier: BSD-3-Clause -# SPDX-License-Identifier: GPL-3.0-only +# SPDX-License-Identifier: LGPL-3.0-only source tests/support/cli.tcl diff --git a/utils/build-static-symbols.tcl b/utils/build-static-symbols.tcl index 376e01f07..d97f2d2ec 100644 --- a/utils/build-static-symbols.tcl +++ b/utils/build-static-symbols.tcl @@ -3,7 +3,7 @@ # SPDX-FileCopyrightText: 2024 Salvatore Sanfilippo # # SPDX-License-Identifier: BSD-3-Clause -# SPDX-License-Identifier: GPL-3.0-only +# SPDX-License-Identifier: LGPL-3.0-only set fd [open redis.c] set symlist {} diff --git a/utils/cluster_fail_time.tcl b/utils/cluster_fail_time.tcl index 3805047fa..b69b52ea8 100644 --- a/utils/cluster_fail_time.tcl +++ b/utils/cluster_fail_time.tcl @@ -2,7 +2,7 @@ # SPDX-FileCopyrightText: 2024 Salvatore Sanfilippo # # SPDX-License-Identifier: BSD-3-Clause -# SPDX-License-Identifier: GPL-3.0-only +# SPDX-License-Identifier: LGPL-3.0-only # This simple script is used in order to estimate the average PFAIL->FAIL # state switch after a failure. diff --git a/utils/corrupt_rdb.c b/utils/corrupt_rdb.c index 230375d37..5878e311b 100644 --- a/utils/corrupt_rdb.c +++ b/utils/corrupt_rdb.c @@ -3,7 +3,7 @@ // SPDX-FileCopyrightText: 2024 Salvatore Sanfilippo // // SPDX-License-Identifier: BSD-3-Clause -// SPDX-License-Identifier: GPL-3.0-only +// SPDX-License-Identifier: LGPL-3.0-only #include #include diff --git a/utils/create-cluster/create-cluster b/utils/create-cluster/create-cluster index 75e602bfd..e9e1cc2e8 100755 --- a/utils/create-cluster/create-cluster +++ b/utils/create-cluster/create-cluster @@ -2,7 +2,7 @@ # # SPDX-FileCopyrightText: 2024 Redict Contributors # -# SPDX-License-Identifier: GPL-3.0-only +# SPDX-License-Identifier: LGPL-3.0-only SCRIPT_DIR="$( cd -- "$( dirname -- "${BASH_SOURCE[0]}" )" &> /dev/null && pwd )" diff --git a/utils/gen-test-certs.sh b/utils/gen-test-certs.sh index 341cca200..35f30003c 100755 --- a/utils/gen-test-certs.sh +++ b/utils/gen-test-certs.sh @@ -4,7 +4,7 @@ # SPDX-FileCopyrightText: 2024 Salvatore Sanfilippo # # SPDX-License-Identifier: BSD-3-Clause -# SPDX-License-Identifier: GPL-3.0-only +# SPDX-License-Identifier: LGPL-3.0-only # Generate some test certificates which are used by the regression test suite: # diff --git a/utils/generate-command-code.py b/utils/generate-command-code.py index 6360a938a..e50417c51 100755 --- a/utils/generate-command-code.py +++ b/utils/generate-command-code.py @@ -4,7 +4,7 @@ # SPDX-FileCopyrightText: 2024 Salvatore Sanfilippo # # SPDX-License-Identifier: BSD-3-Clause -# SPDX-License-Identifier: GPL-3.0-only +# SPDX-License-Identifier: LGPL-3.0-only import glob import json diff --git a/utils/generate-commands-json.py b/utils/generate-commands-json.py index 355bc6ee6..ffe572ad3 100755 --- a/utils/generate-commands-json.py +++ b/utils/generate-commands-json.py @@ -4,7 +4,7 @@ # SPDX-FileCopyrightText: 2024 Salvatore Sanfilippo # # SPDX-License-Identifier: BSD-3-Clause -# SPDX-License-Identifier: GPL-3.0-only +# SPDX-License-Identifier: LGPL-3.0-only import argparse import json diff --git a/utils/generate-fmtargs.py b/utils/generate-fmtargs.py index 876b7191e..58067622f 100755 --- a/utils/generate-fmtargs.py +++ b/utils/generate-fmtargs.py @@ -4,7 +4,7 @@ # SPDX-FileCopyrightText: 2024 Salvatore Sanfilippo # # SPDX-License-Identifier: BSD-3-Clause -# SPDX-License-Identifier: GPL-3.0-only +# SPDX-License-Identifier: LGPL-3.0-only # Outputs the generated part of src/fmtargs.h MAX_ARGS = 120 diff --git a/utils/generate-module-api-doc.rb b/utils/generate-module-api-doc.rb index ff741d583..6d3992b41 100755 --- a/utils/generate-module-api-doc.rb +++ b/utils/generate-module-api-doc.rb @@ -4,7 +4,7 @@ # SPDX-FileCopyrightText: 2024 Salvatore Sanfilippo # # SPDX-License-Identifier: BSD-3-Clause -# SPDX-License-Identifier: GPL-3.0-only +# SPDX-License-Identifier: LGPL-3.0-only # coding: utf-8 # gendoc.rb -- Converts the top-comments inside module.c to modules API diff --git a/utils/graphs/commits-over-time/genhtml.tcl b/utils/graphs/commits-over-time/genhtml.tcl index 32c037559..b4f7c9306 100755 --- a/utils/graphs/commits-over-time/genhtml.tcl +++ b/utils/graphs/commits-over-time/genhtml.tcl @@ -4,7 +4,7 @@ # SPDX-FileCopyrightText: 2024 Salvatore Sanfilippo # # SPDX-License-Identifier: BSD-3-Clause -# SPDX-License-Identifier: GPL-3.0-only +# SPDX-License-Identifier: LGPL-3.0-only # Load commits history as "sha1 unixtime". set commits [exec git log unstable {--pretty="%H %at"}] diff --git a/utils/hyperloglog/hll-err.rb b/utils/hyperloglog/hll-err.rb index 632d31376..0e1507f68 100644 --- a/utils/hyperloglog/hll-err.rb +++ b/utils/hyperloglog/hll-err.rb @@ -3,7 +3,7 @@ # SPDX-FileCopyrightText: 2024 Salvatore Sanfilippo # # SPDX-License-Identifier: BSD-3-Clause -# SPDX-License-Identifier: GPL-3.0-only +# SPDX-License-Identifier: LGPL-3.0-only require 'rubygems' require 'redis' diff --git a/utils/hyperloglog/hll-gnuplot-graph.rb b/utils/hyperloglog/hll-gnuplot-graph.rb index 4f50d838b..c5469bdd4 100644 --- a/utils/hyperloglog/hll-gnuplot-graph.rb +++ b/utils/hyperloglog/hll-gnuplot-graph.rb @@ -3,7 +3,7 @@ # SPDX-FileCopyrightText: 2024 Salvatore Sanfilippo # # SPDX-License-Identifier: BSD-3-Clause -# SPDX-License-Identifier: GPL-3.0-only +# SPDX-License-Identifier: LGPL-3.0-only require 'rubygems' require 'redis' diff --git a/utils/install_server.sh b/utils/install_server.sh index b33bdf26c..7b0d7e727 100755 --- a/utils/install_server.sh +++ b/utils/install_server.sh @@ -7,7 +7,7 @@ # # SPDX-License-Identifier: BSD-2-Clause # SPDX-License-Identifier: BSD-3-Clause -# SPDX-License-Identifier: GPL-3.0-only +# SPDX-License-Identifier: LGPL-3.0-only die () { echo "ERROR: $1. Aborting!" diff --git a/utils/lru/lfu-simulation.c b/utils/lru/lfu-simulation.c index 2c883e9aa..2dffbef5f 100644 --- a/utils/lru/lfu-simulation.c +++ b/utils/lru/lfu-simulation.c @@ -2,7 +2,7 @@ // SPDX-FileCopyrightText: 2024 Salvatore Sanfilippo // // SPDX-License-Identifier: BSD-3-Clause -// SPDX-License-Identifier: GPL-3.0-only +// SPDX-License-Identifier: LGPL-3.0-only #include #include diff --git a/utils/lru/test-lru.rb b/utils/lru/test-lru.rb index 89b0d69af..29a09e05c 100644 --- a/utils/lru/test-lru.rb +++ b/utils/lru/test-lru.rb @@ -2,7 +2,7 @@ # SPDX-FileCopyrightText: 2024 Salvatore Sanfilippo # # SPDX-License-Identifier: BSD-3-Clause -# SPDX-License-Identifier: GPL-3.0-only +# SPDX-License-Identifier: LGPL-3.0-only require 'rubygems' require 'redis' diff --git a/utils/redis-copy.rb b/utils/redis-copy.rb index 46144ed92..9b3aea50a 100644 --- a/utils/redis-copy.rb +++ b/utils/redis-copy.rb @@ -3,7 +3,7 @@ # SPDX-FileCopyrightText: 2024 Salvatore Sanfilippo # # SPDX-License-Identifier: BSD-3-Clause -# SPDX-License-Identifier: GPL-3.0-only +# SPDX-License-Identifier: LGPL-3.0-only require 'shellwords' diff --git a/utils/redis-sha1.rb b/utils/redis-sha1.rb index e9f67cd55..4a67a48e0 100644 --- a/utils/redis-sha1.rb +++ b/utils/redis-sha1.rb @@ -3,7 +3,7 @@ # SPDX-FileCopyrightText: 2024 Salvatore Sanfilippo # # SPDX-License-Identifier: BSD-3-Clause -# SPDX-License-Identifier: GPL-3.0-only +# SPDX-License-Identifier: LGPL-3.0-only require 'rubygems' require 'redis' diff --git a/utils/redis_init_script b/utils/redis_init_script index 9294870e7..0eb0e1c43 100755 --- a/utils/redis_init_script +++ b/utils/redis_init_script @@ -2,7 +2,7 @@ # # SPDX-FileCopyrightText: 2024 Redict Contributors # -# SPDX-License-Identifier: GPL-3.0-only +# SPDX-License-Identifier: LGPL-3.0-only # # Simple Redis init.d script conceived to work on Linux systems # as it does use of the /proc filesystem. diff --git a/utils/redis_init_script.tpl b/utils/redis_init_script.tpl index 63172f193..c2ccd8b9b 100755 --- a/utils/redis_init_script.tpl +++ b/utils/redis_init_script.tpl @@ -1,7 +1,7 @@ # # SPDX-FileCopyrightText: 2024 Redict Contributors # -# SPDX-License-Identifier: GPL-3.0-only +# SPDX-License-Identifier: LGPL-3.0-only case "$1" in start) diff --git a/utils/releasetools/01_create_tarball.sh b/utils/releasetools/01_create_tarball.sh index 58988980a..4cdd6c60e 100755 --- a/utils/releasetools/01_create_tarball.sh +++ b/utils/releasetools/01_create_tarball.sh @@ -4,7 +4,7 @@ # SPDX-FileCopyrightText: 2024 Salvatore Sanfilippo # # SPDX-License-Identifier: BSD-3-Clause -# SPDX-License-Identifier: GPL-3.0-only +# SPDX-License-Identifier: LGPL-3.0-only if [ $# != "1" ] then diff --git a/utils/releasetools/02_upload_tarball.sh b/utils/releasetools/02_upload_tarball.sh index f6ecff0f1..c7f60edb9 100755 --- a/utils/releasetools/02_upload_tarball.sh +++ b/utils/releasetools/02_upload_tarball.sh @@ -4,7 +4,7 @@ # SPDX-FileCopyrightText: 2024 Salvatore Sanfilippo # # SPDX-License-Identifier: BSD-3-Clause -# SPDX-License-Identifier: GPL-3.0-only +# SPDX-License-Identifier: LGPL-3.0-only if [ $# != "1" ] then diff --git a/utils/releasetools/03_test_release.sh b/utils/releasetools/03_test_release.sh index 8025e8c68..36e7fdd6c 100755 --- a/utils/releasetools/03_test_release.sh +++ b/utils/releasetools/03_test_release.sh @@ -4,7 +4,7 @@ # SPDX-FileCopyrightText: 2024 Salvatore Sanfilippo # # SPDX-License-Identifier: BSD-3-Clause -# SPDX-License-Identifier: GPL-3.0-only +# SPDX-License-Identifier: LGPL-3.0-only set -e if [ $# != "1" ] diff --git a/utils/releasetools/04_release_hash.sh b/utils/releasetools/04_release_hash.sh index f4f330b19..d3b14109c 100755 --- a/utils/releasetools/04_release_hash.sh +++ b/utils/releasetools/04_release_hash.sh @@ -4,7 +4,7 @@ # SPDX-FileCopyrightText: 2024 Salvatore Sanfilippo # # SPDX-License-Identifier: BSD-3-Clause -# SPDX-License-Identifier: GPL-3.0-only +# SPDX-License-Identifier: LGPL-3.0-only if [ $# != "1" ] then diff --git a/utils/releasetools/changelog.tcl b/utils/releasetools/changelog.tcl index e8ce3a99d..0d67e591f 100755 --- a/utils/releasetools/changelog.tcl +++ b/utils/releasetools/changelog.tcl @@ -4,7 +4,7 @@ # SPDX-FileCopyrightText: 2024 Salvatore Sanfilippo # # SPDX-License-Identifier: BSD-3-Clause -# SPDX-License-Identifier: GPL-3.0-only +# SPDX-License-Identifier: LGPL-3.0-only if {[llength $::argv] != 2 && [llength $::argv] != 3} { puts "Usage: $::argv0 \[\]" diff --git a/utils/reply_schema_linter.js b/utils/reply_schema_linter.js index f5e6760cc..ab600b88c 100644 --- a/utils/reply_schema_linter.js +++ b/utils/reply_schema_linter.js @@ -2,7 +2,7 @@ // SPDX-FileCopyrightText: 2024 Salvatore Sanfilippo // // SPDX-License-Identifier: BSD-3-Clause -// SPDX-License-Identifier: GPL-3.0-only +// SPDX-License-Identifier: LGPL-3.0-only function validate_schema(command_schema) { var error_status = false diff --git a/utils/req-res-log-validator.py b/utils/req-res-log-validator.py index 20dba7446..6e4fc3d96 100755 --- a/utils/req-res-log-validator.py +++ b/utils/req-res-log-validator.py @@ -4,7 +4,7 @@ # SPDX-FileCopyrightText: 2024 Salvatore Sanfilippo # # SPDX-License-Identifier: BSD-3-Clause -# SPDX-License-Identifier: GPL-3.0-only +# SPDX-License-Identifier: LGPL-3.0-only import os import glob diff --git a/utils/speed-regression.tcl b/utils/speed-regression.tcl index 97219520c..d166598ea 100755 --- a/utils/speed-regression.tcl +++ b/utils/speed-regression.tcl @@ -5,7 +5,7 @@ # SPDX-FileCopyrightText: 2024 Salvatore Sanfilippo # # SPDX-License-Identifier: BSD-3-Clause -# SPDX-License-Identifier: GPL-3.0-only +# SPDX-License-Identifier: LGPL-3.0-only source ../tests/support/redis.tcl set ::port 12123 diff --git a/utils/srandmember/showdist.rb b/utils/srandmember/showdist.rb index 258eeaffb..01c5193b4 100644 --- a/utils/srandmember/showdist.rb +++ b/utils/srandmember/showdist.rb @@ -2,7 +2,7 @@ # SPDX-FileCopyrightText: 2024 Salvatore Sanfilippo # # SPDX-License-Identifier: BSD-3-Clause -# SPDX-License-Identifier: GPL-3.0-only +# SPDX-License-Identifier: LGPL-3.0-only require 'redis' diff --git a/utils/srandmember/showfreq.rb b/utils/srandmember/showfreq.rb index 3d4e90576..a44bc668b 100644 --- a/utils/srandmember/showfreq.rb +++ b/utils/srandmember/showfreq.rb @@ -2,7 +2,7 @@ # SPDX-FileCopyrightText: 2024 Salvatore Sanfilippo # # SPDX-License-Identifier: BSD-3-Clause -# SPDX-License-Identifier: GPL-3.0-only +# SPDX-License-Identifier: LGPL-3.0-only require 'redis' diff --git a/utils/tracking_collisions.c b/utils/tracking_collisions.c index ab76954e8..cc367c2dd 100644 --- a/utils/tracking_collisions.c +++ b/utils/tracking_collisions.c @@ -3,7 +3,7 @@ // SPDX-FileCopyrightText: 2024 Salvatore Sanfilippo // // SPDX-License-Identifier: BSD-3-Clause -// SPDX-License-Identifier: GPL-3.0-only +// SPDX-License-Identifier: LGPL-3.0-only #include #include diff --git a/utils/whatisdoing.sh b/utils/whatisdoing.sh index ffe905e3e..2e3c658cf 100755 --- a/utils/whatisdoing.sh +++ b/utils/whatisdoing.sh @@ -2,7 +2,7 @@ # SPDX-FileCopyrightText: 2024 Salvatore Sanfilippo # # SPDX-License-Identifier: BSD-3-Clause -# SPDX-License-Identifier: GPL-3.0-only +# SPDX-License-Identifier: LGPL-3.0-only # This script is from http://poormansprofiler.org/ #