Skip to main content
aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2012-06-13Prepare 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-30Prepare 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-11Clarify 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-11Always 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-05Increment User-Agent version to 2.0.0Kevin Sawicki1-1/+1
Change-Id: I92fb14d506fe08e16281fe2ec2b0614f09d589f1
2012-04-05Add support for PullRequestReviewCommentEvent typeKevin Sawicki5-7/+112
Change-Id: I4bd892e6746a8e9a4f127f7acaf7cb64077e7ee5
2012-04-05Add 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
2012-04-05Add the gravatar id field to the User modelEddie Ringle3-8/+30
Change-Id: Id9cc14c5eda40584e7a097ff64ff802f4e252618 Signed-off-by: Eddie Ringle <eddie@eringle.net> Signed-off-by: Kevin Sawicki <kevin@github.com>
2012-02-29Upgrade Maven Central POM file to use GSON 2.1Kevin Sawicki1-1/+1
Change-Id: I6b441d2ca20df2cecb304bd9510427aa079b8048
2012-02-29Handle 202 Accepted and 409 Conflict response codesKevin Sawicki1-0/+4
Change-Id: Id7bf48b03ee3f333ce0f8c5ea39122e5defb2e89
2012-02-16Guard against empty request body on errorsKevin Sawicki1-4/+10
Creating a RequestException should only be performed if a RequestError was successfully parsed from the response body. An IOException should be created in cases where the request error was missing. Change-Id: I39abc38c1e30428399c04ce3adf1dea35a8ce2ac
2012-02-16Use login instead of name field for issue assigneeKevin Sawicki2-2/+2
Login is the proper field to identify the assignee, name is non-unique and not required Change-Id: I648c8eb012b8db3bb887998c6f551269c442fb15
2012-02-16Set milestone to empty string when clearingKevin Sawicki1-1/+1
If the client is configured to not serialize nulls then it becomes impossible to clear the milestone if null is inserted here instead of empty string Change-Id: Iba384050de43d4e81077b6316147354fb0b52c22
2012-02-15Prepare 2.0.0-SNAPSHOT buildsMatthias Sohn17-66/+66
Change-Id: I829628112e5324ba83e1205dc50762f0a01a018c Signed-off-by: Matthias Sohn <matthias.sohn@sap.com>
2012-02-15Merge branch 'stable-1.3'Matthias Sohn0-0/+0
* stable-1.3: Prepare post 1.3.0.201202151440-r builds EGit Github 1.3.0.201202151440-r Change-Id: I1c6a5bf9a9defd99b261620e373ed224626a00ea Signed-off-by: Matthias Sohn <matthias.sohn@sap.com>
2012-02-15Prepare post 1.3.0.201202151440-r buildsstable-1.3Matthias Sohn17-17/+17
Change-Id: I280e2bfc02df2c65d023e345e6b731fa8f53d9c9 Signed-off-by: Matthias Sohn <matthias.sohn@sap.com>
2012-02-15EGit Github 1.3.0.201202151440-rv1.3.0.201202151440-rMatthias Sohn17-17/+17
Change-Id: I1e2dfa9ec75f6493b4be4783b40b39340d1fda89 Signed-off-by: Matthias Sohn <matthias.sohn@sap.com>
2012-02-13Merge branch 'stable-1.3'Matthias Sohn7-10/+130
* stable-1.3: Prepare post 1.3.0.201202121842-rc4 builds EGit GitHub 1.3.0.201202121842-rc4 Support editing specific repository fields only Update build to use the Indigo SR2 orbit repository Add the RepositorySearchWizardPage to the EGit import wizard Update .eclipse_iplog for 1.3.0 Change-Id: Ieba2b3364bcd2f01abef559c5eead6ac68d27f01 Signed-off-by: Matthias Sohn <matthias.sohn@sap.com>
2012-02-13Prepare post 1.3.0.201202121842-rc4 buildsMatthias Sohn17-17/+17
Change-Id: I062c0932c056083caf7e641baae808877ebed9a7 Signed-off-by: Matthias Sohn <matthias.sohn@sap.com>
2012-02-12EGit GitHub 1.3.0.201202121842-rc4v1.3.0.201202121842-rc4Matthias Sohn17-17/+17
Change-Id: I5f1573a4faad7f796bf6fb9df582dbbeb9a45272 Signed-off-by: Matthias Sohn <matthias.sohn@sap.com>

Back to the top