Commit Graph

12207 Commits

Author SHA1 Message Date
Drew DeVault
c68ef593e5 Revert broken jemalloc changes
As I suspected this breaks the default build configuration.

This reverts commit 8794d03e2b.

Signed-off-by: Drew DeVault <sir@cmpwn.com>
2024-04-03 10:30:50 +02:00
Drew DeVault
654fe4ce00 Update references to redis.io throughout code
Now that most of the docs have been migrated over, we can update the references
in the codebase to point to redict.io.

Signed-off-by: Drew DeVault <sir@cmpwn.com>
2024-04-03 10:26:56 +02:00
Chris Lamb
8794d03e2b Add ability to use system jemalloc
Signed-off-by: Maytham Alsudany <maytha8thedev@gmail.com>
2024-04-02 13:55:02 +00:00
Chris Lamb
5f400152aa Fix FTBFS on kFreeBSD
Signed-off-by: Maytham Alsudany <maytha8thedev@gmail.com>
2024-04-02 13:55:02 +00:00
Drew DeVault
8a0059a229 .builds/matrix.yml: distclean between runs
Signed-off-by: Drew DeVault <sir@cmpwn.com>
2024-04-02 11:08:59 +02:00
Norm
1502824239 Report redis_version:7.2.4 in INFO command
Fixes: #37
Signed-off-by: Norm <normandy@biribiri.dev>
2024-04-01 15:59:39 -04:00
Drew DeVault
aadcf99b72 .builds: add more comprehensive build testing
Fixes: https://codeberg.org/redict/redict/issues/7
Signed-off-by: Drew DeVault <sir@cmpwn.com>
2024-04-01 12:05:36 +02:00
Drew DeVault
466411d783 Hard code redis.REDIS_VERSION to 7.2.4
Fixes: https://codeberg.org/redict/redict/issues/37
Signed-off-by: Drew DeVault <sir@cmpwn.com>
2024-04-01 11:57:54 +02:00
Drew DeVault
3d8a3a9ba0 test/unit/functions.tcl: fix api version test
Makes the test pass for versions X.Y.Z and X.Y.Z-rQ

Fixes: https://codeberg.org/redict/redict/issues/34
Signed-off-by: Drew DeVault <sir@cmpwn.com>
2024-03-28 11:23:01 +01:00
Drew DeVault
1fb435754f Makefile: add sample configs
Signed-off-by: Drew DeVault <sir@cmpwn.com>
2024-03-28 10:56:12 +01:00
Drew DeVault
f672a49edd Update SECURITY.md
Signed-off-by: Drew DeVault <sir@cmpwn.com>
2024-03-26 14:20:40 +01:00
Drew DeVault
5f780d0bc2 Update CODE_OF_CONDUCT.md
Fix formatting issues and update contact email.

Signed-off-by: Drew DeVault <sir@cmpwn.com>
2024-03-26 14:13:57 +01:00
Drew DeVault
04556d4e2c Update README.md
Signed-off-by: Drew DeVault <sir@cmpwn.com>
2024-03-26 14:11:57 +01:00
Drew DeVault
a8ae9fdb26 tests/unit/scripting: add redis global test
Signed-off-by: Drew DeVault <sir@cmpwn.com>
2024-03-26 12:29:46 +01:00
Drew DeVault
e32c74c826 tests/*: replace redis with redict in Lua usage
Signed-off-by: Drew DeVault <sir@cmpwn.com>
2024-03-26 12:12:03 +01:00
Drew DeVault
a91d1148cf src/modules: s/redis/redict/g
Final pass on these

Signed-off-by: Drew DeVault <sir@cmpwn.com>
2024-03-26 10:59:57 +01:00
Drew DeVault
d4622e0592 utils/generate-module-api-doc.rb: update for redict.io
Signed-off-by: Drew DeVault <sir@cmpwn.com>
2024-03-26 10:50:41 +01:00
Drew DeVault
5d810f809e utils/*: clean up
* Remove deprecated/obsolete tools
* Rewrite Redis references where appropriate

Signed-off-by: Drew DeVault <sir@cmpwn.com>
2024-03-26 10:41:22 +01:00
Drew DeVault
bd60b41068 utils/lint.sh: lint reuse compliance
Signed-off-by: Drew DeVault <sir@cmpwn.com>
2024-03-25 18:10:28 +01:00
Drew DeVault
52bb49ee48 Merge commit '8b493612ae4b44cdc02f80a458c18155b673d968' 2024-03-25 18:05:01 +01:00
Drew DeVault
8b493612ae Squashed 'deps/hiredict/' changes from 7bce77ae6..08ac9b200
08ac9b200 .reuse: add hiredis pc files
34dd027d8 Makefile: use .pc.in files
cda15c036 shim: add hiredis shim

git-subtree-dir: deps/hiredict
git-subtree-split: 08ac9b200634c09ebb73e4bf4b121911fe186b54
2024-03-25 18:05:00 +01:00
Drew DeVault
5da205387a utils/lint.sh: add more detailed error message
Signed-off-by: Drew DeVault <sir@cmpwn.com>
2024-03-25 17:54:24 +01:00
Drew DeVault
0a2132f33d Add utils/lint.sh
Signed-off-by: Drew DeVault <sir@cmpwn.com>
2024-03-25 17:52:05 +01:00
Maxwell G
053be3dbf6
ci: fix broken yaml syntax 2024-03-25 16:41:53 +00:00
Drew DeVault
62205846c1 .builds: re-enable sentinel tests
Signed-off-by: Drew DeVault <sir@cmpwn.com>
2024-03-25 17:31:18 +01:00
Drew DeVault
a609e26c56 tests/support: s/redis/redict/g
Signed-off-by: Drew DeVault <sir@cmpwn.com>
2024-03-25 17:31:07 +01:00
Drew DeVault
e23dcf403b tests/sentinel: update .gitignore
Signed-off-by: Drew DeVault <sir@cmpwn.com>
2024-03-25 17:31:07 +01:00
Drew DeVault
04992aead7 Freshen up sds.c from hiredict
For ABI compatibility, etc.

Signed-off-by: Drew DeVault <sir@cmpwn.com>
2024-03-25 17:31:07 +01:00
Drew DeVault
abd89c3ce2 tests/instances.tcl: fix Redis ref in pause_on_error
Signed-off-by: Drew DeVault <sir@cmpwn.com>
2024-03-25 17:31:07 +01:00
Drew DeVault
cdd60793d5 tests/modules: fix remaining redis => redict cases
Non-API impacting renames.

Signed-off-by: Drew DeVault <sir@cmpwn.com>
2024-03-25 12:45:47 +01:00
Drew DeVault
03d144a452 tests/modules: fix module tests
Replaces Redis => Redict API

References: https://codeberg.org/redict/redict/issues/21
Signed-off-by: Drew DeVault <sir@cmpwn.com>
2024-03-25 12:42:30 +01:00
Drew DeVault
6a70878bc1 .reuse/dep5: drop hiredict
hiredict is REUSE-compatible downstream

Signed-off-by: Drew DeVault <sir@cmpwn.com>
2024-03-25 12:25:32 +01:00
Anna (navi) Figueiredo Gomes
4a6558258e Makefile: add support to DESTDIR
Closes: #22

Signed-off-by: Anna (navi) Figueiredo Gomes <navi@vlhl.dev>
2024-03-25 11:24:24 +00:00
GreaseMonkey
9f420764b0 Add missing LGPL-3.0-or-later license text
Signed-off-by: GreaseMonkey <thematrixeatsyou+cobederg@gmail.com>
2024-03-25 13:53:26 +13:00
Drew DeVault
a8fdaa56e5 .builds: disable runtest-sentinel
See https://codeberg.org/redict/redict/issues/21

Signed-off-by: Drew DeVault <sir@cmpwn.com>
2024-03-24 17:05:55 +01:00
Drew DeVault
b8b5e868a3 utils: s/redis/redict/
Signed-off-by: Drew DeVault <sir@cmpwn.com>
2024-03-24 15:58:52 +01:00
Drew DeVault
a7c55c25c7 .builds: run cluster, sentinel tests on CI
Signed-off-by: Drew DeVault <sir@cmpwn.com>
2024-03-24 15:58:39 +01:00
Drew DeVault
b27a9862d1 all: another pass on Redis references in src/*
This is *nearly* all of them in src/*.

Signed-off-by: Drew DeVault <sir@cmpwn.com>
2024-03-23 16:04:30 +01:00
Drew DeVault
de1c901886 Merge pull request 'Replace vendored hiredis with hiredict' (#16) from hiredict into unstable
Reviewed-on: https://codeberg.org/redict/redict/pulls/16
2024-03-23 14:59:45 +00:00
Drew DeVault
c39394cd81 deps: drop vendored hiredis 2024-03-23 15:19:52 +01:00
Drew DeVault
a589ae5f76 all: replace hiredis with hiredict
Signed-off-by: Drew DeVault <sir@cmpwn.com>
2024-03-23 15:19:52 +01:00
Drew DeVault
cf8c5a2b83 Squashed 'deps/hiredict/' content from commit 7bce77ae6
git-subtree-dir: deps/hiredict
git-subtree-split: 7bce77ae6a6d50cdb09d4aa622b84875f8ae2d3f
2024-03-23 15:19:45 +01:00
Drew DeVault
8e71e44163 Merge commit 'cf8c5a2b8335bc73a2c58b499b8e6aa4e25d5c21' as 'deps/hiredict' 2024-03-23 15:19:45 +01:00
Drew DeVault
87e1e608cc Add .editorconfig
Signed-off-by: Drew DeVault <sir@cmpwn.com>
Fixes: https://codeberg.org/redict/redict/issues/17
2024-03-23 13:44:50 +01:00
Drew DeVault
5cde2dd76b deps/README.md: s/Redis/Redict/
Signed-off-by: Drew DeVault <sir@cmpwn.com>
2024-03-23 11:44:21 +01:00
Drew DeVault
2ab9de5307 Update ASCII art logo
Signed-off-by: Drew DeVault <sir@cmpwn.com>
2024-03-23 11:06:32 +01:00
Drew DeVault
0823d20cac README.md: remove todo list in favor of open issues
Signed-off-by: Drew DeVault <sir@cmpwn.com>
2024-03-22 19:26:44 +01:00
Drew DeVault
0bf9581a38 Consolodate README.md and redict.io
Signed-off-by: Drew DeVault <sir@cmpwn.com>
2024-03-22 19:07:33 +01:00
Drew DeVault
c8b1c0badc Add ABI compatibility with Redis Modules
Signed-off-by: Drew DeVault <sir@cmpwn.com>
2024-03-22 18:53:37 +01:00
Haelwenn (lanodan) Monnier
580ce87f6a .builds/alpine.yml: Add source entry 2024-03-22 17:16:42 +00:00