github-tools / github-tools/github
Commits, statuses, etc. after first page are not included in results
- Langage dominant
- JavaScript
- Étoiles
- 3.8k
- Forks
- 809
- Métriques de merge des PR
- Aucune PR mergée en 30 j
Description
Steps to reproduce:
1. Find a commit with more than 30 statuses
2. Write a script which instantiates a repo object and calls `repo.listStatuses(sha)`, where `sha` is the commit from step 1
3. Look at the list of results
Actual:
- Only the first page of results is included
- Looking at `Repository.js`, only a single HTTP request is being made:
```
listStatuses(sha, cb) {
return this._request('GET', `/repos/${this.__fullname}/commits/${sha}/statuses`, null, cb);
}
```
Expected:
- All are included, or something is implemented like the discussion in https://github.com/github-tools/github/issues/406
Guide de contribution
Aucun guide de contribution indexé pour ce dépôt
Évaluation
Cette issue n'a pas encore été évaluée.