halkyon/.dockerignore

47 lines
1.5 KiB
Text
Raw Permalink Normal View History

# The Docker build context is the repository root. Nothing secret, local or bulky
# goes into it: Learn's server's and curator's Dockerfiles copy their whole package
# folders (and the server every package it resolves, which test/deploy/images_test.dart
# holds to its pubspecs, so none of them may be left out here).
# Secrets and local state
**/config/passwords.yaml
2026-10-09 12:15:16 +02:00
# Dictionary files: tens of megabytes, mounted on an instance, never built in
refactor!: packages, paths and app IDs under Halkyon Days' names (ADR 0045, step 3) Learn's folder is apps/halkyon, Todo's apps/myrmex; every package of ours takes the prefix halkyone_ (halkyone_halkyon_*, halkyone_myrmex_*, halkyone_train_*, halkyone_meditate_*, halkyone_app, halkyone_base_* and the other shared ones; halkyon_oidc_* keeps its name, D11). Halkyon and Myrmex take the app IDs one.halky.halkyon and one.halky.myrmex (D10); Train and Meditate keep theirs, while every app's Android namespace, Kotlin package and method channels move to one.halky. The snaps are halkyon and myrmex (D17), each built in a clone with its recipe in place of snap/, as Train's and Todo's were. Serverpod finds a database's migrations by its module's name, which changed with the packages': - each server's new, empty migration ("rename") records itself under the new names and deletes the rows under the old ones; - deploy/redeploy.sh copies each database's record to the new name before the migrations (carry_module), so the renamed servers find their databases migrated; a copy, never a move, so a deploy failing before the migration commits leaves the old rows in place; - Train and Meditate keep their devices' databases: halkyone_app's carryMigrationRecord copies their record before the sync engine opens them (openPersonDatabase); - the client migrations' generated moduleName getters, one line each, say the new names: Serverpod's client asserts in debug builds that every migration names the module, and create-migration never writes a migration's files again. Train's WorkManager work is enqueued under new names, the former ones cancelled: the work kept names the workers' former classes. The release tool: an app's tags of its earlier names count as its history (legacyTagPrefixes), the shared packages' former paths count for its version, and every snap is built in a clone (atRoot gone). The databases, Docker images and Compose project keep their names until step 5. BREAKING CHANGE: Halkyon (Learn) and Myrmex (Todo) are new apps to Android and the Snap Store: installs of app.halkyon.learn and app.halkyon.todo don't update to them. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Signed-off-by: Tizian 「ティツィアーン」 <raisondetredev@pm.me>
2026-11-12 23:21:45 +01:00
apps/halkyon/halkyone_halkyon_server/dictionaries/
2026-10-09 12:15:16 +02:00
deploy/dictionaries/
# BRouter's segments, the map's tiles, Photon's database: gigabytes, mounted on an
# instance, never built in
deploy/brouter/segments/
deploy/maps/tiles/
deploy/photon/data/
# Published studysets' repositories of a development server
refactor!: packages, paths and app IDs under Halkyon Days' names (ADR 0045, step 3) Learn's folder is apps/halkyon, Todo's apps/myrmex; every package of ours takes the prefix halkyone_ (halkyone_halkyon_*, halkyone_myrmex_*, halkyone_train_*, halkyone_meditate_*, halkyone_app, halkyone_base_* and the other shared ones; halkyon_oidc_* keeps its name, D11). Halkyon and Myrmex take the app IDs one.halky.halkyon and one.halky.myrmex (D10); Train and Meditate keep theirs, while every app's Android namespace, Kotlin package and method channels move to one.halky. The snaps are halkyon and myrmex (D17), each built in a clone with its recipe in place of snap/, as Train's and Todo's were. Serverpod finds a database's migrations by its module's name, which changed with the packages': - each server's new, empty migration ("rename") records itself under the new names and deletes the rows under the old ones; - deploy/redeploy.sh copies each database's record to the new name before the migrations (carry_module), so the renamed servers find their databases migrated; a copy, never a move, so a deploy failing before the migration commits leaves the old rows in place; - Train and Meditate keep their devices' databases: halkyone_app's carryMigrationRecord copies their record before the sync engine opens them (openPersonDatabase); - the client migrations' generated moduleName getters, one line each, say the new names: Serverpod's client asserts in debug builds that every migration names the module, and create-migration never writes a migration's files again. Train's WorkManager work is enqueued under new names, the former ones cancelled: the work kept names the workers' former classes. The release tool: an app's tags of its earlier names count as its history (legacyTagPrefixes), the shared packages' former paths count for its version, and every snap is built in a clone (atRoot gone). The databases, Docker images and Compose project keep their names until step 5. BREAKING CHANGE: Halkyon (Learn) and Myrmex (Todo) are new apps to Android and the Snap Store: installs of app.halkyon.learn and app.halkyon.todo don't update to them. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Signed-off-by: Tizian 「ティツィアーン」 <raisondetredev@pm.me>
2026-11-12 23:21:45 +01:00
apps/halkyon/halkyone_halkyon_server/repositories/
apps/halkyon/halkyone_halkyon_server/.serverpod/
deploy/.env
**/*.log
# Tooling and build output
.git/
**/.dart_tool/
**/build/
.vscode/
.claude/
# Not needed to build the server or the curator
refactor!: packages, paths and app IDs under Halkyon Days' names (ADR 0045, step 3) Learn's folder is apps/halkyon, Todo's apps/myrmex; every package of ours takes the prefix halkyone_ (halkyone_halkyon_*, halkyone_myrmex_*, halkyone_train_*, halkyone_meditate_*, halkyone_app, halkyone_base_* and the other shared ones; halkyon_oidc_* keeps its name, D11). Halkyon and Myrmex take the app IDs one.halky.halkyon and one.halky.myrmex (D10); Train and Meditate keep theirs, while every app's Android namespace, Kotlin package and method channels move to one.halky. The snaps are halkyon and myrmex (D17), each built in a clone with its recipe in place of snap/, as Train's and Todo's were. Serverpod finds a database's migrations by its module's name, which changed with the packages': - each server's new, empty migration ("rename") records itself under the new names and deletes the rows under the old ones; - deploy/redeploy.sh copies each database's record to the new name before the migrations (carry_module), so the renamed servers find their databases migrated; a copy, never a move, so a deploy failing before the migration commits leaves the old rows in place; - Train and Meditate keep their devices' databases: halkyone_app's carryMigrationRecord copies their record before the sync engine opens them (openPersonDatabase); - the client migrations' generated moduleName getters, one line each, say the new names: Serverpod's client asserts in debug builds that every migration names the module, and create-migration never writes a migration's files again. Train's WorkManager work is enqueued under new names, the former ones cancelled: the work kept names the workers' former classes. The release tool: an app's tags of its earlier names count as its history (legacyTagPrefixes), the shared packages' former paths count for its version, and every snap is built in a clone (atRoot gone). The databases, Docker images and Compose project keep their names until step 5. BREAKING CHANGE: Halkyon (Learn) and Myrmex (Todo) are new apps to Android and the Snap Store: installs of app.halkyon.learn and app.halkyon.todo don't update to them. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Signed-off-by: Tizian 「ティツィアーン」 <raisondetredev@pm.me>
2026-11-12 23:21:45 +01:00
apps/halkyon/halkyone_halkyon_flutter/
apps/halkyon/halkyone_halkyon_client/
apps/halkyon/tool/
apps/myrmex/halkyone_myrmex_flutter/
apps/myrmex/halkyone_myrmex_client/
apps/myrmex/halkyone_myrmex_server/.serverpod/
apps/train/halkyone_train_flutter/
apps/train/halkyone_train_client/
apps/train/halkyone_train_server/.serverpod/
packages/halkyone_app/
packages/halkyone_editor/
packages/halkyone_interop/
packages/halkyone_keys/
packages/halkyone_ui/
docs/
snap/
NEXT.md
SHARED-PACKAGES.md