]> git.ipfire.org Git - thirdparty/haproxy.git/commitdiff
CONTRIB: move contrib/opentracing to addons/ot
authorWilly Tarreau <w@1wt.eu>
Fri, 2 Apr 2021 15:16:46 +0000 (17:16 +0200)
committerWilly Tarreau <w@1wt.eu>
Fri, 2 Apr 2021 15:48:42 +0000 (17:48 +0200)
This one is the last optional module to build with haproxy, so let's move
it to addons/. It was renamed to "ot" as it was the only one whose USE_*
option did not match the directory name, now this is consistent.

Few changes were required, only the Makefile, and doc were adjusted, as
the directory was already self-contained and relocatable.

78 files changed:
Makefile
addons/ot/AUTHORS [moved from contrib/opentracing/AUTHORS with 100% similarity]
addons/ot/MAINTAINERS [moved from contrib/opentracing/MAINTAINERS with 100% similarity]
addons/ot/Makefile [moved from contrib/opentracing/Makefile with 69% similarity]
addons/ot/README [moved from contrib/opentracing/README with 100% similarity]
addons/ot/README-func [moved from contrib/opentracing/README-func with 100% similarity]
addons/ot/README-pool [moved from contrib/opentracing/README-pool with 100% similarity]
addons/ot/include/cli.h [moved from contrib/opentracing/include/cli.h with 100% similarity]
addons/ot/include/conf.h [moved from contrib/opentracing/include/conf.h with 100% similarity]
addons/ot/include/config.h [moved from contrib/opentracing/include/config.h with 100% similarity]
addons/ot/include/debug.h [moved from contrib/opentracing/include/debug.h with 100% similarity]
addons/ot/include/define.h [moved from contrib/opentracing/include/define.h with 100% similarity]
addons/ot/include/event.h [moved from contrib/opentracing/include/event.h with 100% similarity]
addons/ot/include/filter.h [moved from contrib/opentracing/include/filter.h with 100% similarity]
addons/ot/include/group.h [moved from contrib/opentracing/include/group.h with 100% similarity]
addons/ot/include/http.h [moved from contrib/opentracing/include/http.h with 100% similarity]
addons/ot/include/include.h [moved from contrib/opentracing/include/include.h with 100% similarity]
addons/ot/include/opentracing.h [moved from contrib/opentracing/include/opentracing.h with 100% similarity]
addons/ot/include/parser.h [moved from contrib/opentracing/include/parser.h with 100% similarity]
addons/ot/include/pool.h [moved from contrib/opentracing/include/pool.h with 100% similarity]
addons/ot/include/scope.h [moved from contrib/opentracing/include/scope.h with 100% similarity]
addons/ot/include/util.h [moved from contrib/opentracing/include/util.h with 100% similarity]
addons/ot/include/vars.h [moved from contrib/opentracing/include/vars.h with 100% similarity]
addons/ot/src/cli.c [moved from contrib/opentracing/src/cli.c with 100% similarity]
addons/ot/src/conf.c [moved from contrib/opentracing/src/conf.c with 100% similarity]
addons/ot/src/event.c [moved from contrib/opentracing/src/event.c with 100% similarity]
addons/ot/src/filter.c [moved from contrib/opentracing/src/filter.c with 100% similarity]
addons/ot/src/group.c [moved from contrib/opentracing/src/group.c with 100% similarity]
addons/ot/src/http.c [moved from contrib/opentracing/src/http.c with 100% similarity]
addons/ot/src/opentracing.c [moved from contrib/opentracing/src/opentracing.c with 100% similarity]
addons/ot/src/parser.c [moved from contrib/opentracing/src/parser.c with 100% similarity]
addons/ot/src/pool.c [moved from contrib/opentracing/src/pool.c with 100% similarity]
addons/ot/src/scope.c [moved from contrib/opentracing/src/scope.c with 100% similarity]
addons/ot/src/util.c [moved from contrib/opentracing/src/util.c with 100% similarity]
addons/ot/src/vars.c [moved from contrib/opentracing/src/vars.c with 100% similarity]
addons/ot/test/README-speed-cmp [moved from contrib/opentracing/test/README-speed-cmp with 100% similarity]
addons/ot/test/README-speed-ctx [moved from contrib/opentracing/test/README-speed-ctx with 100% similarity]
addons/ot/test/README-speed-fe-be [moved from contrib/opentracing/test/README-speed-fe-be with 100% similarity]
addons/ot/test/README-speed-sa [moved from contrib/opentracing/test/README-speed-sa with 100% similarity]
addons/ot/test/be/cfg-dd.json [moved from contrib/opentracing/test/be/cfg-dd.json with 100% similarity]
addons/ot/test/be/cfg-jaeger.yml [moved from contrib/opentracing/test/be/cfg-jaeger.yml with 100% similarity]
addons/ot/test/be/cfg-zipkin.json [moved from contrib/opentracing/test/be/cfg-zipkin.json with 100% similarity]
addons/ot/test/be/haproxy.cfg [moved from contrib/opentracing/test/be/haproxy.cfg with 100% similarity]
addons/ot/test/be/ot.cfg [moved from contrib/opentracing/test/be/ot.cfg with 100% similarity]
addons/ot/test/cmp/cfg-dd.json [moved from contrib/opentracing/test/cmp/cfg-dd.json with 100% similarity]
addons/ot/test/cmp/cfg-jaeger.yml [moved from contrib/opentracing/test/cmp/cfg-jaeger.yml with 100% similarity]
addons/ot/test/cmp/cfg-zipkin.json [moved from contrib/opentracing/test/cmp/cfg-zipkin.json with 100% similarity]
addons/ot/test/cmp/haproxy.cfg [moved from contrib/opentracing/test/cmp/haproxy.cfg with 100% similarity]
addons/ot/test/cmp/ot.cfg [moved from contrib/opentracing/test/cmp/ot.cfg with 100% similarity]
addons/ot/test/ctx/cfg-dd.json [moved from contrib/opentracing/test/ctx/cfg-dd.json with 100% similarity]
addons/ot/test/ctx/cfg-jaeger.yml [moved from contrib/opentracing/test/ctx/cfg-jaeger.yml with 100% similarity]
addons/ot/test/ctx/cfg-zipkin.json [moved from contrib/opentracing/test/ctx/cfg-zipkin.json with 100% similarity]
addons/ot/test/ctx/haproxy.cfg [moved from contrib/opentracing/test/ctx/haproxy.cfg with 100% similarity]
addons/ot/test/ctx/ot.cfg [moved from contrib/opentracing/test/ctx/ot.cfg with 100% similarity]
addons/ot/test/empty/cfg-dd.json [moved from contrib/opentracing/test/empty/cfg-dd.json with 100% similarity]
addons/ot/test/empty/cfg-jaeger.yml [moved from contrib/opentracing/test/empty/cfg-jaeger.yml with 100% similarity]
addons/ot/test/empty/cfg-zipkin.json [moved from contrib/opentracing/test/empty/cfg-zipkin.json with 100% similarity]
addons/ot/test/empty/haproxy.cfg [moved from contrib/opentracing/test/empty/haproxy.cfg with 100% similarity]
addons/ot/test/empty/ot.cfg [moved from contrib/opentracing/test/empty/ot.cfg with 100% similarity]
addons/ot/test/fe/cfg-dd.json [moved from contrib/opentracing/test/fe/cfg-dd.json with 100% similarity]
addons/ot/test/fe/cfg-jaeger.yml [moved from contrib/opentracing/test/fe/cfg-jaeger.yml with 100% similarity]
addons/ot/test/fe/cfg-zipkin.json [moved from contrib/opentracing/test/fe/cfg-zipkin.json with 100% similarity]
addons/ot/test/fe/haproxy.cfg [moved from contrib/opentracing/test/fe/haproxy.cfg with 100% similarity]
addons/ot/test/fe/ot.cfg [moved from contrib/opentracing/test/fe/ot.cfg with 100% similarity]
addons/ot/test/func-stat.sh [moved from contrib/opentracing/test/func-stat.sh with 100% similarity]
addons/ot/test/get-opentracing-plugins.sh [moved from contrib/opentracing/test/get-opentracing-plugins.sh with 100% similarity]
addons/ot/test/index.html [moved from contrib/opentracing/test/index.html with 100% similarity]
addons/ot/test/run-cmp.sh [moved from contrib/opentracing/test/run-cmp.sh with 100% similarity]
addons/ot/test/run-ctx.sh [moved from contrib/opentracing/test/run-ctx.sh with 100% similarity]
addons/ot/test/run-fe-be.sh [moved from contrib/opentracing/test/run-fe-be.sh with 100% similarity]
addons/ot/test/run-sa.sh [moved from contrib/opentracing/test/run-sa.sh with 100% similarity]
addons/ot/test/sa/cfg-dd.json [moved from contrib/opentracing/test/sa/cfg-dd.json with 100% similarity]
addons/ot/test/sa/cfg-jaeger.yml [moved from contrib/opentracing/test/sa/cfg-jaeger.yml with 100% similarity]
addons/ot/test/sa/cfg-zipkin.json [moved from contrib/opentracing/test/sa/cfg-zipkin.json with 100% similarity]
addons/ot/test/sa/haproxy.cfg [moved from contrib/opentracing/test/sa/haproxy.cfg with 100% similarity]
addons/ot/test/sa/ot.cfg [moved from contrib/opentracing/test/sa/ot.cfg with 100% similarity]
addons/ot/test/test-speed.sh [moved from contrib/opentracing/test/test-speed.sh with 100% similarity]
doc/configuration.txt

index 46adef09a57eda36cb389209e866ba3956d28fb5..9b22fe4becdfb46ecde89e33e4fcafb8a43035cc 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -781,7 +781,7 @@ OPTIONS_OBJS  += src/namespace.o
 endif
 
 ifneq ($(USE_OT),)
-include contrib/opentracing/Makefile
+include addons/ot/Makefile
 endif
 
 #### Global link options
@@ -1006,6 +1006,7 @@ clean:
        $(Q)rm -f addons/promex/*.[oas]
        $(Q)rm -f addons/51degrees/*.[oas] addons/51degrees/dummy/*.[oas] addons/51degrees/dummy/*/*.[oas]
        $(Q)rm -f addons/deviceatlas/*.[oas] addons/deviceatlas/dummy/*.[oas]
+       $(Q)rm -f addons/ot/src/*.[oas]
        $(Q)rm -f addons/wurfl/*.[oas] addons/wurfl/dummy/*.[oas]
        $(Q)rm -f admin/iprange/iprange admin/iprange/ip6range admin/halog/halog
        $(Q)rm -f dev/flags/flags dev/poll/poll dev/tcploop/tcploop
similarity index 69%
rename from contrib/opentracing/Makefile
rename to addons/ot/Makefile
index 065f6f4a39b74a9de45990bc6d0c0c5eb0de33dc..9d9b1bfeeba18d9e6c86f729d08037b2a83013b7 100644 (file)
@@ -43,19 +43,19 @@ $(error OpenTracing C wrapper : can't find library)
 endif
 
 OPTIONS_OBJS += \
-       contrib/opentracing/src/cli.o         \
-       contrib/opentracing/src/conf.o        \
-       contrib/opentracing/src/event.o       \
-       contrib/opentracing/src/filter.o      \
-       contrib/opentracing/src/group.o       \
-       contrib/opentracing/src/http.o        \
-       contrib/opentracing/src/opentracing.o \
-       contrib/opentracing/src/parser.o      \
-       contrib/opentracing/src/pool.o        \
-       contrib/opentracing/src/scope.o       \
-       contrib/opentracing/src/util.o        \
-       contrib/opentracing/src/vars.o
-
-OPTIONS_CFLAGS  += $(OT_CFLAGS) -Icontrib/opentracing/include
+       addons/ot/src/cli.o         \
+       addons/ot/src/conf.o        \
+       addons/ot/src/event.o       \
+       addons/ot/src/filter.o      \
+       addons/ot/src/group.o       \
+       addons/ot/src/http.o        \
+       addons/ot/src/opentracing.o \
+       addons/ot/src/parser.o      \
+       addons/ot/src/pool.o        \
+       addons/ot/src/scope.o       \
+       addons/ot/src/util.o        \
+       addons/ot/src/vars.o
+
+OPTIONS_CFLAGS  += $(OT_CFLAGS) -Iaddons/ot/include
 OPTIONS_LDFLAGS += $(OT_LDFLAGS)
 OPTIONS_CFLAGS  += $(OT_DEFINE)
similarity index 100%
rename from contrib/opentracing/README
rename to addons/ot/README
index 565582ccb1b287c8314f322d34b9623ef7d5187e..edf7c54af27498349318f946200ff161dcc1c91c 100644 (file)
@@ -21218,7 +21218,7 @@ filter opentracing [id <id>] config <file>
                 filter must have its own scope defined.
 
 More detailed documentation related to the operation, configuration and use
-of the filter can be found in the contrib/opentracing directory.
+of the filter can be found in the addons/ot directory.
 
 
 10. FastCGI applications