Files
Piik/scripts/check-project-state.sh
AAA 1332473513 feat: rename product and runtime to Piik
Rename the active product, Go module, binaries, configuration, protocols and documentation to Piik while retaining the TV mascot and existing media/room behavior.

Use one current private contract without old-name aliases. Preserve SQLite authority and copy compatible local settings once; other settings start fresh. Git-message cleanup and the infrastructure name cutover are coordinated with this phase, with original history and deployment data archived externally.

Validated locally with Web and Go checks, Windows capture compilation, matched Client/Server builds, packaged Client control handshake and history-rewrite integrity checks. Skip duplicate hosted CI for this owner-authorized local release.

[skip ci]
2026-09-10 11:10:12 +08:00

25 lines
617 B
Bash
Executable File

#!/bin/sh
set -eu
repo_root=$(git rev-parse --show-toplevel)
cd "$repo_root"
while IFS= read -r path || [ -n "$path" ]; do
[ -z "$path" ] && continue
if ! git ls-files --error-unmatch -- "$path" >/dev/null 2>&1; then
echo "Required project artifact is not Git-tracked: $path" >&2
exit 1
fi
done < scripts/required-project-paths.txt
git diff --check
git diff --cached --check
if [ -n "${PIIK_BASE_SHA:-}" ] && [ "$PIIK_BASE_SHA" != "0000000000000000000000000000000000000000" ]; then
git diff --check "$PIIK_BASE_SHA"...HEAD
fi
node scripts/check-docs.mjs
echo "Repository hygiene checks passed."