You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
adopt-project.py: a recorded clone whose .git this user cannot read is called no longer whole and cloned again, where the run should refuse it by name as #1072 refuses a directory it cannot enter #1099
Found by lane 4's writer W1003 while working on #1003. Measured on main 2a119f281 as uid 1000, with git 2.43 and Python 3.12.3.
What happens. The project's recorded clone has cloned: true. Its local_path is a directory the user can enter, but its .git is at mode 000. On such a project, check and execute --yes:
say the clone is "no longer whole (git finds no repository there)";
print "cloning testorg/Thing";
ask gh once, and clone again.
Git's own answer there is "fatal: not a git repository", the same answer it gives for an emptied clone, so git's exit alone does not tell the two apart. The behaviour is the same before #1072 (06cbd4789) and on main.
Expected. The run should behave as #1072's source-unreadable already does for a directory at 000:
refuse by name, naming the .git this user cannot read;
CLAIMED — lane openRepoShape-4, session 11c6c0ef-495a-4a05-94cf-811b7b0a1012@Eagle, 2026-10-21T16:07:53Z, for #1099
Logged in lanes/log/openRepoShape-4.md at 7b82fc40f2e200501ae0cb8b35967884c5dfa94a.
The three reads (lane-collision-protocol Rule 1):
1. existing `CLAIMED —` comments on opensoft/openRepoShape#1099:
none
2. `gh pr list --repo opensoft/openRepoShape --state all --search "#1099"`, kept where the row or its body names `#1099`:
1122 adopt-project.py: an `org/repo` `--source` too long for the disk is refused as a path is, naming no GitHub repository and offering no url, so `--source <300 a's>/Thing` is no longer offered `https://github.com/<300 a's>/Thing`, which can never clone (#1003) fix/1003-adopt-unenterable-source OPEN
3. `git ls-remote --heads [email protected]:opensoft/openRepoShape` branches naming `1099` as a whole token:
none
Activity
brettheap commentedon Oct 21, 2026
CLAIMED — lane openRepoShape-4, session 11c6c0ef-495a-4a05-94cf-811b7b0a1012@Eagle, 2026-10-21T16:07:53Z, for #1099
Logged in
lanes/log/openRepoShape-4.mdat7b82fc40f2e200501ae0cb8b35967884c5dfa94a.The three reads (lane-collision-protocol Rule 1):
adopt-project.py: an `org/repo` `--source` whose `stat` is refused is…
test_adopt_partial_clone_source.py: a partial clone whose recorded `.…