mirror of
https://github.com/hanzoai/datastore.git
synced 2026-09-26 13:55:07 +00:00
Real fork of ClickHouse/ClickHouse with the Hanzo overlay applied on top of the 26.5 release lineage (parent is upstream/26.5, so future upstream syncs are clean 3-way merges). Overlay: cmd/zap-bridge (:9999 ZAP duplex), Dockerfile.hanzo + hanzoai/debian13 bases, hanzo/ config + schema, white-label hanzo-datastore branding, arcd CI, hanzo-* packaging. FOLLOW-UP: re-apply Phase-1 CMake decisions (single-binary ENABLE_DATASTORE_KEEPER=OFF; disabled external engines) + full build on hanzo-build-linux-amd64.
39 lines
721 B
Bash
Executable File
39 lines
721 B
Bash
Executable File
#!/usr/bin/env bash
|
|
set -ueo pipefail
|
|
|
|
# A script to generate README.sh close to as it done in https://github.com/docker-library/docs
|
|
|
|
WORKDIR=$(dirname "$0")
|
|
SCRIPT_NAME=$(basename "$0")
|
|
CONTENT=README.src/content.md
|
|
LICENSE=README.src/license.md
|
|
cd "$WORKDIR"
|
|
|
|
R=README.md
|
|
|
|
cat > "$R" <<EOD
|
|
<!---
|
|
The $R is generated by $SCRIPT_NAME from the following sources:
|
|
- $CONTENT
|
|
- $LICENSE
|
|
|
|
If you want to change it, edit these files
|
|
-->
|
|
|
|
EOD
|
|
|
|
cat "$CONTENT" >> "$R"
|
|
|
|
cat >> "$R" <<EOD
|
|
|
|
## License
|
|
|
|
$(cat $LICENSE)
|
|
EOD
|
|
|
|
# Remove %%LOGO%% from the file with one line below
|
|
sed -i '/^%%LOGO%%/,+1d' "$R"
|
|
|
|
# Replace each %%IMAGE%% with our `hanzoai/datastore-server`
|
|
sed -i '/%%IMAGE%%/s:%%IMAGE%%:hanzoai/datastore-server:g' $R
|