Skip to content

Conversation

KJ7LNW
Copy link

@KJ7LNW KJ7LNW commented Jul 20, 2025

Previously, using -R flag would show zero issues/PRs for repositories not owned by the primary user due to incorrect pagination parameters being added to single repository API calls.

Changes:

  • Remove pagination parameters for single repository requests
  • Support owner/repo format in -R flag (e.g., -R owner/repo-name)
  • Skip filtering when specific repository is requested
  • Fix URL construction for requests without query parameters

Impact:
This enables backing up any repository, not just those owned by the primary user specified in -u flag. Before this fix, attempting to backup repositories from other owners would result in zero issues/PRs being retrieved.

Eric Wheeler added 2 commits July 19, 2025 17:17
Only insert development path into sys.path when running from a git checkout
(when ../.git exists). This makes the script more robust by only using the
development tree when available and falling back to installed package otherwise.
Previously, using -R flag would show zero issues/PRs for repositories
not owned by the primary user due to incorrect pagination parameters
being added to single repository API calls.

- Remove pagination parameters for single repository requests
- Support owner/repo format in -R flag (e.g., -R owner/repo-name)
- Skip filtering when specific repository is requested
- Fix URL construction for requests without query parameters

This enables backing up any repository, not just those owned by the
primary user specified in -u flag.
@josegonzalez josegonzalez merged commit 87f5b76 into josegonzalez:master Aug 8, 2025
1 check passed
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.

3 participants