Skip to content

๐Ÿ“Š python tool for viewing bitbucket server (aka stash) pr stats

License

Notifications You must be signed in to change notification settings

noahp/stash-pr-stats

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

25 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

Code style: black Travis (.com) branch PyPI version PyPI pyversions

stash-pr-stats

Simple wrapper around stashy to pull stats about pull requests for selected users in a project in bitbucket server (aka stash).

Prints PR stats summary (open + merged total) and generates an svg chart with monthly stats for selected users.

install

Install from pypi:

pip install stash-pr-stats

example usage

# see help for more options
stash-pr-stats --help

# running for a single user
stash-pr-stats --accesstoken <token> --searchuser noahp --url="https://mystashserver.com"
+-------------+--------+----------+
| user        |   open |   merged |
+=============+========+==========+
| noahp       |      0 |      123 |
+-------------+--------+----------+
Success! see output file:///home/noah/dev/github/stash-pr-stats/pr-stats.svg

About

๐Ÿ“Š python tool for viewing bitbucket server (aka stash) pr stats

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Languages