This repo contains scripts used for maintenance and automation tasks related to the https://github.com/commons-app/apps-android-commons repository.
Currently, it includes:
- A script to generate the list of contributors in a GitHub-compatible tabular format
- Maintenance tooling to assist with GitHub issue management and migration
This script generates the list of contributors for
https://github.com/commons-app/apps-android-commons in the format required by GitHub to render data in tabular form
(Refer https://help.github.com/articles/organizing-information-with-tables/).
- HTTP method: GET
- Output: GitHub table data syntax - compatible information
The generated output can be pasted directly into a README file to display contributors in a table.
This script is used for bulk GitHub issue maintenance and migration.
- Fetches all open issues labeled
enhancement - Updates their Issue Type to
Featureusing GitHub’s GraphQL API - Removes the legacy
enhancementlabel after migration - Supports a dry-run mode for safe execution without making changes
- APIs used:
- GitHub REST API (issue listing, label removal)
- GitHub GraphQL API (issue type lookup and updates)
- Supports pagination for large issue sets
- Includes rate-limit protection
- Intended for one-time or batch maintenance operations
⚠️ Note: A GitHub Personal Access Token with appropriate repository permissions is required to run this script.