Skip to content

commons-app/maintenance

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 

Repository files navigation

maintenance

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

populate_contributors.py

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/).

Overview

  • 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.


tools/issue-migration/bulk_update_issue_type_feature.py

This script is used for bulk GitHub issue maintenance and migration.

Purpose

  • Fetches all open issues labeled enhancement
  • Updates their Issue Type to Feature using GitHub’s GraphQL API
  • Removes the legacy enhancement label after migration
  • Supports a dry-run mode for safe execution without making changes

Overview

  • 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.

About

This repo contains a script to generate the list of contributors for https://github.com/commons-app/apps-android-commons in the format required by github to show the data in tabular format (Refer https://help.github.com/articles/organizing-information-with-tables/).

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%