modify-repos

A framework for writing scripts that clone, modify, and create pull requests across multiple repositories at once. Various utilities such as a Jinja template environment and text manipulation are provided to make common script tasks easier.

Warning

This is under development, and how it’s used may change at any time.

Currently, only a GitHub provider is implemented. The library is designed to be extended to define other sources and repository types.

Create a Python file, subclass GitHubScript, define a few attributes and its modify() method, then call its run() method. See Writing a Script for a full example.

Source

The project is hosted on GitHub: https://github.com/davidism/modify-repos/.