Skip to content

v0.2.6#154

Open
vsilent wants to merge 4 commits intomainfrom
dev
Open

v0.2.6#154
vsilent wants to merge 4 commits intomainfrom
dev

Conversation

@vsilent
Copy link
Collaborator

@vsilent vsilent commented Mar 26, 2026

v0.2.6
compose_definitions
self update

vsilent and others added 4 commits March 25, 2026 20:23
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Previously the command was a stub that always printed
'You are running the latest version.' regardless.

Now it:
- Fetches releases from GitHub API (trydirect/stacker)
- Compares current vs latest version (semver)
- Downloads the platform-specific .tar.gz asset
- Extracts the stacker binary and replaces the running exe atomically
- Supports --channel stable (default) and --channel beta

Added dependencies: tempfile, flate2, tar (moved from dev-dependencies).
Added unit tests: is_newer(), detect_asset_suffix logic, parse_channel.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
…bitMQ

The publish() method was publishing to exchanges without declaring them
first. If the exchange didn't exist (e.g., consumer hadn't run yet),
the AMQP channel would error with 404 NOT_FOUND.

- Extract declare_exchange() helper (Topic, durable) shared by publish and consume
- Call declare_exchange() before basic_publish() so exchanges are created
  idempotently on first use — self-healing regardless of startup order
- Replace expect() panics in consume() with proper error propagation
- Improve error messages to include exchange/queue names

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
…alOcean

- htz: default OS changed from ubuntu-22.04 to docker-ce (Hetzner
  snapshot with Docker CE pre-installed on Ubuntu 24.04 — no manual
  Docker install needed)
- do:  already used docker-20-04 (DigitalOcean marketplace image with
  Docker pre-installed); kept as-is with an explanatory comment

Linode and Vultr remain on ubuntu-22.04 as neither provider offers a
standardised pre-built Docker slug accessible via a simple image name.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
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