All Projects → sshaw → Export Pull Requests

sshaw / Export Pull Requests

Export pull requests and/or issues to a CSV file. Supports GitHub, GitLab, and Bitbucket

Programming Languages

ruby
36898 projects - #4 most used programming language

Projects that are alternatives of or similar to Export Pull Requests

Vssue
📫 A Vue-powered Issue-based Comment Plugin
Stars: ✭ 496 (+629.41%)
Mutual labels:  gitlab, bitbucket
Git Touch
An open-source app for GitHub, GitLab, Bitbucket, Gitea, and Gitee(码云), built with Flutter
Stars: ✭ 663 (+875%)
Mutual labels:  gitlab, bitbucket
Renovate
Universal dependency update tool that fits into your workflows.
Stars: ✭ 6,700 (+9752.94%)
Mutual labels:  gitlab, bitbucket
Codestream
The Code Collaboration Tool Built for Remote Teams
Stars: ✭ 459 (+575%)
Mutual labels:  gitlab, bitbucket
Trackdown
TrackDown - Issue Tracking with plain Markdown. If you are missing the "git clone" for your tickets from github.com or bitbucket.org, then this is for you. A lightweight Ticketing System for distributed and unconnected small Teams.
Stars: ✭ 10 (-85.29%)
Mutual labels:  gitlab, bitbucket
Danger
🚫 Stop saying "you forgot to …" in code review (in Ruby)
Stars: ✭ 4,691 (+6798.53%)
Mutual labels:  gitlab, bitbucket
Webhooks
🎣 Webhook receiver for GitHub, Bitbucket, GitLab, Gogs
Stars: ✭ 601 (+783.82%)
Mutual labels:  gitlab, bitbucket
Oauth
🔗 OAuth 2.0 implementation for various providers in one place.
Stars: ✭ 336 (+394.12%)
Mutual labels:  gitlab, bitbucket
Contribute A Thon
Month-long Open Source contributing event ✨
Stars: ✭ 26 (-61.76%)
Mutual labels:  pull-requests, issues
Git Repo
Git-Repo: CLI utility to manage git services from your workspace
Stars: ✭ 818 (+1102.94%)
Mutual labels:  gitlab, bitbucket
Github Bot
GitHub 自动处理 issue、PR、releases 机器人
Stars: ✭ 434 (+538.24%)
Mutual labels:  pull-requests, issues
Scm Backup
Makes offline backups of your cloud hosted source code repositories
Stars: ✭ 38 (-44.12%)
Mutual labels:  gitlab, bitbucket
Contributors On Github
🌵 Show stats about contributors on github
Stars: ✭ 391 (+475%)
Mutual labels:  pull-requests, issues
Git Deploy
Php Script for Auto-Pull in server (Using WebHook from GitLab, GitHub and Bitbucket)
Stars: ✭ 495 (+627.94%)
Mutual labels:  gitlab, bitbucket
Ghorg
Quickly clone an entire org/users repositories into one directory - Supports GitHub, GitLab, Bitbucket, and more
Stars: ✭ 377 (+454.41%)
Mutual labels:  gitlab, bitbucket
Refined Bitbucket
Chrome and Firefox extension that improves Bitbucket's user experience
Stars: ✭ 560 (+723.53%)
Mutual labels:  pull-requests, bitbucket
Generic Webhook Trigger Plugin
Can receive any HTTP request, extract any values from JSON or XML and trigger a job with those values available as variables. Works with GitHub, GitLab, Bitbucket, Jira and many more.
Stars: ✭ 287 (+322.06%)
Mutual labels:  gitlab, bitbucket
Reviewdog
🐶 Automated code review tool integrated with any code analysis tools regardless of programming language
Stars: ✭ 4,541 (+6577.94%)
Mutual labels:  gitlab, bitbucket
Scala Steward
🤖 A bot that helps you keep your Scala projects up-to-date
Stars: ✭ 812 (+1094.12%)
Mutual labels:  gitlab, bitbucket
Gha Mjolnir
🔨 GitHub Action to close issues related to the merge of a pull request.
Stars: ✭ 28 (-58.82%)
Mutual labels:  pull-requests, issues

Export Pull Requests

Export pull requests/merge requests and/or issues to a CSV file.

Supports GitHub, GitLab, and Bitbucket.

Installation

Ruby is required.

With Ruby installed run:

gem install export-pull-requests

This installs the epr executable.

Usage

usage: epr [options] user/repo1 [user/repo2...]
    -b, --body                       Include the issue/pr body description in the output (GitHub only)
    -c, --creator=USER1,USER2,...    Export PRs created by given username(s); prepend `!' to exclude user
    -e, --endpoint=URL               Endpoint URL for 'enterprise', etc... repositories
    -m, --milestone=WHAT             Export items assigned to the given milestone (GitHub/GitLab only)
    -a, --assignee=USER              Export items assigned to the given user (GitHub/GitLab only)
    -l, --labels=LABEL(S)            Export items with the given label(s) (GitHub/GitLab only)
    -h, --help                       Show this message
    -p, --provider=NAME              Service provider: bitbucket, github, or gitlab; defaults to github
    -s, --state=STATE                Export items in the given state, defaults to open
    -t, --token=TOKEN                API token
    -x, --export=WHAT                What to export: pr, issues, or all; defaults to all
    -v, --version                    epr version

Config

These can all be set by one of the below methods or via the command line.

Token

The API token can be set by:

  • EPR_TOKEN environment variable
  • epr.token setting in .gitconfig (add via git config --add epr.token <your API token>)
  • github.oauth-token setting in .gitconfig

Default Service

github is the default. You can set a new default via EPR_SERVICE.

Examples

Export open PRs and issues in sshaw/git-link and sshaw/itunes_store_transporter:

epr sshaw/git-link sshaw/itunes_store_transporter > pr.csv

Export open pull request not created by sshaw in padrino/padrino-framework:

epr -x pr -c '!sshaw' padrino/padrino-framework > pr.csv

Export open merge requests from a GitLab project:

epr -x pr -p gitlab gitlab-org/gitlab-ce > pr.csv

Export all issues from a GitLab project:

epr -x issues -p gitlab gitlab-org/gitlab-ce > pr.csv

Service Notes

To connect to a custom/"Enterprise" installation of any of the supported services use the endpoint option (-e).

The provided URL must point the API endpoint, not the user-facing site. For GitHub this is http(s)://YOUR-SITE/api/v3.

Bitbucket

You can use app passwords for the API token. Just provide your token info in bitbucket_username:app_password format:

epr -p bitbucket -t bitbucket_username:app_password user/repo1

GitLab

Authentication can be done via a personal access token.

Enterprise editions of GitLab have an issue export feature.

See Also

  • Batch Labels - Add/remove labels in batches to/from GitHub issues and pull requests.

Author

Skye Shaw [skye.shaw AT gmail]

License

Released under the MIT License: www.opensource.org/licenses/MIT


Made by ScreenStaring

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].