Skip to main content
aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2012-09-19Prepare 2.1 maintenance buildsstable-2.1Matthias Sohn18-18/+18
Change-Id: I16967c5179ee9fae05136a42a36f72a7b4c73184 Signed-off-by: Matthias Sohn <matthias.sohn@sap.com>
2012-09-19EGit GitHub Mylyn Connector v2.1.0.201209190230-rv2.1.0.201209190230-rMatthias Sohn18-18/+18
Change-Id: I823a10b3dd7b3dfce113240d170eb1f92605ee6a Signed-off-by: Matthias Sohn <matthias.sohn@sap.com>
2012-07-30Use a POST instead of a PUT when editing repository hooksKevin Sawicki2-2/+2
Bug: 386254 Change-Id: Ib17bdcf49ce090983d2ef99a8bf57ba87f36f410
2012-07-26Add comment count field to Commit model classKevin Sawicki2-0/+20
Change-Id: I6c61df58daee9b5877e7d0e63caa58b436ec90d9
2012-07-20Add before field to PushPayload event modelKevin Sawicki2-0/+20
Change-Id: I2ae20c7b2c65590ed8fbd6982c0a9ce4f4413b03
2012-06-27Set upper gson version bound to 2.2 in SOURCE-MANIFEST.MFKevin Sawicki1-3/+3
This was already changed in the MANIFEST.MF file Change-Id: Ic14ebc90261d46187d2889db6e1d6e6a1a69f9ec
2012-06-27Add milestone and assignee to PullRequest model classKevin Sawicki2-0/+44
Change-Id: I4d5d999d6dc8820a8aaba533fd3f8df17e8aa297
2012-06-25Set default value of user agent fieldKevin Sawicki1-1/+1
This will be the value of the USER_AGENT constant which contains the API client version Change-Id: Ibb2d4f5a33e55f3f0f1f109fcb77be6f586aeac9
2012-06-25Add service support for editing a labelKevin Sawicki2-0/+72
Change-Id: I816837e62aa02788db53c6afc57b8dc4b839171e
2012-06-25Add service support for editing a milestoneKevin Sawicki2-0/+48
Change-Id: I8a84d8be64eb74ec0c22ad7f9200205363e925f8
2012-06-25Set Content-Length request header explicitly to zeroKevin Sawicki1-1/+3
Previously setFixedLengthStreamingMode(0) was called when sending null parameters. This appears to have no affect on Android when the intended behavior was to have "Content-Length" set to "0" in the request headers. Change-Id: Iabdacf9c2e64915e6106de4d6d4b99e57acb5db2
2012-06-14Prepare 2.1.0 buildsMatthias Sohn19-72/+72
Change-Id: Iebadde984097f161872816bfc50502678ae9a2c7 Signed-off-by: Matthias Sohn <matthias.sohn@sap.com>
2012-06-14Merge branch 'stable-2.0'Matthias Sohn15-81/+553
* stable-2.0: Prepare post 2.0.0.201206130900-r builds EGit Github Mylyn Connector 2.0.0.201206130900-r Fix typo in p2repo-zip-path Fix paths for signing plugin Update build to use official Juno Orbit repository Explicitly configure Tycho target runtime environment Update build to use Tycho 0.15.0 Add legacy support for searching issues Suppress parse exceptions deserializing event payloads Use API v3 endpoint for repository search API Prepare next 2.0.0-SNAPSHOT builds EGit Github Mylyn Connector v2.0.0.201206060730-rc3 Prepare next 2.0.0-SNAPSHOT builds EGit GitHub Connector v2.0.0.201205301645-rc2 Fix relative path to EGit p2 repository for local build Change-Id: Ieb71364a91a0c39c19869c76d6eb2480b9df080c Signed-off-by: Matthias Sohn <matthias.sohn@sap.com>
2012-06-14Prepare post 2.0.0.201206130900-r buildsstable-2.0Matthias Sohn18-18/+18
Change-Id: I0848dcb46a856cf92bec16718402220575331fcd Signed-off-by: Matthias Sohn <matthias.sohn@sap.com>
2012-06-13EGit Github Mylyn Connector 2.0.0.201206130900-rv2.0.0.201206130900-rMatthias Sohn18-18/+18
Change-Id: I0988516f3942197223adf0972faea6ec000d0b4d Signed-off-by: Matthias Sohn <matthias.sohn@sap.com>
2012-06-13Fix typo in p2repo-zip-pathMatthias Sohn1-1/+1
Change-Id: I609c73474eff343fc00df942f0b2f36299924770 Signed-off-by: Matthias Sohn <matthias.sohn@sap.com>
2012-06-13Fix paths for signing pluginMatthias Sohn1-3/+8
Also make these paths configurable by defining them in Maven properties which can be overridden via system properties. Change-Id: I582497b5b6f95e511f3ef80979a068f924f43220 Signed-off-by: Matthias Sohn <matthias.sohn@sap.com>
2012-06-13Update build to use official Juno Orbit repositoryMatthias Sohn1-1/+1
Change-Id: I19b2245ff6f99b8918488e06ee1f8b276e50cd4b Signed-off-by: Matthias Sohn <matthias.sohn@sap.com>
2012-06-13Explicitly configure Tycho target runtime environmentMatthias Sohn1-1/+33
This silences Tycho warnings which were logged previously. Change-Id: I8ac2bb1b4d88602329de366352c2b2fe0dba124d Signed-off-by: Matthias Sohn <matthias.sohn@sap.com>
2012-06-13Update build to use Tycho 0.15.0Matthias Sohn2-2/+2
Also fix groupId of tycho-p2-publisher-plugin. Change-Id: Icb004e59a58d6fc23a71d245b15cbc46fa991b1c Signed-off-by: Matthias Sohn <matthias.sohn@sap.com>
2012-06-12Add legacy support for searching issuesKevin Sawicki5-0/+473
IssueService now supports searching for opened or closed issues in a repository that match a given query. Change-Id: I054614b685726f9261a898f2e94215fbb460c728
2012-06-06Suppress parse exceptions deserializing event payloadsKevin Sawicki1-3/+9
Older events may include payloads with different field names or value types and parse exceptions that occur currently cause the entire list parsing to fail. By catching the parse exception on payload deserialization the event can still be returned with core fields but just a missing payload. This will allow returned pages with a mix of legacy and new event payloads to return successfully with proper payloads for new events and null payloads for legacy events. Change-Id: Iac866dd2d7a68ebbcb4ea7bec0c567a37e560ba0
2012-06-06Use API v3 endpoint for repository search APIKevin Sawicki6-69/+25
API v2 is being removed and is now provided as a legacy v3 API. Change-Id: Id1dea03486893b25012ae72518910a7d1bb3f4b9
2012-06-06Prepare next 2.0.0-SNAPSHOT buildsMatthias Sohn17-17/+17
Change-Id: I3cacfbabb67f715a6d59b9fa39a9cb161ba5f54b Signed-off-by: Matthias Sohn <matthias.sohn@sap.com>
2012-06-06EGit Github Mylyn Connector v2.0.0.201206060730-rc3Matthias Sohn17-17/+17
Change-Id: I47813b1a6a77ebf4283a44a967c78c0ba6a2c9cc Signed-off-by: Matthias Sohn <matthias.sohn@sap.com>
2012-05-31Prepare next 2.0.0-SNAPSHOT buildsMatthias Sohn17-17/+17
Change-Id: I81b88be231b7f0730536e82560524bd31af4bb36 Signed-off-by: Matthias Sohn <matthias.sohn@sap.com>
2012-05-30EGit GitHub Connector v2.0.0.201205301645-rc2Matthias Sohn17-17/+17
Change-Id: Ie5e24ee048218b9eff5ce1cf9c308f5e49dca57e Signed-off-by: Matthias Sohn <matthias.sohn@sap.com>
2012-05-30Fix relative path to EGit p2 repository for local buildMatthias Sohn1-1/+1
This path changed since EGit updated to use Tycho 0.14.1 and replaced the deprecated Tycho packaging type eclipse-update-site by eclipse-repository and adapted project names accordingly. Change-Id: I7389710eb6989be9f967b91d3d77f88686251718 Signed-off-by: Matthias Sohn <matthias.sohn@sap.com>
2012-05-09Don't call sendParams when params are nullKevin Sawicki1-1/+2
Setting the content length on an empty DELETE request is not needed Change-Id: I7e0e0e18b3ae262751d9feeb924a8dbc0277af3b
2012-05-08Consume Mylyn 3.7 APIsSteffen Pingel10-36/+26
Several internal classes were promoted to API in Mylyn 3.7 and deprecated. The GitHub connector should consume the new APIs since deprecated classes are going to be removed for Mylyn 3.8. Change-Id: Idab168d16247f00bb9d9ce6e4bbc64817b749380 Signed-off-by: Kevin Sawicki <kevin@github.com>
2012-05-03Removes throws IOException declaration from page callsKevin Sawicki3-44/+18
These don't actually throw exceptions and were declared this way mistakenly in the initial implementation Change-Id: Ib2bb903f02881a5b840558219462e528cbb42c12
2012-04-25Call pageGists from getGistsKevin Sawicki2-3/+3
This ensures the paging logic is exercised when all pages are directly read and follows the pattern used in other service classes. Change-Id: Iacb25a1bcd36c16e6d999f60b5ba3a42575673b6
2012-04-25Add support for paging over starred gistsKevin Sawicki2-11/+60
Previously only the entire list could be fetched but paging should be supported as well. Change-Id: I672cd76abc87916d5d05432f920d171f23a8f1bf
2012-04-20Moves upper bound on gson dependency from < 2.0.0 to < 2.2.0thallgren1-3/+3
Eclipse Orbit is currently at 2.1.0. This commit updates the manifest to accept 2.1.x versions. Change-Id: Iefbf77964e7a1b20b2c83468aba1025d0c0ac0f5
2012-04-18Add RepositoryIssueTest to AllHeadlessTestsKevin Sawicki1-0/+1
Change-Id: If40da86b6a2a01d45e3866f90b8267379fc008fd
2012-04-18Update iterator collection type in IssueTestKevin Sawicki1-1/+2
Page iterator now returns a RepositoryIssue collection instead of Issue. Change-Id: I370764abf9f78e101a7f138c3694eaa7eeec4429
2012-04-18Add RepositoryIssue model class that includes repositoryKevin Sawicki4-12/+103
This type of object is returned from IssueService for requests that don't require a repository id to be specified such as all the watched issues for the currently authenticated user. This new model class simply extends Issue and adds a single Repository field. Change-Id: I08829493fadd2493a6ff29d2e7dba6d8033de423
2012-04-17Store current rate limit headers after each request madeKevin Sawicki1-0/+62
Provide these parsed values so callers know how close they are to approaching the rate limit on client requests Change-Id: I30ba72d01abbf0cb820634105c3c780b07d6ad9c
2012-04-17Ignore exceptions when closing output streamKevin Sawicki1-1/+6
This maintains consistency with how exceptions are handled when closing the input stream. Change-Id: Ie49a124a2e4e16b1b850c246a298c0be681f0914
2012-04-12Clarify issue number is required instead of issue idKevin Sawicki1-98/+101
Issues have both a number and id and the methods in IssueService take a repository id and issue number yet many methods contained incorrect documentation stating the issue id needed to be specified as a parameter. Change-Id: I6ef6611cdd678f1f589656450b801b519e0619a1
2012-04-12Always set content length on PUT/POST/DELETE requestsKevin Sawicki1-15/+16
This prevents a 411 Length Required exception from being thrown on requests where no body is sent Change-Id: I663e5c55dd43a0f54c725e1479584b01f2edf911
2012-04-11Add target org as URL parameter instead of JSON post dataKevin Sawicki2-5/+3
Change-Id: I4a0272393ab0feffb3459507ca140dfe984c6e95
2012-04-09Add missing note and note_url fields to AuthorizationEddie Ringle2-0/+40
Change-Id: I3d23f91e0f8e1c2eedbe90b81fca7db7a3e21f84 Signed-off-by: Eddie Ringle <eddie@eringle.net> Signed-off-by: Kevin Sawicki <kevin@github.com>
2012-04-09Use custom deserializer for Event classKevin Sawicki3-103/+98
Using newer streaming versions of Gson causes deserialization problems if the payload is before the type field in the returned JSON using the current custom Event formatting. This changes the behavior to use an internal custom Gson instance just to handle parsing events that allows a chance to check the type and create the custom payload before the Event object is returned to any service callers. This approach simplifies the code but does require an additional Gson instance to be kept around to handle the default serialization of the top-level Event fields. Change-Id: Ic10a755bbf798ec2d1d4a4c53ccd9154e0cb91e2
2012-04-09Set JsonParseException as cause of thrown IOExceptionKevin Sawicki1-2/+8
Previously the message was just used and the cause exception discarded. Change-Id: I758d78efd8f506bc8f4a06970d8f9de36bc4bc52
2012-04-06Increment User-Agent version to 2.0.0Kevin Sawicki1-1/+1
Change-Id: I92fb14d506fe08e16281fe2ec2b0614f09d589f1
2012-04-06Add support for PullRequestReviewCommentEvent typeKevin Sawicki5-7/+112
Change-Id: I4bd892e6746a8e9a4f127f7acaf7cb64077e7ee5
2012-04-06Add event types as static fields on Event classKevin Sawicki2-17/+120
These can be used to determine the payload class to expect to be provided by the event. Change-Id: Ided3a379ea383b44b1ed03317333375818b0aeb0
2012-04-05Use static imports for constants from PagedRequestKevin Sawicki1-47/+52
Stays consistent with the import style used throughout the project. Change-Id: If4291b489e346458ee3ee9752c8c867cb486152e
2012-04-05Add missing space before '{' and format class header commentKevin Sawicki1-4/+4
Change-Id: Ia9b7723d47682f285b228f513a1d916d515ddc5b

Back to the top