This repository has been archived by the owner on Jan 4, 2018. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
4 changed files
with
53 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
package org.jenkinsci.pullrequests; | ||
|
||
/** | ||
* @author Kohsuke Kawaguchi | ||
*/ | ||
public class Repository implements Comparable<Repository> { | ||
final String name; | ||
int count; | ||
|
||
public Repository(String name) { | ||
this.name = name; | ||
} | ||
|
||
/** | ||
* We want descending sort, so comparing in the reverse order. | ||
*/ | ||
public int compareTo(Repository that) { | ||
return that.count - this.count; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
h1.Pending Pull Requests by Repository | ||
This table lists the number of open pull requests by their count. | ||
|
||
||Repository||Count|| |
6 changes: 5 additions & 1 deletion
6
...s/org/jenkinsci/pullrequests/preamble.txt → ...org/jenkinsci/pullrequests/unattended.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters