hiredis: remove runtime dependency on redis
PATCH 1/1 hiredis: remove runtime dependency on redis
Now hiredis can be used not only with Redis, but also with Valkey, an open source key/value datastore that is fully compatible with Redis. As Redis changed its license, many users have switched to Valkey. Therefore remove this specified runtime dependency.
--- meta-oe/recipes-extended/hiredis/hiredis_1.2.0.bb | 1 - 1 file changed, 1 deletion(-)
meta-oe/recipes-extended/hiredis/hiredis_1.2.0.bb +0 -1
@@ -35,5 +35,4 @@ do_install_ptest() { FILES:${PN}-dev += "${datadir}/hiredis_ssl ${prefix}/build" -RDEPENDS:${PN} = "redis" RDEPENDS:${PN}-ptest = "${@bb.utils.contains('PACKAGECONFIG', 'testssl', 'openssl-bin', '', d)}"
Signature · 1 line
2.34.1
Quoted 15 lines · Yi Zhao via lists.openembedded.org
Now hiredis can be used not only with Redis, but also with Valkey, an open source key/value datastore that is fully compatible with Redis. As Redis changed its license, many users have switched to Valkey. Therefore remove this specified runtime dependency.
Signed-off-by Yi Zhao <[email protected]>--- meta-oe/recipes-extended/hiredis/hiredis_1.2.0.bb | 1 - 1 file changed, 1 deletion(-)meta-oe/recipes-extended/hiredis/hiredis_1.2.0.bb +0
-0
meta-oe/recipes-extended/hiredis/hiredis_1.2.0.bb do_install_ptest() { · line 38
Quoted 5 lines
meta-oe/recipes-extended/hiredis/hiredis_1.2.0.bb +0
-1@@ -35,5 +35,4 @@ do_install_ptest() { FILES:${PN}-dev += "${datadir}/hiredis_ssl ${prefix}/build" -RDEPENDS:${PN} = "redis" RDEPENDS:${PN}-ptest = "${@bb.utils.contains('PACKAGECONFIG', 'testssl', 'openssl-bin', '', d)}"
It still depends on either valkey or redis at runtime, is it not? If yes, wouldn't it be better to set something like 'RPROVIDES = "virtual-redis"' (or something like that) in both valkey and redis recipes, and set that as RDEPENDS here?
Quoted 17 lines · Gyorgy Sarvari
Quoted 16 lines · Yi Zhao via lists.openembedded.org
Now hiredis can be used not only with Redis, but also with Valkey, an open source key/value datastore that is fully compatible with Redis. As Redis changed its license, many users have switched to Valkey. Therefore remove this specified runtime dependency.
Signed-off-by Yi Zhao <[email protected]>--- meta-oe/recipes-extended/hiredis/hiredis_1.2.0.bb | 1 - 1 file changed, 1 deletion(-)meta-oe/recipes-extended/hiredis/hiredis_1.2.0.bb +0
-0@@ -35,5 +35,4 @@ do_install_ptest() {
Quoted 8 lines
meta-oe/recipes-extended/hiredis/hiredis_1.2.0.bb do_install_ptest() { · line 38
Quoted 4 lines
meta-oe/recipes-extended/hiredis/hiredis_1.2.0.bb +0
-1FILES:${PN}-dev += "${datadir}/hiredis_ssl ${prefix}/build" -RDEPENDS:${PN} = "redis" RDEPENDS:${PN}-ptest = "${@bb.utils.contains('PACKAGECONFIG', 'testssl', 'openssl-bin', '', d)}"It still depends on either valkey or redis at runtime, is it not? If yes, wouldn't it be better to set something like 'RPROVIDES = "virtual-redis"' (or something like that) in both valkey and redis recipes, and set that as RDEPENDS here?
Thanks. I will send V2.
//Yi