Skip to main content
aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2018-09-11Prepare 5.1.1-SNAPSHOT buildsstable-5.1Matthias Sohn4-13/+13
Change-Id: Ia3cac44e00570b6cbc8b8476b3ada56e4cb2a316 Signed-off-by: Matthias Sohn <matthias.sohn@sap.com>
2018-09-11EGit Mylyn Github Connector v5.1.0.201809111528-rv5.1.0.201809111528-rMatthias Sohn4-4/+4
Change-Id: I71a2d30302a42323a68f7b74cc65b04ce9255cd4 Signed-off-by: Matthias Sohn <matthias.sohn@sap.com>
2018-09-05Prepare 5.1.0-SNAPSHOT buildsMatthias Sohn4-4/+4
Change-Id: Ibacbcbeea4be60e9b6229b3911d16e57a5da6a38 Signed-off-by: Matthias Sohn <matthias.sohn@sap.com>
2018-09-05EGit Mylyn Github Connector v5.1.0.201809051400-rc1v5.1.0.201809051400-rc1Matthias Sohn4-4/+4
Change-Id: I4d3c12f4dd17ee069722a7535d3fbe8accc4a154 Signed-off-by: Matthias Sohn <matthias.sohn@sap.com>
2018-08-29Prepare 5.1.0-SNAPSHOT buildsMatthias Sohn4-4/+4
Change-Id: I5ca352856d4d84284eb5abca9836ed03680c1e2d Signed-off-by: Matthias Sohn <matthias.sohn@sap.com>
2018-08-28EGit Mylyn Github Connector v5.1.0.201808281540-m3v5.1.0.201808281540-m3Matthias Sohn4-4/+4
Change-Id: I42034d0c7c6fbfd523b6bd3b88a7d1a61d26e584 Signed-off-by: Matthias Sohn <matthias.sohn@sap.com>
2018-05-30More restrictive JDT settings for the projectsThomas Wolf18-87/+556
Use the settings from EGit, then fix all errors reported. (Mostly non-externalized strings and inconsistent or missing Javadoc.) The "organize imports" order has been adapted to the apparent convention used hitherto, which is "com,java,javax,org" (strictly alphabetical), whereas EGit uses "java,javax,org,com". Then make the tycho compiler plugin use those settings. Change-Id: Idda75e94b7c8d48f7ce3a1b6678728a4ec569781 Signed-off-by: Thomas Wolf <thomas.wolf@paranor.ch>
2018-05-30Get user's teams across GitHub organizationsSingaram Subramanian3-4/+139
User may belong to different teams in different GitHub organizations. This change is to retrieve all those teams across organizations using GitHub APIs. Bug: 529850 Change-Id: I703c3385e26ffcd4e34aa1aa1515f6e53fbdf008 Signed-off-by: Singaram Subramanian <to.ramsubramanian@gmail.com>
2018-05-30Merge branch 'stable-5.0'Matthias Sohn119-253/+495
* stable-5.0: Update license to EPL-2.0 Prepare 5.0.0-SNAPSHOT builds EGit Mylyn Github Connector v5.0.0.201805221745-rc1 Prepare 5.0.0-SNAPSHOT builds EGit Mylyn Github Connector v5.0.0.201805151920-m7 Change-Id: If036a88ae4b1ffb27750794f571087aeb251ad29
2018-05-30Update license to EPL-2.0Matthias Sohn119-253/+495
- use CBI license feature for EPL-2.0 - LICENSE with EPL-2.0 license text - update license headers - improve feature.properties - remove obsolete .eclipse_iplog Bug: 530393 Change-Id: I9f17457f70c5b1672e4c329dc389492c863fd838 Signed-off-by: Matthias Sohn <matthias.sohn@sap.com>
2018-05-23Prepare 5.1.0-SNAPSHOT buildsMatthias Sohn4-13/+13
Change-Id: I483b724b5203568dec0f24c1da3d9b68dcd14638 Signed-off-by: Matthias Sohn <matthias.sohn@sap.com>
2018-05-22Prepare 5.0.0-SNAPSHOT buildsMatthias Sohn4-4/+4
Change-Id: If4e8ef4e00f18494f54e7ad44b35b1e67e879264 Signed-off-by: Matthias Sohn <matthias.sohn@sap.com>
2018-05-22EGit Mylyn Github Connector v5.0.0.201805221745-rc1v5.0.0.201805221745-rc1Matthias Sohn4-4/+4
Change-Id: I014ba51283c399d61f26a69b44aeb9938dbf3f40 Signed-off-by: Matthias Sohn <matthias.sohn@sap.com>
2018-05-17Prepare 5.0.0-SNAPSHOT buildsMatthias Sohn4-4/+4
Change-Id: Iaa1bb384c6f7447c61a71a010fe8bb67cbdd077f Signed-off-by: Matthias Sohn <matthias.sohn@sap.com>
2018-05-16EGit Mylyn Github Connector v5.0.0.201805151920-m7v5.0.0.201805151920-m7Matthias Sohn4-4/+4
Change-Id: I1722c80ad6762c238215fee1e9e1db63a7ee6358 Signed-off-by: Matthias Sohn <matthias.sohn@sap.com>
2018-05-08Fix Repository.getWatchers(); add Repository.getStars()Thomas Wolf1-2/+27
Per [1] it appears that the JSON returned by Github changed, apparently already in 2012. What Github shows today as the number of "watchers" is stored in field "subscribers_count". Field "watchers" actually is a copy of "stargazers_count" (as is "watchers_count"). So add fields "stargazersCount" and "subscribersCount", but keep the legacy "watchers" field to be able to deal with old serialized (via Gson or via Java serialization) objects. Add tests, including a new test for Gson de-serialization. The test data in test_repo.json is anonymized actual output for an existing repository obtained from the Github API as of 2018-05-08. [1] https://developer.github.com/changes/2012-09-05-watcher-api/ Bug: 534440 Change-Id: I1faba649986ab6ed9e367bfefdb0bbe2fbaf7071 Signed-off-by: Thomas Wolf <thomas.wolf@paranor.ch>
2018-03-24Support diff/patch generation via the Github APIChristian Barcenas2-15/+102
The Github API can generate .diff and .patch files server-side for individual commits and ranges of commits. This feature is very useful, as it permits one to fetch the contents of file changes without needing to download an entire repository. See: https://developer.github.com/v3/repos/commits/. This change adds support for these features to the CommitService. Bug: 529255 Change-Id: I9c700f0030578299283021b8f645d052bccca3c6 Signed-off-by: Christian Barcenas <christian@cbarcenas.com>
2018-03-16Remove deprecated WatcherServiceMatthias Sohn1-332/+0
Use StargazerService instead. Change-Id: I4ebd88489830e3fba22a20c142df20b66cfa46e2 Signed-off-by: Matthias Sohn <matthias.sohn@sap.com>
2018-03-16Remove deprecated User#getGravatarId and #setGravatarIdMatthias Sohn1-20/+0
Change-Id: I13f82ce01166752fe18eb5fdf8a3168e743d8249 Signed-off-by: Matthias Sohn <matthias.sohn@sap.com>
2018-03-16Remove deprecated Repository#getMasterBranch and #setMasterBranchMatthias Sohn1-20/+2
Change-Id: I18da9d2fe0968947bece4705d3dd9587c9ccbbc2 Signed-off-by: Matthias Sohn <matthias.sohn@sap.com>
2018-03-16Remove deprecated Gist#setUser and #getUser methodsMatthias Sohn1-20/+2
Change-Id: I4b5cc5f5dc1fe3d8a5753081f20e1ea27acdc3f8 Signed-off-by: Matthias Sohn <matthias.sohn@sap.com>
2018-03-08Prepare 5.0.0-SNAPSHOT buildsMatthias Sohn4-13/+13
Change-Id: I222824cf5f3601906d4193f8008860ce8c362331 Signed-off-by: Matthias Sohn <matthias.sohn@sap.com>
2018-03-08Prepare 4.11.1-SNAPSHOT buildsstable-4.11Matthias Sohn4-13/+13
Change-Id: Ia51eb0f6a5fcb7677b1609458332ac4fef01adc6 Signed-off-by: Matthias Sohn <matthias.sohn@sap.com>
2018-03-08EGit Mylyn Github Connector v4.11.0.201803080745-rv4.11.0.201803080745-rMatthias Sohn4-4/+4
Change-Id: I24ee25ce1d38060f7b79f624364a73b77823bdc1 Signed-off-by: Matthias Sohn <matthias.sohn@sap.com>
2018-02-21Add the assignees list in pull requestRaquel Pau1-0/+21
A pull request can be assigned to a list of people. The pull request object returned by the pull request payload contains that list. This patch adds the "assignees" field into the pull request object. This is an example: https://gist.github.com/rpau/3a68abf2e0af60e1e8b155e9b6d5e5a1 Change-Id: Ib28d4d8ae0ee71a60fc6381d131f669a6d4d788f Signed-off-by: Raquel Pau <raquel.pau@schibsted.com>
2018-01-02Replace FileInputStream and FileOutputStream with static Files methodsMatthias Sohn1-4/+4
FileInputStream and FileOutputStream rely on finalize() method to ensure resources are closed. This implies they are added to the finalizer queue which causes additional work for the JVM GC process. This is an open bug on the OpenJDK [1] and the recommended workaround is to use the Files.newInputStream and Files.newOutputStream static methods instead. [1] https://bugs.openjdk.java.net/browse/JDK-8080225 Change-Id: I2de6fc27d7fb593a946e9f6d9bb64873092e258c Signed-off-by: Matthias Sohn <matthias.sohn@sap.com>
2017-12-31Prepare 4.11.0-SNAPSHOT buildsMatthias Sohn4-13/+13
Change-Id: I015129d796c625e6e0beda30009bcbd45a3a3114 Signed-off-by: Matthias Sohn <matthias.sohn@sap.com>
2017-12-23Fix GitHubClient to always use responseContentTypeChristian Barcenas1-1/+6
The value of the GitHubRequest responseContentType field is supposed to be used as the HTTP Accept header for that particular GitHubRequest. This field exists because various endpoints in the GitHub API support multiple response media types. See: https://developer.github.com/v3/media/. This field is respected by GitHubClient's get(GitHubRequest) method, but this is *not* the case in getStream(GitHubRequest). The handling of the responseContentType field between these two very similar methods should definitely be consistent. Bug: 528982 Change-Id: Ie7964bf2337b4547ea602b0bfa3f2c20afc8df83 Signed-off-by: Christian Barcenas <christian@cbarcenas.com>
2017-12-22Add header Automatic-Module-Name for Java 9Karsten Thoms1-0/+1
Bug: 529074 Change-Id: Ibe911d70b49759ecc445911b14a3cd2c64d76efa Signed-off-by: Karsten Thoms <karsten.thoms@itemis.de> Signed-off-by: Matthias Sohn <matthias.sohn@sap.com>
2017-10-08Prepare 4.10.0-SNAPSHOT buildsMatthias Sohn4-13/+13
Change-Id: Idb7d5db06c1cd154290a8315ea95b6756ee995ba Signed-off-by: Matthias Sohn <matthias.sohn@sap.com>
2017-05-30Prepare 4.9.0-SNAPSHOT buildsMatthias Sohn4-13/+13
Change-Id: Ic7e425c51c8f6788f0a6f2a143acf5c723e8a960 Signed-off-by: Matthias Sohn <matthias.sohn@sap.com>
2017-04-05Prepare 4.8.0-SNAPSHOT buildsMatthias Sohn4-13/+13
Change-Id: Ib2894b94006a5c82ec43e8a75cd2c0a120f6dba8 Signed-off-by: Matthias Sohn <matthias.sohn@sap.com>
2016-12-26Prepare 4.7.0-SNAPSHOT buildsMatthias Sohn4-13/+13
Change-Id: I98bf43abb5acdf4a3ce2167509b30c2751f34fca Signed-off-by: Matthias Sohn <matthias.sohn@sap.com>
2016-12-26Prepare 4.6.1-SNAPSHOT buildsMatthias Sohn4-13/+13
Change-Id: I2401c8149efc4c05f1f77a62cb3cb080976482d2 Signed-off-by: Matthias Sohn <matthias.sohn@sap.com>
2016-12-23EGit Mylyn Github Connector v4.6.0.201612231935-rv4.6.0.201612231935-rMatthias Sohn4-4/+4
Change-Id: Ia2070aec86efb3f11b6e5a58ef8af6033298a59c Signed-off-by: Matthias Sohn <matthias.sohn@sap.com>
2016-09-20Change minimum execution environment to JavaSE-1.8Matthias Sohn5-8/+8
Change-Id: Id9ae44ede66f21edbae4c2cc192c68c1968622ee Signed-off-by: Matthias Sohn <matthias.sohn@sap.com>
2016-09-19Prepare 4.6.0-SNAPSHOT buildsMatthias Sohn4-13/+13
Change-Id: I73f99318418a7af2305868165667d48805344f52 Signed-off-by: Matthias Sohn <matthias.sohn@sap.com>
2016-06-01Prepare 4.5.0-SNAPSHOT buildsMatthias Sohn4-13/+13
Change-Id: I3207590651c3aaf77a7afd3f41c10ca226ff5ef0 Signed-off-by: Matthias Sohn <matthias.sohn@sap.com>
2016-05-24Add missing attributes to CommitCommentJon Ander Peñalba1-0/+54
https://developer.github.com/v3/pulls/comments/ Change-Id: I0a9cb66229fa890c913224376dab7a2d5d05962c Signed-off-by: Jon Ander Peñalba <jonan88@gmail.com> Signed-off-by: Matthias Sohn <matthias.sohn@sap.com>
2016-04-08Prepare 4.4.0-SNAPSHOT buildsMatthias Sohn4-13/+13
Change-Id: I5ae4b15b83cd571a7047aca223ba71fcca79d487 Signed-off-by: Matthias Sohn <matthias.sohn@sap.com>
2016-04-08Prepare 4.3.1-SNAPSHOT buildsstable-4.3Matthias Sohn4-13/+13
Change-Id: Ib4bb2bcb9047fd4e58f6f58cd1dc77833943d5ab Signed-off-by: Matthias Sohn <matthias.sohn@sap.com>
2016-04-07EGit Mylyn Github Connector v4.3.0.201604071810-rv4.3.0.201604071810-rMatthias Sohn4-4/+4
Change-Id: I2bef635cf696377e670e4453d2faeeba53165182 Signed-off-by: Matthias Sohn <matthias.sohn@sap.com>
2016-04-07EGit Mylyn Github Connector v4.3.0.201604071045-rMatthias Sohn4-4/+4
Change-Id: Ia423a0210db4c9f78d5dbaaa35709a88711f1558 Signed-off-by: Matthias Sohn <matthias.sohn@sap.com>
2016-04-05Prepare 4.3.0-SNAPSHOT buildsMatthias Sohn4-4/+4
Change-Id: I451cb8567886573b6df576d9cfd8574221e6beca Signed-off-by: Matthias Sohn <matthias.sohn@sap.com>
2016-03-23EGit Mylyn Github Connector v4.3.0.201603230630-rc1v4.3.0.201603230630-rc1Matthias Sohn4-4/+4
Change-Id: I063421c3d5f3dbea91ed522f065f5056dac1214c Signed-off-by: Matthias Sohn <matthias.sohn@sap.com>
2016-03-05Add the assigner attribute to IssueEventJon Ander Peñalba1-1/+19
https://developer.github.com/v3/issues/events/#attributes Change-Id: Id41a0bccfa9ddf4349ab481f87bb1cb986c74426 Signed-off-by: Jon Ander Peñalba <jonan88@gmail.com>
2016-01-21Prepare 4.3.0-SNAPSHOT buildsMatthias Sohn4-13/+13
Change-Id: I116fb6ef0b8ef1477b90bd5bfd8b88652785c527 Signed-off-by: Matthias Sohn <matthias.sohn@sap.com>
2016-01-20Remove useless importJon Ander Peñalba1-1/+0
Change-Id: I998f1db2173ac2036b13c44dbdc71bc77d147645 Signed-off-by: Jon Ander Peñalba <jonan88@gmail.com>
2015-12-23Add the ReleaseEvent and its corresponding PayloadJon Ander Peñalba4-0/+384
https://developer.github.com/v3/activity/events/types/#releaseevent Change-Id: I94832a0f2ab7a69697d839086f57ff29302fbaf7 Signed-off-by: Jon Ander Peñalba <jonan88@gmail.com> Signed-off-by: Matthias Sohn <matthias.sohn@sap.com>
2015-12-02Enable getting owners of an organizationAlexander Link3-2/+70
Until now the egit API did not provide a way to get the Organization owners. Using the GitHub API route /orgs/:org/members?role=<role> with "role" filter it is possible to get all members with a specific role. See https://developer.github.com/v3/orgs/members/#members-list for more information. Change-Id: Ida0bef8335f8d09b5650d3c26d960c0964e8a362 Signed-off-by: Alexander Link <Alexander.Link@sap.com>

Back to the top