Skip to content
This repository has been archived by the owner on Feb 5, 2018. It is now read-only.

provide a way to close a bunch of pull requests #116

Open
afeld opened this issue Apr 16, 2015 · 1 comment
Open

provide a way to close a bunch of pull requests #116

afeld opened this issue Apr 16, 2015 · 1 comment

Comments

@afeld
Copy link
Contributor

afeld commented Apr 16, 2015

In classes that use the fork strategy, teachers may leave students' pull requests open for review, so that they can submit updates, etc. This may leave them with a bunch of open pull requests across one or more repositories, so it would be helpful to have a command that takes care of them in bulk.

My thinking is to expand merge_pull_requests:

$ teachers_pet help pull_requests
Usage:
  teachers_pet pull_requests --repository=OWNER/REPO

Options:
  --repository=OWNER/REPO
  --merge   # Merges pull requests. Cannot be used in combination with --close.
  --close   # Closes pull requests. Cannot be used in combination with --merge.
  ...

Perform an action on all open pull requests in a particular repository

On the fence about whether it should be an even more generic issues command, though that may be confusing since most people probably think about them (and treat them) as separate things.

@afeld
Copy link
Contributor Author

afeld commented Apr 16, 2015

Hmm, maybe not necessary after all...

pull_requests_ _advanced-js_echo

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant