Fine-tune datadog_trace support (#591)
parent
240d0652d0
commit
118447fb5b
|
@ -9,7 +9,7 @@ calendar 5.5 5.6 7.0 7.1 7.2 7.3 7.4 8.0 8.1 8.2
|
||||||
cmark 7.0 7.1 7.2 7.3 7.4
|
cmark 7.0 7.1 7.2 7.3 7.4
|
||||||
csv 7.3 7.4 8.0 8.1 8.2
|
csv 7.3 7.4 8.0 8.1 8.2
|
||||||
dba 5.5 5.6 7.0 7.1 7.2 7.3 7.4 8.0 8.1 8.2
|
dba 5.5 5.6 7.0 7.1 7.2 7.3 7.4 8.0 8.1 8.2
|
||||||
ddtrace 7.0 7.1 7.2 7.3 7.4 8.0 8.1
|
ddtrace 5.6 7.0 7.1 7.2 7.3 7.4 8.0 8.1 8.2
|
||||||
decimal 7.0 7.1 7.2 7.3 7.4 8.0 8.1 8.2
|
decimal 7.0 7.1 7.2 7.3 7.4 8.0 8.1 8.2
|
||||||
ds 7.0 7.1 7.2 7.3 7.4 8.0 8.1 8.2
|
ds 7.0 7.1 7.2 7.3 7.4 8.0 8.1 8.2
|
||||||
enchant 5.5 5.6 7.0 7.1 7.2 7.3 7.4 8.0 8.1 8.2
|
enchant 5.5 5.6 7.0 7.1 7.2 7.3 7.4 8.0 8.1 8.2
|
||||||
|
|
|
@ -130,6 +130,9 @@ normalizePHPModuleName() {
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
case "$normalizePHPModuleName_name" in
|
case "$normalizePHPModuleName_name" in
|
||||||
|
datadog_trace)
|
||||||
|
normalizePHPModuleName_name=ddtrace
|
||||||
|
;;
|
||||||
ioncube | ioncube\ loader)
|
ioncube | ioncube\ loader)
|
||||||
normalizePHPModuleName_name='ioncube_loader'
|
normalizePHPModuleName_name='ioncube_loader'
|
||||||
;;
|
;;
|
||||||
|
@ -646,8 +649,7 @@ buildRequiredPackageLists() {
|
||||||
buildRequiredPackageLists_volatile="$buildRequiredPackageLists_volatile cmake"
|
buildRequiredPackageLists_volatile="$buildRequiredPackageLists_volatile cmake"
|
||||||
;;
|
;;
|
||||||
ddtrace@alpine)
|
ddtrace@alpine)
|
||||||
buildRequiredPackageLists_persistent="$buildRequiredPackageLists_persistent curl"
|
buildRequiredPackageLists_volatile="$buildRequiredPackageLists_volatile curl-dev"
|
||||||
buildRequiredPackageLists_volatile="$buildRequiredPackageLists_volatile curl curl-dev"
|
|
||||||
;;
|
;;
|
||||||
ddtrace@debian)
|
ddtrace@debian)
|
||||||
buildRequiredPackageLists_persistent="$buildRequiredPackageLists_persistent curl"
|
buildRequiredPackageLists_persistent="$buildRequiredPackageLists_persistent curl"
|
||||||
|
|
|
@ -23,15 +23,21 @@ SUPPORTED_EXTENSIONS=''
|
||||||
resetIFS
|
resetIFS
|
||||||
for EXTENSION in $EXTENSIONS_LIST; do
|
for EXTENSION in $EXTENSIONS_LIST; do
|
||||||
printf 'Checking extension "%s"... ' "$EXTENSION" >&2
|
printf 'Checking extension "%s"... ' "$EXTENSION" >&2
|
||||||
|
NORMALIZED_EXTENSION="$EXTENSION"
|
||||||
case "$EXTENSION" in
|
case "$EXTENSION" in
|
||||||
|
datadog_trace)
|
||||||
|
NORMALIZED_EXTENSION=ddtrace
|
||||||
|
;;
|
||||||
pecl_http)
|
pecl_http)
|
||||||
EXTENSION=http
|
NORMALIZED_EXTENSION=http
|
||||||
printf '(using %s) ' "$EXTENSION" >&2
|
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
if printf '%s' "$ALL_SUPPORTED_EXTENSIONS" | grep -q "^$EXTENSION\s"; then
|
if test "$NORMALIZED_EXTENSION" != "$EXTENSION"; then
|
||||||
|
printf '(using %s) ' "$NORMALIZED_EXTENSION" >&2
|
||||||
|
fi
|
||||||
|
if printf '%s' "$ALL_SUPPORTED_EXTENSIONS" | grep -q "^$NORMALIZED_EXTENSION\s"; then
|
||||||
printf 'supported.\n' >&2
|
printf 'supported.\n' >&2
|
||||||
SUPPORTED_EXTENSIONS="$SUPPORTED_EXTENSIONS $EXTENSION"
|
SUPPORTED_EXTENSIONS="$SUPPORTED_EXTENSIONS $NORMALIZED_EXTENSION"
|
||||||
else
|
else
|
||||||
printf 'NOT supported.\n' >&2
|
printf 'NOT supported.\n' >&2
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Reference in New Issue