Skip to content
/ bailiff Public

pulls code and submits it as a pull request in another repo

License

Notifications You must be signed in to change notification settings

abylaw/bailiff

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Bailiff

Brings code into the courtroom for judgement.

  1. Get go ;). https://golang.org/doc/install#osx might be the easiest way since brew doesn't make paths easy.

  2. go get -u github.com/benchlabs/bailiff - clones repo and builds binary

  3. If previous command doesn't work because it doesn't read SSH properly:

    cd $GOPATH/src/github.com/BenchLabs
    git clone [email protected]:BenchLabs/bailiff
    cd bailiff
    go get -u
    go build
    
  4. Get email from applicant with repo url. Find the cloneable url like [email protected]:BenchLabs/bailiff.git

  5. bailiff open <repo url> <name of applicant>

  6. Go to your repository (defined in your config) and see the fresh pull request.

  7. Make insightful and polite comments on the quality of a stranger's code.

  8. Delete the insightful and polite comments once they get hired: bailiff hired <name of applicant>

The name of the applicant will be the branch name in the target repository, which is defined in the config.

If you need help:

bailiff help

Config

You need a ~/.bailiff.conf.json

{
"owner": "BenchLabs",
"repo": "courtroom",
"githubToken": "ask an admin for this",
"slackChannel": "courtroom",
"slackToken": "create your bot or use @judge's key"
}

About

pulls code and submits it as a pull request in another repo

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages