Skip to content

Commit

Permalink
Remove pagination limitation from README
Browse files Browse the repository at this point in the history
  • Loading branch information
countzero committed Nov 20, 2018
1 parent 2c7d5c4 commit 87c3c4d
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 5 deletions.
5 changes: 1 addition & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ Execute the following to backup all git repositories of a GitHub user into the s
### Backup all git repositores of a organisation
Execute the following to backup all git repositories of a GitHub organisation into the subdirectory `./YYYY-MM-DD/`.
```PowerShell
.\backup_github_repositories.ps1 -userName "user" -userSecret "password" -organisationName "organsiation"
.\backup_github_repositories.ps1 -userName "user" -userSecret "password" -organisationName "organisation"
```

### Backup all git repositories of a user into a specific directory
Expand All @@ -32,6 +32,3 @@ Execute the following command to get detailed help.
```PowerShell
Get-Help .\backup_github_repositories.ps1 -detailed
```

## Known Limitations
The script does not yet support pagination of the GitHub repositories API: The maximum number of supported repositories is currently 100.
1 change: 0 additions & 1 deletion backup_github_repositories.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,6 @@ function Get-TotalRepositoriesSizeInMegabytes([object] $repositories) {
$([math]::Round($totalSizeInKilobytes/1024))
}


# Measure the execution time of the backup script.
$stopwatch = [System.Diagnostics.Stopwatch]::startNew()

Expand Down

0 comments on commit 87c3c4d

Please sign in to comment.