Skip to main content

Create PullRequest, view activities/discussion from command line.

https://img.shields.io/badge/pypi-v0.1-green.svg https://img.shields.io/codecov/c/github/laixintao/git-ext.svg https://travis-ci.org/laixintao/git-ext.svg?branch=master

A git extension that allows you submit pullrequests from command line.

https://asciinema.org/a/gWZNPXthrS9gpeDOaf5FTd0ak.png

Current support:

  • gitlab

  • bitbucket

To support:

  • github

install

Use pip to install.:

pip install git-ext

Then run init-git-ext command to write your bitbucket account infomation to ~/.git_ext.yml(Pullrequests need account info with HTTP BASIC AUTH.:

init-git-ext

Or edit ~/.git_ext.yml by hand:

bitbucket:
  email: ''
  password: ''
gitlab:
  domain: ""
  private_token: ""
git_ext:
  logging: {format: '%(name)s - %(message)s', level: DEBUG}

Optional

You can add a git alias if you are lazy like me :):

git config --global alias.pr pullrequest

usage

$ git pullrequest create test_b master
Reviewers(start with @):
201 Created!
#2 This is your commit title.[test_b->master]  by boson_laixintao(just now)
Reviewers:

$ git pullrequest list
#2 This is your commit title.[test_b->master]  by boson_laixintao(just now)

$ git pullrequest
Usage: git-pullrequests [OPTIONS] COMMAND [ARGS]...

Options:
  --help  Show this message and exit.

Commands:
  activity  Show a pr's activity, display lastest 10...
  create
  list

Develop

Export a enviroment to see the logs:

export GITEXT=debug

Licenses

GPLv3

Metadata

Release files for git-ext 0.6.2

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

Source distribution (sdist)

Source distribution for git-ext 0.6.2
File Size Uploaded
git-ext-0.6.2.tar.gz 10.2 kB Details

Release files / git-ext-0.6.2.tar.gz

Download URL git-ext-0.6.2.tar.gz
Size 10.2 kB
Tags Source
SHA-256 checksum
How to use checksums
b8236003c0cf3ca8b2d16a5d635ad63ebfcb0b0223b693c903f15a30d3008b10
BLAKE2b-256 checksum
How to use checksums
096b0262ab9edb045974c441547ba409ea2cc1ffdd328890de8cfb678b83dabd
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.11.0 pkginfo/1.4.2 requests/2.18.4 setuptools/39.1.0 requests-toolbelt/0.8.0 tqdm/4.23.3 CPython/2.7.10

Release history Release notifications | RSS feed

This release

0.6.2 This release

1 release file

0.6.1

1 release file

0.6.0

2 release files

0.5.0

1 release file

0.4.0

1 release file

0.3.11

1 release file

0.3.8

1 release file

0.3.5

1 release file

0.3.4

1 release file

0.3.3

1 release file

0.3.2

1 release file

0.3.1

1 release file

0.2.23

1 release file

0.2.22

1 release file

0.2.21

1 release file

0.2.20

1 release file

0.2.19

1 release file

0.2.18

1 release file

0.2.17

1 release file

0.2.16

1 release file

0.2.15

1 release file

0.2.12

1 release file

0.2.11

1 release file

0.2.10

1 release file

0.2.9

1 release file

0.2.8

1 release file

0.2.7

1 release file

0.2.6

1 release file

0.2.5

1 release file

0.2.4

1 release file

0.2.3

1 release file

0.2.2

1 release file

0.2.1

1 release file

0.2

1 release file

0.1

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