Skill consistency pass; pick -N releases from a repository

coreapp install <url> without a tag and coreapp update now count -N tags
(v6.2.0-1) as releases, the same rule as the version ordering.

Skill and README: a new account's first sign-in is repeated by deleting
the user in the app; deploy and publish build the Dockerfile, not the
Core; health paths should answer 2xx; the right cross-reference for
waiting at startup; the update log's name; a description that covers
mysql, mail, updating and publishing; updating.md and --form in README.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
2026-12-04 14:10:30 -07:00
co-authored by Claude Opus 5.5
parent 0aa334d22a
commit ef4bd67139
7 changed files with 20 additions and 15 deletions
+3 -2
View File
@@ -26,7 +26,7 @@ SKILL.md), and make the Dockerfile fit the Core:
sharing the Dockerfile), keep those working: choose the Core's behaviour
in the app when `CORE_DOMAIN` is set (the Core's variables become
defaults; the app's own explicit settings still win), not by changing
the Dockerfile's `ENV` or `ENTRYPOINT` for everyone. The Core builds the
the Dockerfile's `ENV` or `ENTRYPOINT` for everyone. `coreapp deploy` and `coreapp publish` build the
`Dockerfile` at the repository's root. Where the app's settings have
another shape (a mail URL instead of `SMTP_*`, a database URL, a hex
key), build them from the Core's variables where the app loads its
@@ -123,7 +123,8 @@ SKILL.md), and make the Dockerfile fit the Core:
placeholder. `coreapp deploy` and `publish` say if it's unusable, not
square or under 80 pixels; `publish` refuses one the Core can't use.
- **Answer on `health`** once ready (a dedicated health endpoint, or `/` if
it returns 2xx-4xx without signing in).
it returns 2xx without signing in: `coreapp check` needs a 2xx, though
deploy accepts anything below 500).
- **One container.** If the upstream project ships a compose file with
several services, keep only the app, use `needs = ["postgres"]` (or
`["mysql"]` for MySQL/MariaDB) for its database, and stop if it needs other services (see "Not available yet").
+2 -2
View File
@@ -37,7 +37,7 @@ person has signed in, so a curl of the authorize URL can't show those are
right; `coreapp signin` can. Changing `[sso]` and deploying registers the
client again; Authelia restarts for it (a few seconds of 404s from it).
Many apps fetch discovery only once at startup: wait for it in the
entrypoint (SKILL.md, "Wait for what it needs at startup").
entrypoint (porting.md, "Wait for what it needs at startup").
Use the app's own OpenID Connect support or its framework's library: most
self-hosted apps have "generic OIDC" settings that map onto `OIDC_*`. Set
@@ -132,7 +132,7 @@ says whether it got back to the app signed in. Run it in the app's folder
coreapp signin # starts at /login
coreapp signin /auth/login # the app's own page that starts sign-in
coreapp signin /signin # a page whose button starts sign-in: pressed
coreapp signin /auth/login # or whose "Sign in with Core SSO" link starts it: followed
coreapp signin /login # or whose "Sign in with Core SSO" link starts it: followed
jar=$(mktemp) && coreapp signin --cookies "$jar" /login && curl -b "$jar" https://<name>.<domain>/api/me
```
+5 -3
View File
@@ -10,7 +10,8 @@ and publish commands around it.
(`v<version>`). For a port, follow upstream's version (`6.2.0`); for a
release that changes only the Coreapp on the same upstream version (the
entrypoint, a setting), add `-N` (`6.2.0-1`, `6.2.0-2`): the Core orders
`6.2.0` < `6.2.0-1` < `6.2.1`. Raise it for every release; while you're
`6.2.0` < `6.2.0-1` < `6.2.1`, and `coreapp install <url>` and
`coreapp update` pick the newest that way. Raise it for every release; while you're
trying things on your own Core, you don't need to.
A Core refuses an older version than the one it has, unless asked:
@@ -46,8 +47,9 @@ Test it over an install that has real data, not a fresh one:
user), so you can compare after.
3. Deploy the new version over it and compare: the data, the settings
the Core writes (sign-in and mail still work), sessions, uploads. Sign
in again, and as a brand-new account (`coreapp signin --remove-account`
first): new versions change first sign-in and roles.
in again, and as a brand-new account (delete the test account's user
in the app first, as sign-in.md says): new versions change first
sign-in and roles.
4. `coreapp deploy --recreate` once more on the new version.
To see a failed update roll back, deploy a throwaway version (say