refactor: rename internal Fai* design system + fai_ helpers to chain
Some checks failed
Security / Security check (push) Failing after 2s
Some checks failed
Security / Security check (push) Failing after 2s
The Studio design system, widgets and helpers carried a Fai* / fai_ prefix (FaiSpace, FaiColors, FaiTheme, FaiLog, 17 fai_*.dart files, the faiBinary* l10n keys). Studio is the Ch∆In product, so rename them to Chain* / chain_ — carefully preserving English fail/failure/failed. Also fix stale references: the 'fai' binary in l10n strings -> 'chain', FAI_* env vars (FAI_BIN/DATA_DIR/MODULES_DIR/TODAY/BOOTSTRAP_TOKEN) -> CHAIN_*, fai_platform -> fai_chain, fai_hub -> chain_hub. Vendor security-hook tooling (FAI_BANNED_TERMS_FILE) + the .fai bundle ext left. flutter analyze + test: clean (20 passed). Signed-off-by: flemming-it <stefan.a.flemming@googlemail.com>
This commit is contained in:
parent
68d23ab7dd
commit
891acd2ba2
52 changed files with 1225 additions and 1225 deletions
|
|
@ -9,7 +9,7 @@
|
|||
# Does not read the audit log without --with-audit.
|
||||
set -euo pipefail
|
||||
|
||||
SINCE="${FAI_TODAY_SINCE:-24 hours ago}"
|
||||
SINCE="${CHAIN_TODAY_SINCE:-24 hours ago}"
|
||||
|
||||
# Walk every fai-* directory next to chain_studio so the collector
|
||||
# works from any of the sibling checkouts. Adjust here if the
|
||||
|
|
@ -31,10 +31,10 @@ for repo in "$ROOT"/fai_*/; do
|
|||
done
|
||||
|
||||
emit_section "STORE INDEX SEED CHANGES"
|
||||
seed="$ROOT/fai_platform/crates/fai_hub/store-index/seed.yaml"
|
||||
if [ -f "$seed" ] && [ -d "$ROOT/fai_platform/.git" ]; then
|
||||
diff=$(git -C "$ROOT/fai_platform" log --since="$SINCE" --oneline -- \
|
||||
crates/fai_hub/store-index/seed.yaml 2>/dev/null || true)
|
||||
seed="$ROOT/fai_chain/crates/chain_hub/store-index/seed.yaml"
|
||||
if [ -f "$seed" ] && [ -d "$ROOT/fai_chain/.git" ]; then
|
||||
diff=$(git -C "$ROOT/fai_chain" log --since="$SINCE" --oneline -- \
|
||||
crates/chain_hub/store-index/seed.yaml 2>/dev/null || true)
|
||||
if [ -n "$diff" ]; then
|
||||
printf '%s\n' "$diff"
|
||||
else
|
||||
|
|
@ -43,9 +43,9 @@ if [ -f "$seed" ] && [ -d "$ROOT/fai_platform/.git" ]; then
|
|||
fi
|
||||
|
||||
emit_section "ARCHITECTURE / SYSTEM-GAPS CHANGES"
|
||||
arch_dir="$ROOT/fai_platform/docs"
|
||||
if [ -d "$arch_dir" ] && [ -d "$ROOT/fai_platform/.git" ]; then
|
||||
changes=$(git -C "$ROOT/fai_platform" log --since="$SINCE" --oneline -- \
|
||||
arch_dir="$ROOT/fai_chain/docs"
|
||||
if [ -d "$arch_dir" ] && [ -d "$ROOT/fai_chain/.git" ]; then
|
||||
changes=$(git -C "$ROOT/fai_chain" log --since="$SINCE" --oneline -- \
|
||||
docs/architecture docs/advanced 2>/dev/null || true)
|
||||
if [ -n "$changes" ]; then
|
||||
printf '%s\n' "$changes"
|
||||
|
|
@ -67,9 +67,9 @@ if [ -d "$studio/.git" ]; then
|
|||
fi
|
||||
|
||||
emit_section "AUDIT-LOG HIGHLIGHTS"
|
||||
if [ "${FAI_TODAY_WITH_AUDIT:-0}" = "1" ] && command -v fai >/dev/null 2>&1; then
|
||||
if [ "${CHAIN_TODAY_WITH_AUDIT:-0}" = "1" ] && command -v fai >/dev/null 2>&1; then
|
||||
fai audit recent --limit 20 2>/dev/null | head -40 || \
|
||||
printf '(audit query failed; daemon may be stopped)\n'
|
||||
else
|
||||
printf '(audit pull disabled — set FAI_TODAY_WITH_AUDIT=1 to opt in)\n'
|
||||
printf '(audit pull disabled — set CHAIN_TODAY_WITH_AUDIT=1 to opt in)\n'
|
||||
fi
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue