Project

papa

0.0
No commit activity in last 3 years
No release in over 3 years
Helper gem for inDinero's git workflow
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
 Dependencies

Development

~> 1.15
~> 10.0
~> 3.0

Runtime

~> 0.20.0
 Project Readme

Papa Version Build Status

Helper tool for inDinero's git workflow. Ako ang papa mo.

Contents

  • Getting Started
  • Commands
    • papa release
      • start
      • add
      • finish
    • papa hotfix
      • start
      • add
      • deploy
      • finish
    • papa integration
      • start
      • add
      • deploy
    • papa sandbox
      • generate

Getting Started

Install papa from Rubygems

$ gem install papa

Set up configs

Create a config file in ~/.papa.config.yml.

An example config file can be found in .papa.config.yml.example.

tl;dr:

echo 'slack_webhook: YOUR_SLACK_WEBHOOK_URL_HERE' > ~/.papa.config.yml

Usage

Detailed information about what these commands do can be found in USAGE.md.

papa release

Starting a release branch

$ papa release start -v 17.12.0

Adding feature branches to a release branch

If you want to specify the feature branches using -b:

$ papa release add -v 17.12.0 -b feature/1 feature/2 feature/3

If you want to use vi to specify the feature branches:

$ papa release add -v 17.12.0

Finishing a release branch

$ papa release finish -v 17.12.0

If the release branch will also be merged to another branch:

$ papa release finish -v 17.12.0 -b release/17.11.0

papa hotfix

Starting a hotfix branch

$ papa hotfix start -v 17.12.0

Adding bugfix branches to a hotfix branch

If you want to specify the bugfix branches using -b:

$ papa hotfix add -v 17.12.0 -b bugfix/1 bugfix/2 bugfix/3

If you want to use vi to specify the bugfix branches:

$ papa hotfix add -v 17.12.0

Deploying a hotfix branch to a hotfix environment

$ papa hotfix deploy -v 17.12.0

Finishing a hotfix branch

$ papa hotfix finish -v 17.12.0

If the hotfix branch will also be merged to a release branch:

$ papa hotfix finish -v 17.12.0 -b release/17.11.0

papa integration

Starting an integration branch

$ papa integration start -f develop

Adding branches to an integration branch

If you want to specify the feature branches using -b:

$ papa integration add -v 17.12.0 -b feature/1 feature/2 feature/3

If you want to use vi to specify the feature branches:

$ papa integration add -v 17.12.0

Deploying an integration branch to an integration environment

$ papa integration deploy -v 17.12.7.18.20.30

If you want to specify a different subdomain for the environment:

$ papa integration deploy -v 17.12.7.18.20.30 -s diomar

papa sandbox

$ papa sandbox generate