Skip to content

manaurum CLI 0.4.0

Choose a tag to compare

@sergeysuaib-ui sergeysuaib-ui released this 11 Oct 15:46
· 5 commits to main since this release
4446ab7

The manaurum CLI for Platform v2: scaffold, validate and deploy a containerized app.

pip install https://github.com/sergeysuaib-ui/manaurum-dev-sdk/releases/download/cli-v0.4.0/manaurum_cli-0.4.0-py3-none-any.whl
manaurum --version        # manaurum, version 0.4.0
manaurum auth login --token mna_...
manaurum app init my-app && cd my-app && manaurum app validate && manaurum app deploy

What changed since 0.3.8

A deploy is made on top of the app's newest version (D-190 stage 1).

  • manaurum app deploy sends the version your tree was made from, kept in .manaurum/base.json next to manifest.json, and a successful deploy records the version it made live there. The file is never uploaded with the app; manaurum app init puts .manaurum/ in the app's .gitignore (add it to an older app's).
  • If someone published a newer version (from the CLI or Aurum Studio), the deploy is refused with 409 stale_base, and the CLI says which version, through which door and by whom. Take its changes and deploy again. The app's owner can replace it anyway with --override-base; the platform records which version was replaced.
  • manaurum app fetch-source <version> --app-id <app> --into <dir> extracts a version's source into a new directory and records it as the base; --base-only records the base of the tree in the current directory without downloading.
  • One change of an app runs at a time: while another deploy, rollback or Studio publish runs, the deploy is refused with 409 app_busy; --wait asks again until it can start.
  • A deploy must keep every migration the app's tenants already ran, unchanged: a bundle that drops or edits one is refused with 422 missing_applied_migration. --dry-run runs the same check.
  • Deploying from CI: record the base of the commit you deploy before manaurum app deploy (the CLI README, "Deploying from CI").

From 2026-11-10 a deploy that names no base is refused (a tree without .manaurum/base.json, or a CLI older than 0.4.0). Until then it is accepted and answered "base_checked": false. Upgrade, then run manaurum app fetch-source <live version> --app-id <app> --base-only once in each working copy.

The package files ship with LF line endings. Requires Python 3.11+. The wheel and the sdist are both attached; the package is not on PyPI.