-
Notifications
You must be signed in to change notification settings - Fork 736
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #233 from vparfonov/master
Add information about mirror url if it exist.
- Loading branch information
Showing
1 changed file
with
9 additions
and
1 deletion.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -54,7 +54,7 @@ public class GHRepository extends GHObject { | |
|
||
private String description, homepage, name, full_name; | ||
private String html_url; // this is the UI | ||
private String git_url, ssh_url, clone_url, svn_url; | ||
private String git_url, ssh_url, clone_url, svn_url, mirror_url; | ||
private GHUser owner; // not fully populated. beware. | ||
private boolean has_issues, has_wiki, fork, has_downloads; | ||
@JsonProperty("private") | ||
|
@@ -159,6 +159,14 @@ public String getSvnUrl() { | |
return svn_url; | ||
} | ||
|
||
/** | ||
* Gets the Mirror URL to access this repository: https://github.com/apache/tomee | ||
* mirrored from git://git.apache.org/tomee.git | ||
*/ | ||
public String getMirrorUrl() { | ||
return mirror_url; | ||
} | ||
|
||
/** | ||
* Gets the SSH URL to access this repository, such as [email protected]:rails/rails.git | ||
*/ | ||
|