Skip to content

feat: add repository scope filter for selective sync#11

Merged
yungweng merged 2 commits intomainfrom
feat/repo-scope-filter
Dec 30, 2025
Merged

feat: add repository scope filter for selective sync#11
yungweng merged 2 commits intomainfrom
feat/repo-scope-filter

Conversation

@yungweng
Copy link
Copy Markdown
Owner

Summary

  • Add interactive CLI to select which repositories to sync to Things 3
  • Users can now choose between syncing all repos (default) or selecting specific repos via a two-step flow: first select orgs/owners, then choose repos within each
  • Adds --repos option to config command for updating repo selection

Changes

  • Add RepoFilter type and optional repoFilter config field
  • Add fetchAllRepos() to GitHubClient with pagination support
  • Add repo-selector.ts with interactive checkbox UI using @inquirer/prompts
  • Update init command with Step 6 for repository scope selection
  • Add --repos=all|prompt option to config command
  • Filter sync results by configured repos in daemon

Test plan

  • Run github-things-sync init and verify Step 6 shows repo selection
  • Select "Choose specific repositories" and verify two-step flow works
  • Run github-things-sync config --repos=prompt to update selection
  • Run github-things-sync sync -v and verify only selected repos are synced
  • Run github-things-sync config and verify repo scope is displayed

Add interactive CLI to select which repositories to sync to Things 3.
Users can now choose between syncing all repos (default) or selecting
specific repos via a two-step flow: first select orgs/owners, then
choose repos within each.

- Add RepoFilter type and repoFilter config field
- Add fetchAllRepos() to GitHubClient with pagination
- Add repo-selector.ts with interactive checkbox UI
- Update init command with Step 6 for repo selection
- Add --repos option to config command (all|prompt)
- Filter sync results by configured repos
@socket-security
Copy link
Copy Markdown

socket-security bot commented Dec 30, 2025

Review the following changes in direct dependencies. Learn more about Socket for GitHub.

Diff Package Supply Chain
Security
Vulnerability Quality Maintenance License
Addedora@​9.0.09910010081100

View full report

- Add repository scope feature to README features list
- Add --repos config examples to README
- Fix pnpm dev command syntax (no -- separator needed)
- Update CLAUDE.md dev commands and add repo scope note
- Fix config command to properly detect update options
@yungweng yungweng merged commit 5e4d41f into main Dec 30, 2025
4 checks passed
@yungweng yungweng deleted the feat/repo-scope-filter branch December 30, 2025 15:22
@yungweng yungweng mentioned this pull request Dec 30, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant