0.80.2
本頁內容尚未翻譯。
Released 2026-11-15. A fix release on 0.80.1.
- The server checks a submodule app’s car against the app’s own remote.
receivedrefuses a head that is already on the base (a car lands once), andlandedtakes a commit only when it is on the base. Both fetched the base from the project’s remote, where the commits of an app that is a git submodule are on no branch: a landed car of such an app was received again, a train’slandedwas refused withlanded.commit … is not on <base> of the project's remote(or passed for a commit of the project that happened to be on a branch of that name), and an app whose base is no branch of the project was refused withcould not be checked … try again. For an app whose folder is a repository of its own (the rule the delta check of 0.80.1 uses), the server now fetches from theoriginof the app’s checkout inside the project’s checkout: atreceivedas it reads it then, in the integrator’s workspace checkout, and atlandedas it read it when the train opened, before the train existed. The project’s remote never stands in for it: an app’s remote that names nohttpsorsshURL is received unchecked (the remote of app <app>'s own repository in the integrator's workspace checkout could not be read), and itslandedis refused. The refusals namethe remote of app <app>'s repositorywhere they named the project’s remote. Nothing else of the two checks changed: a remote the server cannot reach or authenticate with is still received unchecked with its reason (auth,connection,repository-not-found), the mirror of each check is made and removed as before, and an app in the project’s own repository is checked against the project’s remote. The remote a first open read is remembered per app beside the project’s, so a later open that reads another one for the app is not trusted forlanded. Which apps were repositories of their own at the first open that listed them is remembered too (an app first listed by a later open is pinned then): an app whose folder became a repository of its own since, or stopped being one, is refused atlandedwith the same word (the remote of app <app> of project <project> changed between two opens of this server), because neither remote has a first value of its kind to differ from. - A submodule app with no checkout is still not the project’s. An app whose
dir, or a folder above it, is a gitlink in the project’s index (mode160000) or apathof its.gitmodules, but is checked out neither in the checkout read nor in the project’s main checkout (git submodule deinit, a clone without--recurse-submodules), is a repository of its own with no remote to read:receivedtakes its car unchecked with the word above, andlandedis refused. Checked against the project’s remote, as before, the receipt of a landed car was let in unsaid andlandedpassed for a commit of the project on a branch of that name. - A folder that only looks like a repository is the project’s. An app folder whose
.gitis no git dir (it holds noHEAD), or is a linked worktree of the project itself, has the project’s commits and the project’s remote, and is checked as an app of the project’s own repository. - A project whose git dir is outside its folder keeps the 0.80.1 fix. A project that is itself a submodule of another repository, or was cloned with
--separate-git-dir, keeps its submodules’ git dirs under its own git dir and not in its folder. 0.80.1 accepted an app’s git dir only inside the project’s folder, so for those layouts a submodule app’s delta evidence was still refused withon.head is not the car's head. A git dir inside the project’s own git dir or common dir is now accepted too. - An app whose
diris a folder inside a submodule is asked in that submodule. The app’s repository is the nearest folder holding a.gitfrom the app’sdirup to below the project’s root, so a submodule that holds several apps works. 0.80.1 listed this as a known limit. - What 0.80.1 said about staying inside the project now holds. Its note said that no
apps.jsonentry leads git outside the project. Two ways were left, both open only to someone who can already write the checkout: an app folder whose.gitis a symlink to a git dir elsewhere, and a git dir inside the project whosecommondirnames a repository elsewhere. The git dir an app folder’s.gitis or names (a folder, agitdir:file, or a symlink) and the common dir that one names must now both be, after symlinks are resolved, inside the checkout, the project’s main checkout, or the project’s own git dir. The ancestor check of delta evidence, in the integrator’s guard and intrain check --accept, also runs with replace refs off (--no-replace-objects) with no graft file (GIT_GRAFT_FILEset to the null device) and with the commit-graph off (core.commitGraph=false), so neither a replace ref,info/grafts, nor a rewritten commit-graph in the repository asked can make a commit an ancestor.
Known limits
Section titled “Known limits”- An app whose first record is a submodule with no checkout holds no remote to pin: a remote read for it at a later open of this server’s life (the submodule checked out since) is trusted, as the project’s own remote is when the first open read none. A train opened before the checkout keeps its null record and its
landedstays refused. - An app that is a submodule of the project but is checked out neither in the checkout read (the integrator’s workspace checkout at
received, the tower workspace’s checkout when a train opens) nor in the project’s main checkout cannot be checked: its car is received unchecked and itslandedis refused until the submodule is checked out there. The delta check of its evidence still asks the project’s repository, and refuses withon.head is not the car's head. - An app whose folder holds its own repository with no gitlink and no
.gitmodulesentry (a plain clone inside the project) and whose folder is missing at the open is not known to be one, and is checked against the project’s remote. - A linked worktree of a project whose git dir is outside its folder finds a submodule app only when the worktree checks the submodule out itself; the main checkout’s copy is not found from there.
- The server’s git still has no credential helper, so against a private remote the check at
receivedis stillreceived uncheckedwith reasonauth, and no project setslandedyet. This release changes which remote is asked once that is no longer so.