Project

bu_pr

0.0
Repository is archived
No commit activity in last 3 years
No release in over 3 years
BuPr is simple pull request creator for the daily bundle update.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

~> 1.13
~> 10.0
~> 3.0

Runtime

 Project Readme

BuPr

Build Status

Run bundle update and create its pull-request.

Installation

gem 'bu_pr', group: :development

And then execute:

$ bundle

Or install it yourself as:

$ gem install bu_pr

Usage

Get GitHub access token from this page with repo scope.

then run

$ bundle exec bu_pr --repo=mmyoji/bu_pr --token=<the token you got above>

or you can just set repo and token values in your $HOME/.profile file.

# .bash_profile / .profile / .zshrc / etc.

export BUPR_TOKEN="xxx"
export BUPR_REPO="mmyoji/bu_pr"

# If you wanna override them:
# export BUPR_BRANCH="develop"
# export BUPR_TITLE="My bundle update"

Available options

  • branch: base branch name for the pull-request. Default is master
  • repo: your github repository name
  • title: the pull-request title. Default is Bundle update 2017-04-04
  • token: your GitHub access token

Contributing

Bug reports and pull requests are welcome on GitHub at https://github.com/mmyoji/bu_pr.

This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the Contributor Covenant code of conduct.

License

The gem is available as open source under the terms of the MIT License.