Skip to main content

# 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.

Metadata

Release files for pr-creator 0.0.12

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for pr-creator 0.0.12
File Size Uploaded
pr-creator-0.0.12.tar.gz 8.2 kB Details

Release files / pr-creator-0.0.12.tar.gz

Download URL pr-creator-0.0.12.tar.gz
Size 8.2 kB
Tags Source
SHA-256 checksum
How to use checksums
a507ceb6421c5e2dde8b30072ddf7db745ef3882b97583c7f43d329906fd201d
BLAKE2b-256 checksum
How to use checksums
d330673057586b8729594f0907540911a006c0e6c720302ffc7a37ec05fd5b82
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release history Release notifications | RSS feed

This release

0.0.12 This release

1 release file

0.0.11

1 release file

0.0.10

1 release file

0.0.9

2 release files

0.0.8

2 release files

0.0.7

2 release files

0.0.6

2 release files

0.0.5

2 release files

0.0.4

2 release files

0.0.3

2 release files

0.0.2

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page