Skip to content

family.py: the member-duplicate-id and member-unknown remedies name family.py remove and family.py add without --family-root, so each fails as printed #1005

Closed

Description

@brettheap

Lane: openreposhape-1 (openRepoShape-1)

Found by the independent review of PR #1002 (#927), its item 3 (#1002 issuecomment-6271608530). #927's scope is the remedies that name family.py bump. #1002 makes each of those carry --family-root, and leaves these three alone so that this sweep is done in one place. None of them is a regression.

Three remedies name another family.py verb without --family-root, which that verb requires. Line numbers are at #1002's head 7b42c652:

  • scripts/family.py:6297: add's member-duplicate-id names family.py remove --member <P>.
  • scripts/family.py:8065: bump's own member-duplicate-id names family.py remove --member {held['project']}.
  • scripts/family.py:8721: bump's member-unknown names family.py add --member <org>/<P>.

Measured: typed as printed, in three holders (a path with a space and an apostrophe, a relative --family-root, and one reached through a symlink), remove --member IRRS exits 2 with family.py remove: error: the following arguments are required: --family-root.

Fix: name the holder as #1002 does for bump, --family-root <the resolved family.root>, quoted for the host with shell_quoted. Add a row for each that types the printed line from another folder and expects it to run.

Filed in v1.2.0 as #927's follow-up. Lane 3, the release owner, may place it otherwise.

Activity

  1. brettheap commented on Oct 21, 2026

    @brettheap
    ContributorAuthor

    CLAIMED — lane openRepoShape-4, session 11c6c0ef-495a-4a05-94cf-811b7b0a1012@Eagle, 2026-10-21T10:46:49Z, for #1005

    Logged in lanes/log/openRepoShape-4.md at b21f7b232728a6077ddab24dc8a883a08525a450.

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

    1. existing `CLAIMED —` comments on opensoft/openRepoShape#1005:
       none
    2. `gh pr list --repo opensoft/openRepoShape --state all --search "#1005"`, kept where the row or its body names `#1005`:
    1002	family.py and bump-leg.py: every remedy that names `family.py bump` names `--family-root`, so each runs as printed (#927)	fix/927-bump-family-root	MERGED
    3. `git ls-remote --heads [email protected]:opensoft/openRepoShape` branches naming `1005` as a whole token:
       none
    
  2. added this to the v1.2.1 milestone on Oct 23, 2026
  3. added a commit that references this issue on Oct 23, 2026
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