Skip to content

Rename alios-cli to Ingot - #6

Merged
michaelaguiar merged 2 commits into
mainfrom
rename-to-ingot
Oct 14, 2026
Merged

michaelaguiar merged 2 commits into
mainfrom
rename-to-ingot

Conversation

@michaelaguiar

Copy link
Copy Markdown
Member

The dev environment tool becomes its own product, Ingot (aliasproject/ingot). It's useful to developers who never use Alios.

What changes

Every name, with no fallbacks to the old ones (the only existing user is Mike):

Was Now
alios binary, /usr/local/bin/alios ingot, /usr/local/bin/ingot
alios_php_<p>, alios_dns, alios-reverse-proxy, alios_mail, alios_<db>, alios_idle, alios_share* ingot_php_<p>, ingot_dns, ingot_proxy, ingot_mail, ingot_<db>, ingot_idle, ingot_share*
compose project/network alios / alios_internal ingot / ingot_internal
volumes alios_certs, alios_vhosts, alios_<db>-<v>, alios_state ingot_*
labels alios.project.* and friends ingot.*
env ALIOS_* INGOT_*
Caddy snippets, headers, CA display name ingot_wake/ingot_stopped, X-Ingot-*, "Ingot Local CA"
/etc/systemd/resolved.conf.d/alios.conf, alios-ca.crt ingot.conf, ingot-ca.crt
ghcr.io/aliasproject/alios-idle ghcr.io/aliasproject/ingot-idle

Kept: ghcr.io/aliasproject/{php,caddy,dns,openssl}, because production Alios uses them too. The CA's file names inside the certs volume are also unchanged, so an existing CA can be carried over without re-trusting it.

The README and CLAUDE.md intros now describe a standalone tool. The "No project here" page uses a text wordmark instead of the Alios logo.

Not in this PR

docs.html, landing-page.html and test-database-naming.md are old Alios CLI marketing and notes, left untouched. Keep or delete them separately.

Testing

go build, go vet and go test -race ./... pass. A grep finds no alios/ALIOS left in Go, shell or Dockerfiles, apart from the deliberate references to the Alios platform. Moving an existing machine over is a manual one-time process and isn't part of the code.

The dev environment tool is useful to people who never use Alios, so it
becomes its own product: Ingot (aliasproject/ingot).

Everything is renamed with no fallbacks to the old names:
- module github.com/aliasproject/ingot; binary `ingot` at
  /usr/local/bin/ingot; release assets ingot-<os>-<arch>
- containers ingot_php_<project>, ingot_dns, ingot_proxy (was
  alios-reverse-proxy), ingot_mail, ingot_<db>, ingot_idle, ingot_share*;
  compose project and network ingot / ingot_internal
- volumes ingot_certs, ingot_vhosts, ingot_<db>-<version>, ingot_state
- labels ingot.project.*, ingot.share.*, ingot.idle.*, ingot.service.*
- env vars INGOT_*; Caddy snippets ingot_wake / ingot_stopped; headers
  X-Ingot-Project / X-Ingot-Share; Caddy CA display name "Ingot Local
  CA"; host files ingot.conf (resolver) and ingot-ca.crt
- idle service image ghcr.io/aliasproject/ingot-idle (cmd/ingot-idle)

The shared images ghcr.io/aliasproject/{php,caddy,dns,openssl} keep
their names; production Alios uses them too. Code comments that describe
conventions copied from the Alios platform still name it, and CLAUDE.md
explains why. The README and CLAUDE.md intros now describe a standalone
tool, and the "No project here" page shows a text wordmark instead of
the Alios logo.
@michaelaguiar

Copy link
Copy Markdown
Member Author

Review (fresh-context reviewer)

The reviewer confirmed every renamed identifier is consistent everywhere it's created and looked up: containers, volumes, the network, ingot_proxy (14 references), the Caddy snippets, headers, labels, the ingot-idle image name, release asset names and the Postgres credentials. Build, vet and -race tests pass, and the Dockerfile.idle COPY paths match the package dependencies.

Fixed in efd7884 (all P3):

  • Status listed the proxy as "proxy" instead of "caddy".
  • A stale comment claimed the proxy uses production's name.
  • The "No project here" wordmark linked to this private repo, which 404s without access. It's plain text now.

Declined, because there are no existing users besides Mike, and his machine is moved over by a one-off script outside the repo that stops the alios stack and copies the CA and database volumes:

  • P2: no "coming from alios-cli" note in the README.
  • P2: CA trust checks match the CA by its unchanged subject, so a new CA could be reported as trusted. Mike's migration copies the existing CA, so this doesn't arise for him.

Noted, not from this PR: docs/UPDATES.md documents an *_UPDATE_URL variable that no code reads.

@michaelaguiar
michaelaguiar marked this pull request as ready for review October 13, 2026 23:13
@michaelaguiar
michaelaguiar merged commit cdb3d4b into main Oct 14, 2026
@linear-code

linear-code Bot commented Oct 14, 2026 •

Copy link
Copy Markdown
ALI-836 Rename alios-cli to Ingot and ship 2.0.0 with scale to zero

Record of the work finished 2026-10-13 and 2026-10-14. Nothing is left to do here; the follow-ups are linked.

What shipped

Migration on Mike's desktop

  • Moved over: all 13 projects, the CA (already trusted), and the MySQL 8.0 data.
  • Hostnames updated:
    • aguiarshomecrumb MAIL_HOST=ingot_mail
    • alios DB_HOST=ingot_mysql
    • chandlerpediatrics, via ingot env set DB_HOST=ingot_mysql
  • Cleanup: all alios containers, volumes, the network and the binary are removed. ~/.bashrc now has alias php='ingot exec php'.

Verified live

  • 12 projects stopped on schedule.
  • The alios project stayed up because it was getting real traffic.
  • Waking a stopped project takes about 270 ms: michaelaguiar.dev, glowhouse.

Not tested

  • Docker Desktop (macOS/Windows)
  • Rootless Docker

Review in Linear

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.

1 participant