Git lifestyle utility for NaviGuide
Project description
# What is this?
A tool to create cross-linked PRs.
# How do I install it?
pip install git+https://github.com/bwarren2/create-prs
Note: you will need a version of git that supports the -C flag. Casual googling says this is git version >= 1.8, but check yourself with man git.
Set some env vars:
JIRA_PASSWD: Jira password, ex ‘sooperseekritpass’ JIRA_USER: Jira username, ex ‘warrenb’ GITHUB_TOKEN: A github API token (from your settings). ex ‘nicetry’. PROJECTS: Where you have your eab repos checked out. ex ‘PROJECTS=/Users/warrenb/Projects’
If you need to make a github token, try [the github page](https://github.com/settings/tokens/). You want repo privileges. YES, I do in fact mean it. (It’s the privilege level that lets you interact with private PRs.) For a tale of the woe that befalls you if you don’t do this, ask @eabmahoney.
# How do I use it?
create-prs -h for help. By default, we only change local settings.
## Example usage:
### Basic
create-prs –branch some-name –ticket NAV-5000
- Which translates to:
Create branches in each of the projects
Name the branch feature/NAV-5000-some-name
### Basic, short names
create-prs -b some-name -t NAV-5000
Same as above, just using shorter flags.
### Picking bases
create-prs -pb -b some-name -t NAV-5000
- Which translates to:
Pick the base branches with an autocompleter
Create branches in each of the projects
Name the branch feature/NAV-5000-some-name
This will start an autocompleter that looks through your local branches to use one as a base. Useful for bugfixes that need to base off of release branches.
### Change all reqs
create-prs –all-reqs -b some-name -t NAV-5000
- Which translates to:
Change ALL the reqs files, not just local
Create branches in each of the projects
Name the branch feature/NAV-5000-some-name
# Contributing
PRs welcome.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for pr_creator-0.0.4-py2-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | bae3a8258b40d54c5fe8e2029388208763424ea20cd92528b428e539dd95e2c6 |
|
MD5 | 0055c2ac9554f2cf3b9af6afae7c5b73 |
|
BLAKE2b-256 | 576deeed6073203c7aeb224127686eb5c2e5433a31caaf0f72d112f71348fe23 |