Skip to content

Add armonia workspace setup scripts — bootstrap + migration (#307) - #308

Draft
aarontrowbridge wants to merge 1 commit into
mainfrom
307-add-armonia-workspace-setup-scripts-bootstrap-+-migration
Draft

Add armonia workspace setup scripts — bootstrap + migration (#307)#308
aarontrowbridge wants to merge 1 commit into
mainfrom
307-add-armonia-workspace-setup-scripts-bootstrap-+-migration

Conversation

@aarontrowbridge

Copy link
Copy Markdown
Member

Closes #307.

Two scripts that give every user the same canonical ~/armonia/ workspace:

  • tools/bootstrap-armonia.sh — fresh-machine setup. Creates ~/armonia/{repos/{packages,demos},data/{env,problems,runs,vaults}}, wires ~/.amico symlinks, and clones repos by tier: --minimal (layout only, extension users), --standard (default: public packages + demos via plain git), --full (+ private repos via gh). Idempotent; curl-able once merged.
  • tools/migrate-to-armonia.sh — consolidates a legacy scattered layout (~/_dev/harmoniqs/, ~/harmoniqs/) into the canonical tree. Routes Julia packages to repos/packages/, demos to repos/demos/, everything else flat; moves ~/.amico/{julia,problems,runs,vaults} into data/ with symlinks. Bucket-converging on re-run — re-running heals a flat repos/ into the buckets.

Both verified idempotent on a migrated machine.

- tools/bootstrap-armonia.sh: fresh-machine canonical layout with clone
  tiers (--minimal|--standard|--full), curl-able, idempotent
- tools/migrate-to-armonia.sh: three-bucket repos routing
  (packages/, demos/, flat), bucket-converging on re-run
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add armonia workspace setup scripts (bootstrap + migration)

1 participant