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`).
56 lines
1.4 KiB
YAML
56 lines
1.4 KiB
YAML
# package sources should be placed in ${PWD}/root
|
|
# nfpm should run from the same directory with a config
|
|
name: "datastore-keeper"
|
|
description: |
|
|
Static datastore-keeper binary
|
|
A stand-alone datastore-keeper package
|
|
|
|
|
|
#
|
|
# 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-server
|
|
suggests:
|
|
- datastore-keeper-dbg
|
|
|
|
contents:
|
|
- src: root/etc/datastore-keeper/keeper_config.xml
|
|
dst: /etc/datastore-keeper/keeper_config.xml
|
|
type: config|noreplace
|
|
- src: datastore-keeper.service
|
|
dst: /lib/systemd/system/datastore-keeper.service
|
|
- src: root/usr/bin/datastore-keeper
|
|
dst: /usr/bin/datastore-keeper
|
|
- src: datastore-keeper
|
|
dst: /usr/bin/datastore-keeper-client
|
|
type: symlink
|
|
- src: datastore-keeper
|
|
dst: /usr/bin/datastore-keeper-converter
|
|
type: symlink
|
|
# docs
|
|
- src: ../AUTHORS
|
|
dst: /usr/share/doc/datastore-keeper/AUTHORS
|
|
- src: ../CHANGELOG.md
|
|
dst: /usr/share/doc/datastore-keeper/CHANGELOG.md
|
|
- src: ../LICENSE
|
|
dst: /usr/share/doc/datastore-keeper/LICENSE
|
|
- src: ../README.md
|
|
dst: /usr/share/doc/datastore-keeper/README.md
|
|
|
|
scripts:
|
|
postinstall: ./datastore-keeper.postinstall
|