Liam Newman
54f4152f89
Template data files to make okhttp2 test runnable in CI
...
OkHttp2 doesn't invalidate caches sometimes when it probably should
2020-01-17 17:00:40 -08:00
Liam Newman
06334bf272
Template data files to make okhttp3 test runnable in CI
2020-01-17 16:58:54 -08:00
Liam Newman
839f096f39
Add caching error test for OkHttp
2020-01-17 15:57:14 -08:00
Liam Newman
f3b2fdc4fc
Update test and resources using new workaround
2020-01-17 15:53:55 -08:00
Liam Newman
16d34f3268
Workaround for #669 - retry with cache overridden
...
This is much more reasonable way to address this issue.
When the Requester detects a 404 response with an ETag (only happpens when the server's 304
is bogus and would cause cache corruption), try the query again with new request header
that forces the server to not return 304 and return new data instead.
Ths solution is transparent to users of this library and autmatically fixes a situation that
was causing cache corruption. If GitHub ever fixes the issue and begins providing accurate
ETags to their 404 responses, this will result in two calls being made for each 404 response.
While that would be unfortunate, it would still be better than the current situation.
2020-01-17 15:53:55 -08:00
Liam Newman
61e8dd09d6
Revert "Workaround for #669 - remove If-Modified-Since header"
...
This reverts commit 90d7fea7aa .
2020-01-17 14:46:31 -08:00
Liam Newman
90d7fea7aa
Workaround for #669 - remove If-Modified-Since header
...
This is a first cut at working round #669 . It is hacky as hell and I hate it.
2020-01-17 14:46:10 -08:00
Liam Newman
b9c8bf07ea
Restore correct exception throwing for getArray
2020-01-15 19:42:42 -08:00
Liam Newman
a3ba07d45f
Inline toIterable
2020-01-15 19:33:22 -08:00
Liam Newman
5a6a29cbb5
Add array and iterator tests
2020-01-15 19:31:30 -08:00
Liam Newman
72aedbb76c
JENKINS-54126 - Repro of github caching error
2020-01-14 00:29:43 -08:00
Liam Newman
e7e3be6ea7
Merge pull request #662 from sullis/github-actions-checkout-v2
...
GitHub Actions checkout v2
2020-01-13 11:29:25 -08:00
Liam Newman
62e1b9eb01
Merge pull request #663 from sullis/jackson-2.10.2
...
jackson 2.10.2
2020-01-13 11:22:29 -08:00
Sean C. Sullivan
3fff92dc35
jackson 2.10.2
2020-01-12 16:09:57 -08:00
Sean C. Sullivan
352d77719e
GitHub Actions checkout v2
2020-01-12 15:23:13 -08:00
Martin van Zijl
ff397dfa4d
Correction per "mvn install site".
2020-01-11 13:03:41 +13:00
Martin van Zijl
34d64c0dff
Added comment to JavaDoc as advised per GitHub Maven test.
2020-01-11 12:53:54 +13:00
Martin van Zijl
b5fdc2f956
Merge branch 'master' of https://github.com/kohsuke/github-api into issue_500_create_tag_method
2020-01-11 12:46:08 +13:00
Martin van Zijl
38602965db
Merge branch 'issue_500_create_tag_method' of https://github.com/martinvanzijl/github-api into issue_500_create_tag_method
2020-01-11 12:31:28 +13:00
Martin van Zijl
df1ea62883
Removed wiremock files for old test case.
2020-01-11 12:24:12 +13:00
Martin van Zijl
afaff52888
Removed test from GHRepositoryTest and added to GHTagTest.
2020-01-11 12:23:41 +13:00
Liam Newman
5b7829c288
Merge branch 'master' into task/shade
2020-01-10 11:14:18 -08:00
Liam Newman
2462eb2c79
Merge pull request #652 from github-api/dependabot/maven/com.squareup.okio-okio-2.4.3
...
Bump okio from 2.4.2 to 2.4.3
2020-01-10 11:13:59 -08:00
Liam Newman
edc26b0a55
Fix site
2020-01-10 10:11:31 -08:00
Liam Newman
cc94e8b0ca
Merge branch 'master' into dependabot/maven/com.squareup.okio-okio-2.4.3
2020-01-10 09:24:04 -08:00
Liam Newman
80f3a6e507
Merge pull request #659 from github-api/dependabot/maven/com.squareup.okhttp3-okhttp-4.3.1
...
Bump okhttp from 4.2.2 to 4.3.1
2020-01-10 09:23:03 -08:00
Liam Newman
5709be7ff7
Merge branch 'master' into issue_500_create_tag_method
2020-01-10 09:19:05 -08:00
Liam Newman
46fce8cf4b
Merge branch 'master' into dependabot/maven/com.squareup.okio-okio-2.4.3
2020-01-10 09:18:51 -08:00
Liam Newman
e84049367e
Merge branch 'master' into dependabot/maven/com.squareup.okhttp3-okhttp-4.3.1
2020-01-10 09:18:05 -08:00
Liam Newman
f213ead595
Move shade to ci and release profiles
2020-01-09 11:36:24 -08:00
Liam Newman
ba540b0725
Remove parent pom
2020-01-09 08:27:06 -08:00
Liam Newman
eb55691c89
Add shading of dependencies
...
Fixes #630
2020-01-09 08:26:49 -08:00
Liam Newman
dd508e7dea
Rerecord GHTreeBuilder for test org
2020-01-08 19:44:23 -08:00
dependabot-preview[bot]
66357866c5
Bump okio from 2.4.2 to 2.4.3
...
Bumps [okio](https://github.com/square/okio ) from 2.4.2 to 2.4.3.
- [Release notes](https://github.com/square/okio/releases )
- [Changelog](https://github.com/square/okio/blob/master/CHANGELOG.md )
- [Commits](https://github.com/square/okio/compare/parent-2.4.2...parent-2.4.3 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com >
2020-01-09 03:22:54 +00:00
dependabot-preview[bot]
6e3728b458
Bump okhttp from 4.2.2 to 4.3.1
...
Bumps [okhttp](https://github.com/square/okhttp ) from 4.2.2 to 4.3.1.
- [Release notes](https://github.com/square/okhttp/releases )
- [Changelog](https://github.com/square/okhttp/blob/master/CHANGELOG.md )
- [Commits](https://github.com/square/okhttp/compare/parent-4.2.2...parent-4.3.1 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com >
2020-01-09 03:22:54 +00:00
Liam Newman
31d4eef4b1
Merge pull request #642 from asthinasthi/create-tree-null-sha-field
...
Post only non-null values in request body for createTree
2020-01-08 19:21:43 -08:00
Liam Newman
f58f32a7a8
Merge branch 'master' into create-tree-null-sha-field
2020-01-08 17:36:36 -08:00
Liam Newman
28d8fb686a
Merge pull request #653 from github-api/dependabot/maven/org.apache.maven.plugins-maven-source-plugin-3.2.1
...
Bump maven-source-plugin from 3.2.0 to 3.2.1
2020-01-07 11:26:07 -08:00
dependabot-preview[bot]
4c7fc2ef47
Bump maven-source-plugin from 3.2.0 to 3.2.1
...
Bumps [maven-source-plugin](https://github.com/apache/maven-source-plugin ) from 3.2.0 to 3.2.1.
- [Release notes](https://github.com/apache/maven-source-plugin/releases )
- [Commits](https://github.com/apache/maven-source-plugin/compare/maven-source-plugin-3.2.0...maven-source-plugin-3.2.1 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com >
2020-01-07 00:00:39 +00:00
Liam Newman
a3f99978c2
Merge pull request #657 from github-api/dependabot/maven/junit-junit-4.13
...
Bump junit from 4.12 to 4.13
2020-01-06 15:59:26 -08:00
Liam Newman
136b55d310
Merge pull request #650 from bitwiseman/issue/mime-base64-638
...
Do not MIME encode Base64 content for sending
2020-01-06 09:23:44 -08:00
dependabot-preview[bot]
617e90259b
Bump junit from 4.12 to 4.13
...
Bumps [junit](https://github.com/junit-team/junit4 ) from 4.12 to 4.13.
- [Release notes](https://github.com/junit-team/junit4/releases )
- [Changelog](https://github.com/junit-team/junit4/blob/master/doc/ReleaseNotes4.12.md )
- [Commits](https://github.com/junit-team/junit4/compare/r4.12...r4.13 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com >
2020-01-02 06:36:48 +00:00
Martin van Zijl
959eb46162
Deleted unit test cleanup method.
...
This method failed in the automated GitHub build online with a null
pointer exception.
I tried to make it a @Before/@After method, but that fails on
my local PC.
2020-01-02 13:21:27 +13:00
Martin van Zijl
998bda9de7
Add createTag() method.
...
Fixes #500 .
2019-12-23 05:43:48 +13:00
Liam Newman
37a2018fe3
Do not MIME encode Base64 content for sending
...
Fixes #638
2019-12-20 19:48:17 -08:00
Liam Newman
2c80e07c9d
Merge branch 'master' into create-tree-null-sha-field
2019-12-19 19:11:09 -08:00
Liam Newman
a115f34766
Merge pull request #637 from PauloMigAlmeida/marketplace_endpoints_patch2
...
[Patch 2/2] :: Add support to Marketplace endpoints
2019-12-19 19:10:00 -08:00
Liam Newman
cd66c1e7c3
Add Accept header
2019-12-19 18:59:50 -08:00
Liam Newman
4f9975dc6d
Merge remote-tracking branch 'github-api/master' into marketplace_endpoints_patch2
2019-12-19 18:44:48 -08:00
Liam Newman
9da487d962
Merge pull request #635 from PauloMigAlmeida/marketplace_endpoints
...
[Patch 1/2] :: Add support to Marketplace endpoints
2019-12-19 18:26:16 -08:00