Skip to content

Commit

Permalink
Increase supported number of repositories for organisations
Browse files Browse the repository at this point in the history
  • Loading branch information
countzero committed Sep 22, 2018
1 parent ab41bcb commit 6be722d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,3 +32,6 @@ Execute the following command to get detailed help.
```PowerShell
Get-Help .\backup_github_repositories.ps1 -detailed
```

## Known Limitations
Currently the script does not support pagination: The maximum number of supported repositores that will be processed is 100.
2 changes: 1 addition & 1 deletion backup_github_repositories.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ $stopwatch = [System.Diagnostics.Stopwatch]::startNew()
#
if($organisationName) {

$gitHubRepositoriesUrl = "https://api.github.com/orgs/${organisationName}/repos?type=all"
$gitHubRepositoriesUrl = "https://api.github.com/orgs/${organisationName}/repos?type=all&per_page=100&page=1"

} else {

Expand Down

0 comments on commit 6be722d

Please sign in to comment.