github / github/platform-samples
delete-empty-repos.sh - Handle Pagination
- Langage dominant
- Shell
- Étoiles
- 2.2k
- Forks
- 1.9k
- Merge moyen
- 7 j 19 h
- PR mergées (30 j)
- 1
Description
[delete-empty-repos.sh](https://github.com/github/platform-samples/blob/master/api/bash/delete-empty-repos.sh) currently works with default pagination of only 30 repositories.
Need to handle pagination in case of more than 30 repositories are within the organization.
[Relevant Doc](https://developer.github.com/v3/guides/traversing-with-pagination/)
Guide de contribution
Ouvrir le guide de contribution
Piste de recherche
Read api/bash/delete-empty-repos.sh and the linked GitHub pagination guide first. Run it against an organization with more than 30 repositories, then verify that it processes all repositories rather than only the default page.
Rédigé par le modèle d'indexation à partir du texte de l'issue.
Évaluation
- Stack technique
- github, shell
- Domaine
- api, cli
- Type d'issue
- Fonctionnalité
- Difficulté
- 2/5
- Temps estimé
- 1-3 heures
- Activité
- À l'abandon
- Clarté
- Clairement spécifiée
- Accessibilité débutants
- 45/100