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:
+1
-2
@@ -133,7 +133,6 @@ EXTENSION = r"[a-z0-9][a-z0-9_-]{0,62}"
|
||||
# the URL. Tags: v + a version; releases (picked by default) are numeric.
|
||||
REPO_URL = r"https://[A-Za-z0-9.-]+(?::[0-9]{1,5})?(?:/[A-Za-z0-9._-]+){2,}?(?:\.git)?/?"
|
||||
TAG = r"v[A-Za-z0-9][A-Za-z0-9._-]{0,63}"
|
||||
RELEASE_TAG = r"v[0-9]+(?:\.[0-9]+)*"
|
||||
# git for untrusted repositories: https only, never asks for a password,
|
||||
# ignores the system's and root's git settings
|
||||
GIT_ENV = {"PATH": "/usr/bin:/bin", "GIT_TERMINAL_PROMPT": "0",
|
||||
@@ -584,7 +583,7 @@ def fetch_repo(arg, staging):
|
||||
+ no_access)
|
||||
tags = [line.split("refs/tags/", 1)[1] for line in out.stdout.decode().splitlines()
|
||||
if "refs/tags/" in line]
|
||||
releases = [t for t in tags if re.fullmatch(RELEASE_TAG, t)]
|
||||
releases = [t for t in tags if is_release(t)]
|
||||
if not releases:
|
||||
raise Refused(f"{url} has no release tags (like v1.2.0). Publish a release "
|
||||
"(coreapp publish tags it), or name a tag: <url>@<tag>.")
|
||||
|
||||
Reference in New Issue
Block a user