Uses Python and bash scripts to help semi-automate PR creation using Andela Engineering conventions from terminal
- Create PR descriptions interactively, answering questions outlined in Andela Engineering conventions
- Automatically create PR on github using the
--create
option. - Ended process during input? continue from where you stopped using the
--continue
opt
-
Have > python 2 installed
-
bash or zsh shell
-
Make sure
user.name
on your terminal is the same as your account username on Githubcheck by making sure:
git config user.name == (Signed in as: when you click on your profile on the top right of Github.com)
change by running:
git config --global user.name='Your username on Github'
- Download files and add them to your project. (Note: project must be a git working directory)
- Add
mkpr.py
,mkpr.bash
,pull-request.txt
,continue-pr.txt
to your .gitignore file - Create PR Description only by running:
make create
- Continue from previously ended operation by running:
make continue
- Push directly to Github by running:
make push