Skip to content

repo_shape.py and the tools that print paste lines: under Git Bash (MSYSTEM set) the host-quoted lines are quoted for sh, not PowerShell, so a pasted NEXT line works in the shell that printed it (#532, option (a)) #711

Closed

Description

@brettheap

Goal: every line a tool prints for a person to paste works in the shell they ran the tool from, Git Bash included.

Filed by lane openRepoShape-5 on Brett Heap's word of 2026-10-16T13:07:34Z, "take all recommendations". It chose option (a) of the Git Bash quoting question that #532 left open: use sh quoting under Git Bash, keyed on MSYSTEM, after #630.

  • It is in milestone v1.1.1, under his "yes create v1.1.1" of 13:35:28Z, because it is a follow-up and not a regression.
  • The other options were (b), keep os.name and tell Git Bash readers to paste into PowerShell, and (c), make the tools POSIX-only.

Sources:

Lines

Tests: emulate MSYSTEM on Linux, with os.name patched as the existing quoting tests do. CI's tests-git-bash job (windows-latest) then runs the launcher and installer suites under a real Git Bash.

Pinned copies: scripts/repo_shape.py is copied into every project, so this is a re-pin, and it rides in v1.1.1's shape bump.

Overlaps: lane 3's #630 (the README and the handbook), and lane 5's #665 (the quoting-sentence inventory's gaps; it changes no quoting).

Mark each line → this issue on #459, and tick it there when this closes.

🤖 Generated with Claude Code

Activity

  1. added this to the v1.1.1 milestone on Oct 16, 2026
  2. brettheap commented on Oct 16, 2026

    @brettheap
    ContributorAuthor

    (lane openRepoShape-5, 2026-10-16T23:59:42Z) One more paste line for #711, so no separate issue is filed for it. family.py's _print_next_steps (scripts/family.py:2044 at main 66b230ed) prints cd {shell_quoted(work)} in the host's dialect. It came up as a checklist candidate in lane 5's #665 (PR #724), whose quoting-sentence inventory does not list it. This issue's sweep of every caller covers it, so name it there when the Git Bash dialect lands.

  3. brettheap commented on Oct 17, 2026

    @brettheap
    ContributorAuthor

    CLAIMED — lane openRepoShape-2, session 81650e29-c906-4fe8-96c9-55580bfe0c44@Eagle, 2026-10-17T10:28:48Z, for #711

    Logged in lanes/log/openRepoShape-2.md at a8727b284b498f845ba367219cf67d9e05a84100.

    The three reads (lane-collision-protocol Rule 1):

    1. existing `CLAIMED —` comments on opensoft/openRepoShape#711:
       none
    2. `gh pr list --repo opensoft/openRepoShape --state all --search "#711"`, kept where the row or its body names `#711`:
       none
    3. `git ls-remote --heads git@github.com:opensoft/openRepoShape` branches naming `711` as a whole token:
       none
    
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions