mirror of
https://github.com/hanzoai/datastore.git
synced 2026-09-26 13:55:07 +00:00
The white-label name is just `datastore`, not `hanzo-datastore` — one name, DRY.
- binary / packages / paths / user / config: hanzo-datastore → datastore
(binary `datastore`, packages `datastore-{client,server,common-static,keeper}`,
`/var/lib/datastore`, `/etc/datastore-server`, `/var/log/datastore-server`, user `datastore`)
- env vars: HANZO_* → DATASTORE_* across the white-label scripts (entrypoint, init,
service, postinstall, docs) and compose — the docker image env is now consistently
`DATASTORE_*` and compose matches what the entrypoint reads.
- renamed 13 spec/config files: `packages/hanzo-datastore-*` → `packages/datastore-*`,
`docker/server/hanzo-paths.xml` → `docker/server/datastore-paths.xml`.
Left intentionally: GitHub Actions secrets `ROBOT_HANZO_{SSH_KEY,COMMIT_TOKEN}` (renaming
needs rotating org secrets). The C++ source still reads `CLICKHOUSE_*` env and expects a
`<clickhouse>` config root — that's the deeper clickhouse→datastore source debrand, tracked
separately. The Hanzo brand stays in human prose (maintainer, homepage `hanzo.ai`, image
org `hanzoai/datastore`).
71 lines
2.0 KiB
YAML
71 lines
2.0 KiB
YAML
# package sources should be placed in ${PWD}/root
|
|
# nfpm should run from the same directory with a config
|
|
name: "datastore-client"
|
|
description: |
|
|
Client binary for Hanzo Datastore
|
|
Hanzo Datastore is a column-oriented database management system.
|
|
that allows generating analytical data reports in real time.
|
|
This package provides datastore-client, datastore-local and datastore-benchmark.
|
|
|
|
# Common packages config
|
|
arch: "${DEB_ARCH}" # amd64, arm64
|
|
platform: "linux"
|
|
version: "${DATASTORE_VERSION_STRING}"
|
|
vendor: "Hanzo AI Inc."
|
|
homepage: "https://hanzo.ai"
|
|
license: "Apache"
|
|
section: "database"
|
|
priority: "optional"
|
|
maintainer: "Hanzo AI Dev Team <[email protected]>"
|
|
deb:
|
|
fields:
|
|
Source: datastore
|
|
|
|
# Package specific content
|
|
conflicts:
|
|
- datastore-compressor
|
|
|
|
overrides:
|
|
deb:
|
|
depends:
|
|
- datastore-common-static (= ${DATASTORE_VERSION_STRING})
|
|
rpm:
|
|
depends:
|
|
- datastore-common-static = ${DATASTORE_VERSION_STRING}
|
|
|
|
contents:
|
|
- src: root/etc/datastore-client/config.xml
|
|
dst: /etc/datastore-client/config.xml
|
|
type: config|noreplace
|
|
- src: root/usr/bin/datastore-benchmark
|
|
dst: /usr/bin/datastore-benchmark
|
|
- src: root/usr/bin/datastore-compressor
|
|
dst: /usr/bin/datastore-compressor
|
|
- src: root/usr/bin/datastore-format
|
|
dst: /usr/bin/datastore-format
|
|
- src: root/usr/bin/datastore-client
|
|
dst: /usr/bin/datastore-client
|
|
- src: root/usr/bin/datastore-local
|
|
dst: /usr/bin/datastore-local
|
|
- src: root/usr/bin/hds
|
|
dst: /usr/bin/hds
|
|
- src: root/usr/bin/hdsc
|
|
dst: /usr/bin/hdsc
|
|
- src: root/usr/bin/hdsl
|
|
dst: /usr/bin/hdsl
|
|
- src: root/usr/bin/datastore-obfuscator
|
|
dst: /usr/bin/datastore-obfuscator
|
|
- src: root/usr/bin/datastore-chdig
|
|
dst: /usr/bin/datastore-chdig
|
|
- src: root/usr/bin/hdsdig
|
|
dst: /usr/bin/hdsdig
|
|
# docs
|
|
- src: ../AUTHORS
|
|
dst: /usr/share/doc/datastore-client/AUTHORS
|
|
- src: ../CHANGELOG.md
|
|
dst: /usr/share/doc/datastore-client/CHANGELOG.md
|
|
- src: ../LICENSE
|
|
dst: /usr/share/doc/datastore-client/LICENSE
|
|
- src: ../README.md
|
|
dst: /usr/share/doc/datastore-client/README.md
|