0.0
No commit activity in last 3 years
No release in over 3 years
A Node.js collaborator CLI utility.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Runtime

 Project Readme

committer-tools-rb

Useful CLI utilities for Node.js collaborators. Writing in Ruby while I try and figure out what's going on with Promises in the JS version of this :)

Installation

gem install committer-tools

Usage

In order to use committer-tools, you need to create a .ctconfig file in your home directory, with the following contents:

{
  "token": "A GitHub token with user:email scope"
}
committer-tools land
  • What this automates:
    • get pr id
    • get pr from github api
    • put together metadata for commit
    • do a few checks, make sure ok to land
    • pauses, lets you squash, make any edits necessary
    • add metadata to commit message
    • one final round of commit message validation
  • What this does not automates:
    • pushing the actual commit

Make sure you have a PR ID ready; as an example, the ID for https://github.com/nodejs/node#14998 would be nodejs/node#14998.

Once you have a PR ready to land, you can then land it by running:

committer-tools land

License

Copyright (c) 2017+ Jon Moss under the MIT License.