-
Notifications
You must be signed in to change notification settings - Fork 25
Open
Labels
good first issueGood for newcomersGood for newcomers
Description
Context
Several hands_on scripts still use the legacy download signature:
def download(verbose: bool):
We should migrate all remaining scripts to RepoSmith v2 style:
def download(rs: RepoSmith):
and replace legacy utility-wrapper patterns with RepoSmith v2 helpers where applicable.
Goal
Standardize all hands-on scripts on RepoSmith v2 syntax and usage to improve consistency, maintainability, and future compatibility.
Affected hands-on scripts
hands_on/branch_rename.pyhands_on/diff_files.pyhands_on/fetch_merge.pyhands_on/force_push.pyhands_on/move_tags.pyhands_on/populate_remote.pyhands_on/remote_branch_delete.pyhands_on/remote_branch_pull.pyhands_on/remote_branch_push.pyhands_on/remote_branch_rename.pyhands_on/update_remote.py
Proposed migration work
- Update function signature from
download(verbose: bool)todownload(rs: RepoSmith). - Use RepoSmith v2 helpers (
rs.git,rs.files,rs.gh) instead of old wrapper/deprecated paths where possible. - Keep behavior and final repository states unchanged from current exercise intent.
Acceptance criteria
- All affected scripts use
download(rs: RepoSmith). - No remaining old-signature hands-on downloads.
- Scripts execute successfully with expected end state.
- PRs should merge to
reposmith-v2-migrationbranch instead ofmainbranch
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
good first issueGood for newcomersGood for newcomers