Skip to main content

Git lifestyle utility for NaviGuide

Project description

# What is this?

A tool to create cross-linked PRs.

# How do I install it?

In a reqs file, write
`git+https://<your_github_token>:x-oauth-basic@github.com/bwarren2/create-prs`
and `pip install -r reqs.txt`.

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.

Example usage:
`create-prs -l -pb -b some-name -t NAV-5000`
Which translates to:
* Create branches in each of the projects
* Change the local settings only
* Pick the base branches with an autocompleter
* Name the branch `feature/NAV-5000-some-name`

# Contributing

PRs welcome.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

pr_creator-0.0.2-py2.7.egg (10.0 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page