Jake Wilson
Jake Wilson

Reputation: 91193

Categorize, label or organize GitHub pull requests?

Is there a way to organize pull requests on GitHub? For a big project with lots of contributors and pull requests, it seems like it would be invaluable for admins to at least be able to label pull requests. I would think this would be possible somewhere on the site but I'm not seeing it. I do see Issue labels though.

Upvotes: 10

Views: 3551

Answers (3)

VonC
VonC

Reputation: 1324693

Note (April 2014): in the blog post "L is for Labels", GitHub announce the possibility to easily edit a label on existing issue with the l hotkey:

https://cloud.githubusercontent.com/assets/47/2582431/1855dc10-b9c5-11e3-8cf1-9aa2943d7499.gif

That would apply to pull request as well, in its conversation tab.

Upvotes: 4

Kyle
Kyle

Reputation: 3609

There actually is a way to label pull requests but you have to do it from the issues view. Here's the steps:

  1. Go to the issues screen
  2. Check the box next to the pull request you want to label.
  3. At the top of the issues list there is a "Label" button with a little down arrow on it. Click that button.
  4. Select the label(s) you want to add to the pull request and then select update.

Not sure why they don't provide a way to label the pull requests the same as issues but this workaround gets the job done.

Update: 2/7/2014

GitHub now supports managing labels directly on pull requests. See their blog post for more information.

Upvotes: 21

Iguananaut
Iguananaut

Reputation: 23306

Shameless self-promotion here, but I've uploaded a Greasemonkey script that adds support for label management directly on pull requests, just like with issues: http://userscripts.org/scripts/show/185095

It continues to mystify me that GitHub doesn't support this anyways. It was very easy to add to the page and didn't contribute a great deal more clutter.

Upvotes: 2

Related Questions