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`).
49 lines
1.4 KiB
YAML
49 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-common-static"
|
|
description: |
|
|
Common files for Hanzo Datastore
|
|
Hanzo Datastore is a column-oriented database management system
|
|
that allows generating analytical data reports in real time.
|
|
This package provides common files for both datastore server and client
|
|
|
|
# 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
|
|
provides:
|
|
- datastore-common
|
|
- datastore-server-base
|
|
suggests:
|
|
- datastore-common-static-dbg
|
|
|
|
contents:
|
|
- src: root/usr/bin/datastore
|
|
dst: /usr/bin/datastore
|
|
- src: root/usr/bin/datastore-extract-from-config
|
|
dst: /usr/bin/datastore-extract-from-config
|
|
- src: root/usr/share/bash-completion/completions
|
|
dst: /usr/share/bash-completion/completions
|
|
- src: root/usr/share/datastore
|
|
dst: /usr/share/datastore
|
|
# docs
|
|
- src: ../AUTHORS
|
|
dst: /usr/share/doc/datastore-common-static/AUTHORS
|
|
- src: ../CHANGELOG.md
|
|
dst: /usr/share/doc/datastore-common-static/CHANGELOG.md
|
|
- src: ../LICENSE
|
|
dst: /usr/share/doc/datastore-common-static/LICENSE
|
|
- src: ../README.md
|
|
dst: /usr/share/doc/datastore-common-static/README.md
|