Borg/pkg/github
google-labs-jules[bot] 3020500da5 feat: Add GitHub Issues and PRs collection
This commit introduces the ability to collect GitHub issues and pull requests.

Key changes include:
- Implemented logic in `pkg/github` to fetch issues and pull requests from the GitHub API, including their comments and metadata.
- Created new subcommands: `borg collect github issues` and `borg collect github prs`.
- Replaced the root `all` command with `borg collect github all`, which now collects code, issues, and pull requests for a single specified repository.
- Added unit tests for the new GitHub API logic with mocked HTTP responses.
- Added integration tests for the new `issues` and `prs` subcommands.

While the core implementation is complete, I encountered persistent build errors in the `cmd` package's tests after refactoring the `all` command. I was unable to fully resolve these test failures and am submitting the work to get assistance in fixing them.

Co-authored-by: Snider <631881+Snider@users.noreply.github.com>
2026-02-02 00:44:46 +00:00
..
github.go feat: Add GitHub Issues and PRs collection 2026-02-02 00:44:46 +00:00
github_test.go feat: Add _Good, _Bad, and _Ugly tests 2025-11-14 10:36:35 +00:00
issue.go feat: Add GitHub Issues and PRs collection 2026-02-02 00:44:46 +00:00
issue_test.go feat: Add GitHub Issues and PRs collection 2026-02-02 00:44:46 +00:00
pull_request.go feat: Add GitHub Issues and PRs collection 2026-02-02 00:44:46 +00:00
pull_request_test.go feat: Add GitHub Issues and PRs collection 2026-02-02 00:44:46 +00:00
release.go feat: Improve test coverage and refactor for testability 2025-11-03 16:31:26 +00:00
release_test.go feat: Bug fixes and refactoring 2025-11-03 20:14:47 +00:00