NOTE: This project is in beta
This is mainly for my fellow friends at ApoEx.
I'm lazy. Like, super lazy. But I also really like the workflow at my current workplace.
We plan our sprint in TargetProcess and then we name our branches to match the
UserStory in TP:
:tp_id-some-descriptive-title
.
My shortterm memory is really bad, so I always end up going back to TP to see find the ID for the story that I'm working on.
This gem aims to solve that.
- Install the binary via homebrew:
brew install micke/devflow/devflow
- The bin accepts settings from flags or it can also read them from config file a file in
~/.devflow.yaml
accesstoken
Your TP access tokenbaseurl
Your organizations TP URL, ex:https://project.tpondemand.com
userid
Your TP user id
- run
devflow checkout
when you start work on a new story - Profit?
Install hub and configure hub to work with
devflow. This will use the pr
command from devflow to populate your template
with story id, url and title. After setting this up all you need to do is run
git p-r
[alias]
p-r = "!devflow pr | hub -c core.commentChar=';' pull-request -oe -F -"
[alias]
p-r = "!devflow pr | hub -c core.commentChar=';' pull-request -o --no-edit -F -"