Liam Newman
58d0a20074
[maven-release-plugin] prepare release github-api-1.102
github-api-1.102
2020-01-21 15:40:00 -08:00
Liam Newman
5884c7b3ba
Re-enable jacoco during ci
2020-01-21 14:44:47 -08:00
Liam Newman
dd1da268a2
Additional checks and clean up to GHRateLimit and tests
2020-01-21 13:30:08 -08:00
Liam Newman
98b606287d
Add more validation to rate limit
...
Downstream tests are doing some strange Json. Give better output when they do something invalid.
2020-01-18 23:33:44 -08:00
Liam Newman
9792fc0daa
Fix missing version
2020-01-18 19:20:21 -08:00
Liam Newman
a9bb9302bc
Move cached 404 retry to main code path
2020-01-18 18:53:31 -08:00
Liam Newman
30c70bc8d4
Merge pull request #651 from martinvanzijl/issue_500_create_tag_method
...
Add createTag() method to GHRepository
2020-01-18 14:02:39 -08:00
Liam Newman
0df48c37ac
Merge branch 'master' into issue_500_create_tag_method
2020-01-17 22:43:07 -08:00
Liam Newman
ec31e94e7a
Merge pull request #665 from bitwiseman/task/cache-error-test
...
Workaround for `If-Modified-Since` HTTP request header causing cache corruption
2020-01-17 22:42:09 -08:00
Liam Newman
ea631d0e88
Merge pull request #633 from bitwiseman/task/shade
...
Add shading of dependencies
2020-01-17 22:41:29 -08:00
Liam Newman
66a180346e
Improve commenting of workaround
2020-01-17 17:52:50 -08:00
Liam Newman
63ee878789
Merge remote-tracking branch 'github-api/master' into task/cache-error-test
2020-01-17 17:27:12 -08:00
Liam Newman
3479e4f2fd
Clean up and formatting
2020-01-17 17:05:45 -08:00
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