Jesse Glick
89a6664e45
More links to GH docs from Javadoc
2020-03-27 14:07:40 -04:00
Jesse Glick
30d792d6e1
Remove ‘Draft’ from nested data class names
2020-03-27 14:04:42 -04:00
Liam Newman
3745bf3157
Merge branch 'master' into add_has_projects
2020-03-27 07:53:07 -07:00
Kezhi Xiong
a7fda3e50d
Merge branch 'master' into add-check-suite-warp-up
2020-03-27 17:05:14 +08:00
XiongKezhi
7f07204fef
Add warpUp() for GHEventPayload.CheckSuite
2020-03-27 16:57:06 +08:00
Jesse Glick
c499c73dcc
Merge branch 'master' of github.com:github-api/github-api into createCheckRun
2020-03-26 19:09:13 -04:00
Jesse Glick
c01f3f5e8a
NPE when there are no annotations
2020-03-26 19:07:35 -04:00
Liam Newman
7ddf1f5830
Shorten generated test resource paths
2020-03-26 14:58:54 -07:00
Liam Newman
e911e86c4c
Merge pull request #755 from jglick/javadoc
...
#724 broke the site goal from .github/PULL_REQUEST_TEMPLATE.md
2020-03-26 13:57:51 -07:00
Jesse Glick
b4c4a05f3b
Moving enums inside GHCheckRun
2020-03-26 16:44:01 -04:00
Jesse Glick
fd3c36a259
IMHO treating Javadoc warnings as fatal makes sources less legible and does not improve API comprehension at all
2020-03-26 16:33:57 -04:00
Jesse Glick
d8274ac2d4
Merge branch 'javadoc' into createCheckRun
2020-03-26 16:26:52 -04:00
Jesse Glick
9c7479f953
#724 broke the site goal from .github/PULL_REQUEST_TEMPLATE.md
2020-03-26 16:25:32 -04:00
Jesse Glick
b5dc3c4366
Added some Javadoc.
2020-03-26 16:22:04 -04:00
Jesse Glick
26b8082155
Handle >50 annotations
2020-03-26 16:14:39 -04:00
Liam Newman
418df15f7b
Merge branch 'master' into sign_verification
2020-03-26 10:23:16 -07:00
Liam Newman
31ed0125b8
Shorten test paths for windows
2020-03-26 10:09:01 -07:00
Liam Newman
494318b879
Change method name to isVerified
2020-03-26 09:49:03 -07:00
Liam Newman
f554ddc372
Capitalize and Move GHVerification.Reason enum
2020-03-26 09:45:20 -07:00
Jesse Glick
03de12c221
SpotBugs
2020-03-25 20:03:18 -04:00
Jesse Glick
6c41f22b57
Coverage of DraftImage
2020-03-25 19:59:42 -04:00
Jesse Glick
7ae96388e3
Merge branch 'master' of github.com:github-api/github-api into createCheckRun
2020-03-25 19:21:46 -04:00
Jesse Glick
e8b4de00d2
WireMock coverage
2020-03-25 19:18:11 -04:00
Jesse Glick
cd7963b30d
Acc to 7a650132c5/src/main/java/org/kohsuke/github/GitHubBuilder.java (L221) it is GITHUB_LOGIN not GITHUB_USER
2020-03-25 17:52:32 -04:00
Liam Newman
0dc44cffcf
Merge branch 'master' into add_has_projects
2020-03-25 11:57:44 -07:00
Jesse Glick
c7fb390c38
Introduced enums
2020-03-25 13:40:00 -04:00
Jesse Glick
572ff9df19
I guess nullability annotations can be omitted from internal members
2020-03-25 13:20:33 -04:00
Jesse Glick
b715e0cef7
Reformatted
2020-03-25 13:18:11 -04:00
Jesse Glick
36ab2a889f
Redesigned using a fluent builder idiom
2020-03-25 13:14:06 -04:00
D067452
a78d2f28d7
Get commit or tag signature verified flag
...
This fixes #737
- A new entity GHVerification.java has been added which would be reflecting Verification flag
- Updating GHCommit.java and GHTagObject.java with GHVerification
- Altering few test cases AppTest.java and GHTagTest.java to verify if the Verification entity is being picked up
- A separate test class SignatureVerificationTest.java with the associated wiremock test resources
- Adding a new enum GHReason.java
- Updating tests to check the GHReason implementation, GHReasonTest.java with the associated wiremock test resources
2020-03-25 17:19:56 +01:00
Jesse Glick
7d5a39ed89
GHRepository.createCheckRun
2020-03-24 23:51:38 -04:00
Liam Newman
772272ff36
Re-record test for GHLabel
2020-03-24 12:32:13 -07:00
Liam Newman
2ab4eafee9
Tweaks and cleanup
2020-03-23 17:40:01 -07:00
Liam Newman
b15e0d4c45
Cleanup and tweaks
2020-03-23 17:40:01 -07:00
Liam Newman
b8180314d8
Change to Preview for new builder pattern
2020-03-23 17:40:01 -07:00
Liam Newman
fcb8d03a0f
Ensure that Description is part of GHLabel comparision
2020-03-23 17:40:01 -07:00
Liam Newman
09ec89bc2e
Remove Repository member from GHLabel
...
It turns out GHLabel instances do not need a reference to their repo, just to root.
2020-03-23 17:40:01 -07:00
Liam Newman
863ad0f486
Clarify behavior
2020-03-23 17:40:01 -07:00
Liam Newman
79a1bb3571
Update src/test/java/org/kohsuke/github/AppTest.java
2020-03-23 17:40:01 -07:00
Liam Newman
9f1d7323c7
Reverted getter changes to highlight the more important set/update changes
2020-03-23 17:40:01 -07:00
Liam Newman
64a82f4785
Clean up proposed API changes
2020-03-23 17:40:01 -07:00
Liam Newman
f37e4bd76e
Private fields
2020-03-23 17:40:01 -07:00
Liam Newman
98ef2cc640
Update-in-place and safer single or batch calculation
2020-03-23 17:40:01 -07:00
Liam Newman
134222fd69
Minor cleanups
2020-03-23 17:40:01 -07:00
Liam Newman
0cb2371517
Third alternative proposal
...
This removes the from the fields. Functionally the behavior is unchanged but
it is no longer guaranteed at compile time. This simplifies streamlines the code slightly,
but at the cost of only being able to assert immutability rather than know it.
However, as we move to using this structure through more of the library, this is may be a better choice.
There are so many places where the GitHub API itself returns partial records or updates them dynamically.
Trying to claim immutability where it doesn't exist is not great either.
2020-03-23 17:40:01 -07:00
Liam Newman
b7de4359fd
Alternative proposal
...
The guts of this version are a bit ugly but they result reasonable API code without a ton of extra
code needed.
2020-03-23 17:40:01 -07:00
Liam Newman
2607d6a107
Make GHLabel example of proposed API design
2020-03-23 17:40:01 -07:00
Sladyn
29fbba832c
Merge branch 'master' into add_has_projects
2020-03-21 23:03:10 +05:30
Liam Newman
a1a73568ae
Merge branch 'master' into addHtmlURL
2020-03-20 11:41:23 -07:00
Andrej Vano
452b56c47b
[GHEvent] Add new enum for registry_package event
2020-03-20 11:47:04 +01:00