Fixes from the third Supermarket run: coreapp mail, route wait, skill edges
coreapp mail shows what the Core's mail server did with the app's mail (from its log: accepted, delivered, deferred or bounced). Deploy waits until traefik routes the public address, so it doesn't answer 404 just after "Updated". The skill's settings rules no longer contradict, the lowest role means read-only, the Core's admin gets no local password or reset, and SQLite may need allowing in an app's multi-user edition. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
+13
-1
@@ -13,6 +13,9 @@
|
||||
# coreapp status its container, address and URL
|
||||
# coreapp logs [-f] its log
|
||||
# coreapp shell [command] a shell in its container, or run one command there
|
||||
# coreapp mail what the Core's mail server did with the mail the
|
||||
# app sent in the last day (accepted, delivered,
|
||||
# deferred, bounced; apps with "email")
|
||||
# coreapp core what the Core in the VM offers apps: its database,
|
||||
# sign-in and mail servers with their versions,
|
||||
# PostgreSQL extensions, and the machine
|
||||
@@ -277,7 +280,7 @@ cmd_deploy() {
|
||||
# Install, or update (which recreates the container if the image changed,
|
||||
# even under the same version)
|
||||
installer install $addon $recreate || exit 1
|
||||
[[ "$state" == new ]] && echo "(coreapp check tests it from the internet.)"
|
||||
[[ "$state" == new ]] && echo "(coreapp check tests it at its public address, as people reach it.)"
|
||||
return 0
|
||||
}
|
||||
|
||||
@@ -403,6 +406,14 @@ cmd_signin() {
|
||||
fi
|
||||
}
|
||||
|
||||
cmd_mail() {
|
||||
load_app
|
||||
[[ " $NEEDS " == *" email "* ]] \
|
||||
|| die "$NAME doesn't send mail through the Core (no \"email\" in coreapp.toml's needs)."
|
||||
sync_installer
|
||||
core "$REMOTE_INSTALLER/coreapps mail $NAME"
|
||||
}
|
||||
|
||||
cmd_core() {
|
||||
init_core
|
||||
sync_installer
|
||||
@@ -615,6 +626,7 @@ case "$cmd" in
|
||||
shell) cmd_shell "$@" ;;
|
||||
signin) cmd_signin "$@" ;;
|
||||
core) cmd_core ;;
|
||||
mail) cmd_mail ;;
|
||||
remove | rm) cmd_remove ;;
|
||||
list | ls) cmd_list ;;
|
||||
publish) cmd_publish "$@" ;;
|
||||
|
||||
Reference in New Issue
Block a user