pepper

command module
v0.5.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 11, 2018 License: MIT Imports: 12 Imported by: 0

README

pepper

Travis CI

Named after Pepper Potts. Set all your GitHub repos master branches to be protected.

You can set which orgs to include and use --dry-run to see the changes before they are actually made. Your user is automatically added to the repositories it will consider.

Also see genuinetools/audit for checking what collaborators, hooks, deploy keys, and protected branched you have added on all your GitHub repositories.

Installation

Binaries
Via Go
$ go get github.com/genuinetools/pepper

Usage

$ pepper -h
 _ __   ___ _ __  _ __   ___ _ __
| '_ \ / _ \ '_ \| '_ \ / _ \ '__|
| |_) |  __/ |_) | |_) |  __/ |
| .__/ \___| .__/| .__/ \___|_|
|_|        |_|   |_|

 Set all your GitHub repos master branches to be protected.
 Version: v0.5.0
 Build: 8b7274f

  -d        run in debug mode
  -dry-run  do not change branch settings just print the changes that would occur
  -nouser   do not include your user
  -orgs     organizations to include
  -token    GitHub API token (or env var GITHUB_TOKEN)
  -url      GitHub Enterprise URL
  -v        print version and exit (shorthand)
  -version  print version and exit
$ pepper --dry-run --token 12345 --orgs jessconf --orgs maintainerati
[OK] jessconf/jessconf:master is already protected
[OK] genuinetools/.vim:master is already protected
[OK] genuinetools/anonymail:master is already protected
[OK] genuinetools/apk-file:master is already protected
[UPDATE] genuinetools/certok:master will be changed to protected
...
[OK] genuinetools/weather:master is already protected
[OK] genuinetools/ykpiv:master is already protected
[OK] maintainerati/wontfix-cabal-site:master is already protected

Documentation

Overview

Copyright 2016 Google Inc.

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL