cordova-coho icon indicating copy to clipboard operation
cordova-coho copied to clipboard

Mass PR creation support

Open janpio opened this issue 6 years ago • 0 comments

I am looking for a way to quickly change code and create PRs in many repositories.

For several open tasks (e.g. updating package.json across many repos, distributing the GitHub Issue and PR templates, updating the plugin CI configuration) we will have to change files in many repositories and then create a PR (which means the changes have to be applied in a new branch or even fork) on Github to be reviewed and merged.

It would be awesome if that process could be covered by coho:

  1. Create a new branch and commit the open changes
  2. Open PRs on GitHub
  3. Output PR URLs

Parameters needed for this:

  • Names of repos to check and handle
  • New branch name
  • Commit message
  • PR title
  • PR description

GitHub has the hub CLI tool that might help: https://hub.github.com/hub-pull-request.1.html There are probably also pure node/JS implementations of this I don't know about.

janpio avatar Dec 08 '18 00:12 janpio