mirror of
https://github.com/hanzoai/gateway.git
synced 2026-10-30 15:04:44 +00:00
- SECURITY.md: remove KrakenD name and upstream contact - mirror-images.yml: rename target from 'krakend' to 'gateway-upstream' - builder/scripts: rebrand service username from 'krakend' to 'gateway' - deps.sh: rename temp file from krakend_ce_deps to gateway_deps - router_engine.go: update comments from 'KrakenD' to 'gateway' - tests/fixtures/bench.json: use canonical alias 'telemetry/logging' Go import paths and go.mod dependencies left intact (build-breaking). Test fixture headers (X-Krakend-Completed, User-Agent) left intact (emitted by upstream library at runtime, changing would break tests). Config $schema URLs left intact (functional JSON Schema validation).
16 lines
289 B
Bash
Executable File
16 lines
289 B
Bash
Executable File
#!/bin/bash
|
|
|
|
FILE=/tmp/gateway_deps.txt
|
|
|
|
go list -m -u all > "$FILE"
|
|
|
|
OUTPUT=$(grep -r "\[" "$FILE" | grep krakend | sed 's/\[//g' | sed 's/\]//g' | awk '{print "go get", $1"@"$3 }')
|
|
|
|
if [ "$OUTPUT" != "" ]; then
|
|
echo "$OUTPUT"
|
|
echo "go mod tidy"
|
|
exit 1
|
|
fi
|
|
|
|
echo "all deps up to date."
|