Skip to main content
aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2018-09-05Prepare 5.2.0-SNAPSHOT buildsMatthias Sohn2-7/+7
Change-Id: I5e0d278aeb48ccaf52894b70d7f6f2c8d99039df Signed-off-by: Matthias Sohn <matthias.sohn@sap.com>
2018-05-30Get user's teams across GitHub organizationsSingaram Subramanian2-1/+66
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 Sohn120-241/+481
* 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 Sohn120-241/+481
- 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 Sohn2-7/+7
Change-Id: I483b724b5203568dec0f24c1da3d9b68dcd14638 Signed-off-by: Matthias Sohn <matthias.sohn@sap.com>
2018-05-22Prepare 5.0.0-SNAPSHOT buildsMatthias Sohn2-2/+2
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 Sohn2-2/+2
Change-Id: I014ba51283c399d61f26a69b44aeb9938dbf3f40 Signed-off-by: Matthias Sohn <matthias.sohn@sap.com>
2018-05-17Prepare 5.0.0-SNAPSHOT buildsMatthias Sohn2-2/+2
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 Sohn2-2/+2
Change-Id: I1722c80ad6762c238215fee1e9e1db63a7ee6358 Signed-off-by: Matthias Sohn <matthias.sohn@sap.com>
2018-05-08Fix Repository.getWatchers(); add Repository.getStars()Thomas Wolf4-1/+120
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-04-05Silence unusual equals() argument type warningsMichael Keppler3-144/+147
Since Oxygen the compiler can show a warning for non fitting equals argument types. This change silences the warnings by masking out the runtime type. Change-Id: I6ce095e38d1e59e70672c18a35426b2364f60684 Signed-off-by: Michael Keppler <Michael.Keppler@gmx.de>
2018-03-24Support diff/patch generation via the Github APIChristian Barcenas2-0/+264
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 Sohn4-295/+1
Use StargazerService instead. Change-Id: I4ebd88489830e3fba22a20c142df20b66cfa46e2 Signed-off-by: Matthias Sohn <matthias.sohn@sap.com>
2018-03-16Remove deprecated User#getGravatarId and #setGravatarIdMatthias Sohn2-4/+0
Change-Id: I13f82ce01166752fe18eb5fdf8a3168e743d8249 Signed-off-by: Matthias Sohn <matthias.sohn@sap.com>
2018-03-16Remove deprecated Gist#setUser and #getUser methodsMatthias Sohn2-4/+4
Change-Id: I4b5cc5f5dc1fe3d8a5753081f20e1ea27acdc3f8 Signed-off-by: Matthias Sohn <matthias.sohn@sap.com>
2018-03-08Prepare 5.0.0-SNAPSHOT buildsMatthias Sohn2-7/+7
Change-Id: I222824cf5f3601906d4193f8008860ce8c362331 Signed-off-by: Matthias Sohn <matthias.sohn@sap.com>
2018-03-08Prepare 4.11.1-SNAPSHOT buildsstable-4.11Matthias Sohn2-7/+7
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 Sohn2-2/+2
Change-Id: I24ee25ce1d38060f7b79f624364a73b77823bdc1 Signed-off-by: Matthias Sohn <matthias.sohn@sap.com>
2018-02-21Add the assignees list in pull requestRaquel Pau1-0/+6
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>
2017-12-31Prepare 4.11.0-SNAPSHOT buildsMatthias Sohn2-7/+7
Change-Id: I015129d796c625e6e0beda30009bcbd45a3a3114 Signed-off-by: Matthias Sohn <matthias.sohn@sap.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 Sohn2-7/+7
Change-Id: Idb7d5db06c1cd154290a8315ea95b6756ee995ba Signed-off-by: Matthias Sohn <matthias.sohn@sap.com>
2017-05-30Prepare 4.9.0-SNAPSHOT buildsMatthias Sohn2-7/+7
Change-Id: Ic7e425c51c8f6788f0a6f2a143acf5c723e8a960 Signed-off-by: Matthias Sohn <matthias.sohn@sap.com>
2017-04-05Prepare 4.8.0-SNAPSHOT buildsMatthias Sohn2-7/+7
Change-Id: Ib2894b94006a5c82ec43e8a75cd2c0a120f6dba8 Signed-off-by: Matthias Sohn <matthias.sohn@sap.com>
2016-12-26Prepare 4.7.0-SNAPSHOT buildsMatthias Sohn2-7/+7
Change-Id: I98bf43abb5acdf4a3ce2167509b30c2751f34fca Signed-off-by: Matthias Sohn <matthias.sohn@sap.com>
2016-12-26Prepare 4.6.1-SNAPSHOT buildsMatthias Sohn2-7/+7
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 Sohn2-2/+2
Change-Id: Ia2070aec86efb3f11b6e5a58ef8af6033298a59c Signed-off-by: Matthias Sohn <matthias.sohn@sap.com>
2016-09-20Change minimum execution environment to JavaSE-1.8Matthias Sohn3-5/+5
Change-Id: Id9ae44ede66f21edbae4c2cc192c68c1968622ee Signed-off-by: Matthias Sohn <matthias.sohn@sap.com>
2016-09-19Prepare 4.6.0-SNAPSHOT buildsMatthias Sohn2-7/+7
Change-Id: I73f99318418a7af2305868165667d48805344f52 Signed-off-by: Matthias Sohn <matthias.sohn@sap.com>
2016-08-11Fix LiveTests to include all live testsMatthias Sohn1-3/+16
A number of these tests is broken, this can be fixed in followup changes. Change-Id: Ida61e5159bc546b6ee31d667b2b52224d53a9e3b Signed-off-by: Matthias Sohn <matthias.sohn@sap.com>
2016-08-10Rename DateUtilTests to follow test class naming conventionMatthias Sohn2-2/+2
All other test classes follow the class name pattern "*Test" Change-Id: I5dbc9b09cc0f73f28764ece58af8d632ad7990c3 Signed-off-by: Matthias Sohn <matthias.sohn@sap.com>
2016-08-10Fix AllHeadlessTests suite to include all headless testsMatthias Sohn1-1/+19
Change-Id: I609c2bd4da4fcc1ff712e23749f29805a9b8c409 Signed-off-by: Matthias Sohn <matthias.sohn@sap.com>
2016-06-01Prepare 4.5.0-SNAPSHOT buildsMatthias Sohn2-7/+7
Change-Id: I3207590651c3aaf77a7afd3f41c10ca226ff5ef0 Signed-off-by: Matthias Sohn <matthias.sohn@sap.com>
2016-04-08Prepare 4.4.0-SNAPSHOT buildsMatthias Sohn2-7/+7
Change-Id: I5ae4b15b83cd571a7047aca223ba71fcca79d487 Signed-off-by: Matthias Sohn <matthias.sohn@sap.com>
2016-04-08Prepare 4.3.1-SNAPSHOT buildsstable-4.3Matthias Sohn2-7/+7
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 Sohn2-2/+2
Change-Id: I2bef635cf696377e670e4453d2faeeba53165182 Signed-off-by: Matthias Sohn <matthias.sohn@sap.com>
2016-04-07EGit Mylyn Github Connector v4.3.0.201604071045-rMatthias Sohn2-2/+2
Change-Id: Ia423a0210db4c9f78d5dbaaa35709a88711f1558 Signed-off-by: Matthias Sohn <matthias.sohn@sap.com>
2016-04-05Prepare 4.3.0-SNAPSHOT buildsMatthias Sohn2-2/+2
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 Sohn2-2/+2
Change-Id: I063421c3d5f3dbea91ed522f065f5056dac1214c Signed-off-by: Matthias Sohn <matthias.sohn@sap.com>
2016-01-21Prepare 4.3.0-SNAPSHOT buildsMatthias Sohn2-7/+7
Change-Id: I116fb6ef0b8ef1477b90bd5bfd8b88652785c527 Signed-off-by: Matthias Sohn <matthias.sohn@sap.com>
2015-12-02Enable getting owners of an organizationAlexander Link1-0/+42
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>
2015-10-11Implement starring APIJon Ander Peñalba1-0/+207
The starring API has changed: https://developer.github.com/changes/2012-9-5-watcher-api/ This commit deprecates the old class WatcherService and adds the new implementation StargazerService. Change-Id: Ice276b27880f75bb7847140c1534c5fc2705865d Signed-off-by: Jon Ander Peñalba <jonan88@gmail.com> Signed-off-by: Matthias Sohn <matthias.sohn@sap.com>
2015-09-28Prepare 4.2.0-SNAPSHOT buildsMatthias Sohn2-7/+7
Change-Id: I619acef33c08d4172508a26a8cc5fbcbda9736c3 Signed-off-by: Matthias Sohn <matthias.sohn@sap.com>
2015-09-28Prepare 4.1.1-SNAPSHOT buildsstable-4.1Matthias Sohn2-7/+7
Change-Id: I97ab3736d0920e50675be6fd66a846a08ad9cf75 Signed-off-by: Matthias Sohn <matthias.sohn@sap.com>
2015-09-28EGit Mylyn Github Connector v4.1.0.201509280440-rv4.1.0.201509280440-rMatthias Sohn2-2/+2
Change-Id: Ib5180f83ca57113aee65b4615d53d79185fcf861 Signed-off-by: Matthias Sohn <matthias.sohn@sap.com>
2015-09-24Add 'action' and 'pullRequest' to PullRequestReviewCommentPayloadJon Ander Peñalba1-0/+6
API specification: https://developer.github.com/v3/activity/events/types/#pullrequestreviewcommentevent Change-Id: I5277fdbb6cb7fc1690341501f408ca4e5d1ee4f5 Signed-off-by: Jon Ander Peñalba <jonan88@gmail.com> Signed-off-by: Matthias Sohn <matthias.sohn@sap.com>
2015-06-02Prepare 4.1.0-SNAPSHOT buildsMatthias Sohn2-7/+7
Change-Id: I5a990bd0ae0dddf55ba03ad06f11d0ee4bb64592 Signed-off-by: Matthias Sohn <matthias.sohn@sap.com>
2015-05-08Relax gson dependencies to version range [1.6,3.0)Matthias Sohn1-2/+2
requested in https://dev.eclipse.org/mhonarc/lists/egit-dev/msg03866.html Change-Id: I19ab0e5aa3224fae58b0e330472d800ce4db64b9 Signed-off-by: Matthias Sohn <matthias.sohn@sap.com>
2015-03-23Added `rename` field to the IssueEvent classJon Ander Peñalba1-0/+4
Change-Id: I83312c06fe5b0a51a673258436e3710acb964636 Signed-off-by: Jon Ander Peñalba <jonan88@gmail.com>
2015-03-12Update API calls to v3Jon Ander Peñalba2-2/+3
Old methods have been marked as deprecated. The differences are documented here: https://developer.github.com/v3/versions/ Change-Id: Ifa981d1421c1155fdff2b6783bcfb869e8f942ae Signed-off-by: Jon Ander Peñalba <jonan88@gmail.com>

Back to the top