github-webhooks 0.15.0 → 0.16.0
raw patch · 58 files changed
+16534/−15432 lines, 58 filessetup-changednew-uploaderPVP ok
version bump matches the API change (PVP)
API changes (from Hackage documentation)
- GitHub.Data.Webhooks.Events: InstallationRepoCreatedAction :: InstallationRepoEventAction
+ GitHub.Data.Webhooks.Events: InstallationNewPermissionsAcceptedAction :: InstallationEventAction
+ GitHub.Data.Webhooks.Events: InstallationRepoAddedAction :: InstallationRepoEventAction
+ GitHub.Data.Webhooks.Events: InstallationSuspendAction :: InstallationEventAction
+ GitHub.Data.Webhooks.Events: InstallationUnsuspendAction :: InstallationEventAction
+ GitHub.Data.Webhooks.Events: MarketplacePurchaseActionOther :: !Text -> MarketplacePurchaseEventAction
+ GitHub.Data.Webhooks.Events: MarketplacePurchaseCancelledAction :: MarketplacePurchaseEventAction
+ GitHub.Data.Webhooks.Events: MarketplacePurchaseChangedAction :: MarketplacePurchaseEventAction
+ GitHub.Data.Webhooks.Events: MarketplacePurchaseEvent :: !MarketplacePurchaseEventAction -> !UTCTime -> !HookUser -> !HookMarketplacePurchase -> !Maybe HookMarketplacePurchase -> MarketplacePurchaseEvent
+ GitHub.Data.Webhooks.Events: MarketplacePurchasePendingChangeAction :: MarketplacePurchaseEventAction
+ GitHub.Data.Webhooks.Events: MarketplacePurchasePendingChangeCancelledAction :: MarketplacePurchaseEventAction
+ GitHub.Data.Webhooks.Events: MarketplacePurchasePurchasedAction :: MarketplacePurchaseEventAction
+ GitHub.Data.Webhooks.Events: [evMarketplacePurchaseAction] :: MarketplacePurchaseEvent -> !MarketplacePurchaseEventAction
+ GitHub.Data.Webhooks.Events: [evMarketplacePurchaseEffectiveDate] :: MarketplacePurchaseEvent -> !UTCTime
+ GitHub.Data.Webhooks.Events: [evMarketplacePurchaseNew] :: MarketplacePurchaseEvent -> !HookMarketplacePurchase
+ GitHub.Data.Webhooks.Events: [evMarketplacePurchasePrevious] :: MarketplacePurchaseEvent -> !Maybe HookMarketplacePurchase
+ GitHub.Data.Webhooks.Events: [evMarketplacePurchaseSender] :: MarketplacePurchaseEvent -> !HookUser
+ GitHub.Data.Webhooks.Events: data MarketplacePurchaseEvent
+ GitHub.Data.Webhooks.Events: data MarketplacePurchaseEventAction
+ GitHub.Data.Webhooks.Events: instance Control.DeepSeq.NFData GitHub.Data.Webhooks.Events.MarketplacePurchaseEvent
+ GitHub.Data.Webhooks.Events: instance Control.DeepSeq.NFData GitHub.Data.Webhooks.Events.MarketplacePurchaseEventAction
+ GitHub.Data.Webhooks.Events: instance Data.Aeson.Types.FromJSON.FromJSON GitHub.Data.Webhooks.Events.MarketplacePurchaseEvent
+ GitHub.Data.Webhooks.Events: instance Data.Aeson.Types.FromJSON.FromJSON GitHub.Data.Webhooks.Events.MarketplacePurchaseEventAction
+ GitHub.Data.Webhooks.Events: instance Data.Data.Data GitHub.Data.Webhooks.Events.MarketplacePurchaseEvent
+ GitHub.Data.Webhooks.Events: instance Data.Data.Data GitHub.Data.Webhooks.Events.MarketplacePurchaseEventAction
+ GitHub.Data.Webhooks.Events: instance GHC.Classes.Eq GitHub.Data.Webhooks.Events.MarketplacePurchaseEvent
+ GitHub.Data.Webhooks.Events: instance GHC.Classes.Eq GitHub.Data.Webhooks.Events.MarketplacePurchaseEventAction
+ GitHub.Data.Webhooks.Events: instance GHC.Classes.Ord GitHub.Data.Webhooks.Events.MarketplacePurchaseEventAction
+ GitHub.Data.Webhooks.Events: instance GHC.Generics.Generic GitHub.Data.Webhooks.Events.MarketplacePurchaseEvent
+ GitHub.Data.Webhooks.Events: instance GHC.Generics.Generic GitHub.Data.Webhooks.Events.MarketplacePurchaseEventAction
+ GitHub.Data.Webhooks.Events: instance GHC.Show.Show GitHub.Data.Webhooks.Events.MarketplacePurchaseEvent
+ GitHub.Data.Webhooks.Events: instance GHC.Show.Show GitHub.Data.Webhooks.Events.MarketplacePurchaseEventAction
+ GitHub.Data.Webhooks.Events: instance GitHub.Data.Webhooks.Events.EventHasSender GitHub.Data.Webhooks.Events.MarketplacePurchaseEvent
+ GitHub.Data.Webhooks.Payload: HookMarketplaceAccount :: !OwnerType -> !Int -> !Text -> !Text -> !Maybe Text -> HookMarketplaceAccount
+ GitHub.Data.Webhooks.Payload: HookMarketplaceBillingCycleMonthly :: HookMarketplaceBillingCycle
+ GitHub.Data.Webhooks.Payload: HookMarketplaceBillingCycleOther :: !Text -> HookMarketplaceBillingCycle
+ GitHub.Data.Webhooks.Payload: HookMarketplaceBillingCycleYearly :: HookMarketplaceBillingCycle
+ GitHub.Data.Webhooks.Payload: HookMarketplacePlan :: !Int -> !Text -> !Text -> !Int -> !Int -> !HookMarketplacePlanPriceModel -> !Bool -> !Maybe Text -> !Vector Text -> HookMarketplacePlan
+ GitHub.Data.Webhooks.Payload: HookMarketplacePlanPriceModelFlatRate :: HookMarketplacePlanPriceModel
+ GitHub.Data.Webhooks.Payload: HookMarketplacePlanPriceModelFree :: HookMarketplacePlanPriceModel
+ GitHub.Data.Webhooks.Payload: HookMarketplacePlanPriceModelOther :: !Text -> HookMarketplacePlanPriceModel
+ GitHub.Data.Webhooks.Payload: HookMarketplacePlanPriceModelPerUnit :: HookMarketplacePlanPriceModel
+ GitHub.Data.Webhooks.Payload: HookMarketplacePurchase :: !HookMarketplaceAccount -> !Maybe HookMarketplaceBillingCycle -> !Int -> !Bool -> !Maybe UTCTime -> !Maybe UTCTime -> !HookMarketplacePlan -> HookMarketplacePurchase
+ GitHub.Data.Webhooks.Payload: [whMarketplaceAccountId] :: HookMarketplaceAccount -> !Int
+ GitHub.Data.Webhooks.Payload: [whMarketplaceAccountLogin] :: HookMarketplaceAccount -> !Text
+ GitHub.Data.Webhooks.Payload: [whMarketplaceAccountNodeId] :: HookMarketplaceAccount -> !Text
+ GitHub.Data.Webhooks.Payload: [whMarketplaceAccountOrganizationBillingEmail] :: HookMarketplaceAccount -> !Maybe Text
+ GitHub.Data.Webhooks.Payload: [whMarketplaceAccountType] :: HookMarketplaceAccount -> !OwnerType
+ GitHub.Data.Webhooks.Payload: [whMarketplacePlanBullet] :: HookMarketplacePlan -> !Vector Text
+ GitHub.Data.Webhooks.Payload: [whMarketplacePlanDescription] :: HookMarketplacePlan -> !Text
+ GitHub.Data.Webhooks.Payload: [whMarketplacePlanHasFreeTrial] :: HookMarketplacePlan -> !Bool
+ GitHub.Data.Webhooks.Payload: [whMarketplacePlanId] :: HookMarketplacePlan -> !Int
+ GitHub.Data.Webhooks.Payload: [whMarketplacePlanMonthlyPriceInCents] :: HookMarketplacePlan -> !Int
+ GitHub.Data.Webhooks.Payload: [whMarketplacePlanName] :: HookMarketplacePlan -> !Text
+ GitHub.Data.Webhooks.Payload: [whMarketplacePlanPriceModel] :: HookMarketplacePlan -> !HookMarketplacePlanPriceModel
+ GitHub.Data.Webhooks.Payload: [whMarketplacePlanUnitName] :: HookMarketplacePlan -> !Maybe Text
+ GitHub.Data.Webhooks.Payload: [whMarketplacePlanYearlyPriceInCents] :: HookMarketplacePlan -> !Int
+ GitHub.Data.Webhooks.Payload: [whMarketplacePurchaseAccount] :: HookMarketplacePurchase -> !HookMarketplaceAccount
+ GitHub.Data.Webhooks.Payload: [whMarketplacePurchaseBillingCycle] :: HookMarketplacePurchase -> !Maybe HookMarketplaceBillingCycle
+ GitHub.Data.Webhooks.Payload: [whMarketplacePurchaseFreeTrialEndsOn] :: HookMarketplacePurchase -> !Maybe UTCTime
+ GitHub.Data.Webhooks.Payload: [whMarketplacePurchaseNextBillingDate] :: HookMarketplacePurchase -> !Maybe UTCTime
+ GitHub.Data.Webhooks.Payload: [whMarketplacePurchaseOnFreeTrial] :: HookMarketplacePurchase -> !Bool
+ GitHub.Data.Webhooks.Payload: [whMarketplacePurchasePlan] :: HookMarketplacePurchase -> !HookMarketplacePlan
+ GitHub.Data.Webhooks.Payload: [whMarketplacePurchaseUnitCount] :: HookMarketplacePurchase -> !Int
+ GitHub.Data.Webhooks.Payload: data HookMarketplaceAccount
+ GitHub.Data.Webhooks.Payload: data HookMarketplaceBillingCycle
+ GitHub.Data.Webhooks.Payload: data HookMarketplacePlan
+ GitHub.Data.Webhooks.Payload: data HookMarketplacePlanPriceModel
+ GitHub.Data.Webhooks.Payload: data HookMarketplacePurchase
+ GitHub.Data.Webhooks.Payload: instance Control.DeepSeq.NFData GitHub.Data.Webhooks.Payload.HookMarketplaceAccount
+ GitHub.Data.Webhooks.Payload: instance Control.DeepSeq.NFData GitHub.Data.Webhooks.Payload.HookMarketplaceBillingCycle
+ GitHub.Data.Webhooks.Payload: instance Control.DeepSeq.NFData GitHub.Data.Webhooks.Payload.HookMarketplacePlan
+ GitHub.Data.Webhooks.Payload: instance Control.DeepSeq.NFData GitHub.Data.Webhooks.Payload.HookMarketplacePlanPriceModel
+ GitHub.Data.Webhooks.Payload: instance Control.DeepSeq.NFData GitHub.Data.Webhooks.Payload.HookMarketplacePurchase
+ GitHub.Data.Webhooks.Payload: instance Data.Aeson.Types.FromJSON.FromJSON GitHub.Data.Webhooks.Payload.HookMarketplaceAccount
+ GitHub.Data.Webhooks.Payload: instance Data.Aeson.Types.FromJSON.FromJSON GitHub.Data.Webhooks.Payload.HookMarketplaceBillingCycle
+ GitHub.Data.Webhooks.Payload: instance Data.Aeson.Types.FromJSON.FromJSON GitHub.Data.Webhooks.Payload.HookMarketplacePlan
+ GitHub.Data.Webhooks.Payload: instance Data.Aeson.Types.FromJSON.FromJSON GitHub.Data.Webhooks.Payload.HookMarketplacePlanPriceModel
+ GitHub.Data.Webhooks.Payload: instance Data.Aeson.Types.FromJSON.FromJSON GitHub.Data.Webhooks.Payload.HookMarketplacePurchase
+ GitHub.Data.Webhooks.Payload: instance Data.Data.Data GitHub.Data.Webhooks.Payload.HookMarketplaceAccount
+ GitHub.Data.Webhooks.Payload: instance Data.Data.Data GitHub.Data.Webhooks.Payload.HookMarketplaceBillingCycle
+ GitHub.Data.Webhooks.Payload: instance Data.Data.Data GitHub.Data.Webhooks.Payload.HookMarketplacePlan
+ GitHub.Data.Webhooks.Payload: instance Data.Data.Data GitHub.Data.Webhooks.Payload.HookMarketplacePlanPriceModel
+ GitHub.Data.Webhooks.Payload: instance Data.Data.Data GitHub.Data.Webhooks.Payload.HookMarketplacePurchase
+ GitHub.Data.Webhooks.Payload: instance GHC.Classes.Eq GitHub.Data.Webhooks.Payload.HookMarketplaceAccount
+ GitHub.Data.Webhooks.Payload: instance GHC.Classes.Eq GitHub.Data.Webhooks.Payload.HookMarketplaceBillingCycle
+ GitHub.Data.Webhooks.Payload: instance GHC.Classes.Eq GitHub.Data.Webhooks.Payload.HookMarketplacePlan
+ GitHub.Data.Webhooks.Payload: instance GHC.Classes.Eq GitHub.Data.Webhooks.Payload.HookMarketplacePlanPriceModel
+ GitHub.Data.Webhooks.Payload: instance GHC.Classes.Eq GitHub.Data.Webhooks.Payload.HookMarketplacePurchase
+ GitHub.Data.Webhooks.Payload: instance GHC.Classes.Ord GitHub.Data.Webhooks.Payload.HookMarketplaceBillingCycle
+ GitHub.Data.Webhooks.Payload: instance GHC.Classes.Ord GitHub.Data.Webhooks.Payload.HookMarketplacePlanPriceModel
+ GitHub.Data.Webhooks.Payload: instance GHC.Generics.Generic GitHub.Data.Webhooks.Payload.HookMarketplaceAccount
+ GitHub.Data.Webhooks.Payload: instance GHC.Generics.Generic GitHub.Data.Webhooks.Payload.HookMarketplaceBillingCycle
+ GitHub.Data.Webhooks.Payload: instance GHC.Generics.Generic GitHub.Data.Webhooks.Payload.HookMarketplacePlan
+ GitHub.Data.Webhooks.Payload: instance GHC.Generics.Generic GitHub.Data.Webhooks.Payload.HookMarketplacePlanPriceModel
+ GitHub.Data.Webhooks.Payload: instance GHC.Generics.Generic GitHub.Data.Webhooks.Payload.HookMarketplacePurchase
+ GitHub.Data.Webhooks.Payload: instance GHC.Show.Show GitHub.Data.Webhooks.Payload.HookMarketplaceAccount
+ GitHub.Data.Webhooks.Payload: instance GHC.Show.Show GitHub.Data.Webhooks.Payload.HookMarketplaceBillingCycle
+ GitHub.Data.Webhooks.Payload: instance GHC.Show.Show GitHub.Data.Webhooks.Payload.HookMarketplacePlan
+ GitHub.Data.Webhooks.Payload: instance GHC.Show.Show GitHub.Data.Webhooks.Payload.HookMarketplacePlanPriceModel
+ GitHub.Data.Webhooks.Payload: instance GHC.Show.Show GitHub.Data.Webhooks.Payload.HookMarketplacePurchase
- GitHub.Data.Webhooks.Events: OrganizationEvent :: !OrganizationEventAction -> !HookOrganizationInvitation -> !HookOrganizationMembership -> !HookOrganization -> !HookUser -> OrganizationEvent
+ GitHub.Data.Webhooks.Events: OrganizationEvent :: !OrganizationEventAction -> !Maybe HookOrganizationInvitation -> !Maybe HookOrganizationMembership -> !HookOrganization -> !HookUser -> OrganizationEvent
- GitHub.Data.Webhooks.Events: [evOrganizationInvitation] :: OrganizationEvent -> !HookOrganizationInvitation
+ GitHub.Data.Webhooks.Events: [evOrganizationInvitation] :: OrganizationEvent -> !Maybe HookOrganizationInvitation
- GitHub.Data.Webhooks.Events: [evOrganizationMembership] :: OrganizationEvent -> !HookOrganizationMembership
+ GitHub.Data.Webhooks.Events: [evOrganizationMembership] :: OrganizationEvent -> !Maybe HookOrganizationMembership
- GitHub.Data.Webhooks.Payload: HookCheckSuite :: !Int -> !Text -> !Maybe Text -> !Text -> !HookCheckSuiteStatus -> !Maybe HookCheckSuiteConclusion -> !URL -> !Maybe Text -> !Text -> !Vector HookChecksPullRequest -> !UTCTime -> !UTCTime -> !Maybe Int -> !Maybe URL -> !Maybe HookCheckSuiteCommit -> HookCheckSuite
+ GitHub.Data.Webhooks.Payload: HookCheckSuite :: !Int -> !Text -> !Maybe Text -> !Text -> !HookCheckSuiteStatus -> !Maybe HookCheckSuiteConclusion -> !URL -> !Maybe Text -> !Maybe Text -> !Vector HookChecksPullRequest -> !UTCTime -> !UTCTime -> !Maybe Int -> !Maybe URL -> !Maybe HookCheckSuiteCommit -> HookCheckSuite
- GitHub.Data.Webhooks.Payload: PullRequestTarget :: !Text -> !HookUser -> !HookRepository -> !Text -> !Text -> PullRequestTarget
+ GitHub.Data.Webhooks.Payload: PullRequestTarget :: !Text -> !HookUser -> !Maybe HookRepository -> !Text -> !Text -> PullRequestTarget
- GitHub.Data.Webhooks.Payload: [whCheckSuiteAfterSha] :: HookCheckSuite -> !Text
+ GitHub.Data.Webhooks.Payload: [whCheckSuiteAfterSha] :: HookCheckSuite -> !Maybe Text
- GitHub.Data.Webhooks.Payload: [whPullReqTargetRepo] :: PullRequestTarget -> !HookRepository
+ GitHub.Data.Webhooks.Payload: [whPullReqTargetRepo] :: PullRequestTarget -> !Maybe HookRepository
Files
- CHANGELOG.md +58/−50
- LICENSE +21/−21
- Setup.lhs +3/−3
- fixtures/check-run-event.json +302/−302
- fixtures/check-suite-event.json +229/−229
- fixtures/commit-comment-event.json +145/−145
- fixtures/create-event.json +116/−116
- fixtures/delete-event.json +114/−114
- fixtures/deployment-event.json +147/−147
- fixtures/deployment-status-event.json +179/−179
- fixtures/fork-event.json +201/−201
- fixtures/gollum-event.json +121/−121
- fixtures/installation-event.json +58/−58
- fixtures/installation-repo-event.json +63/−63
- fixtures/issue-comment-event.json +190/−190
- fixtures/issues-event.json +162/−162
- fixtures/label-event.json +133/−133
- fixtures/marketplace-purchase-event.json +80/−0
- fixtures/member-event.json +132/−132
- fixtures/membership-event.json +65/−65
- fixtures/milestone-event.json +164/−164
- fixtures/org-block-event.json +57/−57
- fixtures/organization-event.json +70/−70
- fixtures/page-build-event.json +143/−143
- fixtures/project-card-event.json +154/−154
- fixtures/project-column-event.json +133/−133
- fixtures/project-event.json +156/−156
- fixtures/public-event.json +111/−111
- fixtures/pull-request-delete-null-head-repo-anomaly.json +405/−0
- fixtures/pull-request-event-null-body.json +427/−427
- fixtures/pull-request-event.json +427/−427
- fixtures/pull-request-review-comment-event.json +459/−459
- fixtures/pull-request-review-event.json +453/−453
- fixtures/push-event.json +166/−166
- fixtures/release-event.json +153/−153
- fixtures/repository-event.json +123/−123
- fixtures/status-event.json +212/−212
- fixtures/team-add-event.json +134/−134
- fixtures/team-event.json +49/−49
- fixtures/watch-event.json +112/−112
- github-webhooks.cabal +141/−132
- package.yaml +71/−69
- spec/DecodeEventsSpec.hs +6417/−6009
- spec/Spec.hs +1/−1
- src/GitHub/Data/Webhooks/Events.hs +1619/−1556
- src/GitHub/Data/Webhooks/Payload.hs +1571/−1451
- src/GitHub/Data/Webhooks/Secure.hs +64/−58
- stack-examples.yaml +11/−11
- stack-ghc-7.10.yaml +1/−1
- stack-ghc-7.8.yaml +3/−3
- stack-ghc-8.0.yaml +1/−1
- stack-ghc-8.10.yaml +1/−0
- stack-ghc-8.2.yaml +1/−1
- stack-ghc-8.4.yaml +1/−1
- stack-ghc-8.6.yaml +1/−1
- stack-ghc-8.8.yaml +1/−1
- stack-nightly.yaml +1/−1
- stack.yaml +1/−1
CHANGELOG.md view
@@ -1,50 +1,58 @@-# 0.15.0--* Corrected false failures in the test suite when using `time-1.9` and later (by Julien Debon)--# 0.14.0--* Corrected description for CheckRunEventAction-* Fixed a decoding error for CheckRunEventActionRerequested-* Corrected a new hlint failure that was introduced by a recent hlint release--# 0.13.0--* Support for `node_id`, which is used by the GraphQL API (by Alistair Burrowes)-* Handle the case where `issue.body` is `null` (by Rob Berry)-* Support for `mergeable_state` option in pull requests (by Matthew Bauer)--# 0.12.0--* Support for CheckSuiteEvent and CheckRunEvent was added (resolves #25)--# 0.11.0--* `OwnerType` of `Bot` is now supported (by Domen Kozar, resolves #22)-* GHC-7.10 requires less changes to build the bundled examples (resolves #6)-* Fixed issues to do with updated stack package format and CI build (resolves #23, et al.)-* Added a security policy clarifying how security issues should be disclosed (resolves #24)-* The latest release is now available on the `release` branch (resolves #10)--# 0.10.1--* Fixed a bug parsing related PR with empty body (by Rob Berry)-* Updated copyright and contact information--# 0.10.0--* Significantly improved documentation coverage and added module descriptions (by Christian Sakai, resolves #5)-* Fixed a bug where the installation id field of `PullRequestEvent` was not optional (by Rob Berry)-* Implementing `head` and `base` fields to `PullRequestReview` (by Rob Berry and Thomas DuBuisson)--# 0.9.1--* Fixed a bug whereby the test fixtures were not included in the source distribution (resolves #8)-* Marked the modules as Trustworthy indicating that they do not perform unsafe operations (resolves #9)-* Include stack files for older resolvers in CI and the source distribution-* Removed flags from the cabal file that prevented older GHC from being able to build (contributes #6)--# 0.9.0--* This is an alpha testing release with an incomplete feature set to recieve feedback on the API.-* The API may change in the recent future. When alpha testing has commenced, the version will start at `1.0.0`.+# 0.16.0 + +* The invitation and membership fields were made optional for `OrganizationEvent` (resolves #37) +* The target repository field was made optional for `PullRequestTarget` (by Robert Hensing, resolves #51) +* Support for marketplace purchase event (by Alistair Burrowes, resolves #46) +* The maintaining sponsor [onrock.online](https://onrock.online) has rebranded to [Cuedo Control Engineering](https://cuedo.com.au) +* The CI pipeline was migrated to GitHub Actions, and tests for extra platforms were added. + +# 0.15.0 + +* Corrected false failures in the test suite when using `time-1.9` and later (by Julien Debon) + +# 0.14.0 + +* Corrected description for CheckRunEventAction +* Fixed a decoding error for CheckRunEventActionRerequested +* Corrected a new hlint failure that was introduced by a recent hlint release + +# 0.13.0 + +* Support for `node_id`, which is used by the GraphQL API (by Alistair Burrowes) +* Handle the case where `issue.body` is `null` (by Rob Berry) +* Support for `mergeable_state` option in pull requests (by Matthew Bauer) + +# 0.12.0 + +* Support for CheckSuiteEvent and CheckRunEvent was added (resolves #25) + +# 0.11.0 + +* `OwnerType` of `Bot` is now supported (by Domen Kozar, resolves #22) +* GHC-7.10 requires less changes to build the bundled examples (resolves #6) +* Fixed issues to do with updated stack package format and CI build (resolves #23, et al.) +* Added a security policy clarifying how security issues should be disclosed (resolves #24) +* The latest release is now available on the `release` branch (resolves #10) + +# 0.10.1 + +* Fixed a bug parsing related PR with empty body (by Rob Berry) +* Updated copyright and contact information + +# 0.10.0 + +* Significantly improved documentation coverage and added module descriptions (by Christian Sakai, resolves #5) +* Fixed a bug where the installation id field of `PullRequestEvent` was not optional (by Rob Berry) +* Implementing `head` and `base` fields to `PullRequestReview` (by Rob Berry and Thomas DuBuisson) + +# 0.9.1 + +* Fixed a bug whereby the test fixtures were not included in the source distribution (resolves #8) +* Marked the modules as Trustworthy indicating that they do not perform unsafe operations (resolves #9) +* Include stack files for older resolvers in CI and the source distribution +* Removed flags from the cabal file that prevented older GHC from being able to build (contributes #6) + +# 0.9.0 + +* This is an alpha testing release with an incomplete feature set to recieve feedback on the API. +* The API may change in the recent future. When alpha testing has commenced, the version will start at `1.0.0`.
LICENSE view
@@ -1,21 +1,21 @@-MIT License--Copyright (c) 2017 ONROCK (https://onrock.online)--Permission is hereby granted, free of charge, to any person obtaining a copy-of this software and associated documentation files (the "Software"), to deal-in the Software without restriction, including without limitation the rights-to use, copy, modify, merge, publish, distribute, sublicense, and/or sell-copies of the Software, and to permit persons to whom the Software is-furnished to do so, subject to the following conditions:--The above copyright notice and this permission notice shall be included in all-copies or substantial portions of the Software.--THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR-IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,-FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE-AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER-LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,-OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE-SOFTWARE.+MIT License + +Copyright (c) 2017-2022 Cuedo Control Engineering (https://cuedo.com.au) + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE.
Setup.lhs view
@@ -1,3 +1,3 @@-#!/usr/bin/env runhaskell-> import Distribution.Simple-> main = defaultMain+#!/usr/bin/env runhaskell +> import Distribution.Simple +> main = defaultMain
fixtures/check-run-event.json view
@@ -1,302 +1,302 @@-{- "action": "requested_action",- "check_run": {- "id": 123412411,- "node_id": "MDg6Q2hlY2tSdW4xMjg2MjAyMjg=",- "head_sha": "45deaf5013c757e58e2665849c3fd3add3edfa59",- "external_id": "",- "url": "https://api.github.com/repos/baxterthehacker/public-repo/check-runs/454339238",- "html_url": "https://github.com/baxterthehacker/public-repo/runs/454339238",- "details_url": "https://www.baxterthehacker.com",- "status": "completed",- "conclusion": "stale",- "started_at": "2020-02-19T02:44:54Z",- "completed_at": null,- "output": {- "title": null,- "summary": null,- "text": null,- "annotations_count": 0,- "annotations_url": "https://api.github.com/repos/baxterthehacker/public-repo/check-runs/454339238/annotations"- },- "name": "Test Check Run",- "check_suite": {- "id": 12341234111,- "node_id": "MDg6Q2hlY2tSdW4xMjg2MjAyMjg=",- "head_branch": "test-pr",- "head_sha": "45deaf5013c757e58e2665849c3fd3add3edfa59",- "status": "queued",- "conclusion": null,- "url": "https://api.github.com/repos/baxterthehacker/public-repo/check-suites/123451234",- "before": "15c99c3e0b9d840d8465be47813cf39686815f2e",- "after": "45deaf5013c757e58e2665849c3fd3add3edfa59",- "pull_requests": [- {- "url": "https://api.github.com/repos/baxterthehacker/public-repo/pulls/1",- "id": 12345123222,- "number": 1,- "head": {- "ref": "test-pr",- "sha": "a68c473cf629b651f6e615c7d0eea95811d2db3d",- "repo": {- "id": 12345123333,- "url": "https://api.github.com/repos/baxterthehacker/public-repo",- "name": "public-repo"- }- },- "base": {- "ref": "master",- "sha": "45deaf5013c757e58e2665849c3fd3add3edfa59",- "repo": {- "id": 123451234444,- "url": "https://api.github.com/repos/baxterthehacker/public-repo",- "name": "public-repo"- }- }- }- ],- "app": {- "id": 12345,- "node_id": "MDg6Q2hlY2tSdW4xMjg2MjAyMjg=",- "slug": "baxterandthehackers-app",- "owner": {- "login": "baxterthehacker",- "id": 12341234,- "node_id": "MDg6Q2hlY2tSdW4xMjg2MjAyMjg=",- "avatar_url": "https://avatars2.githubusercontent.com/u/60385638?v=4",- "gravatar_id": "",- "url": "https://api.github.com/users/baxterthehacker",- "html_url": "https://github.com/baxterthehacker",- "followers_url": "https://api.github.com/users/baxterthehacker/followers",- "following_url": "https://api.github.com/users/baxterthehacker/following{/other_user}",- "gists_url": "https://api.github.com/users/baxterthehacker/gists{/gist_id}",- "starred_url": "https://api.github.com/users/baxterthehacker/starred{/owner}{/repo}",- "subscriptions_url": "https://api.github.com/users/baxterthehacker/subscriptions",- "organizations_url": "https://api.github.com/users/baxterthehacker/orgs",- "repos_url": "https://api.github.com/users/baxterthehacker/repos",- "events_url": "https://api.github.com/users/baxterthehacker/events{/privacy}",- "received_events_url": "https://api.github.com/users/baxterthehacker/received_events",- "type": "Organization",- "site_admin": false- },- "name": "Baxterandthehackers App",- "description": "",- "external_url": "https://www.baxterthehacker.com",- "html_url": "https://github.com/apps/baxterandthehackers-app",- "created_at": "2020-01-19T07:05:42Z",- "updated_at": "2020-02-18T00:24:52Z",- "permissions": {- "checks": "write",- "issues": "read",- "metadata": "read"- },- "events": [- "check_run",- "check_suite"- ]- },- "created_at": "2020-02-18T00:54:04Z",- "updated_at": "2020-02-18T00:54:04Z"- },- "app": {- "id": 12345,- "node_id": "MDg6Q2hlY2tSdW4xMjg2MjAyMjg=",- "slug": "baxterandthehackers-app",- "owner": {- "login": "baxterthehacker",- "id": 12341234,- "node_id": "MDg6Q2hlY2tSdW4xMjg2MjAyMjg=",- "avatar_url": "https://avatars2.githubusercontent.com/u/60385638?v=4",- "gravatar_id": "",- "url": "https://api.github.com/users/baxterthehacker",- "html_url": "https://github.com/baxterthehacker",- "followers_url": "https://api.github.com/users/baxterthehacker/followers",- "following_url": "https://api.github.com/users/baxterthehacker/following{/other_user}",- "gists_url": "https://api.github.com/users/baxterthehacker/gists{/gist_id}",- "starred_url": "https://api.github.com/users/baxterthehacker/starred{/owner}{/repo}",- "subscriptions_url": "https://api.github.com/users/baxterthehacker/subscriptions",- "organizations_url": "https://api.github.com/users/baxterthehacker/orgs",- "repos_url": "https://api.github.com/users/baxterthehacker/repos",- "events_url": "https://api.github.com/users/baxterthehacker/events{/privacy}",- "received_events_url": "https://api.github.com/users/baxterthehacker/received_events",- "type": "Organization",- "site_admin": false- },- "name": "Baxterandthehackers App",- "description": "",- "external_url": "https://www.baxterthehacker.com",- "html_url": "https://github.com/apps/baxterandthehackers-app",- "created_at": "2020-01-19T07:05:42Z",- "updated_at": "2020-02-18T00:24:52Z",- "permissions": {- "checks": "write",- "issues": "read",- "metadata": "read"- },- "events": [- "check_run",- "check_suite"- ]- },- "pull_requests": [- {- "url": "https://api.github.com/repos/baxterthehacker/public-repo/pulls/1",- "id": 12345123222,- "number": 1,- "head": {- "ref": "test-pr",- "sha": "a68c473cf629b651f6e615c7d0eea95811d2db3d",- "repo": {- "id": 12345123333,- "url": "https://api.github.com/repos/baxterthehacker/public-repo",- "name": "public-repo"- }- },- "base": {- "ref": "master",- "sha": "45deaf5013c757e58e2665849c3fd3add3edfa59",- "repo": {- "id": 123451234444,- "url": "https://api.github.com/repos/baxterthehacker/public-repo",- "name": "public-repo"- }- }- }- ]- },- "requested_action": {- "identifier": "fix_errors"- },- "repository": {- "id": 35129377,- "node_id": "MDg6Q2hlY2tSdW4xMjg2MjAyMjg=",- "name": "public-repo",- "full_name": "baxterthehacker/public-repo",- "private": false,- "owner": {- "login": "baxterthehacker",- "id": 6752317,- "node_id": "MDg6Q2hlY2tSdW4xMjg2MjAyMjg=",- "avatar_url": "https://avatars.githubusercontent.com/u/6752317?v=3",- "gravatar_id": "",- "url": "https://api.github.com/users/baxterthehacker",- "html_url": "https://github.com/baxterthehacker",- "followers_url": "https://api.github.com/users/baxterthehacker/followers",- "following_url": "https://api.github.com/users/baxterthehacker/following{/other_user}",- "gists_url": "https://api.github.com/users/baxterthehacker/gists{/gist_id}",- "starred_url": "https://api.github.com/users/baxterthehacker/starred{/owner}{/repo}",- "subscriptions_url": "https://api.github.com/users/baxterthehacker/subscriptions",- "organizations_url": "https://api.github.com/users/baxterthehacker/orgs",- "repos_url": "https://api.github.com/users/baxterthehacker/repos",- "events_url": "https://api.github.com/users/baxterthehacker/events{/privacy}",- "received_events_url": "https://api.github.com/users/baxterthehacker/received_events",- "type": "Organization",- "site_admin": false- },- "html_url": "https://github.com/baxterthehacker/public-repo",- "description": null,- "fork": false,- "url": "https://api.github.com/repos/baxterthehacker/public-repo",- "forks_url": "https://api.github.com/repos/baxterthehacker/public-repo/forks",- "keys_url": "https://api.github.com/repos/baxterthehacker/public-repo/keys{/key_id}",- "collaborators_url": "https://api.github.com/repos/baxterthehacker/public-repo/collaborators{/collaborator}",- "teams_url": "https://api.github.com/repos/baxterthehacker/public-repo/teams",- "hooks_url": "https://api.github.com/repos/baxterthehacker/public-repo/hooks",- "issue_events_url": "https://api.github.com/repos/baxterthehacker/public-repo/issues/events{/number}",- "events_url": "https://api.github.com/repos/baxterthehacker/public-repo/events",- "assignees_url": "https://api.github.com/repos/baxterthehacker/public-repo/assignees{/user}",- "branches_url": "https://api.github.com/repos/baxterthehacker/public-repo/branches{/branch}",- "tags_url": "https://api.github.com/repos/baxterthehacker/public-repo/tags",- "blobs_url": "https://api.github.com/repos/baxterthehacker/public-repo/git/blobs{/sha}",- "git_tags_url": "https://api.github.com/repos/baxterthehacker/public-repo/git/tags{/sha}",- "git_refs_url": "https://api.github.com/repos/baxterthehacker/public-repo/git/refs{/sha}",- "trees_url": "https://api.github.com/repos/baxterthehacker/public-repo/git/trees{/sha}",- "statuses_url": "https://api.github.com/repos/baxterthehacker/public-repo/statuses/{sha}",- "languages_url": "https://api.github.com/repos/baxterthehacker/public-repo/languages",- "stargazers_url": "https://api.github.com/repos/baxterthehacker/public-repo/stargazers",- "contributors_url": "https://api.github.com/repos/baxterthehacker/public-repo/contributors",- "subscribers_url": "https://api.github.com/repos/baxterthehacker/public-repo/subscribers",- "subscription_url": "https://api.github.com/repos/baxterthehacker/public-repo/subscription",- "commits_url": "https://api.github.com/repos/baxterthehacker/public-repo/commits{/sha}",- "git_commits_url": "https://api.github.com/repos/baxterthehacker/public-repo/git/commits{/sha}",- "comments_url": "https://api.github.com/repos/baxterthehacker/public-repo/comments{/number}",- "issue_comment_url": "https://api.github.com/repos/baxterthehacker/public-repo/issues/comments{/number}",- "contents_url": "https://api.github.com/repos/baxterthehacker/public-repo/contents/{+path}",- "compare_url": "https://api.github.com/repos/baxterthehacker/public-repo/compare/{base}...{head}",- "merges_url": "https://api.github.com/repos/baxterthehacker/public-repo/merges",- "archive_url": "https://api.github.com/repos/baxterthehacker/public-repo/{archive_format}{/ref}",- "downloads_url": "https://api.github.com/repos/baxterthehacker/public-repo/downloads",- "issues_url": "https://api.github.com/repos/baxterthehacker/public-repo/issues{/number}",- "pulls_url": "https://api.github.com/repos/baxterthehacker/public-repo/pulls{/number}",- "milestones_url": "https://api.github.com/repos/baxterthehacker/public-repo/milestones{/number}",- "notifications_url": "https://api.github.com/repos/baxterthehacker/public-repo/notifications{?since,all,participating}",- "labels_url": "https://api.github.com/repos/baxterthehacker/public-repo/labels{/name}",- "releases_url": "https://api.github.com/repos/baxterthehacker/public-repo/releases{/id}",- "deployments_url": "https://api.github.com/repos/baxterthehacker/public-repo/deployments",- "created_at": "2015-05-05T23:40:12Z",- "updated_at": "2015-05-05T23:40:12Z",- "pushed_at": "2015-05-05T23:40:27Z",- "git_url": "git://github.com/baxterthehacker/public-repo.git",- "ssh_url": "git@github.com:baxterthehacker/public-repo.git",- "clone_url": "https://github.com/baxterthehacker/public-repo.git",- "svn_url": "https://github.com/baxterthehacker/public-repo",- "homepage": null,- "size": 0,- "stargazers_count": 0,- "watchers_count": 0,- "language": null,- "has_issues": true,- "has_projects": true,- "has_downloads": true,- "has_wiki": true,- "has_pages": true,- "forks_count": 0,- "mirror_url": null,- "archived": false,- "disabled": false,- "open_issues_count": 2,- "license": null,- "forks": 0,- "open_issues": 1,- "watchers": 0,- "default_branch": "master"- },- "organization": {- "login": "baxterandthehackers",- "id": 4312013,- "node_id": "MDg6Q2hlY2tSdW4xMjg2MjAyMjg=",- "url": "https://api.github.com/orgs/baxterandthehackers",- "repos_url": "https://api.github.com/orgs/baxterandthehackers/repos",- "events_url": "https://api.github.com/orgs/baxterandthehackers/events",- "hooks_url": "https://api.github.com/orgs/baxterandthehackers/hooks",- "issues_url": "https://api.github.com/orgs/baxterandthehackers/issues",- "members_url": "https://api.github.com/orgs/baxterandthehackers/members{/member}",- "public_members_url": "https://api.github.com/orgs/baxterandthehackers/public_members{/member}",- "avatar_url": "https://avatars.githubusercontent.com/u/4312013?v=3",- "description": null- },- "sender":{- "login":"baxterthehacker",- "id":6752317,- "node_id": "MDg6Q2hlY2tSdW4xMjg2MjAyMjg=",- "avatar_url":"https://avatars.githubusercontent.com/u/6752317?v=3",- "gravatar_id":"",- "url":"https://api.github.com/users/baxterthehacker",- "html_url":"https://github.com/baxterthehacker",- "followers_url":"https://api.github.com/users/baxterthehacker/followers",- "following_url":"https://api.github.com/users/baxterthehacker/following{/other_user}",- "gists_url":"https://api.github.com/users/baxterthehacker/gists{/gist_id}",- "starred_url":"https://api.github.com/users/baxterthehacker/starred{/owner}{/repo}",- "subscriptions_url":"https://api.github.com/users/baxterthehacker/subscriptions",- "organizations_url":"https://api.github.com/users/baxterthehacker/orgs",- "repos_url":"https://api.github.com/users/baxterthehacker/repos",- "events_url":"https://api.github.com/users/baxterthehacker/events{/privacy}",- "received_events_url":"https://api.github.com/users/baxterthehacker/received_events",- "type":"User",- "site_admin":false- },- "installation": {- "id": 1234123,- "node_id": "MDg6Q2hlY2tSdW4xMjg2MjAyMjg="- }-}+{ + "action": "requested_action", + "check_run": { + "id": 123412411, + "node_id": "MDg6Q2hlY2tSdW4xMjg2MjAyMjg=", + "head_sha": "45deaf5013c757e58e2665849c3fd3add3edfa59", + "external_id": "", + "url": "https://api.github.com/repos/baxterthehacker/public-repo/check-runs/454339238", + "html_url": "https://github.com/baxterthehacker/public-repo/runs/454339238", + "details_url": "https://www.baxterthehacker.com", + "status": "completed", + "conclusion": "stale", + "started_at": "2020-02-19T02:44:54Z", + "completed_at": null, + "output": { + "title": null, + "summary": null, + "text": null, + "annotations_count": 0, + "annotations_url": "https://api.github.com/repos/baxterthehacker/public-repo/check-runs/454339238/annotations" + }, + "name": "Test Check Run", + "check_suite": { + "id": 12341234111, + "node_id": "MDg6Q2hlY2tSdW4xMjg2MjAyMjg=", + "head_branch": "test-pr", + "head_sha": "45deaf5013c757e58e2665849c3fd3add3edfa59", + "status": "queued", + "conclusion": null, + "url": "https://api.github.com/repos/baxterthehacker/public-repo/check-suites/123451234", + "before": "15c99c3e0b9d840d8465be47813cf39686815f2e", + "after": "45deaf5013c757e58e2665849c3fd3add3edfa59", + "pull_requests": [ + { + "url": "https://api.github.com/repos/baxterthehacker/public-repo/pulls/1", + "id": 12345123222, + "number": 1, + "head": { + "ref": "test-pr", + "sha": "a68c473cf629b651f6e615c7d0eea95811d2db3d", + "repo": { + "id": 12345123333, + "url": "https://api.github.com/repos/baxterthehacker/public-repo", + "name": "public-repo" + } + }, + "base": { + "ref": "master", + "sha": "45deaf5013c757e58e2665849c3fd3add3edfa59", + "repo": { + "id": 123451234444, + "url": "https://api.github.com/repos/baxterthehacker/public-repo", + "name": "public-repo" + } + } + } + ], + "app": { + "id": 12345, + "node_id": "MDg6Q2hlY2tSdW4xMjg2MjAyMjg=", + "slug": "baxterandthehackers-app", + "owner": { + "login": "baxterthehacker", + "id": 12341234, + "node_id": "MDg6Q2hlY2tSdW4xMjg2MjAyMjg=", + "avatar_url": "https://avatars2.githubusercontent.com/u/60385638?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/baxterthehacker", + "html_url": "https://github.com/baxterthehacker", + "followers_url": "https://api.github.com/users/baxterthehacker/followers", + "following_url": "https://api.github.com/users/baxterthehacker/following{/other_user}", + "gists_url": "https://api.github.com/users/baxterthehacker/gists{/gist_id}", + "starred_url": "https://api.github.com/users/baxterthehacker/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/baxterthehacker/subscriptions", + "organizations_url": "https://api.github.com/users/baxterthehacker/orgs", + "repos_url": "https://api.github.com/users/baxterthehacker/repos", + "events_url": "https://api.github.com/users/baxterthehacker/events{/privacy}", + "received_events_url": "https://api.github.com/users/baxterthehacker/received_events", + "type": "Organization", + "site_admin": false + }, + "name": "Baxterandthehackers App", + "description": "", + "external_url": "https://www.baxterthehacker.com", + "html_url": "https://github.com/apps/baxterandthehackers-app", + "created_at": "2020-01-19T07:05:42Z", + "updated_at": "2020-02-18T00:24:52Z", + "permissions": { + "checks": "write", + "issues": "read", + "metadata": "read" + }, + "events": [ + "check_run", + "check_suite" + ] + }, + "created_at": "2020-02-18T00:54:04Z", + "updated_at": "2020-02-18T00:54:04Z" + }, + "app": { + "id": 12345, + "node_id": "MDg6Q2hlY2tSdW4xMjg2MjAyMjg=", + "slug": "baxterandthehackers-app", + "owner": { + "login": "baxterthehacker", + "id": 12341234, + "node_id": "MDg6Q2hlY2tSdW4xMjg2MjAyMjg=", + "avatar_url": "https://avatars2.githubusercontent.com/u/60385638?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/baxterthehacker", + "html_url": "https://github.com/baxterthehacker", + "followers_url": "https://api.github.com/users/baxterthehacker/followers", + "following_url": "https://api.github.com/users/baxterthehacker/following{/other_user}", + "gists_url": "https://api.github.com/users/baxterthehacker/gists{/gist_id}", + "starred_url": "https://api.github.com/users/baxterthehacker/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/baxterthehacker/subscriptions", + "organizations_url": "https://api.github.com/users/baxterthehacker/orgs", + "repos_url": "https://api.github.com/users/baxterthehacker/repos", + "events_url": "https://api.github.com/users/baxterthehacker/events{/privacy}", + "received_events_url": "https://api.github.com/users/baxterthehacker/received_events", + "type": "Organization", + "site_admin": false + }, + "name": "Baxterandthehackers App", + "description": "", + "external_url": "https://www.baxterthehacker.com", + "html_url": "https://github.com/apps/baxterandthehackers-app", + "created_at": "2020-01-19T07:05:42Z", + "updated_at": "2020-02-18T00:24:52Z", + "permissions": { + "checks": "write", + "issues": "read", + "metadata": "read" + }, + "events": [ + "check_run", + "check_suite" + ] + }, + "pull_requests": [ + { + "url": "https://api.github.com/repos/baxterthehacker/public-repo/pulls/1", + "id": 12345123222, + "number": 1, + "head": { + "ref": "test-pr", + "sha": "a68c473cf629b651f6e615c7d0eea95811d2db3d", + "repo": { + "id": 12345123333, + "url": "https://api.github.com/repos/baxterthehacker/public-repo", + "name": "public-repo" + } + }, + "base": { + "ref": "master", + "sha": "45deaf5013c757e58e2665849c3fd3add3edfa59", + "repo": { + "id": 123451234444, + "url": "https://api.github.com/repos/baxterthehacker/public-repo", + "name": "public-repo" + } + } + } + ] + }, + "requested_action": { + "identifier": "fix_errors" + }, + "repository": { + "id": 35129377, + "node_id": "MDg6Q2hlY2tSdW4xMjg2MjAyMjg=", + "name": "public-repo", + "full_name": "baxterthehacker/public-repo", + "private": false, + "owner": { + "login": "baxterthehacker", + "id": 6752317, + "node_id": "MDg6Q2hlY2tSdW4xMjg2MjAyMjg=", + "avatar_url": "https://avatars.githubusercontent.com/u/6752317?v=3", + "gravatar_id": "", + "url": "https://api.github.com/users/baxterthehacker", + "html_url": "https://github.com/baxterthehacker", + "followers_url": "https://api.github.com/users/baxterthehacker/followers", + "following_url": "https://api.github.com/users/baxterthehacker/following{/other_user}", + "gists_url": "https://api.github.com/users/baxterthehacker/gists{/gist_id}", + "starred_url": "https://api.github.com/users/baxterthehacker/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/baxterthehacker/subscriptions", + "organizations_url": "https://api.github.com/users/baxterthehacker/orgs", + "repos_url": "https://api.github.com/users/baxterthehacker/repos", + "events_url": "https://api.github.com/users/baxterthehacker/events{/privacy}", + "received_events_url": "https://api.github.com/users/baxterthehacker/received_events", + "type": "Organization", + "site_admin": false + }, + "html_url": "https://github.com/baxterthehacker/public-repo", + "description": null, + "fork": false, + "url": "https://api.github.com/repos/baxterthehacker/public-repo", + "forks_url": "https://api.github.com/repos/baxterthehacker/public-repo/forks", + "keys_url": "https://api.github.com/repos/baxterthehacker/public-repo/keys{/key_id}", + "collaborators_url": "https://api.github.com/repos/baxterthehacker/public-repo/collaborators{/collaborator}", + "teams_url": "https://api.github.com/repos/baxterthehacker/public-repo/teams", + "hooks_url": "https://api.github.com/repos/baxterthehacker/public-repo/hooks", + "issue_events_url": "https://api.github.com/repos/baxterthehacker/public-repo/issues/events{/number}", + "events_url": "https://api.github.com/repos/baxterthehacker/public-repo/events", + "assignees_url": "https://api.github.com/repos/baxterthehacker/public-repo/assignees{/user}", + "branches_url": "https://api.github.com/repos/baxterthehacker/public-repo/branches{/branch}", + "tags_url": "https://api.github.com/repos/baxterthehacker/public-repo/tags", + "blobs_url": "https://api.github.com/repos/baxterthehacker/public-repo/git/blobs{/sha}", + "git_tags_url": "https://api.github.com/repos/baxterthehacker/public-repo/git/tags{/sha}", + "git_refs_url": "https://api.github.com/repos/baxterthehacker/public-repo/git/refs{/sha}", + "trees_url": "https://api.github.com/repos/baxterthehacker/public-repo/git/trees{/sha}", + "statuses_url": "https://api.github.com/repos/baxterthehacker/public-repo/statuses/{sha}", + "languages_url": "https://api.github.com/repos/baxterthehacker/public-repo/languages", + "stargazers_url": "https://api.github.com/repos/baxterthehacker/public-repo/stargazers", + "contributors_url": "https://api.github.com/repos/baxterthehacker/public-repo/contributors", + "subscribers_url": "https://api.github.com/repos/baxterthehacker/public-repo/subscribers", + "subscription_url": "https://api.github.com/repos/baxterthehacker/public-repo/subscription", + "commits_url": "https://api.github.com/repos/baxterthehacker/public-repo/commits{/sha}", + "git_commits_url": "https://api.github.com/repos/baxterthehacker/public-repo/git/commits{/sha}", + "comments_url": "https://api.github.com/repos/baxterthehacker/public-repo/comments{/number}", + "issue_comment_url": "https://api.github.com/repos/baxterthehacker/public-repo/issues/comments{/number}", + "contents_url": "https://api.github.com/repos/baxterthehacker/public-repo/contents/{+path}", + "compare_url": "https://api.github.com/repos/baxterthehacker/public-repo/compare/{base}...{head}", + "merges_url": "https://api.github.com/repos/baxterthehacker/public-repo/merges", + "archive_url": "https://api.github.com/repos/baxterthehacker/public-repo/{archive_format}{/ref}", + "downloads_url": "https://api.github.com/repos/baxterthehacker/public-repo/downloads", + "issues_url": "https://api.github.com/repos/baxterthehacker/public-repo/issues{/number}", + "pulls_url": "https://api.github.com/repos/baxterthehacker/public-repo/pulls{/number}", + "milestones_url": "https://api.github.com/repos/baxterthehacker/public-repo/milestones{/number}", + "notifications_url": "https://api.github.com/repos/baxterthehacker/public-repo/notifications{?since,all,participating}", + "labels_url": "https://api.github.com/repos/baxterthehacker/public-repo/labels{/name}", + "releases_url": "https://api.github.com/repos/baxterthehacker/public-repo/releases{/id}", + "deployments_url": "https://api.github.com/repos/baxterthehacker/public-repo/deployments", + "created_at": "2015-05-05T23:40:12Z", + "updated_at": "2015-05-05T23:40:12Z", + "pushed_at": "2015-05-05T23:40:27Z", + "git_url": "git://github.com/baxterthehacker/public-repo.git", + "ssh_url": "git@github.com:baxterthehacker/public-repo.git", + "clone_url": "https://github.com/baxterthehacker/public-repo.git", + "svn_url": "https://github.com/baxterthehacker/public-repo", + "homepage": null, + "size": 0, + "stargazers_count": 0, + "watchers_count": 0, + "language": null, + "has_issues": true, + "has_projects": true, + "has_downloads": true, + "has_wiki": true, + "has_pages": true, + "forks_count": 0, + "mirror_url": null, + "archived": false, + "disabled": false, + "open_issues_count": 2, + "license": null, + "forks": 0, + "open_issues": 1, + "watchers": 0, + "default_branch": "master" + }, + "organization": { + "login": "baxterandthehackers", + "id": 4312013, + "node_id": "MDg6Q2hlY2tSdW4xMjg2MjAyMjg=", + "url": "https://api.github.com/orgs/baxterandthehackers", + "repos_url": "https://api.github.com/orgs/baxterandthehackers/repos", + "events_url": "https://api.github.com/orgs/baxterandthehackers/events", + "hooks_url": "https://api.github.com/orgs/baxterandthehackers/hooks", + "issues_url": "https://api.github.com/orgs/baxterandthehackers/issues", + "members_url": "https://api.github.com/orgs/baxterandthehackers/members{/member}", + "public_members_url": "https://api.github.com/orgs/baxterandthehackers/public_members{/member}", + "avatar_url": "https://avatars.githubusercontent.com/u/4312013?v=3", + "description": null + }, + "sender":{ + "login":"baxterthehacker", + "id":6752317, + "node_id": "MDg6Q2hlY2tSdW4xMjg2MjAyMjg=", + "avatar_url":"https://avatars.githubusercontent.com/u/6752317?v=3", + "gravatar_id":"", + "url":"https://api.github.com/users/baxterthehacker", + "html_url":"https://github.com/baxterthehacker", + "followers_url":"https://api.github.com/users/baxterthehacker/followers", + "following_url":"https://api.github.com/users/baxterthehacker/following{/other_user}", + "gists_url":"https://api.github.com/users/baxterthehacker/gists{/gist_id}", + "starred_url":"https://api.github.com/users/baxterthehacker/starred{/owner}{/repo}", + "subscriptions_url":"https://api.github.com/users/baxterthehacker/subscriptions", + "organizations_url":"https://api.github.com/users/baxterthehacker/orgs", + "repos_url":"https://api.github.com/users/baxterthehacker/repos", + "events_url":"https://api.github.com/users/baxterthehacker/events{/privacy}", + "received_events_url":"https://api.github.com/users/baxterthehacker/received_events", + "type":"User", + "site_admin":false + }, + "installation": { + "id": 1234123, + "node_id": "MDg6Q2hlY2tSdW4xMjg2MjAyMjg=" + } +}
fixtures/check-suite-event.json view
@@ -1,229 +1,229 @@-{- "action": "completed",- "check_suite": {- "id": 12341234111,- "node_id": "MDg6Q2hlY2tSdW4xMjg2MjAyMjg=",- "head_branch": "test-pr",- "head_sha": "45deaf5013c757e58e2665849c3fd3add3edfa59",- "status": "completed",- "conclusion": "action_required",- "url": "https://api.github.com/repos/baxterthehacker/public-repo/check-suites/123451234",- "before": "15c99c3e0b9d840d8465be47813cf39686815f2e",- "after": "45deaf5013c757e58e2665849c3fd3add3edfa59",- "pull_requests": [- {- "url": "https://api.github.com/repos/baxterthehacker/public-repo/pulls/1",- "id": 12345123222,- "number": 1,- "head": {- "ref": "test-pr",- "sha": "a68c473cf629b651f6e615c7d0eea95811d2db3d",- "repo": {- "id": 12345123333,- "url": "https://api.github.com/repos/baxterthehacker/public-repo",- "name": "public-repo"- }- },- "base": {- "ref": "master",- "sha": "45deaf5013c757e58e2665849c3fd3add3edfa59",- "repo": {- "id": 123451234444,- "url": "https://api.github.com/repos/baxterthehacker/public-repo",- "name": "public-repo"- }- }- }- ],- "app": {- "id": 12345,- "node_id": "MDg6Q2hlY2tSdW4xMjg2MjAyMjg=",- "slug": "baxterandthehackers-app",- "owner": {- "login": "baxterthehacker",- "id": 12341234,- "node_id": "MDg6Q2hlY2tSdW4xMjg2MjAyMjg=",- "avatar_url": "https://avatars2.githubusercontent.com/u/60385638?v=4",- "gravatar_id": "",- "url": "https://api.github.com/users/baxterthehacker",- "html_url": "https://github.com/baxterthehacker",- "followers_url": "https://api.github.com/users/baxterthehacker/followers",- "following_url": "https://api.github.com/users/baxterthehacker/following{/other_user}",- "gists_url": "https://api.github.com/users/baxterthehacker/gists{/gist_id}",- "starred_url": "https://api.github.com/users/baxterthehacker/starred{/owner}{/repo}",- "subscriptions_url": "https://api.github.com/users/baxterthehacker/subscriptions",- "organizations_url": "https://api.github.com/users/baxterthehacker/orgs",- "repos_url": "https://api.github.com/users/baxterthehacker/repos",- "events_url": "https://api.github.com/users/baxterthehacker/events{/privacy}",- "received_events_url": "https://api.github.com/users/baxterthehacker/received_events",- "type": "Organization",- "site_admin": false- },- "name": "Baxterandthehackers App",- "description": "",- "external_url": "https://www.baxterthehacker.com",- "html_url": "https://github.com/apps/baxterandthehackers-app",- "created_at": "2020-01-19T07:05:42Z",- "updated_at": "2020-02-18T00:24:52Z",- "permissions": {- "checks": "write",- "issues": "read",- "metadata": "read"- },- "events": [- "check_run",- "check_suite"- ]- },- "created_at": "2020-02-18T00:54:04Z",- "updated_at": "2020-02-18T00:54:04Z",- "latest_check_runs_count": 0,- "check_runs_url": "https://api.github.com/repos/baxterthehacker/public-repo/check-suites/12341234111/check-runs",- "head_commit": {- "id": "45deaf5013c757e58e2665849c3fd3add3edfa59",- "tree_id": "7eccf45e2908e97540ab6b4d6ce849f0a7c0cfca",- "message": "Update README.md",- "timestamp": "2020-02-18T00:53:59Z",- "author": {- "name": "baxterthehacker",- "email": "baxterthehacker@users.noreply.github.com"- },- "committer": {- "name": "baxterthehacker",- "email": "baxterthehacker@users.noreply.github.com"- }- }- },- "repository": {- "id": 35129377,- "node_id": "MDg6Q2hlY2tSdW4xMjg2MjAyMjg=",- "name": "public-repo",- "full_name": "baxterthehacker/public-repo",- "private": false,- "owner": {- "login": "baxterthehacker",- "id": 6752317,- "node_id": "MDg6Q2hlY2tSdW4xMjg2MjAyMjg=",- "avatar_url": "https://avatars.githubusercontent.com/u/6752317?v=3",- "gravatar_id": "",- "url": "https://api.github.com/users/baxterthehacker",- "html_url": "https://github.com/baxterthehacker",- "followers_url": "https://api.github.com/users/baxterthehacker/followers",- "following_url": "https://api.github.com/users/baxterthehacker/following{/other_user}",- "gists_url": "https://api.github.com/users/baxterthehacker/gists{/gist_id}",- "starred_url": "https://api.github.com/users/baxterthehacker/starred{/owner}{/repo}",- "subscriptions_url": "https://api.github.com/users/baxterthehacker/subscriptions",- "organizations_url": "https://api.github.com/users/baxterthehacker/orgs",- "repos_url": "https://api.github.com/users/baxterthehacker/repos",- "events_url": "https://api.github.com/users/baxterthehacker/events{/privacy}",- "received_events_url": "https://api.github.com/users/baxterthehacker/received_events",- "type": "Organization",- "site_admin": false- },- "html_url": "https://github.com/baxterthehacker/public-repo",- "description": null,- "fork": false,- "url": "https://api.github.com/repos/baxterthehacker/public-repo",- "forks_url": "https://api.github.com/repos/baxterthehacker/public-repo/forks",- "keys_url": "https://api.github.com/repos/baxterthehacker/public-repo/keys{/key_id}",- "collaborators_url": "https://api.github.com/repos/baxterthehacker/public-repo/collaborators{/collaborator}",- "teams_url": "https://api.github.com/repos/baxterthehacker/public-repo/teams",- "hooks_url": "https://api.github.com/repos/baxterthehacker/public-repo/hooks",- "issue_events_url": "https://api.github.com/repos/baxterthehacker/public-repo/issues/events{/number}",- "events_url": "https://api.github.com/repos/baxterthehacker/public-repo/events",- "assignees_url": "https://api.github.com/repos/baxterthehacker/public-repo/assignees{/user}",- "branches_url": "https://api.github.com/repos/baxterthehacker/public-repo/branches{/branch}",- "tags_url": "https://api.github.com/repos/baxterthehacker/public-repo/tags",- "blobs_url": "https://api.github.com/repos/baxterthehacker/public-repo/git/blobs{/sha}",- "git_tags_url": "https://api.github.com/repos/baxterthehacker/public-repo/git/tags{/sha}",- "git_refs_url": "https://api.github.com/repos/baxterthehacker/public-repo/git/refs{/sha}",- "trees_url": "https://api.github.com/repos/baxterthehacker/public-repo/git/trees{/sha}",- "statuses_url": "https://api.github.com/repos/baxterthehacker/public-repo/statuses/{sha}",- "languages_url": "https://api.github.com/repos/baxterthehacker/public-repo/languages",- "stargazers_url": "https://api.github.com/repos/baxterthehacker/public-repo/stargazers",- "contributors_url": "https://api.github.com/repos/baxterthehacker/public-repo/contributors",- "subscribers_url": "https://api.github.com/repos/baxterthehacker/public-repo/subscribers",- "subscription_url": "https://api.github.com/repos/baxterthehacker/public-repo/subscription",- "commits_url": "https://api.github.com/repos/baxterthehacker/public-repo/commits{/sha}",- "git_commits_url": "https://api.github.com/repos/baxterthehacker/public-repo/git/commits{/sha}",- "comments_url": "https://api.github.com/repos/baxterthehacker/public-repo/comments{/number}",- "issue_comment_url": "https://api.github.com/repos/baxterthehacker/public-repo/issues/comments{/number}",- "contents_url": "https://api.github.com/repos/baxterthehacker/public-repo/contents/{+path}",- "compare_url": "https://api.github.com/repos/baxterthehacker/public-repo/compare/{base}...{head}",- "merges_url": "https://api.github.com/repos/baxterthehacker/public-repo/merges",- "archive_url": "https://api.github.com/repos/baxterthehacker/public-repo/{archive_format}{/ref}",- "downloads_url": "https://api.github.com/repos/baxterthehacker/public-repo/downloads",- "issues_url": "https://api.github.com/repos/baxterthehacker/public-repo/issues{/number}",- "pulls_url": "https://api.github.com/repos/baxterthehacker/public-repo/pulls{/number}",- "milestones_url": "https://api.github.com/repos/baxterthehacker/public-repo/milestones{/number}",- "notifications_url": "https://api.github.com/repos/baxterthehacker/public-repo/notifications{?since,all,participating}",- "labels_url": "https://api.github.com/repos/baxterthehacker/public-repo/labels{/name}",- "releases_url": "https://api.github.com/repos/baxterthehacker/public-repo/releases{/id}",- "deployments_url": "https://api.github.com/repos/baxterthehacker/public-repo/deployments",- "created_at": "2015-05-05T23:40:12Z",- "updated_at": "2015-05-05T23:40:12Z",- "pushed_at": "2015-05-05T23:40:27Z",- "git_url": "git://github.com/baxterthehacker/public-repo.git",- "ssh_url": "git@github.com:baxterthehacker/public-repo.git",- "clone_url": "https://github.com/baxterthehacker/public-repo.git",- "svn_url": "https://github.com/baxterthehacker/public-repo",- "homepage": null,- "size": 0,- "stargazers_count": 0,- "watchers_count": 0,- "language": null,- "has_issues": true,- "has_projects": true,- "has_downloads": true,- "has_wiki": true,- "has_pages": true,- "forks_count": 0,- "mirror_url": null,- "archived": false,- "disabled": false,- "open_issues_count": 2,- "license": null,- "forks": 0,- "open_issues": 1,- "watchers": 0,- "default_branch": "master"- },- "organization": {- "login": "baxterandthehackers",- "id": 4312013,- "node_id": "MDg6Q2hlY2tSdW4xMjg2MjAyMjg=",- "url": "https://api.github.com/orgs/baxterandthehackers",- "repos_url": "https://api.github.com/orgs/baxterandthehackers/repos",- "events_url": "https://api.github.com/orgs/baxterandthehackers/events",- "hooks_url": "https://api.github.com/orgs/baxterandthehackers/hooks",- "issues_url": "https://api.github.com/orgs/baxterandthehackers/issues",- "members_url": "https://api.github.com/orgs/baxterandthehackers/members{/member}",- "public_members_url": "https://api.github.com/orgs/baxterandthehackers/public_members{/member}",- "avatar_url": "https://avatars.githubusercontent.com/u/4312013?v=3",- "description": null- },- "sender":{- "login":"baxterthehacker",- "id":6752317,- "node_id": "MDg6Q2hlY2tSdW4xMjg2MjAyMjg=",- "avatar_url":"https://avatars.githubusercontent.com/u/6752317?v=3",- "gravatar_id":"",- "url":"https://api.github.com/users/baxterthehacker",- "html_url":"https://github.com/baxterthehacker",- "followers_url":"https://api.github.com/users/baxterthehacker/followers",- "following_url":"https://api.github.com/users/baxterthehacker/following{/other_user}",- "gists_url":"https://api.github.com/users/baxterthehacker/gists{/gist_id}",- "starred_url":"https://api.github.com/users/baxterthehacker/starred{/owner}{/repo}",- "subscriptions_url":"https://api.github.com/users/baxterthehacker/subscriptions",- "organizations_url":"https://api.github.com/users/baxterthehacker/orgs",- "repos_url":"https://api.github.com/users/baxterthehacker/repos",- "events_url":"https://api.github.com/users/baxterthehacker/events{/privacy}",- "received_events_url":"https://api.github.com/users/baxterthehacker/received_events",- "type":"User",- "site_admin":false- },- "installation": {- "id": 1234123,- "node_id": "MDg6Q2hlY2tSdW4xMjg2MjAyMjg="- }-}+{ + "action": "completed", + "check_suite": { + "id": 12341234111, + "node_id": "MDg6Q2hlY2tSdW4xMjg2MjAyMjg=", + "head_branch": "test-pr", + "head_sha": "45deaf5013c757e58e2665849c3fd3add3edfa59", + "status": "completed", + "conclusion": "action_required", + "url": "https://api.github.com/repos/baxterthehacker/public-repo/check-suites/123451234", + "before": "15c99c3e0b9d840d8465be47813cf39686815f2e", + "after": "45deaf5013c757e58e2665849c3fd3add3edfa59", + "pull_requests": [ + { + "url": "https://api.github.com/repos/baxterthehacker/public-repo/pulls/1", + "id": 12345123222, + "number": 1, + "head": { + "ref": "test-pr", + "sha": "a68c473cf629b651f6e615c7d0eea95811d2db3d", + "repo": { + "id": 12345123333, + "url": "https://api.github.com/repos/baxterthehacker/public-repo", + "name": "public-repo" + } + }, + "base": { + "ref": "master", + "sha": "45deaf5013c757e58e2665849c3fd3add3edfa59", + "repo": { + "id": 123451234444, + "url": "https://api.github.com/repos/baxterthehacker/public-repo", + "name": "public-repo" + } + } + } + ], + "app": { + "id": 12345, + "node_id": "MDg6Q2hlY2tSdW4xMjg2MjAyMjg=", + "slug": "baxterandthehackers-app", + "owner": { + "login": "baxterthehacker", + "id": 12341234, + "node_id": "MDg6Q2hlY2tSdW4xMjg2MjAyMjg=", + "avatar_url": "https://avatars2.githubusercontent.com/u/60385638?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/baxterthehacker", + "html_url": "https://github.com/baxterthehacker", + "followers_url": "https://api.github.com/users/baxterthehacker/followers", + "following_url": "https://api.github.com/users/baxterthehacker/following{/other_user}", + "gists_url": "https://api.github.com/users/baxterthehacker/gists{/gist_id}", + "starred_url": "https://api.github.com/users/baxterthehacker/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/baxterthehacker/subscriptions", + "organizations_url": "https://api.github.com/users/baxterthehacker/orgs", + "repos_url": "https://api.github.com/users/baxterthehacker/repos", + "events_url": "https://api.github.com/users/baxterthehacker/events{/privacy}", + "received_events_url": "https://api.github.com/users/baxterthehacker/received_events", + "type": "Organization", + "site_admin": false + }, + "name": "Baxterandthehackers App", + "description": "", + "external_url": "https://www.baxterthehacker.com", + "html_url": "https://github.com/apps/baxterandthehackers-app", + "created_at": "2020-01-19T07:05:42Z", + "updated_at": "2020-02-18T00:24:52Z", + "permissions": { + "checks": "write", + "issues": "read", + "metadata": "read" + }, + "events": [ + "check_run", + "check_suite" + ] + }, + "created_at": "2020-02-18T00:54:04Z", + "updated_at": "2020-02-18T00:54:04Z", + "latest_check_runs_count": 0, + "check_runs_url": "https://api.github.com/repos/baxterthehacker/public-repo/check-suites/12341234111/check-runs", + "head_commit": { + "id": "45deaf5013c757e58e2665849c3fd3add3edfa59", + "tree_id": "7eccf45e2908e97540ab6b4d6ce849f0a7c0cfca", + "message": "Update README.md", + "timestamp": "2020-02-18T00:53:59Z", + "author": { + "name": "baxterthehacker", + "email": "baxterthehacker@users.noreply.github.com" + }, + "committer": { + "name": "baxterthehacker", + "email": "baxterthehacker@users.noreply.github.com" + } + } + }, + "repository": { + "id": 35129377, + "node_id": "MDg6Q2hlY2tSdW4xMjg2MjAyMjg=", + "name": "public-repo", + "full_name": "baxterthehacker/public-repo", + "private": false, + "owner": { + "login": "baxterthehacker", + "id": 6752317, + "node_id": "MDg6Q2hlY2tSdW4xMjg2MjAyMjg=", + "avatar_url": "https://avatars.githubusercontent.com/u/6752317?v=3", + "gravatar_id": "", + "url": "https://api.github.com/users/baxterthehacker", + "html_url": "https://github.com/baxterthehacker", + "followers_url": "https://api.github.com/users/baxterthehacker/followers", + "following_url": "https://api.github.com/users/baxterthehacker/following{/other_user}", + "gists_url": "https://api.github.com/users/baxterthehacker/gists{/gist_id}", + "starred_url": "https://api.github.com/users/baxterthehacker/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/baxterthehacker/subscriptions", + "organizations_url": "https://api.github.com/users/baxterthehacker/orgs", + "repos_url": "https://api.github.com/users/baxterthehacker/repos", + "events_url": "https://api.github.com/users/baxterthehacker/events{/privacy}", + "received_events_url": "https://api.github.com/users/baxterthehacker/received_events", + "type": "Organization", + "site_admin": false + }, + "html_url": "https://github.com/baxterthehacker/public-repo", + "description": null, + "fork": false, + "url": "https://api.github.com/repos/baxterthehacker/public-repo", + "forks_url": "https://api.github.com/repos/baxterthehacker/public-repo/forks", + "keys_url": "https://api.github.com/repos/baxterthehacker/public-repo/keys{/key_id}", + "collaborators_url": "https://api.github.com/repos/baxterthehacker/public-repo/collaborators{/collaborator}", + "teams_url": "https://api.github.com/repos/baxterthehacker/public-repo/teams", + "hooks_url": "https://api.github.com/repos/baxterthehacker/public-repo/hooks", + "issue_events_url": "https://api.github.com/repos/baxterthehacker/public-repo/issues/events{/number}", + "events_url": "https://api.github.com/repos/baxterthehacker/public-repo/events", + "assignees_url": "https://api.github.com/repos/baxterthehacker/public-repo/assignees{/user}", + "branches_url": "https://api.github.com/repos/baxterthehacker/public-repo/branches{/branch}", + "tags_url": "https://api.github.com/repos/baxterthehacker/public-repo/tags", + "blobs_url": "https://api.github.com/repos/baxterthehacker/public-repo/git/blobs{/sha}", + "git_tags_url": "https://api.github.com/repos/baxterthehacker/public-repo/git/tags{/sha}", + "git_refs_url": "https://api.github.com/repos/baxterthehacker/public-repo/git/refs{/sha}", + "trees_url": "https://api.github.com/repos/baxterthehacker/public-repo/git/trees{/sha}", + "statuses_url": "https://api.github.com/repos/baxterthehacker/public-repo/statuses/{sha}", + "languages_url": "https://api.github.com/repos/baxterthehacker/public-repo/languages", + "stargazers_url": "https://api.github.com/repos/baxterthehacker/public-repo/stargazers", + "contributors_url": "https://api.github.com/repos/baxterthehacker/public-repo/contributors", + "subscribers_url": "https://api.github.com/repos/baxterthehacker/public-repo/subscribers", + "subscription_url": "https://api.github.com/repos/baxterthehacker/public-repo/subscription", + "commits_url": "https://api.github.com/repos/baxterthehacker/public-repo/commits{/sha}", + "git_commits_url": "https://api.github.com/repos/baxterthehacker/public-repo/git/commits{/sha}", + "comments_url": "https://api.github.com/repos/baxterthehacker/public-repo/comments{/number}", + "issue_comment_url": "https://api.github.com/repos/baxterthehacker/public-repo/issues/comments{/number}", + "contents_url": "https://api.github.com/repos/baxterthehacker/public-repo/contents/{+path}", + "compare_url": "https://api.github.com/repos/baxterthehacker/public-repo/compare/{base}...{head}", + "merges_url": "https://api.github.com/repos/baxterthehacker/public-repo/merges", + "archive_url": "https://api.github.com/repos/baxterthehacker/public-repo/{archive_format}{/ref}", + "downloads_url": "https://api.github.com/repos/baxterthehacker/public-repo/downloads", + "issues_url": "https://api.github.com/repos/baxterthehacker/public-repo/issues{/number}", + "pulls_url": "https://api.github.com/repos/baxterthehacker/public-repo/pulls{/number}", + "milestones_url": "https://api.github.com/repos/baxterthehacker/public-repo/milestones{/number}", + "notifications_url": "https://api.github.com/repos/baxterthehacker/public-repo/notifications{?since,all,participating}", + "labels_url": "https://api.github.com/repos/baxterthehacker/public-repo/labels{/name}", + "releases_url": "https://api.github.com/repos/baxterthehacker/public-repo/releases{/id}", + "deployments_url": "https://api.github.com/repos/baxterthehacker/public-repo/deployments", + "created_at": "2015-05-05T23:40:12Z", + "updated_at": "2015-05-05T23:40:12Z", + "pushed_at": "2015-05-05T23:40:27Z", + "git_url": "git://github.com/baxterthehacker/public-repo.git", + "ssh_url": "git@github.com:baxterthehacker/public-repo.git", + "clone_url": "https://github.com/baxterthehacker/public-repo.git", + "svn_url": "https://github.com/baxterthehacker/public-repo", + "homepage": null, + "size": 0, + "stargazers_count": 0, + "watchers_count": 0, + "language": null, + "has_issues": true, + "has_projects": true, + "has_downloads": true, + "has_wiki": true, + "has_pages": true, + "forks_count": 0, + "mirror_url": null, + "archived": false, + "disabled": false, + "open_issues_count": 2, + "license": null, + "forks": 0, + "open_issues": 1, + "watchers": 0, + "default_branch": "master" + }, + "organization": { + "login": "baxterandthehackers", + "id": 4312013, + "node_id": "MDg6Q2hlY2tSdW4xMjg2MjAyMjg=", + "url": "https://api.github.com/orgs/baxterandthehackers", + "repos_url": "https://api.github.com/orgs/baxterandthehackers/repos", + "events_url": "https://api.github.com/orgs/baxterandthehackers/events", + "hooks_url": "https://api.github.com/orgs/baxterandthehackers/hooks", + "issues_url": "https://api.github.com/orgs/baxterandthehackers/issues", + "members_url": "https://api.github.com/orgs/baxterandthehackers/members{/member}", + "public_members_url": "https://api.github.com/orgs/baxterandthehackers/public_members{/member}", + "avatar_url": "https://avatars.githubusercontent.com/u/4312013?v=3", + "description": null + }, + "sender":{ + "login":"baxterthehacker", + "id":6752317, + "node_id": "MDg6Q2hlY2tSdW4xMjg2MjAyMjg=", + "avatar_url":"https://avatars.githubusercontent.com/u/6752317?v=3", + "gravatar_id":"", + "url":"https://api.github.com/users/baxterthehacker", + "html_url":"https://github.com/baxterthehacker", + "followers_url":"https://api.github.com/users/baxterthehacker/followers", + "following_url":"https://api.github.com/users/baxterthehacker/following{/other_user}", + "gists_url":"https://api.github.com/users/baxterthehacker/gists{/gist_id}", + "starred_url":"https://api.github.com/users/baxterthehacker/starred{/owner}{/repo}", + "subscriptions_url":"https://api.github.com/users/baxterthehacker/subscriptions", + "organizations_url":"https://api.github.com/users/baxterthehacker/orgs", + "repos_url":"https://api.github.com/users/baxterthehacker/repos", + "events_url":"https://api.github.com/users/baxterthehacker/events{/privacy}", + "received_events_url":"https://api.github.com/users/baxterthehacker/received_events", + "type":"User", + "site_admin":false + }, + "installation": { + "id": 1234123, + "node_id": "MDg6Q2hlY2tSdW4xMjg2MjAyMjg=" + } +}
fixtures/commit-comment-event.json view
@@ -1,145 +1,145 @@-{- "action": "created",- "comment": {- "url": "https://api.github.com/repos/baxterthehacker/public-repo/comments/11056394",- "html_url": "https://github.com/baxterthehacker/public-repo/commit/9049f1265b7d61be4a8904a9a27120d2064dab3b#commitcomment-11056394",- "id": 11056394,- "node_id": "MDg6Q2hlY2tSdW4xMjg2MjAyMjg=",- "user": {- "login": "baxterthehacker",- "id": 6752317,- "node_id": "MDg6Q2hlY2tSdW4xMjg2MjAyMjg=",- "avatar_url": "https://avatars.githubusercontent.com/u/6752317?v=3",- "gravatar_id": "",- "url": "https://api.github.com/users/baxterthehacker",- "html_url": "https://github.com/baxterthehacker",- "followers_url": "https://api.github.com/users/baxterthehacker/followers",- "following_url": "https://api.github.com/users/baxterthehacker/following{/other_user}",- "gists_url": "https://api.github.com/users/baxterthehacker/gists{/gist_id}",- "starred_url": "https://api.github.com/users/baxterthehacker/starred{/owner}{/repo}",- "subscriptions_url": "https://api.github.com/users/baxterthehacker/subscriptions",- "organizations_url": "https://api.github.com/users/baxterthehacker/orgs",- "repos_url": "https://api.github.com/users/baxterthehacker/repos",- "events_url": "https://api.github.com/users/baxterthehacker/events{/privacy}",- "received_events_url": "https://api.github.com/users/baxterthehacker/received_events",- "type": "User",- "site_admin": false- },- "position": null,- "line": null,- "path": null,- "commit_id": "9049f1265b7d61be4a8904a9a27120d2064dab3b",- "created_at": "2015-05-05T23:40:29Z",- "updated_at": "2015-05-05T23:40:29Z",- "body": "This is a really good change! :+1:"- },- "repository": {- "id": 35129377,- "node_id": "MDg6Q2hlY2tSdW4xMjg2MjAyMjg=",- "name": "public-repo",- "full_name": "baxterthehacker/public-repo",- "owner": {- "login": "baxterthehacker",- "id": 6752317,- "node_id": "MDg6Q2hlY2tSdW4xMjg2MjAyMjg=",- "avatar_url": "https://avatars.githubusercontent.com/u/6752317?v=3",- "gravatar_id": "",- "url": "https://api.github.com/users/baxterthehacker",- "html_url": "https://github.com/baxterthehacker",- "followers_url": "https://api.github.com/users/baxterthehacker/followers",- "following_url": "https://api.github.com/users/baxterthehacker/following{/other_user}",- "gists_url": "https://api.github.com/users/baxterthehacker/gists{/gist_id}",- "starred_url": "https://api.github.com/users/baxterthehacker/starred{/owner}{/repo}",- "subscriptions_url": "https://api.github.com/users/baxterthehacker/subscriptions",- "organizations_url": "https://api.github.com/users/baxterthehacker/orgs",- "repos_url": "https://api.github.com/users/baxterthehacker/repos",- "events_url": "https://api.github.com/users/baxterthehacker/events{/privacy}",- "received_events_url": "https://api.github.com/users/baxterthehacker/received_events",- "type": "User",- "site_admin": false- },- "private": false,- "html_url": "https://github.com/baxterthehacker/public-repo",- "description": "",- "fork": false,- "url": "https://api.github.com/repos/baxterthehacker/public-repo",- "forks_url": "https://api.github.com/repos/baxterthehacker/public-repo/forks",- "keys_url": "https://api.github.com/repos/baxterthehacker/public-repo/keys{/key_id}",- "collaborators_url": "https://api.github.com/repos/baxterthehacker/public-repo/collaborators{/collaborator}",- "teams_url": "https://api.github.com/repos/baxterthehacker/public-repo/teams",- "hooks_url": "https://api.github.com/repos/baxterthehacker/public-repo/hooks",- "issue_events_url": "https://api.github.com/repos/baxterthehacker/public-repo/issues/events{/number}",- "events_url": "https://api.github.com/repos/baxterthehacker/public-repo/events",- "assignees_url": "https://api.github.com/repos/baxterthehacker/public-repo/assignees{/user}",- "branches_url": "https://api.github.com/repos/baxterthehacker/public-repo/branches{/branch}",- "tags_url": "https://api.github.com/repos/baxterthehacker/public-repo/tags",- "blobs_url": "https://api.github.com/repos/baxterthehacker/public-repo/git/blobs{/sha}",- "git_tags_url": "https://api.github.com/repos/baxterthehacker/public-repo/git/tags{/sha}",- "git_refs_url": "https://api.github.com/repos/baxterthehacker/public-repo/git/refs{/sha}",- "trees_url": "https://api.github.com/repos/baxterthehacker/public-repo/git/trees{/sha}",- "statuses_url": "https://api.github.com/repos/baxterthehacker/public-repo/statuses/{sha}",- "languages_url": "https://api.github.com/repos/baxterthehacker/public-repo/languages",- "stargazers_url": "https://api.github.com/repos/baxterthehacker/public-repo/stargazers",- "contributors_url": "https://api.github.com/repos/baxterthehacker/public-repo/contributors",- "subscribers_url": "https://api.github.com/repos/baxterthehacker/public-repo/subscribers",- "subscription_url": "https://api.github.com/repos/baxterthehacker/public-repo/subscription",- "commits_url": "https://api.github.com/repos/baxterthehacker/public-repo/commits{/sha}",- "git_commits_url": "https://api.github.com/repos/baxterthehacker/public-repo/git/commits{/sha}",- "comments_url": "https://api.github.com/repos/baxterthehacker/public-repo/comments{/number}",- "issue_comment_url": "https://api.github.com/repos/baxterthehacker/public-repo/issues/comments{/number}",- "contents_url": "https://api.github.com/repos/baxterthehacker/public-repo/contents/{+path}",- "compare_url": "https://api.github.com/repos/baxterthehacker/public-repo/compare/{base}...{head}",- "merges_url": "https://api.github.com/repos/baxterthehacker/public-repo/merges",- "archive_url": "https://api.github.com/repos/baxterthehacker/public-repo/{archive_format}{/ref}",- "downloads_url": "https://api.github.com/repos/baxterthehacker/public-repo/downloads",- "issues_url": "https://api.github.com/repos/baxterthehacker/public-repo/issues{/number}",- "pulls_url": "https://api.github.com/repos/baxterthehacker/public-repo/pulls{/number}",- "milestones_url": "https://api.github.com/repos/baxterthehacker/public-repo/milestones{/number}",- "notifications_url": "https://api.github.com/repos/baxterthehacker/public-repo/notifications{?since,all,participating}",- "labels_url": "https://api.github.com/repos/baxterthehacker/public-repo/labels{/name}",- "releases_url": "https://api.github.com/repos/baxterthehacker/public-repo/releases{/id}",- "created_at": "2015-05-05T23:40:12Z",- "updated_at": "2015-05-05T23:40:12Z",- "pushed_at": "2015-05-05T23:40:27Z",- "git_url": "git://github.com/baxterthehacker/public-repo.git",- "ssh_url": "git@github.com:baxterthehacker/public-repo.git",- "clone_url": "https://github.com/baxterthehacker/public-repo.git",- "svn_url": "https://github.com/baxterthehacker/public-repo",- "homepage": null,- "size": 0,- "stargazers_count": 0,- "watchers_count": 0,- "language": null,- "has_issues": true,- "has_downloads": true,- "has_wiki": true,- "has_pages": true,- "forks_count": 0,- "mirror_url": null,- "open_issues_count": 2,- "forks": 0,- "open_issues": 2,- "watchers": 0,- "default_branch": "master"- },- "sender": {- "login": "baxterthehacker",- "id": 6752317,- "node_id": "MDg6Q2hlY2tSdW4xMjg2MjAyMjg=",- "avatar_url": "https://avatars.githubusercontent.com/u/6752317?v=3",- "gravatar_id": "",- "url": "https://api.github.com/users/baxterthehacker",- "html_url": "https://github.com/baxterthehacker",- "followers_url": "https://api.github.com/users/baxterthehacker/followers",- "following_url": "https://api.github.com/users/baxterthehacker/following{/other_user}",- "gists_url": "https://api.github.com/users/baxterthehacker/gists{/gist_id}",- "starred_url": "https://api.github.com/users/baxterthehacker/starred{/owner}{/repo}",- "subscriptions_url": "https://api.github.com/users/baxterthehacker/subscriptions",- "organizations_url": "https://api.github.com/users/baxterthehacker/orgs",- "repos_url": "https://api.github.com/users/baxterthehacker/repos",- "events_url": "https://api.github.com/users/baxterthehacker/events{/privacy}",- "received_events_url": "https://api.github.com/users/baxterthehacker/received_events",- "type": "User",- "site_admin": false- }-}+{ + "action": "created", + "comment": { + "url": "https://api.github.com/repos/baxterthehacker/public-repo/comments/11056394", + "html_url": "https://github.com/baxterthehacker/public-repo/commit/9049f1265b7d61be4a8904a9a27120d2064dab3b#commitcomment-11056394", + "id": 11056394, + "node_id": "MDg6Q2hlY2tSdW4xMjg2MjAyMjg=", + "user": { + "login": "baxterthehacker", + "id": 6752317, + "node_id": "MDg6Q2hlY2tSdW4xMjg2MjAyMjg=", + "avatar_url": "https://avatars.githubusercontent.com/u/6752317?v=3", + "gravatar_id": "", + "url": "https://api.github.com/users/baxterthehacker", + "html_url": "https://github.com/baxterthehacker", + "followers_url": "https://api.github.com/users/baxterthehacker/followers", + "following_url": "https://api.github.com/users/baxterthehacker/following{/other_user}", + "gists_url": "https://api.github.com/users/baxterthehacker/gists{/gist_id}", + "starred_url": "https://api.github.com/users/baxterthehacker/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/baxterthehacker/subscriptions", + "organizations_url": "https://api.github.com/users/baxterthehacker/orgs", + "repos_url": "https://api.github.com/users/baxterthehacker/repos", + "events_url": "https://api.github.com/users/baxterthehacker/events{/privacy}", + "received_events_url": "https://api.github.com/users/baxterthehacker/received_events", + "type": "User", + "site_admin": false + }, + "position": null, + "line": null, + "path": null, + "commit_id": "9049f1265b7d61be4a8904a9a27120d2064dab3b", + "created_at": "2015-05-05T23:40:29Z", + "updated_at": "2015-05-05T23:40:29Z", + "body": "This is a really good change! :+1:" + }, + "repository": { + "id": 35129377, + "node_id": "MDg6Q2hlY2tSdW4xMjg2MjAyMjg=", + "name": "public-repo", + "full_name": "baxterthehacker/public-repo", + "owner": { + "login": "baxterthehacker", + "id": 6752317, + "node_id": "MDg6Q2hlY2tSdW4xMjg2MjAyMjg=", + "avatar_url": "https://avatars.githubusercontent.com/u/6752317?v=3", + "gravatar_id": "", + "url": "https://api.github.com/users/baxterthehacker", + "html_url": "https://github.com/baxterthehacker", + "followers_url": "https://api.github.com/users/baxterthehacker/followers", + "following_url": "https://api.github.com/users/baxterthehacker/following{/other_user}", + "gists_url": "https://api.github.com/users/baxterthehacker/gists{/gist_id}", + "starred_url": "https://api.github.com/users/baxterthehacker/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/baxterthehacker/subscriptions", + "organizations_url": "https://api.github.com/users/baxterthehacker/orgs", + "repos_url": "https://api.github.com/users/baxterthehacker/repos", + "events_url": "https://api.github.com/users/baxterthehacker/events{/privacy}", + "received_events_url": "https://api.github.com/users/baxterthehacker/received_events", + "type": "User", + "site_admin": false + }, + "private": false, + "html_url": "https://github.com/baxterthehacker/public-repo", + "description": "", + "fork": false, + "url": "https://api.github.com/repos/baxterthehacker/public-repo", + "forks_url": "https://api.github.com/repos/baxterthehacker/public-repo/forks", + "keys_url": "https://api.github.com/repos/baxterthehacker/public-repo/keys{/key_id}", + "collaborators_url": "https://api.github.com/repos/baxterthehacker/public-repo/collaborators{/collaborator}", + "teams_url": "https://api.github.com/repos/baxterthehacker/public-repo/teams", + "hooks_url": "https://api.github.com/repos/baxterthehacker/public-repo/hooks", + "issue_events_url": "https://api.github.com/repos/baxterthehacker/public-repo/issues/events{/number}", + "events_url": "https://api.github.com/repos/baxterthehacker/public-repo/events", + "assignees_url": "https://api.github.com/repos/baxterthehacker/public-repo/assignees{/user}", + "branches_url": "https://api.github.com/repos/baxterthehacker/public-repo/branches{/branch}", + "tags_url": "https://api.github.com/repos/baxterthehacker/public-repo/tags", + "blobs_url": "https://api.github.com/repos/baxterthehacker/public-repo/git/blobs{/sha}", + "git_tags_url": "https://api.github.com/repos/baxterthehacker/public-repo/git/tags{/sha}", + "git_refs_url": "https://api.github.com/repos/baxterthehacker/public-repo/git/refs{/sha}", + "trees_url": "https://api.github.com/repos/baxterthehacker/public-repo/git/trees{/sha}", + "statuses_url": "https://api.github.com/repos/baxterthehacker/public-repo/statuses/{sha}", + "languages_url": "https://api.github.com/repos/baxterthehacker/public-repo/languages", + "stargazers_url": "https://api.github.com/repos/baxterthehacker/public-repo/stargazers", + "contributors_url": "https://api.github.com/repos/baxterthehacker/public-repo/contributors", + "subscribers_url": "https://api.github.com/repos/baxterthehacker/public-repo/subscribers", + "subscription_url": "https://api.github.com/repos/baxterthehacker/public-repo/subscription", + "commits_url": "https://api.github.com/repos/baxterthehacker/public-repo/commits{/sha}", + "git_commits_url": "https://api.github.com/repos/baxterthehacker/public-repo/git/commits{/sha}", + "comments_url": "https://api.github.com/repos/baxterthehacker/public-repo/comments{/number}", + "issue_comment_url": "https://api.github.com/repos/baxterthehacker/public-repo/issues/comments{/number}", + "contents_url": "https://api.github.com/repos/baxterthehacker/public-repo/contents/{+path}", + "compare_url": "https://api.github.com/repos/baxterthehacker/public-repo/compare/{base}...{head}", + "merges_url": "https://api.github.com/repos/baxterthehacker/public-repo/merges", + "archive_url": "https://api.github.com/repos/baxterthehacker/public-repo/{archive_format}{/ref}", + "downloads_url": "https://api.github.com/repos/baxterthehacker/public-repo/downloads", + "issues_url": "https://api.github.com/repos/baxterthehacker/public-repo/issues{/number}", + "pulls_url": "https://api.github.com/repos/baxterthehacker/public-repo/pulls{/number}", + "milestones_url": "https://api.github.com/repos/baxterthehacker/public-repo/milestones{/number}", + "notifications_url": "https://api.github.com/repos/baxterthehacker/public-repo/notifications{?since,all,participating}", + "labels_url": "https://api.github.com/repos/baxterthehacker/public-repo/labels{/name}", + "releases_url": "https://api.github.com/repos/baxterthehacker/public-repo/releases{/id}", + "created_at": "2015-05-05T23:40:12Z", + "updated_at": "2015-05-05T23:40:12Z", + "pushed_at": "2015-05-05T23:40:27Z", + "git_url": "git://github.com/baxterthehacker/public-repo.git", + "ssh_url": "git@github.com:baxterthehacker/public-repo.git", + "clone_url": "https://github.com/baxterthehacker/public-repo.git", + "svn_url": "https://github.com/baxterthehacker/public-repo", + "homepage": null, + "size": 0, + "stargazers_count": 0, + "watchers_count": 0, + "language": null, + "has_issues": true, + "has_downloads": true, + "has_wiki": true, + "has_pages": true, + "forks_count": 0, + "mirror_url": null, + "open_issues_count": 2, + "forks": 0, + "open_issues": 2, + "watchers": 0, + "default_branch": "master" + }, + "sender": { + "login": "baxterthehacker", + "id": 6752317, + "node_id": "MDg6Q2hlY2tSdW4xMjg2MjAyMjg=", + "avatar_url": "https://avatars.githubusercontent.com/u/6752317?v=3", + "gravatar_id": "", + "url": "https://api.github.com/users/baxterthehacker", + "html_url": "https://github.com/baxterthehacker", + "followers_url": "https://api.github.com/users/baxterthehacker/followers", + "following_url": "https://api.github.com/users/baxterthehacker/following{/other_user}", + "gists_url": "https://api.github.com/users/baxterthehacker/gists{/gist_id}", + "starred_url": "https://api.github.com/users/baxterthehacker/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/baxterthehacker/subscriptions", + "organizations_url": "https://api.github.com/users/baxterthehacker/orgs", + "repos_url": "https://api.github.com/users/baxterthehacker/repos", + "events_url": "https://api.github.com/users/baxterthehacker/events{/privacy}", + "received_events_url": "https://api.github.com/users/baxterthehacker/received_events", + "type": "User", + "site_admin": false + } +}
fixtures/create-event.json view
@@ -1,116 +1,116 @@-{- "ref": "0.0.1",- "ref_type": "tag",- "master_branch": "master",- "description": "",- "pusher_type": "user",- "repository": {- "id": 35129377,- "node_id": "MDg6Q2hlY2tSdW4xMjg2MjAyMjg=",- "name": "public-repo",- "full_name": "baxterthehacker/public-repo",- "owner": {- "login": "baxterthehacker",- "id": 6752317,- "node_id": "MDg6Q2hlY2tSdW4xMjg2MjAyMjg=",- "avatar_url": "https://avatars.githubusercontent.com/u/6752317?v=3",- "gravatar_id": "",- "url": "https://api.github.com/users/baxterthehacker",- "html_url": "https://github.com/baxterthehacker",- "followers_url": "https://api.github.com/users/baxterthehacker/followers",- "following_url": "https://api.github.com/users/baxterthehacker/following{/other_user}",- "gists_url": "https://api.github.com/users/baxterthehacker/gists{/gist_id}",- "starred_url": "https://api.github.com/users/baxterthehacker/starred{/owner}{/repo}",- "subscriptions_url": "https://api.github.com/users/baxterthehacker/subscriptions",- "organizations_url": "https://api.github.com/users/baxterthehacker/orgs",- "repos_url": "https://api.github.com/users/baxterthehacker/repos",- "events_url": "https://api.github.com/users/baxterthehacker/events{/privacy}",- "received_events_url": "https://api.github.com/users/baxterthehacker/received_events",- "type": "User",- "site_admin": false- },- "private": false,- "html_url": "https://github.com/baxterthehacker/public-repo",- "description": "",- "fork": false,- "url": "https://api.github.com/repos/baxterthehacker/public-repo",- "forks_url": "https://api.github.com/repos/baxterthehacker/public-repo/forks",- "keys_url": "https://api.github.com/repos/baxterthehacker/public-repo/keys{/key_id}",- "collaborators_url": "https://api.github.com/repos/baxterthehacker/public-repo/collaborators{/collaborator}",- "teams_url": "https://api.github.com/repos/baxterthehacker/public-repo/teams",- "hooks_url": "https://api.github.com/repos/baxterthehacker/public-repo/hooks",- "issue_events_url": "https://api.github.com/repos/baxterthehacker/public-repo/issues/events{/number}",- "events_url": "https://api.github.com/repos/baxterthehacker/public-repo/events",- "assignees_url": "https://api.github.com/repos/baxterthehacker/public-repo/assignees{/user}",- "branches_url": "https://api.github.com/repos/baxterthehacker/public-repo/branches{/branch}",- "tags_url": "https://api.github.com/repos/baxterthehacker/public-repo/tags",- "blobs_url": "https://api.github.com/repos/baxterthehacker/public-repo/git/blobs{/sha}",- "git_tags_url": "https://api.github.com/repos/baxterthehacker/public-repo/git/tags{/sha}",- "git_refs_url": "https://api.github.com/repos/baxterthehacker/public-repo/git/refs{/sha}",- "trees_url": "https://api.github.com/repos/baxterthehacker/public-repo/git/trees{/sha}",- "statuses_url": "https://api.github.com/repos/baxterthehacker/public-repo/statuses/{sha}",- "languages_url": "https://api.github.com/repos/baxterthehacker/public-repo/languages",- "stargazers_url": "https://api.github.com/repos/baxterthehacker/public-repo/stargazers",- "contributors_url": "https://api.github.com/repos/baxterthehacker/public-repo/contributors",- "subscribers_url": "https://api.github.com/repos/baxterthehacker/public-repo/subscribers",- "subscription_url": "https://api.github.com/repos/baxterthehacker/public-repo/subscription",- "commits_url": "https://api.github.com/repos/baxterthehacker/public-repo/commits{/sha}",- "git_commits_url": "https://api.github.com/repos/baxterthehacker/public-repo/git/commits{/sha}",- "comments_url": "https://api.github.com/repos/baxterthehacker/public-repo/comments{/number}",- "issue_comment_url": "https://api.github.com/repos/baxterthehacker/public-repo/issues/comments{/number}",- "contents_url": "https://api.github.com/repos/baxterthehacker/public-repo/contents/{+path}",- "compare_url": "https://api.github.com/repos/baxterthehacker/public-repo/compare/{base}...{head}",- "merges_url": "https://api.github.com/repos/baxterthehacker/public-repo/merges",- "archive_url": "https://api.github.com/repos/baxterthehacker/public-repo/{archive_format}{/ref}",- "downloads_url": "https://api.github.com/repos/baxterthehacker/public-repo/downloads",- "issues_url": "https://api.github.com/repos/baxterthehacker/public-repo/issues{/number}",- "pulls_url": "https://api.github.com/repos/baxterthehacker/public-repo/pulls{/number}",- "milestones_url": "https://api.github.com/repos/baxterthehacker/public-repo/milestones{/number}",- "notifications_url": "https://api.github.com/repos/baxterthehacker/public-repo/notifications{?since,all,participating}",- "labels_url": "https://api.github.com/repos/baxterthehacker/public-repo/labels{/name}",- "releases_url": "https://api.github.com/repos/baxterthehacker/public-repo/releases{/id}",- "created_at": "2015-05-05T23:40:12Z",- "updated_at": "2015-05-05T23:40:30Z",- "pushed_at": "2015-05-05T23:40:38Z",- "git_url": "git://github.com/baxterthehacker/public-repo.git",- "ssh_url": "git@github.com:baxterthehacker/public-repo.git",- "clone_url": "https://github.com/baxterthehacker/public-repo.git",- "svn_url": "https://github.com/baxterthehacker/public-repo",- "homepage": null,- "size": 0,- "stargazers_count": 0,- "watchers_count": 0,- "language": null,- "has_issues": true,- "has_downloads": true,- "has_wiki": true,- "has_pages": true,- "forks_count": 0,- "mirror_url": null,- "open_issues_count": 2,- "forks": 0,- "open_issues": 2,- "watchers": 0,- "default_branch": "master"- },- "sender": {- "login": "baxterthehacker",- "id": 6752317,- "node_id": "MDg6Q2hlY2tSdW4xMjg2MjAyMjg=",- "avatar_url": "https://avatars.githubusercontent.com/u/6752317?v=3",- "gravatar_id": "",- "url": "https://api.github.com/users/baxterthehacker",- "html_url": "https://github.com/baxterthehacker",- "followers_url": "https://api.github.com/users/baxterthehacker/followers",- "following_url": "https://api.github.com/users/baxterthehacker/following{/other_user}",- "gists_url": "https://api.github.com/users/baxterthehacker/gists{/gist_id}",- "starred_url": "https://api.github.com/users/baxterthehacker/starred{/owner}{/repo}",- "subscriptions_url": "https://api.github.com/users/baxterthehacker/subscriptions",- "organizations_url": "https://api.github.com/users/baxterthehacker/orgs",- "repos_url": "https://api.github.com/users/baxterthehacker/repos",- "events_url": "https://api.github.com/users/baxterthehacker/events{/privacy}",- "received_events_url": "https://api.github.com/users/baxterthehacker/received_events",- "type": "User",- "site_admin": false- }-}+{ + "ref": "0.0.1", + "ref_type": "tag", + "master_branch": "master", + "description": "", + "pusher_type": "user", + "repository": { + "id": 35129377, + "node_id": "MDg6Q2hlY2tSdW4xMjg2MjAyMjg=", + "name": "public-repo", + "full_name": "baxterthehacker/public-repo", + "owner": { + "login": "baxterthehacker", + "id": 6752317, + "node_id": "MDg6Q2hlY2tSdW4xMjg2MjAyMjg=", + "avatar_url": "https://avatars.githubusercontent.com/u/6752317?v=3", + "gravatar_id": "", + "url": "https://api.github.com/users/baxterthehacker", + "html_url": "https://github.com/baxterthehacker", + "followers_url": "https://api.github.com/users/baxterthehacker/followers", + "following_url": "https://api.github.com/users/baxterthehacker/following{/other_user}", + "gists_url": "https://api.github.com/users/baxterthehacker/gists{/gist_id}", + "starred_url": "https://api.github.com/users/baxterthehacker/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/baxterthehacker/subscriptions", + "organizations_url": "https://api.github.com/users/baxterthehacker/orgs", + "repos_url": "https://api.github.com/users/baxterthehacker/repos", + "events_url": "https://api.github.com/users/baxterthehacker/events{/privacy}", + "received_events_url": "https://api.github.com/users/baxterthehacker/received_events", + "type": "User", + "site_admin": false + }, + "private": false, + "html_url": "https://github.com/baxterthehacker/public-repo", + "description": "", + "fork": false, + "url": "https://api.github.com/repos/baxterthehacker/public-repo", + "forks_url": "https://api.github.com/repos/baxterthehacker/public-repo/forks", + "keys_url": "https://api.github.com/repos/baxterthehacker/public-repo/keys{/key_id}", + "collaborators_url": "https://api.github.com/repos/baxterthehacker/public-repo/collaborators{/collaborator}", + "teams_url": "https://api.github.com/repos/baxterthehacker/public-repo/teams", + "hooks_url": "https://api.github.com/repos/baxterthehacker/public-repo/hooks", + "issue_events_url": "https://api.github.com/repos/baxterthehacker/public-repo/issues/events{/number}", + "events_url": "https://api.github.com/repos/baxterthehacker/public-repo/events", + "assignees_url": "https://api.github.com/repos/baxterthehacker/public-repo/assignees{/user}", + "branches_url": "https://api.github.com/repos/baxterthehacker/public-repo/branches{/branch}", + "tags_url": "https://api.github.com/repos/baxterthehacker/public-repo/tags", + "blobs_url": "https://api.github.com/repos/baxterthehacker/public-repo/git/blobs{/sha}", + "git_tags_url": "https://api.github.com/repos/baxterthehacker/public-repo/git/tags{/sha}", + "git_refs_url": "https://api.github.com/repos/baxterthehacker/public-repo/git/refs{/sha}", + "trees_url": "https://api.github.com/repos/baxterthehacker/public-repo/git/trees{/sha}", + "statuses_url": "https://api.github.com/repos/baxterthehacker/public-repo/statuses/{sha}", + "languages_url": "https://api.github.com/repos/baxterthehacker/public-repo/languages", + "stargazers_url": "https://api.github.com/repos/baxterthehacker/public-repo/stargazers", + "contributors_url": "https://api.github.com/repos/baxterthehacker/public-repo/contributors", + "subscribers_url": "https://api.github.com/repos/baxterthehacker/public-repo/subscribers", + "subscription_url": "https://api.github.com/repos/baxterthehacker/public-repo/subscription", + "commits_url": "https://api.github.com/repos/baxterthehacker/public-repo/commits{/sha}", + "git_commits_url": "https://api.github.com/repos/baxterthehacker/public-repo/git/commits{/sha}", + "comments_url": "https://api.github.com/repos/baxterthehacker/public-repo/comments{/number}", + "issue_comment_url": "https://api.github.com/repos/baxterthehacker/public-repo/issues/comments{/number}", + "contents_url": "https://api.github.com/repos/baxterthehacker/public-repo/contents/{+path}", + "compare_url": "https://api.github.com/repos/baxterthehacker/public-repo/compare/{base}...{head}", + "merges_url": "https://api.github.com/repos/baxterthehacker/public-repo/merges", + "archive_url": "https://api.github.com/repos/baxterthehacker/public-repo/{archive_format}{/ref}", + "downloads_url": "https://api.github.com/repos/baxterthehacker/public-repo/downloads", + "issues_url": "https://api.github.com/repos/baxterthehacker/public-repo/issues{/number}", + "pulls_url": "https://api.github.com/repos/baxterthehacker/public-repo/pulls{/number}", + "milestones_url": "https://api.github.com/repos/baxterthehacker/public-repo/milestones{/number}", + "notifications_url": "https://api.github.com/repos/baxterthehacker/public-repo/notifications{?since,all,participating}", + "labels_url": "https://api.github.com/repos/baxterthehacker/public-repo/labels{/name}", + "releases_url": "https://api.github.com/repos/baxterthehacker/public-repo/releases{/id}", + "created_at": "2015-05-05T23:40:12Z", + "updated_at": "2015-05-05T23:40:30Z", + "pushed_at": "2015-05-05T23:40:38Z", + "git_url": "git://github.com/baxterthehacker/public-repo.git", + "ssh_url": "git@github.com:baxterthehacker/public-repo.git", + "clone_url": "https://github.com/baxterthehacker/public-repo.git", + "svn_url": "https://github.com/baxterthehacker/public-repo", + "homepage": null, + "size": 0, + "stargazers_count": 0, + "watchers_count": 0, + "language": null, + "has_issues": true, + "has_downloads": true, + "has_wiki": true, + "has_pages": true, + "forks_count": 0, + "mirror_url": null, + "open_issues_count": 2, + "forks": 0, + "open_issues": 2, + "watchers": 0, + "default_branch": "master" + }, + "sender": { + "login": "baxterthehacker", + "id": 6752317, + "node_id": "MDg6Q2hlY2tSdW4xMjg2MjAyMjg=", + "avatar_url": "https://avatars.githubusercontent.com/u/6752317?v=3", + "gravatar_id": "", + "url": "https://api.github.com/users/baxterthehacker", + "html_url": "https://github.com/baxterthehacker", + "followers_url": "https://api.github.com/users/baxterthehacker/followers", + "following_url": "https://api.github.com/users/baxterthehacker/following{/other_user}", + "gists_url": "https://api.github.com/users/baxterthehacker/gists{/gist_id}", + "starred_url": "https://api.github.com/users/baxterthehacker/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/baxterthehacker/subscriptions", + "organizations_url": "https://api.github.com/users/baxterthehacker/orgs", + "repos_url": "https://api.github.com/users/baxterthehacker/repos", + "events_url": "https://api.github.com/users/baxterthehacker/events{/privacy}", + "received_events_url": "https://api.github.com/users/baxterthehacker/received_events", + "type": "User", + "site_admin": false + } +}
fixtures/delete-event.json view
@@ -1,114 +1,114 @@-{- "ref": "simple-tag",- "ref_type": "tag",- "pusher_type": "user",- "repository": {- "id": 35129377,- "node_id": "MDg6Q2hlY2tSdW4xMjg2MjAyMjg=",- "name": "public-repo",- "full_name": "baxterthehacker/public-repo",- "owner": {- "login": "baxterthehacker",- "id": 6752317,- "node_id": "MDg6Q2hlY2tSdW4xMjg2MjAyMjg=",- "avatar_url": "https://avatars.githubusercontent.com/u/6752317?v=3",- "gravatar_id": "",- "url": "https://api.github.com/users/baxterthehacker",- "html_url": "https://github.com/baxterthehacker",- "followers_url": "https://api.github.com/users/baxterthehacker/followers",- "following_url": "https://api.github.com/users/baxterthehacker/following{/other_user}",- "gists_url": "https://api.github.com/users/baxterthehacker/gists{/gist_id}",- "starred_url": "https://api.github.com/users/baxterthehacker/starred{/owner}{/repo}",- "subscriptions_url": "https://api.github.com/users/baxterthehacker/subscriptions",- "organizations_url": "https://api.github.com/users/baxterthehacker/orgs",- "repos_url": "https://api.github.com/users/baxterthehacker/repos",- "events_url": "https://api.github.com/users/baxterthehacker/events{/privacy}",- "received_events_url": "https://api.github.com/users/baxterthehacker/received_events",- "type": "User",- "site_admin": false- },- "private": false,- "html_url": "https://github.com/baxterthehacker/public-repo",- "description": "",- "fork": false,- "url": "https://api.github.com/repos/baxterthehacker/public-repo",- "forks_url": "https://api.github.com/repos/baxterthehacker/public-repo/forks",- "keys_url": "https://api.github.com/repos/baxterthehacker/public-repo/keys{/key_id}",- "collaborators_url": "https://api.github.com/repos/baxterthehacker/public-repo/collaborators{/collaborator}",- "teams_url": "https://api.github.com/repos/baxterthehacker/public-repo/teams",- "hooks_url": "https://api.github.com/repos/baxterthehacker/public-repo/hooks",- "issue_events_url": "https://api.github.com/repos/baxterthehacker/public-repo/issues/events{/number}",- "events_url": "https://api.github.com/repos/baxterthehacker/public-repo/events",- "assignees_url": "https://api.github.com/repos/baxterthehacker/public-repo/assignees{/user}",- "branches_url": "https://api.github.com/repos/baxterthehacker/public-repo/branches{/branch}",- "tags_url": "https://api.github.com/repos/baxterthehacker/public-repo/tags",- "blobs_url": "https://api.github.com/repos/baxterthehacker/public-repo/git/blobs{/sha}",- "git_tags_url": "https://api.github.com/repos/baxterthehacker/public-repo/git/tags{/sha}",- "git_refs_url": "https://api.github.com/repos/baxterthehacker/public-repo/git/refs{/sha}",- "trees_url": "https://api.github.com/repos/baxterthehacker/public-repo/git/trees{/sha}",- "statuses_url": "https://api.github.com/repos/baxterthehacker/public-repo/statuses/{sha}",- "languages_url": "https://api.github.com/repos/baxterthehacker/public-repo/languages",- "stargazers_url": "https://api.github.com/repos/baxterthehacker/public-repo/stargazers",- "contributors_url": "https://api.github.com/repos/baxterthehacker/public-repo/contributors",- "subscribers_url": "https://api.github.com/repos/baxterthehacker/public-repo/subscribers",- "subscription_url": "https://api.github.com/repos/baxterthehacker/public-repo/subscription",- "commits_url": "https://api.github.com/repos/baxterthehacker/public-repo/commits{/sha}",- "git_commits_url": "https://api.github.com/repos/baxterthehacker/public-repo/git/commits{/sha}",- "comments_url": "https://api.github.com/repos/baxterthehacker/public-repo/comments{/number}",- "issue_comment_url": "https://api.github.com/repos/baxterthehacker/public-repo/issues/comments{/number}",- "contents_url": "https://api.github.com/repos/baxterthehacker/public-repo/contents/{+path}",- "compare_url": "https://api.github.com/repos/baxterthehacker/public-repo/compare/{base}...{head}",- "merges_url": "https://api.github.com/repos/baxterthehacker/public-repo/merges",- "archive_url": "https://api.github.com/repos/baxterthehacker/public-repo/{archive_format}{/ref}",- "downloads_url": "https://api.github.com/repos/baxterthehacker/public-repo/downloads",- "issues_url": "https://api.github.com/repos/baxterthehacker/public-repo/issues{/number}",- "pulls_url": "https://api.github.com/repos/baxterthehacker/public-repo/pulls{/number}",- "milestones_url": "https://api.github.com/repos/baxterthehacker/public-repo/milestones{/number}",- "notifications_url": "https://api.github.com/repos/baxterthehacker/public-repo/notifications{?since,all,participating}",- "labels_url": "https://api.github.com/repos/baxterthehacker/public-repo/labels{/name}",- "releases_url": "https://api.github.com/repos/baxterthehacker/public-repo/releases{/id}",- "created_at": "2015-05-05T23:40:12Z",- "updated_at": "2015-05-05T23:40:30Z",- "pushed_at": "2015-05-05T23:40:40Z",- "git_url": "git://github.com/baxterthehacker/public-repo.git",- "ssh_url": "git@github.com:baxterthehacker/public-repo.git",- "clone_url": "https://github.com/baxterthehacker/public-repo.git",- "svn_url": "https://github.com/baxterthehacker/public-repo",- "homepage": null,- "size": 0,- "stargazers_count": 0,- "watchers_count": 0,- "language": null,- "has_issues": true,- "has_downloads": true,- "has_wiki": true,- "has_pages": true,- "forks_count": 0,- "mirror_url": null,- "open_issues_count": 2,- "forks": 0,- "open_issues": 2,- "watchers": 0,- "default_branch": "master"- },- "sender": {- "login": "baxterthehacker",- "id": 6752317,- "node_id": "MDg6Q2hlY2tSdW4xMjg2MjAyMjg=",- "avatar_url": "https://avatars.githubusercontent.com/u/6752317?v=3",- "gravatar_id": "",- "url": "https://api.github.com/users/baxterthehacker",- "html_url": "https://github.com/baxterthehacker",- "followers_url": "https://api.github.com/users/baxterthehacker/followers",- "following_url": "https://api.github.com/users/baxterthehacker/following{/other_user}",- "gists_url": "https://api.github.com/users/baxterthehacker/gists{/gist_id}",- "starred_url": "https://api.github.com/users/baxterthehacker/starred{/owner}{/repo}",- "subscriptions_url": "https://api.github.com/users/baxterthehacker/subscriptions",- "organizations_url": "https://api.github.com/users/baxterthehacker/orgs",- "repos_url": "https://api.github.com/users/baxterthehacker/repos",- "events_url": "https://api.github.com/users/baxterthehacker/events{/privacy}",- "received_events_url": "https://api.github.com/users/baxterthehacker/received_events",- "type": "User",- "site_admin": false- }-}+{ + "ref": "simple-tag", + "ref_type": "tag", + "pusher_type": "user", + "repository": { + "id": 35129377, + "node_id": "MDg6Q2hlY2tSdW4xMjg2MjAyMjg=", + "name": "public-repo", + "full_name": "baxterthehacker/public-repo", + "owner": { + "login": "baxterthehacker", + "id": 6752317, + "node_id": "MDg6Q2hlY2tSdW4xMjg2MjAyMjg=", + "avatar_url": "https://avatars.githubusercontent.com/u/6752317?v=3", + "gravatar_id": "", + "url": "https://api.github.com/users/baxterthehacker", + "html_url": "https://github.com/baxterthehacker", + "followers_url": "https://api.github.com/users/baxterthehacker/followers", + "following_url": "https://api.github.com/users/baxterthehacker/following{/other_user}", + "gists_url": "https://api.github.com/users/baxterthehacker/gists{/gist_id}", + "starred_url": "https://api.github.com/users/baxterthehacker/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/baxterthehacker/subscriptions", + "organizations_url": "https://api.github.com/users/baxterthehacker/orgs", + "repos_url": "https://api.github.com/users/baxterthehacker/repos", + "events_url": "https://api.github.com/users/baxterthehacker/events{/privacy}", + "received_events_url": "https://api.github.com/users/baxterthehacker/received_events", + "type": "User", + "site_admin": false + }, + "private": false, + "html_url": "https://github.com/baxterthehacker/public-repo", + "description": "", + "fork": false, + "url": "https://api.github.com/repos/baxterthehacker/public-repo", + "forks_url": "https://api.github.com/repos/baxterthehacker/public-repo/forks", + "keys_url": "https://api.github.com/repos/baxterthehacker/public-repo/keys{/key_id}", + "collaborators_url": "https://api.github.com/repos/baxterthehacker/public-repo/collaborators{/collaborator}", + "teams_url": "https://api.github.com/repos/baxterthehacker/public-repo/teams", + "hooks_url": "https://api.github.com/repos/baxterthehacker/public-repo/hooks", + "issue_events_url": "https://api.github.com/repos/baxterthehacker/public-repo/issues/events{/number}", + "events_url": "https://api.github.com/repos/baxterthehacker/public-repo/events", + "assignees_url": "https://api.github.com/repos/baxterthehacker/public-repo/assignees{/user}", + "branches_url": "https://api.github.com/repos/baxterthehacker/public-repo/branches{/branch}", + "tags_url": "https://api.github.com/repos/baxterthehacker/public-repo/tags", + "blobs_url": "https://api.github.com/repos/baxterthehacker/public-repo/git/blobs{/sha}", + "git_tags_url": "https://api.github.com/repos/baxterthehacker/public-repo/git/tags{/sha}", + "git_refs_url": "https://api.github.com/repos/baxterthehacker/public-repo/git/refs{/sha}", + "trees_url": "https://api.github.com/repos/baxterthehacker/public-repo/git/trees{/sha}", + "statuses_url": "https://api.github.com/repos/baxterthehacker/public-repo/statuses/{sha}", + "languages_url": "https://api.github.com/repos/baxterthehacker/public-repo/languages", + "stargazers_url": "https://api.github.com/repos/baxterthehacker/public-repo/stargazers", + "contributors_url": "https://api.github.com/repos/baxterthehacker/public-repo/contributors", + "subscribers_url": "https://api.github.com/repos/baxterthehacker/public-repo/subscribers", + "subscription_url": "https://api.github.com/repos/baxterthehacker/public-repo/subscription", + "commits_url": "https://api.github.com/repos/baxterthehacker/public-repo/commits{/sha}", + "git_commits_url": "https://api.github.com/repos/baxterthehacker/public-repo/git/commits{/sha}", + "comments_url": "https://api.github.com/repos/baxterthehacker/public-repo/comments{/number}", + "issue_comment_url": "https://api.github.com/repos/baxterthehacker/public-repo/issues/comments{/number}", + "contents_url": "https://api.github.com/repos/baxterthehacker/public-repo/contents/{+path}", + "compare_url": "https://api.github.com/repos/baxterthehacker/public-repo/compare/{base}...{head}", + "merges_url": "https://api.github.com/repos/baxterthehacker/public-repo/merges", + "archive_url": "https://api.github.com/repos/baxterthehacker/public-repo/{archive_format}{/ref}", + "downloads_url": "https://api.github.com/repos/baxterthehacker/public-repo/downloads", + "issues_url": "https://api.github.com/repos/baxterthehacker/public-repo/issues{/number}", + "pulls_url": "https://api.github.com/repos/baxterthehacker/public-repo/pulls{/number}", + "milestones_url": "https://api.github.com/repos/baxterthehacker/public-repo/milestones{/number}", + "notifications_url": "https://api.github.com/repos/baxterthehacker/public-repo/notifications{?since,all,participating}", + "labels_url": "https://api.github.com/repos/baxterthehacker/public-repo/labels{/name}", + "releases_url": "https://api.github.com/repos/baxterthehacker/public-repo/releases{/id}", + "created_at": "2015-05-05T23:40:12Z", + "updated_at": "2015-05-05T23:40:30Z", + "pushed_at": "2015-05-05T23:40:40Z", + "git_url": "git://github.com/baxterthehacker/public-repo.git", + "ssh_url": "git@github.com:baxterthehacker/public-repo.git", + "clone_url": "https://github.com/baxterthehacker/public-repo.git", + "svn_url": "https://github.com/baxterthehacker/public-repo", + "homepage": null, + "size": 0, + "stargazers_count": 0, + "watchers_count": 0, + "language": null, + "has_issues": true, + "has_downloads": true, + "has_wiki": true, + "has_pages": true, + "forks_count": 0, + "mirror_url": null, + "open_issues_count": 2, + "forks": 0, + "open_issues": 2, + "watchers": 0, + "default_branch": "master" + }, + "sender": { + "login": "baxterthehacker", + "id": 6752317, + "node_id": "MDg6Q2hlY2tSdW4xMjg2MjAyMjg=", + "avatar_url": "https://avatars.githubusercontent.com/u/6752317?v=3", + "gravatar_id": "", + "url": "https://api.github.com/users/baxterthehacker", + "html_url": "https://github.com/baxterthehacker", + "followers_url": "https://api.github.com/users/baxterthehacker/followers", + "following_url": "https://api.github.com/users/baxterthehacker/following{/other_user}", + "gists_url": "https://api.github.com/users/baxterthehacker/gists{/gist_id}", + "starred_url": "https://api.github.com/users/baxterthehacker/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/baxterthehacker/subscriptions", + "organizations_url": "https://api.github.com/users/baxterthehacker/orgs", + "repos_url": "https://api.github.com/users/baxterthehacker/repos", + "events_url": "https://api.github.com/users/baxterthehacker/events{/privacy}", + "received_events_url": "https://api.github.com/users/baxterthehacker/received_events", + "type": "User", + "site_admin": false + } +}
fixtures/deployment-event.json view
@@ -1,147 +1,147 @@-{- "deployment": {- "url": "https://api.github.com/repos/baxterthehacker/public-repo/deployments/710692",- "id": 710692,- "node_id": "MDg6Q2hlY2tSdW4xMjg2MjAyMjg=",- "sha": "9049f1265b7d61be4a8904a9a27120d2064dab3b",- "ref": "master",- "task": "deploy",- "payload": {- },- "environment": "production",- "description": null,- "creator": {- "login": "baxterthehacker",- "id": 6752317,- "node_id": "MDg6Q2hlY2tSdW4xMjg2MjAyMjg=",- "avatar_url": "https://avatars.githubusercontent.com/u/6752317?v=3",- "gravatar_id": "",- "url": "https://api.github.com/users/baxterthehacker",- "html_url": "https://github.com/baxterthehacker",- "followers_url": "https://api.github.com/users/baxterthehacker/followers",- "following_url": "https://api.github.com/users/baxterthehacker/following{/other_user}",- "gists_url": "https://api.github.com/users/baxterthehacker/gists{/gist_id}",- "starred_url": "https://api.github.com/users/baxterthehacker/starred{/owner}{/repo}",- "subscriptions_url": "https://api.github.com/users/baxterthehacker/subscriptions",- "organizations_url": "https://api.github.com/users/baxterthehacker/orgs",- "repos_url": "https://api.github.com/users/baxterthehacker/repos",- "events_url": "https://api.github.com/users/baxterthehacker/events{/privacy}",- "received_events_url": "https://api.github.com/users/baxterthehacker/received_events",- "type": "User",- "site_admin": false- },- "created_at": "2015-05-05T23:40:38Z",- "updated_at": "2015-05-05T23:40:38Z",- "statuses_url": "https://api.github.com/repos/baxterthehacker/public-repo/deployments/710692/statuses",- "repository_url": "https://api.github.com/repos/baxterthehacker/public-repo"- },- "repository": {- "id": 35129377,- "node_id": "MDg6Q2hlY2tSdW4xMjg2MjAyMjg=",- "name": "public-repo",- "full_name": "baxterthehacker/public-repo",- "owner": {- "login": "baxterthehacker",- "id": 6752317,- "node_id": "MDg6Q2hlY2tSdW4xMjg2MjAyMjg=",- "avatar_url": "https://avatars.githubusercontent.com/u/6752317?v=3",- "gravatar_id": "",- "url": "https://api.github.com/users/baxterthehacker",- "html_url": "https://github.com/baxterthehacker",- "followers_url": "https://api.github.com/users/baxterthehacker/followers",- "following_url": "https://api.github.com/users/baxterthehacker/following{/other_user}",- "gists_url": "https://api.github.com/users/baxterthehacker/gists{/gist_id}",- "starred_url": "https://api.github.com/users/baxterthehacker/starred{/owner}{/repo}",- "subscriptions_url": "https://api.github.com/users/baxterthehacker/subscriptions",- "organizations_url": "https://api.github.com/users/baxterthehacker/orgs",- "repos_url": "https://api.github.com/users/baxterthehacker/repos",- "events_url": "https://api.github.com/users/baxterthehacker/events{/privacy}",- "received_events_url": "https://api.github.com/users/baxterthehacker/received_events",- "type": "User",- "site_admin": false- },- "private": false,- "html_url": "https://github.com/baxterthehacker/public-repo",- "description": "",- "fork": false,- "url": "https://api.github.com/repos/baxterthehacker/public-repo",- "forks_url": "https://api.github.com/repos/baxterthehacker/public-repo/forks",- "keys_url": "https://api.github.com/repos/baxterthehacker/public-repo/keys{/key_id}",- "collaborators_url": "https://api.github.com/repos/baxterthehacker/public-repo/collaborators{/collaborator}",- "teams_url": "https://api.github.com/repos/baxterthehacker/public-repo/teams",- "hooks_url": "https://api.github.com/repos/baxterthehacker/public-repo/hooks",- "issue_events_url": "https://api.github.com/repos/baxterthehacker/public-repo/issues/events{/number}",- "events_url": "https://api.github.com/repos/baxterthehacker/public-repo/events",- "assignees_url": "https://api.github.com/repos/baxterthehacker/public-repo/assignees{/user}",- "branches_url": "https://api.github.com/repos/baxterthehacker/public-repo/branches{/branch}",- "tags_url": "https://api.github.com/repos/baxterthehacker/public-repo/tags",- "blobs_url": "https://api.github.com/repos/baxterthehacker/public-repo/git/blobs{/sha}",- "git_tags_url": "https://api.github.com/repos/baxterthehacker/public-repo/git/tags{/sha}",- "git_refs_url": "https://api.github.com/repos/baxterthehacker/public-repo/git/refs{/sha}",- "trees_url": "https://api.github.com/repos/baxterthehacker/public-repo/git/trees{/sha}",- "statuses_url": "https://api.github.com/repos/baxterthehacker/public-repo/statuses/{sha}",- "languages_url": "https://api.github.com/repos/baxterthehacker/public-repo/languages",- "stargazers_url": "https://api.github.com/repos/baxterthehacker/public-repo/stargazers",- "contributors_url": "https://api.github.com/repos/baxterthehacker/public-repo/contributors",- "subscribers_url": "https://api.github.com/repos/baxterthehacker/public-repo/subscribers",- "subscription_url": "https://api.github.com/repos/baxterthehacker/public-repo/subscription",- "commits_url": "https://api.github.com/repos/baxterthehacker/public-repo/commits{/sha}",- "git_commits_url": "https://api.github.com/repos/baxterthehacker/public-repo/git/commits{/sha}",- "comments_url": "https://api.github.com/repos/baxterthehacker/public-repo/comments{/number}",- "issue_comment_url": "https://api.github.com/repos/baxterthehacker/public-repo/issues/comments{/number}",- "contents_url": "https://api.github.com/repos/baxterthehacker/public-repo/contents/{+path}",- "compare_url": "https://api.github.com/repos/baxterthehacker/public-repo/compare/{base}...{head}",- "merges_url": "https://api.github.com/repos/baxterthehacker/public-repo/merges",- "archive_url": "https://api.github.com/repos/baxterthehacker/public-repo/{archive_format}{/ref}",- "downloads_url": "https://api.github.com/repos/baxterthehacker/public-repo/downloads",- "issues_url": "https://api.github.com/repos/baxterthehacker/public-repo/issues{/number}",- "pulls_url": "https://api.github.com/repos/baxterthehacker/public-repo/pulls{/number}",- "milestones_url": "https://api.github.com/repos/baxterthehacker/public-repo/milestones{/number}",- "notifications_url": "https://api.github.com/repos/baxterthehacker/public-repo/notifications{?since,all,participating}",- "labels_url": "https://api.github.com/repos/baxterthehacker/public-repo/labels{/name}",- "releases_url": "https://api.github.com/repos/baxterthehacker/public-repo/releases{/id}",- "created_at": "2015-05-05T23:40:12Z",- "updated_at": "2015-05-05T23:40:30Z",- "pushed_at": "2015-05-05T23:40:38Z",- "git_url": "git://github.com/baxterthehacker/public-repo.git",- "ssh_url": "git@github.com:baxterthehacker/public-repo.git",- "clone_url": "https://github.com/baxterthehacker/public-repo.git",- "svn_url": "https://github.com/baxterthehacker/public-repo",- "homepage": null,- "size": 0,- "stargazers_count": 0,- "watchers_count": 0,- "language": null,- "has_issues": true,- "has_downloads": true,- "has_wiki": true,- "has_pages": true,- "forks_count": 0,- "mirror_url": null,- "open_issues_count": 2,- "forks": 0,- "open_issues": 2,- "watchers": 0,- "default_branch": "master"- },- "sender": {- "login": "baxterthehacker",- "id": 6752317,- "node_id": "MDg6Q2hlY2tSdW4xMjg2MjAyMjg=",- "avatar_url": "https://avatars.githubusercontent.com/u/6752317?v=3",- "gravatar_id": "",- "url": "https://api.github.com/users/baxterthehacker",- "html_url": "https://github.com/baxterthehacker",- "followers_url": "https://api.github.com/users/baxterthehacker/followers",- "following_url": "https://api.github.com/users/baxterthehacker/following{/other_user}",- "gists_url": "https://api.github.com/users/baxterthehacker/gists{/gist_id}",- "starred_url": "https://api.github.com/users/baxterthehacker/starred{/owner}{/repo}",- "subscriptions_url": "https://api.github.com/users/baxterthehacker/subscriptions",- "organizations_url": "https://api.github.com/users/baxterthehacker/orgs",- "repos_url": "https://api.github.com/users/baxterthehacker/repos",- "events_url": "https://api.github.com/users/baxterthehacker/events{/privacy}",- "received_events_url": "https://api.github.com/users/baxterthehacker/received_events",- "type": "User",- "site_admin": false- }-}+{ + "deployment": { + "url": "https://api.github.com/repos/baxterthehacker/public-repo/deployments/710692", + "id": 710692, + "node_id": "MDg6Q2hlY2tSdW4xMjg2MjAyMjg=", + "sha": "9049f1265b7d61be4a8904a9a27120d2064dab3b", + "ref": "master", + "task": "deploy", + "payload": { + }, + "environment": "production", + "description": null, + "creator": { + "login": "baxterthehacker", + "id": 6752317, + "node_id": "MDg6Q2hlY2tSdW4xMjg2MjAyMjg=", + "avatar_url": "https://avatars.githubusercontent.com/u/6752317?v=3", + "gravatar_id": "", + "url": "https://api.github.com/users/baxterthehacker", + "html_url": "https://github.com/baxterthehacker", + "followers_url": "https://api.github.com/users/baxterthehacker/followers", + "following_url": "https://api.github.com/users/baxterthehacker/following{/other_user}", + "gists_url": "https://api.github.com/users/baxterthehacker/gists{/gist_id}", + "starred_url": "https://api.github.com/users/baxterthehacker/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/baxterthehacker/subscriptions", + "organizations_url": "https://api.github.com/users/baxterthehacker/orgs", + "repos_url": "https://api.github.com/users/baxterthehacker/repos", + "events_url": "https://api.github.com/users/baxterthehacker/events{/privacy}", + "received_events_url": "https://api.github.com/users/baxterthehacker/received_events", + "type": "User", + "site_admin": false + }, + "created_at": "2015-05-05T23:40:38Z", + "updated_at": "2015-05-05T23:40:38Z", + "statuses_url": "https://api.github.com/repos/baxterthehacker/public-repo/deployments/710692/statuses", + "repository_url": "https://api.github.com/repos/baxterthehacker/public-repo" + }, + "repository": { + "id": 35129377, + "node_id": "MDg6Q2hlY2tSdW4xMjg2MjAyMjg=", + "name": "public-repo", + "full_name": "baxterthehacker/public-repo", + "owner": { + "login": "baxterthehacker", + "id": 6752317, + "node_id": "MDg6Q2hlY2tSdW4xMjg2MjAyMjg=", + "avatar_url": "https://avatars.githubusercontent.com/u/6752317?v=3", + "gravatar_id": "", + "url": "https://api.github.com/users/baxterthehacker", + "html_url": "https://github.com/baxterthehacker", + "followers_url": "https://api.github.com/users/baxterthehacker/followers", + "following_url": "https://api.github.com/users/baxterthehacker/following{/other_user}", + "gists_url": "https://api.github.com/users/baxterthehacker/gists{/gist_id}", + "starred_url": "https://api.github.com/users/baxterthehacker/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/baxterthehacker/subscriptions", + "organizations_url": "https://api.github.com/users/baxterthehacker/orgs", + "repos_url": "https://api.github.com/users/baxterthehacker/repos", + "events_url": "https://api.github.com/users/baxterthehacker/events{/privacy}", + "received_events_url": "https://api.github.com/users/baxterthehacker/received_events", + "type": "User", + "site_admin": false + }, + "private": false, + "html_url": "https://github.com/baxterthehacker/public-repo", + "description": "", + "fork": false, + "url": "https://api.github.com/repos/baxterthehacker/public-repo", + "forks_url": "https://api.github.com/repos/baxterthehacker/public-repo/forks", + "keys_url": "https://api.github.com/repos/baxterthehacker/public-repo/keys{/key_id}", + "collaborators_url": "https://api.github.com/repos/baxterthehacker/public-repo/collaborators{/collaborator}", + "teams_url": "https://api.github.com/repos/baxterthehacker/public-repo/teams", + "hooks_url": "https://api.github.com/repos/baxterthehacker/public-repo/hooks", + "issue_events_url": "https://api.github.com/repos/baxterthehacker/public-repo/issues/events{/number}", + "events_url": "https://api.github.com/repos/baxterthehacker/public-repo/events", + "assignees_url": "https://api.github.com/repos/baxterthehacker/public-repo/assignees{/user}", + "branches_url": "https://api.github.com/repos/baxterthehacker/public-repo/branches{/branch}", + "tags_url": "https://api.github.com/repos/baxterthehacker/public-repo/tags", + "blobs_url": "https://api.github.com/repos/baxterthehacker/public-repo/git/blobs{/sha}", + "git_tags_url": "https://api.github.com/repos/baxterthehacker/public-repo/git/tags{/sha}", + "git_refs_url": "https://api.github.com/repos/baxterthehacker/public-repo/git/refs{/sha}", + "trees_url": "https://api.github.com/repos/baxterthehacker/public-repo/git/trees{/sha}", + "statuses_url": "https://api.github.com/repos/baxterthehacker/public-repo/statuses/{sha}", + "languages_url": "https://api.github.com/repos/baxterthehacker/public-repo/languages", + "stargazers_url": "https://api.github.com/repos/baxterthehacker/public-repo/stargazers", + "contributors_url": "https://api.github.com/repos/baxterthehacker/public-repo/contributors", + "subscribers_url": "https://api.github.com/repos/baxterthehacker/public-repo/subscribers", + "subscription_url": "https://api.github.com/repos/baxterthehacker/public-repo/subscription", + "commits_url": "https://api.github.com/repos/baxterthehacker/public-repo/commits{/sha}", + "git_commits_url": "https://api.github.com/repos/baxterthehacker/public-repo/git/commits{/sha}", + "comments_url": "https://api.github.com/repos/baxterthehacker/public-repo/comments{/number}", + "issue_comment_url": "https://api.github.com/repos/baxterthehacker/public-repo/issues/comments{/number}", + "contents_url": "https://api.github.com/repos/baxterthehacker/public-repo/contents/{+path}", + "compare_url": "https://api.github.com/repos/baxterthehacker/public-repo/compare/{base}...{head}", + "merges_url": "https://api.github.com/repos/baxterthehacker/public-repo/merges", + "archive_url": "https://api.github.com/repos/baxterthehacker/public-repo/{archive_format}{/ref}", + "downloads_url": "https://api.github.com/repos/baxterthehacker/public-repo/downloads", + "issues_url": "https://api.github.com/repos/baxterthehacker/public-repo/issues{/number}", + "pulls_url": "https://api.github.com/repos/baxterthehacker/public-repo/pulls{/number}", + "milestones_url": "https://api.github.com/repos/baxterthehacker/public-repo/milestones{/number}", + "notifications_url": "https://api.github.com/repos/baxterthehacker/public-repo/notifications{?since,all,participating}", + "labels_url": "https://api.github.com/repos/baxterthehacker/public-repo/labels{/name}", + "releases_url": "https://api.github.com/repos/baxterthehacker/public-repo/releases{/id}", + "created_at": "2015-05-05T23:40:12Z", + "updated_at": "2015-05-05T23:40:30Z", + "pushed_at": "2015-05-05T23:40:38Z", + "git_url": "git://github.com/baxterthehacker/public-repo.git", + "ssh_url": "git@github.com:baxterthehacker/public-repo.git", + "clone_url": "https://github.com/baxterthehacker/public-repo.git", + "svn_url": "https://github.com/baxterthehacker/public-repo", + "homepage": null, + "size": 0, + "stargazers_count": 0, + "watchers_count": 0, + "language": null, + "has_issues": true, + "has_downloads": true, + "has_wiki": true, + "has_pages": true, + "forks_count": 0, + "mirror_url": null, + "open_issues_count": 2, + "forks": 0, + "open_issues": 2, + "watchers": 0, + "default_branch": "master" + }, + "sender": { + "login": "baxterthehacker", + "id": 6752317, + "node_id": "MDg6Q2hlY2tSdW4xMjg2MjAyMjg=", + "avatar_url": "https://avatars.githubusercontent.com/u/6752317?v=3", + "gravatar_id": "", + "url": "https://api.github.com/users/baxterthehacker", + "html_url": "https://github.com/baxterthehacker", + "followers_url": "https://api.github.com/users/baxterthehacker/followers", + "following_url": "https://api.github.com/users/baxterthehacker/following{/other_user}", + "gists_url": "https://api.github.com/users/baxterthehacker/gists{/gist_id}", + "starred_url": "https://api.github.com/users/baxterthehacker/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/baxterthehacker/subscriptions", + "organizations_url": "https://api.github.com/users/baxterthehacker/orgs", + "repos_url": "https://api.github.com/users/baxterthehacker/repos", + "events_url": "https://api.github.com/users/baxterthehacker/events{/privacy}", + "received_events_url": "https://api.github.com/users/baxterthehacker/received_events", + "type": "User", + "site_admin": false + } +}
fixtures/deployment-status-event.json view
@@ -1,179 +1,179 @@-{- "deployment_status": {- "url": "https://api.github.com/repos/baxterthehacker/public-repo/deployments/710692/statuses/1115122",- "id": 1115122,- "node_id": "MDg6Q2hlY2tSdW4xMjg2MjAyMjg=",- "state": "success",- "creator": {- "login": "baxterthehacker",- "id": 6752317,- "node_id": "MDg6Q2hlY2tSdW4xMjg2MjAyMjg=",- "avatar_url": "https://avatars.githubusercontent.com/u/6752317?v=3",- "gravatar_id": "",- "url": "https://api.github.com/users/baxterthehacker",- "html_url": "https://github.com/baxterthehacker",- "followers_url": "https://api.github.com/users/baxterthehacker/followers",- "following_url": "https://api.github.com/users/baxterthehacker/following{/other_user}",- "gists_url": "https://api.github.com/users/baxterthehacker/gists{/gist_id}",- "starred_url": "https://api.github.com/users/baxterthehacker/starred{/owner}{/repo}",- "subscriptions_url": "https://api.github.com/users/baxterthehacker/subscriptions",- "organizations_url": "https://api.github.com/users/baxterthehacker/orgs",- "repos_url": "https://api.github.com/users/baxterthehacker/repos",- "events_url": "https://api.github.com/users/baxterthehacker/events{/privacy}",- "received_events_url": "https://api.github.com/users/baxterthehacker/received_events",- "type": "User",- "site_admin": false- },- "description": null,- "target_url": null,- "created_at": "2015-05-05T23:40:39Z",- "updated_at": "2015-05-05T23:40:39Z",- "deployment_url": "https://api.github.com/repos/baxterthehacker/public-repo/deployments/710692",- "repository_url": "https://api.github.com/repos/baxterthehacker/public-repo"- },- "deployment": {- "url": "https://api.github.com/repos/baxterthehacker/public-repo/deployments/710692",- "id": 710692,- "node_id": "MDg6Q2hlY2tSdW4xMjg2MjAyMjg=",- "sha": "9049f1265b7d61be4a8904a9a27120d2064dab3b",- "ref": "master",- "task": "deploy",- "payload": {- },- "environment": "production",- "description": null,- "creator": {- "login": "baxterthehacker",- "id": 6752317,- "node_id": "MDg6Q2hlY2tSdW4xMjg2MjAyMjg=",- "avatar_url": "https://avatars.githubusercontent.com/u/6752317?v=3",- "gravatar_id": "",- "url": "https://api.github.com/users/baxterthehacker",- "html_url": "https://github.com/baxterthehacker",- "followers_url": "https://api.github.com/users/baxterthehacker/followers",- "following_url": "https://api.github.com/users/baxterthehacker/following{/other_user}",- "gists_url": "https://api.github.com/users/baxterthehacker/gists{/gist_id}",- "starred_url": "https://api.github.com/users/baxterthehacker/starred{/owner}{/repo}",- "subscriptions_url": "https://api.github.com/users/baxterthehacker/subscriptions",- "organizations_url": "https://api.github.com/users/baxterthehacker/orgs",- "repos_url": "https://api.github.com/users/baxterthehacker/repos",- "events_url": "https://api.github.com/users/baxterthehacker/events{/privacy}",- "received_events_url": "https://api.github.com/users/baxterthehacker/received_events",- "type": "User",- "site_admin": false- },- "created_at": "2015-05-05T23:40:38Z",- "updated_at": "2015-05-05T23:40:38Z",- "statuses_url": "https://api.github.com/repos/baxterthehacker/public-repo/deployments/710692/statuses",- "repository_url": "https://api.github.com/repos/baxterthehacker/public-repo"- },- "repository": {- "id": 35129377,- "node_id": "MDg6Q2hlY2tSdW4xMjg2MjAyMjg=",- "name": "public-repo",- "full_name": "baxterthehacker/public-repo",- "owner": {- "login": "baxterthehacker",- "id": 6752317,- "node_id": "MDg6Q2hlY2tSdW4xMjg2MjAyMjg=",- "avatar_url": "https://avatars.githubusercontent.com/u/6752317?v=3",- "gravatar_id": "",- "url": "https://api.github.com/users/baxterthehacker",- "html_url": "https://github.com/baxterthehacker",- "followers_url": "https://api.github.com/users/baxterthehacker/followers",- "following_url": "https://api.github.com/users/baxterthehacker/following{/other_user}",- "gists_url": "https://api.github.com/users/baxterthehacker/gists{/gist_id}",- "starred_url": "https://api.github.com/users/baxterthehacker/starred{/owner}{/repo}",- "subscriptions_url": "https://api.github.com/users/baxterthehacker/subscriptions",- "organizations_url": "https://api.github.com/users/baxterthehacker/orgs",- "repos_url": "https://api.github.com/users/baxterthehacker/repos",- "events_url": "https://api.github.com/users/baxterthehacker/events{/privacy}",- "received_events_url": "https://api.github.com/users/baxterthehacker/received_events",- "type": "User",- "site_admin": false- },- "private": false,- "html_url": "https://github.com/baxterthehacker/public-repo",- "description": "",- "fork": false,- "url": "https://api.github.com/repos/baxterthehacker/public-repo",- "forks_url": "https://api.github.com/repos/baxterthehacker/public-repo/forks",- "keys_url": "https://api.github.com/repos/baxterthehacker/public-repo/keys{/key_id}",- "collaborators_url": "https://api.github.com/repos/baxterthehacker/public-repo/collaborators{/collaborator}",- "teams_url": "https://api.github.com/repos/baxterthehacker/public-repo/teams",- "hooks_url": "https://api.github.com/repos/baxterthehacker/public-repo/hooks",- "issue_events_url": "https://api.github.com/repos/baxterthehacker/public-repo/issues/events{/number}",- "events_url": "https://api.github.com/repos/baxterthehacker/public-repo/events",- "assignees_url": "https://api.github.com/repos/baxterthehacker/public-repo/assignees{/user}",- "branches_url": "https://api.github.com/repos/baxterthehacker/public-repo/branches{/branch}",- "tags_url": "https://api.github.com/repos/baxterthehacker/public-repo/tags",- "blobs_url": "https://api.github.com/repos/baxterthehacker/public-repo/git/blobs{/sha}",- "git_tags_url": "https://api.github.com/repos/baxterthehacker/public-repo/git/tags{/sha}",- "git_refs_url": "https://api.github.com/repos/baxterthehacker/public-repo/git/refs{/sha}",- "trees_url": "https://api.github.com/repos/baxterthehacker/public-repo/git/trees{/sha}",- "statuses_url": "https://api.github.com/repos/baxterthehacker/public-repo/statuses/{sha}",- "languages_url": "https://api.github.com/repos/baxterthehacker/public-repo/languages",- "stargazers_url": "https://api.github.com/repos/baxterthehacker/public-repo/stargazers",- "contributors_url": "https://api.github.com/repos/baxterthehacker/public-repo/contributors",- "subscribers_url": "https://api.github.com/repos/baxterthehacker/public-repo/subscribers",- "subscription_url": "https://api.github.com/repos/baxterthehacker/public-repo/subscription",- "commits_url": "https://api.github.com/repos/baxterthehacker/public-repo/commits{/sha}",- "git_commits_url": "https://api.github.com/repos/baxterthehacker/public-repo/git/commits{/sha}",- "comments_url": "https://api.github.com/repos/baxterthehacker/public-repo/comments{/number}",- "issue_comment_url": "https://api.github.com/repos/baxterthehacker/public-repo/issues/comments{/number}",- "contents_url": "https://api.github.com/repos/baxterthehacker/public-repo/contents/{+path}",- "compare_url": "https://api.github.com/repos/baxterthehacker/public-repo/compare/{base}...{head}",- "merges_url": "https://api.github.com/repos/baxterthehacker/public-repo/merges",- "archive_url": "https://api.github.com/repos/baxterthehacker/public-repo/{archive_format}{/ref}",- "downloads_url": "https://api.github.com/repos/baxterthehacker/public-repo/downloads",- "issues_url": "https://api.github.com/repos/baxterthehacker/public-repo/issues{/number}",- "pulls_url": "https://api.github.com/repos/baxterthehacker/public-repo/pulls{/number}",- "milestones_url": "https://api.github.com/repos/baxterthehacker/public-repo/milestones{/number}",- "notifications_url": "https://api.github.com/repos/baxterthehacker/public-repo/notifications{?since,all,participating}",- "labels_url": "https://api.github.com/repos/baxterthehacker/public-repo/labels{/name}",- "releases_url": "https://api.github.com/repos/baxterthehacker/public-repo/releases{/id}",- "created_at": "2015-05-05T23:40:12Z",- "updated_at": "2015-05-05T23:40:30Z",- "pushed_at": "2015-05-05T23:40:38Z",- "git_url": "git://github.com/baxterthehacker/public-repo.git",- "ssh_url": "git@github.com:baxterthehacker/public-repo.git",- "clone_url": "https://github.com/baxterthehacker/public-repo.git",- "svn_url": "https://github.com/baxterthehacker/public-repo",- "homepage": null,- "size": 0,- "stargazers_count": 0,- "watchers_count": 0,- "language": null,- "has_issues": true,- "has_downloads": true,- "has_wiki": true,- "has_pages": true,- "forks_count": 0,- "mirror_url": null,- "open_issues_count": 2,- "forks": 0,- "open_issues": 2,- "watchers": 0,- "default_branch": "master"- },- "sender": {- "login": "baxterthehacker",- "id": 6752317,- "node_id": "MDg6Q2hlY2tSdW4xMjg2MjAyMjg=",- "avatar_url": "https://avatars.githubusercontent.com/u/6752317?v=3",- "gravatar_id": "",- "url": "https://api.github.com/users/baxterthehacker",- "html_url": "https://github.com/baxterthehacker",- "followers_url": "https://api.github.com/users/baxterthehacker/followers",- "following_url": "https://api.github.com/users/baxterthehacker/following{/other_user}",- "gists_url": "https://api.github.com/users/baxterthehacker/gists{/gist_id}",- "starred_url": "https://api.github.com/users/baxterthehacker/starred{/owner}{/repo}",- "subscriptions_url": "https://api.github.com/users/baxterthehacker/subscriptions",- "organizations_url": "https://api.github.com/users/baxterthehacker/orgs",- "repos_url": "https://api.github.com/users/baxterthehacker/repos",- "events_url": "https://api.github.com/users/baxterthehacker/events{/privacy}",- "received_events_url": "https://api.github.com/users/baxterthehacker/received_events",- "type": "User",- "site_admin": false- }-}+{ + "deployment_status": { + "url": "https://api.github.com/repos/baxterthehacker/public-repo/deployments/710692/statuses/1115122", + "id": 1115122, + "node_id": "MDg6Q2hlY2tSdW4xMjg2MjAyMjg=", + "state": "success", + "creator": { + "login": "baxterthehacker", + "id": 6752317, + "node_id": "MDg6Q2hlY2tSdW4xMjg2MjAyMjg=", + "avatar_url": "https://avatars.githubusercontent.com/u/6752317?v=3", + "gravatar_id": "", + "url": "https://api.github.com/users/baxterthehacker", + "html_url": "https://github.com/baxterthehacker", + "followers_url": "https://api.github.com/users/baxterthehacker/followers", + "following_url": "https://api.github.com/users/baxterthehacker/following{/other_user}", + "gists_url": "https://api.github.com/users/baxterthehacker/gists{/gist_id}", + "starred_url": "https://api.github.com/users/baxterthehacker/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/baxterthehacker/subscriptions", + "organizations_url": "https://api.github.com/users/baxterthehacker/orgs", + "repos_url": "https://api.github.com/users/baxterthehacker/repos", + "events_url": "https://api.github.com/users/baxterthehacker/events{/privacy}", + "received_events_url": "https://api.github.com/users/baxterthehacker/received_events", + "type": "User", + "site_admin": false + }, + "description": null, + "target_url": null, + "created_at": "2015-05-05T23:40:39Z", + "updated_at": "2015-05-05T23:40:39Z", + "deployment_url": "https://api.github.com/repos/baxterthehacker/public-repo/deployments/710692", + "repository_url": "https://api.github.com/repos/baxterthehacker/public-repo" + }, + "deployment": { + "url": "https://api.github.com/repos/baxterthehacker/public-repo/deployments/710692", + "id": 710692, + "node_id": "MDg6Q2hlY2tSdW4xMjg2MjAyMjg=", + "sha": "9049f1265b7d61be4a8904a9a27120d2064dab3b", + "ref": "master", + "task": "deploy", + "payload": { + }, + "environment": "production", + "description": null, + "creator": { + "login": "baxterthehacker", + "id": 6752317, + "node_id": "MDg6Q2hlY2tSdW4xMjg2MjAyMjg=", + "avatar_url": "https://avatars.githubusercontent.com/u/6752317?v=3", + "gravatar_id": "", + "url": "https://api.github.com/users/baxterthehacker", + "html_url": "https://github.com/baxterthehacker", + "followers_url": "https://api.github.com/users/baxterthehacker/followers", + "following_url": "https://api.github.com/users/baxterthehacker/following{/other_user}", + "gists_url": "https://api.github.com/users/baxterthehacker/gists{/gist_id}", + "starred_url": "https://api.github.com/users/baxterthehacker/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/baxterthehacker/subscriptions", + "organizations_url": "https://api.github.com/users/baxterthehacker/orgs", + "repos_url": "https://api.github.com/users/baxterthehacker/repos", + "events_url": "https://api.github.com/users/baxterthehacker/events{/privacy}", + "received_events_url": "https://api.github.com/users/baxterthehacker/received_events", + "type": "User", + "site_admin": false + }, + "created_at": "2015-05-05T23:40:38Z", + "updated_at": "2015-05-05T23:40:38Z", + "statuses_url": "https://api.github.com/repos/baxterthehacker/public-repo/deployments/710692/statuses", + "repository_url": "https://api.github.com/repos/baxterthehacker/public-repo" + }, + "repository": { + "id": 35129377, + "node_id": "MDg6Q2hlY2tSdW4xMjg2MjAyMjg=", + "name": "public-repo", + "full_name": "baxterthehacker/public-repo", + "owner": { + "login": "baxterthehacker", + "id": 6752317, + "node_id": "MDg6Q2hlY2tSdW4xMjg2MjAyMjg=", + "avatar_url": "https://avatars.githubusercontent.com/u/6752317?v=3", + "gravatar_id": "", + "url": "https://api.github.com/users/baxterthehacker", + "html_url": "https://github.com/baxterthehacker", + "followers_url": "https://api.github.com/users/baxterthehacker/followers", + "following_url": "https://api.github.com/users/baxterthehacker/following{/other_user}", + "gists_url": "https://api.github.com/users/baxterthehacker/gists{/gist_id}", + "starred_url": "https://api.github.com/users/baxterthehacker/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/baxterthehacker/subscriptions", + "organizations_url": "https://api.github.com/users/baxterthehacker/orgs", + "repos_url": "https://api.github.com/users/baxterthehacker/repos", + "events_url": "https://api.github.com/users/baxterthehacker/events{/privacy}", + "received_events_url": "https://api.github.com/users/baxterthehacker/received_events", + "type": "User", + "site_admin": false + }, + "private": false, + "html_url": "https://github.com/baxterthehacker/public-repo", + "description": "", + "fork": false, + "url": "https://api.github.com/repos/baxterthehacker/public-repo", + "forks_url": "https://api.github.com/repos/baxterthehacker/public-repo/forks", + "keys_url": "https://api.github.com/repos/baxterthehacker/public-repo/keys{/key_id}", + "collaborators_url": "https://api.github.com/repos/baxterthehacker/public-repo/collaborators{/collaborator}", + "teams_url": "https://api.github.com/repos/baxterthehacker/public-repo/teams", + "hooks_url": "https://api.github.com/repos/baxterthehacker/public-repo/hooks", + "issue_events_url": "https://api.github.com/repos/baxterthehacker/public-repo/issues/events{/number}", + "events_url": "https://api.github.com/repos/baxterthehacker/public-repo/events", + "assignees_url": "https://api.github.com/repos/baxterthehacker/public-repo/assignees{/user}", + "branches_url": "https://api.github.com/repos/baxterthehacker/public-repo/branches{/branch}", + "tags_url": "https://api.github.com/repos/baxterthehacker/public-repo/tags", + "blobs_url": "https://api.github.com/repos/baxterthehacker/public-repo/git/blobs{/sha}", + "git_tags_url": "https://api.github.com/repos/baxterthehacker/public-repo/git/tags{/sha}", + "git_refs_url": "https://api.github.com/repos/baxterthehacker/public-repo/git/refs{/sha}", + "trees_url": "https://api.github.com/repos/baxterthehacker/public-repo/git/trees{/sha}", + "statuses_url": "https://api.github.com/repos/baxterthehacker/public-repo/statuses/{sha}", + "languages_url": "https://api.github.com/repos/baxterthehacker/public-repo/languages", + "stargazers_url": "https://api.github.com/repos/baxterthehacker/public-repo/stargazers", + "contributors_url": "https://api.github.com/repos/baxterthehacker/public-repo/contributors", + "subscribers_url": "https://api.github.com/repos/baxterthehacker/public-repo/subscribers", + "subscription_url": "https://api.github.com/repos/baxterthehacker/public-repo/subscription", + "commits_url": "https://api.github.com/repos/baxterthehacker/public-repo/commits{/sha}", + "git_commits_url": "https://api.github.com/repos/baxterthehacker/public-repo/git/commits{/sha}", + "comments_url": "https://api.github.com/repos/baxterthehacker/public-repo/comments{/number}", + "issue_comment_url": "https://api.github.com/repos/baxterthehacker/public-repo/issues/comments{/number}", + "contents_url": "https://api.github.com/repos/baxterthehacker/public-repo/contents/{+path}", + "compare_url": "https://api.github.com/repos/baxterthehacker/public-repo/compare/{base}...{head}", + "merges_url": "https://api.github.com/repos/baxterthehacker/public-repo/merges", + "archive_url": "https://api.github.com/repos/baxterthehacker/public-repo/{archive_format}{/ref}", + "downloads_url": "https://api.github.com/repos/baxterthehacker/public-repo/downloads", + "issues_url": "https://api.github.com/repos/baxterthehacker/public-repo/issues{/number}", + "pulls_url": "https://api.github.com/repos/baxterthehacker/public-repo/pulls{/number}", + "milestones_url": "https://api.github.com/repos/baxterthehacker/public-repo/milestones{/number}", + "notifications_url": "https://api.github.com/repos/baxterthehacker/public-repo/notifications{?since,all,participating}", + "labels_url": "https://api.github.com/repos/baxterthehacker/public-repo/labels{/name}", + "releases_url": "https://api.github.com/repos/baxterthehacker/public-repo/releases{/id}", + "created_at": "2015-05-05T23:40:12Z", + "updated_at": "2015-05-05T23:40:30Z", + "pushed_at": "2015-05-05T23:40:38Z", + "git_url": "git://github.com/baxterthehacker/public-repo.git", + "ssh_url": "git@github.com:baxterthehacker/public-repo.git", + "clone_url": "https://github.com/baxterthehacker/public-repo.git", + "svn_url": "https://github.com/baxterthehacker/public-repo", + "homepage": null, + "size": 0, + "stargazers_count": 0, + "watchers_count": 0, + "language": null, + "has_issues": true, + "has_downloads": true, + "has_wiki": true, + "has_pages": true, + "forks_count": 0, + "mirror_url": null, + "open_issues_count": 2, + "forks": 0, + "open_issues": 2, + "watchers": 0, + "default_branch": "master" + }, + "sender": { + "login": "baxterthehacker", + "id": 6752317, + "node_id": "MDg6Q2hlY2tSdW4xMjg2MjAyMjg=", + "avatar_url": "https://avatars.githubusercontent.com/u/6752317?v=3", + "gravatar_id": "", + "url": "https://api.github.com/users/baxterthehacker", + "html_url": "https://github.com/baxterthehacker", + "followers_url": "https://api.github.com/users/baxterthehacker/followers", + "following_url": "https://api.github.com/users/baxterthehacker/following{/other_user}", + "gists_url": "https://api.github.com/users/baxterthehacker/gists{/gist_id}", + "starred_url": "https://api.github.com/users/baxterthehacker/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/baxterthehacker/subscriptions", + "organizations_url": "https://api.github.com/users/baxterthehacker/orgs", + "repos_url": "https://api.github.com/users/baxterthehacker/repos", + "events_url": "https://api.github.com/users/baxterthehacker/events{/privacy}", + "received_events_url": "https://api.github.com/users/baxterthehacker/received_events", + "type": "User", + "site_admin": false + } +}
fixtures/fork-event.json view
@@ -1,201 +1,201 @@-{- "forkee": {- "id": 35129393,- "node_id": "MDg6Q2hlY2tSdW4xMjg2MjAyMjg=",- "name": "public-repo",- "full_name": "baxterandthehackers/public-repo",- "owner": {- "login": "baxterandthehackers",- "id": 7649605,- "node_id": "MDg6Q2hlY2tSdW4xMjg2MjAyMjg=",- "avatar_url": "https://avatars.githubusercontent.com/u/7649605?v=3",- "gravatar_id": "",- "url": "https://api.github.com/users/baxterandthehackers",- "html_url": "https://github.com/baxterandthehackers",- "followers_url": "https://api.github.com/users/baxterandthehackers/followers",- "following_url": "https://api.github.com/users/baxterandthehackers/following{/other_user}",- "gists_url": "https://api.github.com/users/baxterandthehackers/gists{/gist_id}",- "starred_url": "https://api.github.com/users/baxterandthehackers/starred{/owner}{/repo}",- "subscriptions_url": "https://api.github.com/users/baxterandthehackers/subscriptions",- "organizations_url": "https://api.github.com/users/baxterandthehackers/orgs",- "repos_url": "https://api.github.com/users/baxterandthehackers/repos",- "events_url": "https://api.github.com/users/baxterandthehackers/events{/privacy}",- "received_events_url": "https://api.github.com/users/baxterandthehackers/received_events",- "type": "Organization",- "site_admin": false- },- "private": false,- "html_url": "https://github.com/baxterandthehackers/public-repo",- "description": "",- "fork": true,- "url": "https://api.github.com/repos/baxterandthehackers/public-repo",- "forks_url": "https://api.github.com/repos/baxterandthehackers/public-repo/forks",- "keys_url": "https://api.github.com/repos/baxterandthehackers/public-repo/keys{/key_id}",- "collaborators_url": "https://api.github.com/repos/baxterandthehackers/public-repo/collaborators{/collaborator}",- "teams_url": "https://api.github.com/repos/baxterandthehackers/public-repo/teams",- "hooks_url": "https://api.github.com/repos/baxterandthehackers/public-repo/hooks",- "issue_events_url": "https://api.github.com/repos/baxterandthehackers/public-repo/issues/events{/number}",- "events_url": "https://api.github.com/repos/baxterandthehackers/public-repo/events",- "assignees_url": "https://api.github.com/repos/baxterandthehackers/public-repo/assignees{/user}",- "branches_url": "https://api.github.com/repos/baxterandthehackers/public-repo/branches{/branch}",- "tags_url": "https://api.github.com/repos/baxterandthehackers/public-repo/tags",- "blobs_url": "https://api.github.com/repos/baxterandthehackers/public-repo/git/blobs{/sha}",- "git_tags_url": "https://api.github.com/repos/baxterandthehackers/public-repo/git/tags{/sha}",- "git_refs_url": "https://api.github.com/repos/baxterandthehackers/public-repo/git/refs{/sha}",- "trees_url": "https://api.github.com/repos/baxterandthehackers/public-repo/git/trees{/sha}",- "statuses_url": "https://api.github.com/repos/baxterandthehackers/public-repo/statuses/{sha}",- "languages_url": "https://api.github.com/repos/baxterandthehackers/public-repo/languages",- "stargazers_url": "https://api.github.com/repos/baxterandthehackers/public-repo/stargazers",- "contributors_url": "https://api.github.com/repos/baxterandthehackers/public-repo/contributors",- "subscribers_url": "https://api.github.com/repos/baxterandthehackers/public-repo/subscribers",- "subscription_url": "https://api.github.com/repos/baxterandthehackers/public-repo/subscription",- "commits_url": "https://api.github.com/repos/baxterandthehackers/public-repo/commits{/sha}",- "git_commits_url": "https://api.github.com/repos/baxterandthehackers/public-repo/git/commits{/sha}",- "comments_url": "https://api.github.com/repos/baxterandthehackers/public-repo/comments{/number}",- "issue_comment_url": "https://api.github.com/repos/baxterandthehackers/public-repo/issues/comments{/number}",- "contents_url": "https://api.github.com/repos/baxterandthehackers/public-repo/contents/{+path}",- "compare_url": "https://api.github.com/repos/baxterandthehackers/public-repo/compare/{base}...{head}",- "merges_url": "https://api.github.com/repos/baxterandthehackers/public-repo/merges",- "archive_url": "https://api.github.com/repos/baxterandthehackers/public-repo/{archive_format}{/ref}",- "downloads_url": "https://api.github.com/repos/baxterandthehackers/public-repo/downloads",- "issues_url": "https://api.github.com/repos/baxterandthehackers/public-repo/issues{/number}",- "pulls_url": "https://api.github.com/repos/baxterandthehackers/public-repo/pulls{/number}",- "milestones_url": "https://api.github.com/repos/baxterandthehackers/public-repo/milestones{/number}",- "notifications_url": "https://api.github.com/repos/baxterandthehackers/public-repo/notifications{?since,all,participating}",- "labels_url": "https://api.github.com/repos/baxterandthehackers/public-repo/labels{/name}",- "releases_url": "https://api.github.com/repos/baxterandthehackers/public-repo/releases{/id}",- "created_at": "2015-05-05T23:40:30Z",- "updated_at": "2015-05-05T23:40:30Z",- "pushed_at": "2015-05-05T23:40:27Z",- "git_url": "git://github.com/baxterandthehackers/public-repo.git",- "ssh_url": "git@github.com:baxterandthehackers/public-repo.git",- "clone_url": "https://github.com/baxterandthehackers/public-repo.git",- "svn_url": "https://github.com/baxterandthehackers/public-repo",- "homepage": null,- "size": 0,- "stargazers_count": 0,- "watchers_count": 0,- "language": null,- "has_issues": false,- "has_downloads": true,- "has_wiki": true,- "has_pages": true,- "forks_count": 0,- "mirror_url": null,- "open_issues_count": 0,- "forks": 0,- "open_issues": 0,- "watchers": 0,- "default_branch": "master",- "public": true- },- "repository": {- "id": 35129377,- "node_id": "MDg6Q2hlY2tSdW4xMjg2MjAyMjg=",- "name": "public-repo",- "full_name": "baxterthehacker/public-repo",- "owner": {- "login": "baxterthehacker",- "id": 6752317,- "node_id": "MDg6Q2hlY2tSdW4xMjg2MjAyMjg=",- "avatar_url": "https://avatars.githubusercontent.com/u/6752317?v=3",- "gravatar_id": "",- "url": "https://api.github.com/users/baxterthehacker",- "html_url": "https://github.com/baxterthehacker",- "followers_url": "https://api.github.com/users/baxterthehacker/followers",- "following_url": "https://api.github.com/users/baxterthehacker/following{/other_user}",- "gists_url": "https://api.github.com/users/baxterthehacker/gists{/gist_id}",- "starred_url": "https://api.github.com/users/baxterthehacker/starred{/owner}{/repo}",- "subscriptions_url": "https://api.github.com/users/baxterthehacker/subscriptions",- "organizations_url": "https://api.github.com/users/baxterthehacker/orgs",- "repos_url": "https://api.github.com/users/baxterthehacker/repos",- "events_url": "https://api.github.com/users/baxterthehacker/events{/privacy}",- "received_events_url": "https://api.github.com/users/baxterthehacker/received_events",- "type": "User",- "site_admin": false- },- "private": false,- "html_url": "https://github.com/baxterthehacker/public-repo",- "description": "",- "fork": false,- "url": "https://api.github.com/repos/baxterthehacker/public-repo",- "forks_url": "https://api.github.com/repos/baxterthehacker/public-repo/forks",- "keys_url": "https://api.github.com/repos/baxterthehacker/public-repo/keys{/key_id}",- "collaborators_url": "https://api.github.com/repos/baxterthehacker/public-repo/collaborators{/collaborator}",- "teams_url": "https://api.github.com/repos/baxterthehacker/public-repo/teams",- "hooks_url": "https://api.github.com/repos/baxterthehacker/public-repo/hooks",- "issue_events_url": "https://api.github.com/repos/baxterthehacker/public-repo/issues/events{/number}",- "events_url": "https://api.github.com/repos/baxterthehacker/public-repo/events",- "assignees_url": "https://api.github.com/repos/baxterthehacker/public-repo/assignees{/user}",- "branches_url": "https://api.github.com/repos/baxterthehacker/public-repo/branches{/branch}",- "tags_url": "https://api.github.com/repos/baxterthehacker/public-repo/tags",- "blobs_url": "https://api.github.com/repos/baxterthehacker/public-repo/git/blobs{/sha}",- "git_tags_url": "https://api.github.com/repos/baxterthehacker/public-repo/git/tags{/sha}",- "git_refs_url": "https://api.github.com/repos/baxterthehacker/public-repo/git/refs{/sha}",- "trees_url": "https://api.github.com/repos/baxterthehacker/public-repo/git/trees{/sha}",- "statuses_url": "https://api.github.com/repos/baxterthehacker/public-repo/statuses/{sha}",- "languages_url": "https://api.github.com/repos/baxterthehacker/public-repo/languages",- "stargazers_url": "https://api.github.com/repos/baxterthehacker/public-repo/stargazers",- "contributors_url": "https://api.github.com/repos/baxterthehacker/public-repo/contributors",- "subscribers_url": "https://api.github.com/repos/baxterthehacker/public-repo/subscribers",- "subscription_url": "https://api.github.com/repos/baxterthehacker/public-repo/subscription",- "commits_url": "https://api.github.com/repos/baxterthehacker/public-repo/commits{/sha}",- "git_commits_url": "https://api.github.com/repos/baxterthehacker/public-repo/git/commits{/sha}",- "comments_url": "https://api.github.com/repos/baxterthehacker/public-repo/comments{/number}",- "issue_comment_url": "https://api.github.com/repos/baxterthehacker/public-repo/issues/comments{/number}",- "contents_url": "https://api.github.com/repos/baxterthehacker/public-repo/contents/{+path}",- "compare_url": "https://api.github.com/repos/baxterthehacker/public-repo/compare/{base}...{head}",- "merges_url": "https://api.github.com/repos/baxterthehacker/public-repo/merges",- "archive_url": "https://api.github.com/repos/baxterthehacker/public-repo/{archive_format}{/ref}",- "downloads_url": "https://api.github.com/repos/baxterthehacker/public-repo/downloads",- "issues_url": "https://api.github.com/repos/baxterthehacker/public-repo/issues{/number}",- "pulls_url": "https://api.github.com/repos/baxterthehacker/public-repo/pulls{/number}",- "milestones_url": "https://api.github.com/repos/baxterthehacker/public-repo/milestones{/number}",- "notifications_url": "https://api.github.com/repos/baxterthehacker/public-repo/notifications{?since,all,participating}",- "labels_url": "https://api.github.com/repos/baxterthehacker/public-repo/labels{/name}",- "releases_url": "https://api.github.com/repos/baxterthehacker/public-repo/releases{/id}",- "created_at": "2015-05-05T23:40:12Z",- "updated_at": "2015-05-05T23:40:30Z",- "pushed_at": "2015-05-05T23:40:27Z",- "git_url": "git://github.com/baxterthehacker/public-repo.git",- "ssh_url": "git@github.com:baxterthehacker/public-repo.git",- "clone_url": "https://github.com/baxterthehacker/public-repo.git",- "svn_url": "https://github.com/baxterthehacker/public-repo",- "homepage": null,- "size": 0,- "stargazers_count": 0,- "watchers_count": 0,- "language": null,- "has_issues": true,- "has_downloads": true,- "has_wiki": true,- "has_pages": true,- "forks_count": 1,- "mirror_url": null,- "open_issues_count": 2,- "forks": 1,- "open_issues": 2,- "watchers": 0,- "default_branch": "master"- },- "sender": {- "login": "baxterandthehackers",- "id": 7649605,- "node_id": "MDg6Q2hlY2tSdW4xMjg2MjAyMjg=",- "avatar_url": "https://avatars.githubusercontent.com/u/7649605?v=3",- "gravatar_id": "",- "url": "https://api.github.com/users/baxterandthehackers",- "html_url": "https://github.com/baxterandthehackers",- "followers_url": "https://api.github.com/users/baxterandthehackers/followers",- "following_url": "https://api.github.com/users/baxterandthehackers/following{/other_user}",- "gists_url": "https://api.github.com/users/baxterandthehackers/gists{/gist_id}",- "starred_url": "https://api.github.com/users/baxterandthehackers/starred{/owner}{/repo}",- "subscriptions_url": "https://api.github.com/users/baxterandthehackers/subscriptions",- "organizations_url": "https://api.github.com/users/baxterandthehackers/orgs",- "repos_url": "https://api.github.com/users/baxterandthehackers/repos",- "events_url": "https://api.github.com/users/baxterandthehackers/events{/privacy}",- "received_events_url": "https://api.github.com/users/baxterandthehackers/received_events",- "type": "Organization",- "site_admin": false- }-}+{ + "forkee": { + "id": 35129393, + "node_id": "MDg6Q2hlY2tSdW4xMjg2MjAyMjg=", + "name": "public-repo", + "full_name": "baxterandthehackers/public-repo", + "owner": { + "login": "baxterandthehackers", + "id": 7649605, + "node_id": "MDg6Q2hlY2tSdW4xMjg2MjAyMjg=", + "avatar_url": "https://avatars.githubusercontent.com/u/7649605?v=3", + "gravatar_id": "", + "url": "https://api.github.com/users/baxterandthehackers", + "html_url": "https://github.com/baxterandthehackers", + "followers_url": "https://api.github.com/users/baxterandthehackers/followers", + "following_url": "https://api.github.com/users/baxterandthehackers/following{/other_user}", + "gists_url": "https://api.github.com/users/baxterandthehackers/gists{/gist_id}", + "starred_url": "https://api.github.com/users/baxterandthehackers/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/baxterandthehackers/subscriptions", + "organizations_url": "https://api.github.com/users/baxterandthehackers/orgs", + "repos_url": "https://api.github.com/users/baxterandthehackers/repos", + "events_url": "https://api.github.com/users/baxterandthehackers/events{/privacy}", + "received_events_url": "https://api.github.com/users/baxterandthehackers/received_events", + "type": "Organization", + "site_admin": false + }, + "private": false, + "html_url": "https://github.com/baxterandthehackers/public-repo", + "description": "", + "fork": true, + "url": "https://api.github.com/repos/baxterandthehackers/public-repo", + "forks_url": "https://api.github.com/repos/baxterandthehackers/public-repo/forks", + "keys_url": "https://api.github.com/repos/baxterandthehackers/public-repo/keys{/key_id}", + "collaborators_url": "https://api.github.com/repos/baxterandthehackers/public-repo/collaborators{/collaborator}", + "teams_url": "https://api.github.com/repos/baxterandthehackers/public-repo/teams", + "hooks_url": "https://api.github.com/repos/baxterandthehackers/public-repo/hooks", + "issue_events_url": "https://api.github.com/repos/baxterandthehackers/public-repo/issues/events{/number}", + "events_url": "https://api.github.com/repos/baxterandthehackers/public-repo/events", + "assignees_url": "https://api.github.com/repos/baxterandthehackers/public-repo/assignees{/user}", + "branches_url": "https://api.github.com/repos/baxterandthehackers/public-repo/branches{/branch}", + "tags_url": "https://api.github.com/repos/baxterandthehackers/public-repo/tags", + "blobs_url": "https://api.github.com/repos/baxterandthehackers/public-repo/git/blobs{/sha}", + "git_tags_url": "https://api.github.com/repos/baxterandthehackers/public-repo/git/tags{/sha}", + "git_refs_url": "https://api.github.com/repos/baxterandthehackers/public-repo/git/refs{/sha}", + "trees_url": "https://api.github.com/repos/baxterandthehackers/public-repo/git/trees{/sha}", + "statuses_url": "https://api.github.com/repos/baxterandthehackers/public-repo/statuses/{sha}", + "languages_url": "https://api.github.com/repos/baxterandthehackers/public-repo/languages", + "stargazers_url": "https://api.github.com/repos/baxterandthehackers/public-repo/stargazers", + "contributors_url": "https://api.github.com/repos/baxterandthehackers/public-repo/contributors", + "subscribers_url": "https://api.github.com/repos/baxterandthehackers/public-repo/subscribers", + "subscription_url": "https://api.github.com/repos/baxterandthehackers/public-repo/subscription", + "commits_url": "https://api.github.com/repos/baxterandthehackers/public-repo/commits{/sha}", + "git_commits_url": "https://api.github.com/repos/baxterandthehackers/public-repo/git/commits{/sha}", + "comments_url": "https://api.github.com/repos/baxterandthehackers/public-repo/comments{/number}", + "issue_comment_url": "https://api.github.com/repos/baxterandthehackers/public-repo/issues/comments{/number}", + "contents_url": "https://api.github.com/repos/baxterandthehackers/public-repo/contents/{+path}", + "compare_url": "https://api.github.com/repos/baxterandthehackers/public-repo/compare/{base}...{head}", + "merges_url": "https://api.github.com/repos/baxterandthehackers/public-repo/merges", + "archive_url": "https://api.github.com/repos/baxterandthehackers/public-repo/{archive_format}{/ref}", + "downloads_url": "https://api.github.com/repos/baxterandthehackers/public-repo/downloads", + "issues_url": "https://api.github.com/repos/baxterandthehackers/public-repo/issues{/number}", + "pulls_url": "https://api.github.com/repos/baxterandthehackers/public-repo/pulls{/number}", + "milestones_url": "https://api.github.com/repos/baxterandthehackers/public-repo/milestones{/number}", + "notifications_url": "https://api.github.com/repos/baxterandthehackers/public-repo/notifications{?since,all,participating}", + "labels_url": "https://api.github.com/repos/baxterandthehackers/public-repo/labels{/name}", + "releases_url": "https://api.github.com/repos/baxterandthehackers/public-repo/releases{/id}", + "created_at": "2015-05-05T23:40:30Z", + "updated_at": "2015-05-05T23:40:30Z", + "pushed_at": "2015-05-05T23:40:27Z", + "git_url": "git://github.com/baxterandthehackers/public-repo.git", + "ssh_url": "git@github.com:baxterandthehackers/public-repo.git", + "clone_url": "https://github.com/baxterandthehackers/public-repo.git", + "svn_url": "https://github.com/baxterandthehackers/public-repo", + "homepage": null, + "size": 0, + "stargazers_count": 0, + "watchers_count": 0, + "language": null, + "has_issues": false, + "has_downloads": true, + "has_wiki": true, + "has_pages": true, + "forks_count": 0, + "mirror_url": null, + "open_issues_count": 0, + "forks": 0, + "open_issues": 0, + "watchers": 0, + "default_branch": "master", + "public": true + }, + "repository": { + "id": 35129377, + "node_id": "MDg6Q2hlY2tSdW4xMjg2MjAyMjg=", + "name": "public-repo", + "full_name": "baxterthehacker/public-repo", + "owner": { + "login": "baxterthehacker", + "id": 6752317, + "node_id": "MDg6Q2hlY2tSdW4xMjg2MjAyMjg=", + "avatar_url": "https://avatars.githubusercontent.com/u/6752317?v=3", + "gravatar_id": "", + "url": "https://api.github.com/users/baxterthehacker", + "html_url": "https://github.com/baxterthehacker", + "followers_url": "https://api.github.com/users/baxterthehacker/followers", + "following_url": "https://api.github.com/users/baxterthehacker/following{/other_user}", + "gists_url": "https://api.github.com/users/baxterthehacker/gists{/gist_id}", + "starred_url": "https://api.github.com/users/baxterthehacker/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/baxterthehacker/subscriptions", + "organizations_url": "https://api.github.com/users/baxterthehacker/orgs", + "repos_url": "https://api.github.com/users/baxterthehacker/repos", + "events_url": "https://api.github.com/users/baxterthehacker/events{/privacy}", + "received_events_url": "https://api.github.com/users/baxterthehacker/received_events", + "type": "User", + "site_admin": false + }, + "private": false, + "html_url": "https://github.com/baxterthehacker/public-repo", + "description": "", + "fork": false, + "url": "https://api.github.com/repos/baxterthehacker/public-repo", + "forks_url": "https://api.github.com/repos/baxterthehacker/public-repo/forks", + "keys_url": "https://api.github.com/repos/baxterthehacker/public-repo/keys{/key_id}", + "collaborators_url": "https://api.github.com/repos/baxterthehacker/public-repo/collaborators{/collaborator}", + "teams_url": "https://api.github.com/repos/baxterthehacker/public-repo/teams", + "hooks_url": "https://api.github.com/repos/baxterthehacker/public-repo/hooks", + "issue_events_url": "https://api.github.com/repos/baxterthehacker/public-repo/issues/events{/number}", + "events_url": "https://api.github.com/repos/baxterthehacker/public-repo/events", + "assignees_url": "https://api.github.com/repos/baxterthehacker/public-repo/assignees{/user}", + "branches_url": "https://api.github.com/repos/baxterthehacker/public-repo/branches{/branch}", + "tags_url": "https://api.github.com/repos/baxterthehacker/public-repo/tags", + "blobs_url": "https://api.github.com/repos/baxterthehacker/public-repo/git/blobs{/sha}", + "git_tags_url": "https://api.github.com/repos/baxterthehacker/public-repo/git/tags{/sha}", + "git_refs_url": "https://api.github.com/repos/baxterthehacker/public-repo/git/refs{/sha}", + "trees_url": "https://api.github.com/repos/baxterthehacker/public-repo/git/trees{/sha}", + "statuses_url": "https://api.github.com/repos/baxterthehacker/public-repo/statuses/{sha}", + "languages_url": "https://api.github.com/repos/baxterthehacker/public-repo/languages", + "stargazers_url": "https://api.github.com/repos/baxterthehacker/public-repo/stargazers", + "contributors_url": "https://api.github.com/repos/baxterthehacker/public-repo/contributors", + "subscribers_url": "https://api.github.com/repos/baxterthehacker/public-repo/subscribers", + "subscription_url": "https://api.github.com/repos/baxterthehacker/public-repo/subscription", + "commits_url": "https://api.github.com/repos/baxterthehacker/public-repo/commits{/sha}", + "git_commits_url": "https://api.github.com/repos/baxterthehacker/public-repo/git/commits{/sha}", + "comments_url": "https://api.github.com/repos/baxterthehacker/public-repo/comments{/number}", + "issue_comment_url": "https://api.github.com/repos/baxterthehacker/public-repo/issues/comments{/number}", + "contents_url": "https://api.github.com/repos/baxterthehacker/public-repo/contents/{+path}", + "compare_url": "https://api.github.com/repos/baxterthehacker/public-repo/compare/{base}...{head}", + "merges_url": "https://api.github.com/repos/baxterthehacker/public-repo/merges", + "archive_url": "https://api.github.com/repos/baxterthehacker/public-repo/{archive_format}{/ref}", + "downloads_url": "https://api.github.com/repos/baxterthehacker/public-repo/downloads", + "issues_url": "https://api.github.com/repos/baxterthehacker/public-repo/issues{/number}", + "pulls_url": "https://api.github.com/repos/baxterthehacker/public-repo/pulls{/number}", + "milestones_url": "https://api.github.com/repos/baxterthehacker/public-repo/milestones{/number}", + "notifications_url": "https://api.github.com/repos/baxterthehacker/public-repo/notifications{?since,all,participating}", + "labels_url": "https://api.github.com/repos/baxterthehacker/public-repo/labels{/name}", + "releases_url": "https://api.github.com/repos/baxterthehacker/public-repo/releases{/id}", + "created_at": "2015-05-05T23:40:12Z", + "updated_at": "2015-05-05T23:40:30Z", + "pushed_at": "2015-05-05T23:40:27Z", + "git_url": "git://github.com/baxterthehacker/public-repo.git", + "ssh_url": "git@github.com:baxterthehacker/public-repo.git", + "clone_url": "https://github.com/baxterthehacker/public-repo.git", + "svn_url": "https://github.com/baxterthehacker/public-repo", + "homepage": null, + "size": 0, + "stargazers_count": 0, + "watchers_count": 0, + "language": null, + "has_issues": true, + "has_downloads": true, + "has_wiki": true, + "has_pages": true, + "forks_count": 1, + "mirror_url": null, + "open_issues_count": 2, + "forks": 1, + "open_issues": 2, + "watchers": 0, + "default_branch": "master" + }, + "sender": { + "login": "baxterandthehackers", + "id": 7649605, + "node_id": "MDg6Q2hlY2tSdW4xMjg2MjAyMjg=", + "avatar_url": "https://avatars.githubusercontent.com/u/7649605?v=3", + "gravatar_id": "", + "url": "https://api.github.com/users/baxterandthehackers", + "html_url": "https://github.com/baxterandthehackers", + "followers_url": "https://api.github.com/users/baxterandthehackers/followers", + "following_url": "https://api.github.com/users/baxterandthehackers/following{/other_user}", + "gists_url": "https://api.github.com/users/baxterandthehackers/gists{/gist_id}", + "starred_url": "https://api.github.com/users/baxterandthehackers/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/baxterandthehackers/subscriptions", + "organizations_url": "https://api.github.com/users/baxterandthehackers/orgs", + "repos_url": "https://api.github.com/users/baxterandthehackers/repos", + "events_url": "https://api.github.com/users/baxterandthehackers/events{/privacy}", + "received_events_url": "https://api.github.com/users/baxterandthehackers/received_events", + "type": "Organization", + "site_admin": false + } +}
fixtures/gollum-event.json view
@@ -1,121 +1,121 @@-{- "pages": [- {- "page_name": "Home",- "title": "Home",- "summary": null,- "action": "created",- "sha": "91ea1bd42aa2ba166b86e8aefe049e9837214e67",- "html_url": "https://github.com/baxterthehacker/public-repo/wiki/Home"- }- ],- "repository": {- "id": 35129377,- "node_id": "MDg6Q2hlY2tSdW4xMjg2MjAyMjg=",- "name": "public-repo",- "full_name": "baxterthehacker/public-repo",- "owner": {- "login": "baxterthehacker",- "id": 6752317,- "node_id": "MDg6Q2hlY2tSdW4xMjg2MjAyMjg=",- "avatar_url": "https://avatars.githubusercontent.com/u/6752317?v=3",- "gravatar_id": "",- "url": "https://api.github.com/users/baxterthehacker",- "html_url": "https://github.com/baxterthehacker",- "followers_url": "https://api.github.com/users/baxterthehacker/followers",- "following_url": "https://api.github.com/users/baxterthehacker/following{/other_user}",- "gists_url": "https://api.github.com/users/baxterthehacker/gists{/gist_id}",- "starred_url": "https://api.github.com/users/baxterthehacker/starred{/owner}{/repo}",- "subscriptions_url": "https://api.github.com/users/baxterthehacker/subscriptions",- "organizations_url": "https://api.github.com/users/baxterthehacker/orgs",- "repos_url": "https://api.github.com/users/baxterthehacker/repos",- "events_url": "https://api.github.com/users/baxterthehacker/events{/privacy}",- "received_events_url": "https://api.github.com/users/baxterthehacker/received_events",- "type": "User",- "site_admin": false- },- "private": false,- "html_url": "https://github.com/baxterthehacker/public-repo",- "description": "",- "fork": false,- "url": "https://api.github.com/repos/baxterthehacker/public-repo",- "forks_url": "https://api.github.com/repos/baxterthehacker/public-repo/forks",- "keys_url": "https://api.github.com/repos/baxterthehacker/public-repo/keys{/key_id}",- "collaborators_url": "https://api.github.com/repos/baxterthehacker/public-repo/collaborators{/collaborator}",- "teams_url": "https://api.github.com/repos/baxterthehacker/public-repo/teams",- "hooks_url": "https://api.github.com/repos/baxterthehacker/public-repo/hooks",- "issue_events_url": "https://api.github.com/repos/baxterthehacker/public-repo/issues/events{/number}",- "events_url": "https://api.github.com/repos/baxterthehacker/public-repo/events",- "assignees_url": "https://api.github.com/repos/baxterthehacker/public-repo/assignees{/user}",- "branches_url": "https://api.github.com/repos/baxterthehacker/public-repo/branches{/branch}",- "tags_url": "https://api.github.com/repos/baxterthehacker/public-repo/tags",- "blobs_url": "https://api.github.com/repos/baxterthehacker/public-repo/git/blobs{/sha}",- "git_tags_url": "https://api.github.com/repos/baxterthehacker/public-repo/git/tags{/sha}",- "git_refs_url": "https://api.github.com/repos/baxterthehacker/public-repo/git/refs{/sha}",- "trees_url": "https://api.github.com/repos/baxterthehacker/public-repo/git/trees{/sha}",- "statuses_url": "https://api.github.com/repos/baxterthehacker/public-repo/statuses/{sha}",- "languages_url": "https://api.github.com/repos/baxterthehacker/public-repo/languages",- "stargazers_url": "https://api.github.com/repos/baxterthehacker/public-repo/stargazers",- "contributors_url": "https://api.github.com/repos/baxterthehacker/public-repo/contributors",- "subscribers_url": "https://api.github.com/repos/baxterthehacker/public-repo/subscribers",- "subscription_url": "https://api.github.com/repos/baxterthehacker/public-repo/subscription",- "commits_url": "https://api.github.com/repos/baxterthehacker/public-repo/commits{/sha}",- "git_commits_url": "https://api.github.com/repos/baxterthehacker/public-repo/git/commits{/sha}",- "comments_url": "https://api.github.com/repos/baxterthehacker/public-repo/comments{/number}",- "issue_comment_url": "https://api.github.com/repos/baxterthehacker/public-repo/issues/comments{/number}",- "contents_url": "https://api.github.com/repos/baxterthehacker/public-repo/contents/{+path}",- "compare_url": "https://api.github.com/repos/baxterthehacker/public-repo/compare/{base}...{head}",- "merges_url": "https://api.github.com/repos/baxterthehacker/public-repo/merges",- "archive_url": "https://api.github.com/repos/baxterthehacker/public-repo/{archive_format}{/ref}",- "downloads_url": "https://api.github.com/repos/baxterthehacker/public-repo/downloads",- "issues_url": "https://api.github.com/repos/baxterthehacker/public-repo/issues{/number}",- "pulls_url": "https://api.github.com/repos/baxterthehacker/public-repo/pulls{/number}",- "milestones_url": "https://api.github.com/repos/baxterthehacker/public-repo/milestones{/number}",- "notifications_url": "https://api.github.com/repos/baxterthehacker/public-repo/notifications{?since,all,participating}",- "labels_url": "https://api.github.com/repos/baxterthehacker/public-repo/labels{/name}",- "releases_url": "https://api.github.com/repos/baxterthehacker/public-repo/releases{/id}",- "created_at": "2015-05-05T23:40:12Z",- "updated_at": "2015-05-05T23:40:12Z",- "pushed_at": "2015-05-05T23:40:17Z",- "git_url": "git://github.com/baxterthehacker/public-repo.git",- "ssh_url": "git@github.com:baxterthehacker/public-repo.git",- "clone_url": "https://github.com/baxterthehacker/public-repo.git",- "svn_url": "https://github.com/baxterthehacker/public-repo",- "homepage": null,- "size": 0,- "stargazers_count": 0,- "watchers_count": 0,- "language": null,- "has_issues": true,- "has_downloads": true,- "has_wiki": true,- "has_pages": true,- "forks_count": 0,- "mirror_url": null,- "open_issues_count": 0,- "forks": 0,- "open_issues": 0,- "watchers": 0,- "default_branch": "master"- },- "sender": {- "login": "jasonrudolph",- "id": 2988,- "node_id": "MDg6Q2hlY2tSdW4xMjg2MjAyMjg=",- "avatar_url": "https://avatars.githubusercontent.com/u/2988?v=3",- "gravatar_id": "",- "url": "https://api.github.com/users/jasonrudolph",- "html_url": "https://github.com/jasonrudolph",- "followers_url": "https://api.github.com/users/jasonrudolph/followers",- "following_url": "https://api.github.com/users/jasonrudolph/following{/other_user}",- "gists_url": "https://api.github.com/users/jasonrudolph/gists{/gist_id}",- "starred_url": "https://api.github.com/users/jasonrudolph/starred{/owner}{/repo}",- "subscriptions_url": "https://api.github.com/users/jasonrudolph/subscriptions",- "organizations_url": "https://api.github.com/users/jasonrudolph/orgs",- "repos_url": "https://api.github.com/users/jasonrudolph/repos",- "events_url": "https://api.github.com/users/jasonrudolph/events{/privacy}",- "received_events_url": "https://api.github.com/users/jasonrudolph/received_events",- "type": "User",- "site_admin": true- }-}+{ + "pages": [ + { + "page_name": "Home", + "title": "Home", + "summary": null, + "action": "created", + "sha": "91ea1bd42aa2ba166b86e8aefe049e9837214e67", + "html_url": "https://github.com/baxterthehacker/public-repo/wiki/Home" + } + ], + "repository": { + "id": 35129377, + "node_id": "MDg6Q2hlY2tSdW4xMjg2MjAyMjg=", + "name": "public-repo", + "full_name": "baxterthehacker/public-repo", + "owner": { + "login": "baxterthehacker", + "id": 6752317, + "node_id": "MDg6Q2hlY2tSdW4xMjg2MjAyMjg=", + "avatar_url": "https://avatars.githubusercontent.com/u/6752317?v=3", + "gravatar_id": "", + "url": "https://api.github.com/users/baxterthehacker", + "html_url": "https://github.com/baxterthehacker", + "followers_url": "https://api.github.com/users/baxterthehacker/followers", + "following_url": "https://api.github.com/users/baxterthehacker/following{/other_user}", + "gists_url": "https://api.github.com/users/baxterthehacker/gists{/gist_id}", + "starred_url": "https://api.github.com/users/baxterthehacker/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/baxterthehacker/subscriptions", + "organizations_url": "https://api.github.com/users/baxterthehacker/orgs", + "repos_url": "https://api.github.com/users/baxterthehacker/repos", + "events_url": "https://api.github.com/users/baxterthehacker/events{/privacy}", + "received_events_url": "https://api.github.com/users/baxterthehacker/received_events", + "type": "User", + "site_admin": false + }, + "private": false, + "html_url": "https://github.com/baxterthehacker/public-repo", + "description": "", + "fork": false, + "url": "https://api.github.com/repos/baxterthehacker/public-repo", + "forks_url": "https://api.github.com/repos/baxterthehacker/public-repo/forks", + "keys_url": "https://api.github.com/repos/baxterthehacker/public-repo/keys{/key_id}", + "collaborators_url": "https://api.github.com/repos/baxterthehacker/public-repo/collaborators{/collaborator}", + "teams_url": "https://api.github.com/repos/baxterthehacker/public-repo/teams", + "hooks_url": "https://api.github.com/repos/baxterthehacker/public-repo/hooks", + "issue_events_url": "https://api.github.com/repos/baxterthehacker/public-repo/issues/events{/number}", + "events_url": "https://api.github.com/repos/baxterthehacker/public-repo/events", + "assignees_url": "https://api.github.com/repos/baxterthehacker/public-repo/assignees{/user}", + "branches_url": "https://api.github.com/repos/baxterthehacker/public-repo/branches{/branch}", + "tags_url": "https://api.github.com/repos/baxterthehacker/public-repo/tags", + "blobs_url": "https://api.github.com/repos/baxterthehacker/public-repo/git/blobs{/sha}", + "git_tags_url": "https://api.github.com/repos/baxterthehacker/public-repo/git/tags{/sha}", + "git_refs_url": "https://api.github.com/repos/baxterthehacker/public-repo/git/refs{/sha}", + "trees_url": "https://api.github.com/repos/baxterthehacker/public-repo/git/trees{/sha}", + "statuses_url": "https://api.github.com/repos/baxterthehacker/public-repo/statuses/{sha}", + "languages_url": "https://api.github.com/repos/baxterthehacker/public-repo/languages", + "stargazers_url": "https://api.github.com/repos/baxterthehacker/public-repo/stargazers", + "contributors_url": "https://api.github.com/repos/baxterthehacker/public-repo/contributors", + "subscribers_url": "https://api.github.com/repos/baxterthehacker/public-repo/subscribers", + "subscription_url": "https://api.github.com/repos/baxterthehacker/public-repo/subscription", + "commits_url": "https://api.github.com/repos/baxterthehacker/public-repo/commits{/sha}", + "git_commits_url": "https://api.github.com/repos/baxterthehacker/public-repo/git/commits{/sha}", + "comments_url": "https://api.github.com/repos/baxterthehacker/public-repo/comments{/number}", + "issue_comment_url": "https://api.github.com/repos/baxterthehacker/public-repo/issues/comments{/number}", + "contents_url": "https://api.github.com/repos/baxterthehacker/public-repo/contents/{+path}", + "compare_url": "https://api.github.com/repos/baxterthehacker/public-repo/compare/{base}...{head}", + "merges_url": "https://api.github.com/repos/baxterthehacker/public-repo/merges", + "archive_url": "https://api.github.com/repos/baxterthehacker/public-repo/{archive_format}{/ref}", + "downloads_url": "https://api.github.com/repos/baxterthehacker/public-repo/downloads", + "issues_url": "https://api.github.com/repos/baxterthehacker/public-repo/issues{/number}", + "pulls_url": "https://api.github.com/repos/baxterthehacker/public-repo/pulls{/number}", + "milestones_url": "https://api.github.com/repos/baxterthehacker/public-repo/milestones{/number}", + "notifications_url": "https://api.github.com/repos/baxterthehacker/public-repo/notifications{?since,all,participating}", + "labels_url": "https://api.github.com/repos/baxterthehacker/public-repo/labels{/name}", + "releases_url": "https://api.github.com/repos/baxterthehacker/public-repo/releases{/id}", + "created_at": "2015-05-05T23:40:12Z", + "updated_at": "2015-05-05T23:40:12Z", + "pushed_at": "2015-05-05T23:40:17Z", + "git_url": "git://github.com/baxterthehacker/public-repo.git", + "ssh_url": "git@github.com:baxterthehacker/public-repo.git", + "clone_url": "https://github.com/baxterthehacker/public-repo.git", + "svn_url": "https://github.com/baxterthehacker/public-repo", + "homepage": null, + "size": 0, + "stargazers_count": 0, + "watchers_count": 0, + "language": null, + "has_issues": true, + "has_downloads": true, + "has_wiki": true, + "has_pages": true, + "forks_count": 0, + "mirror_url": null, + "open_issues_count": 0, + "forks": 0, + "open_issues": 0, + "watchers": 0, + "default_branch": "master" + }, + "sender": { + "login": "jasonrudolph", + "id": 2988, + "node_id": "MDg6Q2hlY2tSdW4xMjg2MjAyMjg=", + "avatar_url": "https://avatars.githubusercontent.com/u/2988?v=3", + "gravatar_id": "", + "url": "https://api.github.com/users/jasonrudolph", + "html_url": "https://github.com/jasonrudolph", + "followers_url": "https://api.github.com/users/jasonrudolph/followers", + "following_url": "https://api.github.com/users/jasonrudolph/following{/other_user}", + "gists_url": "https://api.github.com/users/jasonrudolph/gists{/gist_id}", + "starred_url": "https://api.github.com/users/jasonrudolph/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/jasonrudolph/subscriptions", + "organizations_url": "https://api.github.com/users/jasonrudolph/orgs", + "repos_url": "https://api.github.com/users/jasonrudolph/repos", + "events_url": "https://api.github.com/users/jasonrudolph/events{/privacy}", + "received_events_url": "https://api.github.com/users/jasonrudolph/received_events", + "type": "User", + "site_admin": true + } +}
fixtures/installation-event.json view
@@ -1,58 +1,58 @@-{- "action": "deleted",- "installation": {- "id": 2,- "account": {- "login": "octocat",- "id": 1,- "node_id": "MDg6Q2hlY2tSdW4xMjg2MjAyMjg=",- "avatar_url": "https://github.com/images/error/octocat_happy.gif",- "gravatar_id": "",- "url": "https://api.github.com/users/octocat",- "html_url": "https://github.com/octocat",- "followers_url": "https://api.github.com/users/octocat/followers",- "following_url": "https://api.github.com/users/octocat/following{/other_user}",- "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}",- "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}",- "subscriptions_url": "https://api.github.com/users/octocat/subscriptions",- "organizations_url": "https://api.github.com/users/octocat/orgs",- "repos_url": "https://api.github.com/users/octocat/repos",- "events_url": "https://api.github.com/users/octocat/events{/privacy}",- "received_events_url": "https://api.github.com/users/octocat/received_events",- "type": "User",- "site_admin": false- },- "repository_selection": "selected",- "access_tokens_url": "https://api.github.com/installations/2/access_tokens",- "repositories_url": "https://api.github.com/installation/repositories"- },- "repositories": [- {- "id": 1296269,- "node_id": "MDg6Q2hlY2tSdW4xMjg2MjAyMjg=",- "name": "Hello-World",- "full_name": "octocat/Hello-World",- "private": true- }- ],- "sender": {- "login": "octocat",- "id": 1,- "node_id": "MDg6Q2hlY2tSdW4xMjg2MjAyMjg=",- "avatar_url": "https://github.com/images/error/octocat_happy.gif",- "gravatar_id": "",- "url": "https://api.github.com/users/octocat",- "html_url": "https://github.com/octocat",- "followers_url": "https://api.github.com/users/octocat/followers",- "following_url": "https://api.github.com/users/octocat/following{/other_user}",- "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}",- "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}",- "subscriptions_url": "https://api.github.com/users/octocat/subscriptions",- "organizations_url": "https://api.github.com/users/octocat/orgs",- "repos_url": "https://api.github.com/users/octocat/repos",- "events_url": "https://api.github.com/users/octocat/events{/privacy}",- "received_events_url": "https://api.github.com/users/octocat/received_events",- "type": "User",- "site_admin": false- }-}+{ + "action": "deleted", + "installation": { + "id": 2, + "account": { + "login": "octocat", + "id": 1, + "node_id": "MDg6Q2hlY2tSdW4xMjg2MjAyMjg=", + "avatar_url": "https://github.com/images/error/octocat_happy.gif", + "gravatar_id": "", + "url": "https://api.github.com/users/octocat", + "html_url": "https://github.com/octocat", + "followers_url": "https://api.github.com/users/octocat/followers", + "following_url": "https://api.github.com/users/octocat/following{/other_user}", + "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", + "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", + "organizations_url": "https://api.github.com/users/octocat/orgs", + "repos_url": "https://api.github.com/users/octocat/repos", + "events_url": "https://api.github.com/users/octocat/events{/privacy}", + "received_events_url": "https://api.github.com/users/octocat/received_events", + "type": "User", + "site_admin": false + }, + "repository_selection": "selected", + "access_tokens_url": "https://api.github.com/installations/2/access_tokens", + "repositories_url": "https://api.github.com/installation/repositories" + }, + "repositories": [ + { + "id": 1296269, + "node_id": "MDg6Q2hlY2tSdW4xMjg2MjAyMjg=", + "name": "Hello-World", + "full_name": "octocat/Hello-World", + "private": true + } + ], + "sender": { + "login": "octocat", + "id": 1, + "node_id": "MDg6Q2hlY2tSdW4xMjg2MjAyMjg=", + "avatar_url": "https://github.com/images/error/octocat_happy.gif", + "gravatar_id": "", + "url": "https://api.github.com/users/octocat", + "html_url": "https://github.com/octocat", + "followers_url": "https://api.github.com/users/octocat/followers", + "following_url": "https://api.github.com/users/octocat/following{/other_user}", + "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", + "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", + "organizations_url": "https://api.github.com/users/octocat/orgs", + "repos_url": "https://api.github.com/users/octocat/repos", + "events_url": "https://api.github.com/users/octocat/events{/privacy}", + "received_events_url": "https://api.github.com/users/octocat/received_events", + "type": "User", + "site_admin": false + } +}
fixtures/installation-repo-event.json view
@@ -1,63 +1,63 @@-{- "action": "removed",- "installation": {- "id": 2,- "account": {- "login": "octocat",- "id": 1,- "node_id": "MDg6Q2hlY2tSdW4xMjg2MjAyMjg=",- "avatar_url": "https://github.com/images/error/octocat_happy.gif",- "gravatar_id": "",- "url": "https://api.github.com/users/octocat",- "html_url": "https://github.com/octocat",- "followers_url": "https://api.github.com/users/octocat/followers",- "following_url": "https://api.github.com/users/octocat/following{/other_user}",- "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}",- "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}",- "subscriptions_url": "https://api.github.com/users/octocat/subscriptions",- "organizations_url": "https://api.github.com/users/octocat/orgs",- "repos_url": "https://api.github.com/users/octocat/repos",- "events_url": "https://api.github.com/users/octocat/events{/privacy}",- "received_events_url": "https://api.github.com/users/octocat/received_events",- "type": "User",- "site_admin": false- },- "repository_selection": "selected",- "access_tokens_url": "https://api.github.com/installations/2/access_tokens",- "repositories_url": "https://api.github.com/installation/repositories",- "html_url": "https://github.com/settings/installations/2"- },- "repository_selection": "selected",- "repositories_added": [-- ],- "repositories_removed": [- {- "id": 1296269,- "node_id": "MDg6Q2hlY2tSdW4xMjg2MjAyMjg=",- "name": "Hello-World",- "full_name": "octocat/Hello-World",- "private": false- }- ],- "sender": {- "login": "octocat",- "id": 1,- "node_id": "MDg6Q2hlY2tSdW4xMjg2MjAyMjg=",- "avatar_url": "https://github.com/images/error/octocat_happy.gif",- "gravatar_id": "",- "url": "https://api.github.com/users/octocat",- "html_url": "https://github.com/octocat",- "followers_url": "https://api.github.com/users/octocat/followers",- "following_url": "https://api.github.com/users/octocat/following{/other_user}",- "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}",- "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}",- "subscriptions_url": "https://api.github.com/users/octocat/subscriptions",- "organizations_url": "https://api.github.com/users/octocat/orgs",- "repos_url": "https://api.github.com/users/octocat/repos",- "events_url": "https://api.github.com/users/octocat/events{/privacy}",- "received_events_url": "https://api.github.com/users/octocat/received_events",- "type": "User",- "site_admin": false- }-}+{ + "action": "removed", + "installation": { + "id": 2, + "account": { + "login": "octocat", + "id": 1, + "node_id": "MDg6Q2hlY2tSdW4xMjg2MjAyMjg=", + "avatar_url": "https://github.com/images/error/octocat_happy.gif", + "gravatar_id": "", + "url": "https://api.github.com/users/octocat", + "html_url": "https://github.com/octocat", + "followers_url": "https://api.github.com/users/octocat/followers", + "following_url": "https://api.github.com/users/octocat/following{/other_user}", + "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", + "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", + "organizations_url": "https://api.github.com/users/octocat/orgs", + "repos_url": "https://api.github.com/users/octocat/repos", + "events_url": "https://api.github.com/users/octocat/events{/privacy}", + "received_events_url": "https://api.github.com/users/octocat/received_events", + "type": "User", + "site_admin": false + }, + "repository_selection": "selected", + "access_tokens_url": "https://api.github.com/installations/2/access_tokens", + "repositories_url": "https://api.github.com/installation/repositories", + "html_url": "https://github.com/settings/installations/2" + }, + "repository_selection": "selected", + "repositories_added": [ + + ], + "repositories_removed": [ + { + "id": 1296269, + "node_id": "MDg6Q2hlY2tSdW4xMjg2MjAyMjg=", + "name": "Hello-World", + "full_name": "octocat/Hello-World", + "private": false + } + ], + "sender": { + "login": "octocat", + "id": 1, + "node_id": "MDg6Q2hlY2tSdW4xMjg2MjAyMjg=", + "avatar_url": "https://github.com/images/error/octocat_happy.gif", + "gravatar_id": "", + "url": "https://api.github.com/users/octocat", + "html_url": "https://github.com/octocat", + "followers_url": "https://api.github.com/users/octocat/followers", + "following_url": "https://api.github.com/users/octocat/following{/other_user}", + "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", + "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", + "organizations_url": "https://api.github.com/users/octocat/orgs", + "repos_url": "https://api.github.com/users/octocat/repos", + "events_url": "https://api.github.com/users/octocat/events{/privacy}", + "received_events_url": "https://api.github.com/users/octocat/received_events", + "type": "User", + "site_admin": false + } +}
fixtures/issue-comment-event.json view
@@ -1,190 +1,190 @@-{- "action": "created",- "issue": {- "url": "https://api.github.com/repos/baxterthehacker/public-repo/issues/2",- "labels_url": "https://api.github.com/repos/baxterthehacker/public-repo/issues/2/labels{/name}",- "comments_url": "https://api.github.com/repos/baxterthehacker/public-repo/issues/2/comments",- "events_url": "https://api.github.com/repos/baxterthehacker/public-repo/issues/2/events",- "html_url": "https://github.com/baxterthehacker/public-repo/issues/2",- "id": 73464126,- "node_id": "MDg6Q2hlY2tSdW4xMjg2MjAyMjg=",- "number": 2,- "title": "Spelling error in the README file",- "user": {- "login": "baxterthehacker",- "id": 6752317,- "node_id": "MDg6Q2hlY2tSdW4xMjg2MjAyMjg=",- "avatar_url": "https://avatars.githubusercontent.com/u/6752317?v=3",- "gravatar_id": "",- "url": "https://api.github.com/users/baxterthehacker",- "html_url": "https://github.com/baxterthehacker",- "followers_url": "https://api.github.com/users/baxterthehacker/followers",- "following_url": "https://api.github.com/users/baxterthehacker/following{/other_user}",- "gists_url": "https://api.github.com/users/baxterthehacker/gists{/gist_id}",- "starred_url": "https://api.github.com/users/baxterthehacker/starred{/owner}{/repo}",- "subscriptions_url": "https://api.github.com/users/baxterthehacker/subscriptions",- "organizations_url": "https://api.github.com/users/baxterthehacker/orgs",- "repos_url": "https://api.github.com/users/baxterthehacker/repos",- "events_url": "https://api.github.com/users/baxterthehacker/events{/privacy}",- "received_events_url": "https://api.github.com/users/baxterthehacker/received_events",- "type": "User",- "site_admin": false- },- "labels": [- {- "node_id": "MDg6Q2hlY2tSdW4xMjg2MjAyMjg=",- "url": "https://api.github.com/repos/baxterthehacker/public-repo/labels/bug",- "name": "bug",- "color": "fc2929"- }- ],- "state": "open",- "locked": false,- "assignee": null,- "milestone": null,- "comments": 1,- "created_at": "2015-05-05T23:40:28Z",- "updated_at": "2015-05-05T23:40:28Z",- "closed_at": null,- "body": "It looks like you accidently spelled 'commit' with two 't's."- },- "comment": {- "url": "https://api.github.com/repos/baxterthehacker/public-repo/issues/comments/99262140",- "html_url": "https://github.com/baxterthehacker/public-repo/issues/2#issuecomment-99262140",- "issue_url": "https://api.github.com/repos/baxterthehacker/public-repo/issues/2",- "id": 99262140,- "node_id": "MDg6Q2hlY2tSdW4xMjg2MjAyMjg=",- "user": {- "login": "baxterthehacker",- "id": 6752317,- "node_id": "MDg6Q2hlY2tSdW4xMjg2MjAyMjg=",- "avatar_url": "https://avatars.githubusercontent.com/u/6752317?v=3",- "gravatar_id": "",- "url": "https://api.github.com/users/baxterthehacker",- "html_url": "https://github.com/baxterthehacker",- "followers_url": "https://api.github.com/users/baxterthehacker/followers",- "following_url": "https://api.github.com/users/baxterthehacker/following{/other_user}",- "gists_url": "https://api.github.com/users/baxterthehacker/gists{/gist_id}",- "starred_url": "https://api.github.com/users/baxterthehacker/starred{/owner}{/repo}",- "subscriptions_url": "https://api.github.com/users/baxterthehacker/subscriptions",- "organizations_url": "https://api.github.com/users/baxterthehacker/orgs",- "repos_url": "https://api.github.com/users/baxterthehacker/repos",- "events_url": "https://api.github.com/users/baxterthehacker/events{/privacy}",- "received_events_url": "https://api.github.com/users/baxterthehacker/received_events",- "type": "User",- "site_admin": false- },- "created_at": "2015-05-05T23:40:28Z",- "updated_at": "2015-05-05T23:40:28Z",- "body": "You are totally right! I'll get this fixed right away."- },- "repository": {- "id": 35129377,- "node_id": "MDg6Q2hlY2tSdW4xMjg2MjAyMjg=",- "name": "public-repo",- "full_name": "baxterthehacker/public-repo",- "owner": {- "login": "baxterthehacker",- "id": 6752317,- "node_id": "MDg6Q2hlY2tSdW4xMjg2MjAyMjg=",- "avatar_url": "https://avatars.githubusercontent.com/u/6752317?v=3",- "gravatar_id": "",- "url": "https://api.github.com/users/baxterthehacker",- "html_url": "https://github.com/baxterthehacker",- "followers_url": "https://api.github.com/users/baxterthehacker/followers",- "following_url": "https://api.github.com/users/baxterthehacker/following{/other_user}",- "gists_url": "https://api.github.com/users/baxterthehacker/gists{/gist_id}",- "starred_url": "https://api.github.com/users/baxterthehacker/starred{/owner}{/repo}",- "subscriptions_url": "https://api.github.com/users/baxterthehacker/subscriptions",- "organizations_url": "https://api.github.com/users/baxterthehacker/orgs",- "repos_url": "https://api.github.com/users/baxterthehacker/repos",- "events_url": "https://api.github.com/users/baxterthehacker/events{/privacy}",- "received_events_url": "https://api.github.com/users/baxterthehacker/received_events",- "type": "User",- "site_admin": false- },- "private": false,- "html_url": "https://github.com/baxterthehacker/public-repo",- "description": "",- "fork": false,- "url": "https://api.github.com/repos/baxterthehacker/public-repo",- "forks_url": "https://api.github.com/repos/baxterthehacker/public-repo/forks",- "keys_url": "https://api.github.com/repos/baxterthehacker/public-repo/keys{/key_id}",- "collaborators_url": "https://api.github.com/repos/baxterthehacker/public-repo/collaborators{/collaborator}",- "teams_url": "https://api.github.com/repos/baxterthehacker/public-repo/teams",- "hooks_url": "https://api.github.com/repos/baxterthehacker/public-repo/hooks",- "issue_events_url": "https://api.github.com/repos/baxterthehacker/public-repo/issues/events{/number}",- "events_url": "https://api.github.com/repos/baxterthehacker/public-repo/events",- "assignees_url": "https://api.github.com/repos/baxterthehacker/public-repo/assignees{/user}",- "branches_url": "https://api.github.com/repos/baxterthehacker/public-repo/branches{/branch}",- "tags_url": "https://api.github.com/repos/baxterthehacker/public-repo/tags",- "blobs_url": "https://api.github.com/repos/baxterthehacker/public-repo/git/blobs{/sha}",- "git_tags_url": "https://api.github.com/repos/baxterthehacker/public-repo/git/tags{/sha}",- "git_refs_url": "https://api.github.com/repos/baxterthehacker/public-repo/git/refs{/sha}",- "trees_url": "https://api.github.com/repos/baxterthehacker/public-repo/git/trees{/sha}",- "statuses_url": "https://api.github.com/repos/baxterthehacker/public-repo/statuses/{sha}",- "languages_url": "https://api.github.com/repos/baxterthehacker/public-repo/languages",- "stargazers_url": "https://api.github.com/repos/baxterthehacker/public-repo/stargazers",- "contributors_url": "https://api.github.com/repos/baxterthehacker/public-repo/contributors",- "subscribers_url": "https://api.github.com/repos/baxterthehacker/public-repo/subscribers",- "subscription_url": "https://api.github.com/repos/baxterthehacker/public-repo/subscription",- "commits_url": "https://api.github.com/repos/baxterthehacker/public-repo/commits{/sha}",- "git_commits_url": "https://api.github.com/repos/baxterthehacker/public-repo/git/commits{/sha}",- "comments_url": "https://api.github.com/repos/baxterthehacker/public-repo/comments{/number}",- "issue_comment_url": "https://api.github.com/repos/baxterthehacker/public-repo/issues/comments{/number}",- "contents_url": "https://api.github.com/repos/baxterthehacker/public-repo/contents/{+path}",- "compare_url": "https://api.github.com/repos/baxterthehacker/public-repo/compare/{base}...{head}",- "merges_url": "https://api.github.com/repos/baxterthehacker/public-repo/merges",- "archive_url": "https://api.github.com/repos/baxterthehacker/public-repo/{archive_format}{/ref}",- "downloads_url": "https://api.github.com/repos/baxterthehacker/public-repo/downloads",- "issues_url": "https://api.github.com/repos/baxterthehacker/public-repo/issues{/number}",- "pulls_url": "https://api.github.com/repos/baxterthehacker/public-repo/pulls{/number}",- "milestones_url": "https://api.github.com/repos/baxterthehacker/public-repo/milestones{/number}",- "notifications_url": "https://api.github.com/repos/baxterthehacker/public-repo/notifications{?since,all,participating}",- "labels_url": "https://api.github.com/repos/baxterthehacker/public-repo/labels{/name}",- "releases_url": "https://api.github.com/repos/baxterthehacker/public-repo/releases{/id}",- "created_at": "2015-05-05T23:40:12Z",- "updated_at": "2015-05-05T23:40:12Z",- "pushed_at": "2015-05-05T23:40:27Z",- "git_url": "git://github.com/baxterthehacker/public-repo.git",- "ssh_url": "git@github.com:baxterthehacker/public-repo.git",- "clone_url": "https://github.com/baxterthehacker/public-repo.git",- "svn_url": "https://github.com/baxterthehacker/public-repo",- "homepage": null,- "size": 0,- "stargazers_count": 0,- "watchers_count": 0,- "language": null,- "has_issues": true,- "has_downloads": true,- "has_wiki": true,- "has_pages": true,- "forks_count": 0,- "mirror_url": null,- "open_issues_count": 2,- "forks": 0,- "open_issues": 2,- "watchers": 0,- "default_branch": "master"- },- "sender": {- "login": "baxterthehacker",- "id": 6752317,- "node_id": "MDg6Q2hlY2tSdW4xMjg2MjAyMjg=",- "avatar_url": "https://avatars.githubusercontent.com/u/6752317?v=3",- "gravatar_id": "",- "url": "https://api.github.com/users/baxterthehacker",- "html_url": "https://github.com/baxterthehacker",- "followers_url": "https://api.github.com/users/baxterthehacker/followers",- "following_url": "https://api.github.com/users/baxterthehacker/following{/other_user}",- "gists_url": "https://api.github.com/users/baxterthehacker/gists{/gist_id}",- "starred_url": "https://api.github.com/users/baxterthehacker/starred{/owner}{/repo}",- "subscriptions_url": "https://api.github.com/users/baxterthehacker/subscriptions",- "organizations_url": "https://api.github.com/users/baxterthehacker/orgs",- "repos_url": "https://api.github.com/users/baxterthehacker/repos",- "events_url": "https://api.github.com/users/baxterthehacker/events{/privacy}",- "received_events_url": "https://api.github.com/users/baxterthehacker/received_events",- "type": "User",- "site_admin": false- }-}+{ + "action": "created", + "issue": { + "url": "https://api.github.com/repos/baxterthehacker/public-repo/issues/2", + "labels_url": "https://api.github.com/repos/baxterthehacker/public-repo/issues/2/labels{/name}", + "comments_url": "https://api.github.com/repos/baxterthehacker/public-repo/issues/2/comments", + "events_url": "https://api.github.com/repos/baxterthehacker/public-repo/issues/2/events", + "html_url": "https://github.com/baxterthehacker/public-repo/issues/2", + "id": 73464126, + "node_id": "MDg6Q2hlY2tSdW4xMjg2MjAyMjg=", + "number": 2, + "title": "Spelling error in the README file", + "user": { + "login": "baxterthehacker", + "id": 6752317, + "node_id": "MDg6Q2hlY2tSdW4xMjg2MjAyMjg=", + "avatar_url": "https://avatars.githubusercontent.com/u/6752317?v=3", + "gravatar_id": "", + "url": "https://api.github.com/users/baxterthehacker", + "html_url": "https://github.com/baxterthehacker", + "followers_url": "https://api.github.com/users/baxterthehacker/followers", + "following_url": "https://api.github.com/users/baxterthehacker/following{/other_user}", + "gists_url": "https://api.github.com/users/baxterthehacker/gists{/gist_id}", + "starred_url": "https://api.github.com/users/baxterthehacker/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/baxterthehacker/subscriptions", + "organizations_url": "https://api.github.com/users/baxterthehacker/orgs", + "repos_url": "https://api.github.com/users/baxterthehacker/repos", + "events_url": "https://api.github.com/users/baxterthehacker/events{/privacy}", + "received_events_url": "https://api.github.com/users/baxterthehacker/received_events", + "type": "User", + "site_admin": false + }, + "labels": [ + { + "node_id": "MDg6Q2hlY2tSdW4xMjg2MjAyMjg=", + "url": "https://api.github.com/repos/baxterthehacker/public-repo/labels/bug", + "name": "bug", + "color": "fc2929" + } + ], + "state": "open", + "locked": false, + "assignee": null, + "milestone": null, + "comments": 1, + "created_at": "2015-05-05T23:40:28Z", + "updated_at": "2015-05-05T23:40:28Z", + "closed_at": null, + "body": "It looks like you accidently spelled 'commit' with two 't's." + }, + "comment": { + "url": "https://api.github.com/repos/baxterthehacker/public-repo/issues/comments/99262140", + "html_url": "https://github.com/baxterthehacker/public-repo/issues/2#issuecomment-99262140", + "issue_url": "https://api.github.com/repos/baxterthehacker/public-repo/issues/2", + "id": 99262140, + "node_id": "MDg6Q2hlY2tSdW4xMjg2MjAyMjg=", + "user": { + "login": "baxterthehacker", + "id": 6752317, + "node_id": "MDg6Q2hlY2tSdW4xMjg2MjAyMjg=", + "avatar_url": "https://avatars.githubusercontent.com/u/6752317?v=3", + "gravatar_id": "", + "url": "https://api.github.com/users/baxterthehacker", + "html_url": "https://github.com/baxterthehacker", + "followers_url": "https://api.github.com/users/baxterthehacker/followers", + "following_url": "https://api.github.com/users/baxterthehacker/following{/other_user}", + "gists_url": "https://api.github.com/users/baxterthehacker/gists{/gist_id}", + "starred_url": "https://api.github.com/users/baxterthehacker/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/baxterthehacker/subscriptions", + "organizations_url": "https://api.github.com/users/baxterthehacker/orgs", + "repos_url": "https://api.github.com/users/baxterthehacker/repos", + "events_url": "https://api.github.com/users/baxterthehacker/events{/privacy}", + "received_events_url": "https://api.github.com/users/baxterthehacker/received_events", + "type": "User", + "site_admin": false + }, + "created_at": "2015-05-05T23:40:28Z", + "updated_at": "2015-05-05T23:40:28Z", + "body": "You are totally right! I'll get this fixed right away." + }, + "repository": { + "id": 35129377, + "node_id": "MDg6Q2hlY2tSdW4xMjg2MjAyMjg=", + "name": "public-repo", + "full_name": "baxterthehacker/public-repo", + "owner": { + "login": "baxterthehacker", + "id": 6752317, + "node_id": "MDg6Q2hlY2tSdW4xMjg2MjAyMjg=", + "avatar_url": "https://avatars.githubusercontent.com/u/6752317?v=3", + "gravatar_id": "", + "url": "https://api.github.com/users/baxterthehacker", + "html_url": "https://github.com/baxterthehacker", + "followers_url": "https://api.github.com/users/baxterthehacker/followers", + "following_url": "https://api.github.com/users/baxterthehacker/following{/other_user}", + "gists_url": "https://api.github.com/users/baxterthehacker/gists{/gist_id}", + "starred_url": "https://api.github.com/users/baxterthehacker/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/baxterthehacker/subscriptions", + "organizations_url": "https://api.github.com/users/baxterthehacker/orgs", + "repos_url": "https://api.github.com/users/baxterthehacker/repos", + "events_url": "https://api.github.com/users/baxterthehacker/events{/privacy}", + "received_events_url": "https://api.github.com/users/baxterthehacker/received_events", + "type": "User", + "site_admin": false + }, + "private": false, + "html_url": "https://github.com/baxterthehacker/public-repo", + "description": "", + "fork": false, + "url": "https://api.github.com/repos/baxterthehacker/public-repo", + "forks_url": "https://api.github.com/repos/baxterthehacker/public-repo/forks", + "keys_url": "https://api.github.com/repos/baxterthehacker/public-repo/keys{/key_id}", + "collaborators_url": "https://api.github.com/repos/baxterthehacker/public-repo/collaborators{/collaborator}", + "teams_url": "https://api.github.com/repos/baxterthehacker/public-repo/teams", + "hooks_url": "https://api.github.com/repos/baxterthehacker/public-repo/hooks", + "issue_events_url": "https://api.github.com/repos/baxterthehacker/public-repo/issues/events{/number}", + "events_url": "https://api.github.com/repos/baxterthehacker/public-repo/events", + "assignees_url": "https://api.github.com/repos/baxterthehacker/public-repo/assignees{/user}", + "branches_url": "https://api.github.com/repos/baxterthehacker/public-repo/branches{/branch}", + "tags_url": "https://api.github.com/repos/baxterthehacker/public-repo/tags", + "blobs_url": "https://api.github.com/repos/baxterthehacker/public-repo/git/blobs{/sha}", + "git_tags_url": "https://api.github.com/repos/baxterthehacker/public-repo/git/tags{/sha}", + "git_refs_url": "https://api.github.com/repos/baxterthehacker/public-repo/git/refs{/sha}", + "trees_url": "https://api.github.com/repos/baxterthehacker/public-repo/git/trees{/sha}", + "statuses_url": "https://api.github.com/repos/baxterthehacker/public-repo/statuses/{sha}", + "languages_url": "https://api.github.com/repos/baxterthehacker/public-repo/languages", + "stargazers_url": "https://api.github.com/repos/baxterthehacker/public-repo/stargazers", + "contributors_url": "https://api.github.com/repos/baxterthehacker/public-repo/contributors", + "subscribers_url": "https://api.github.com/repos/baxterthehacker/public-repo/subscribers", + "subscription_url": "https://api.github.com/repos/baxterthehacker/public-repo/subscription", + "commits_url": "https://api.github.com/repos/baxterthehacker/public-repo/commits{/sha}", + "git_commits_url": "https://api.github.com/repos/baxterthehacker/public-repo/git/commits{/sha}", + "comments_url": "https://api.github.com/repos/baxterthehacker/public-repo/comments{/number}", + "issue_comment_url": "https://api.github.com/repos/baxterthehacker/public-repo/issues/comments{/number}", + "contents_url": "https://api.github.com/repos/baxterthehacker/public-repo/contents/{+path}", + "compare_url": "https://api.github.com/repos/baxterthehacker/public-repo/compare/{base}...{head}", + "merges_url": "https://api.github.com/repos/baxterthehacker/public-repo/merges", + "archive_url": "https://api.github.com/repos/baxterthehacker/public-repo/{archive_format}{/ref}", + "downloads_url": "https://api.github.com/repos/baxterthehacker/public-repo/downloads", + "issues_url": "https://api.github.com/repos/baxterthehacker/public-repo/issues{/number}", + "pulls_url": "https://api.github.com/repos/baxterthehacker/public-repo/pulls{/number}", + "milestones_url": "https://api.github.com/repos/baxterthehacker/public-repo/milestones{/number}", + "notifications_url": "https://api.github.com/repos/baxterthehacker/public-repo/notifications{?since,all,participating}", + "labels_url": "https://api.github.com/repos/baxterthehacker/public-repo/labels{/name}", + "releases_url": "https://api.github.com/repos/baxterthehacker/public-repo/releases{/id}", + "created_at": "2015-05-05T23:40:12Z", + "updated_at": "2015-05-05T23:40:12Z", + "pushed_at": "2015-05-05T23:40:27Z", + "git_url": "git://github.com/baxterthehacker/public-repo.git", + "ssh_url": "git@github.com:baxterthehacker/public-repo.git", + "clone_url": "https://github.com/baxterthehacker/public-repo.git", + "svn_url": "https://github.com/baxterthehacker/public-repo", + "homepage": null, + "size": 0, + "stargazers_count": 0, + "watchers_count": 0, + "language": null, + "has_issues": true, + "has_downloads": true, + "has_wiki": true, + "has_pages": true, + "forks_count": 0, + "mirror_url": null, + "open_issues_count": 2, + "forks": 0, + "open_issues": 2, + "watchers": 0, + "default_branch": "master" + }, + "sender": { + "login": "baxterthehacker", + "id": 6752317, + "node_id": "MDg6Q2hlY2tSdW4xMjg2MjAyMjg=", + "avatar_url": "https://avatars.githubusercontent.com/u/6752317?v=3", + "gravatar_id": "", + "url": "https://api.github.com/users/baxterthehacker", + "html_url": "https://github.com/baxterthehacker", + "followers_url": "https://api.github.com/users/baxterthehacker/followers", + "following_url": "https://api.github.com/users/baxterthehacker/following{/other_user}", + "gists_url": "https://api.github.com/users/baxterthehacker/gists{/gist_id}", + "starred_url": "https://api.github.com/users/baxterthehacker/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/baxterthehacker/subscriptions", + "organizations_url": "https://api.github.com/users/baxterthehacker/orgs", + "repos_url": "https://api.github.com/users/baxterthehacker/repos", + "events_url": "https://api.github.com/users/baxterthehacker/events{/privacy}", + "received_events_url": "https://api.github.com/users/baxterthehacker/received_events", + "type": "User", + "site_admin": false + } +}
fixtures/issues-event.json view
@@ -1,162 +1,162 @@-{- "action": "opened",- "issue": {- "url": "https://api.github.com/repos/baxterthehacker/public-repo/issues/2",- "labels_url": "https://api.github.com/repos/baxterthehacker/public-repo/issues/2/labels{/name}",- "comments_url": "https://api.github.com/repos/baxterthehacker/public-repo/issues/2/comments",- "events_url": "https://api.github.com/repos/baxterthehacker/public-repo/issues/2/events",- "html_url": "https://github.com/baxterthehacker/public-repo/issues/2",- "id": 73464126,- "node_id": "MDg6Q2hlY2tSdW4xMjg2MjAyMjg=",- "number": 2,- "title": "Spelling error in the README file",- "user": {- "login": "baxterthehacker",- "id": 6752317,- "node_id": "MDg6Q2hlY2tSdW4xMjg2MjAyMjg=",- "avatar_url": "https://avatars.githubusercontent.com/u/6752317?v=3",- "gravatar_id": "",- "url": "https://api.github.com/users/baxterthehacker",- "html_url": "https://github.com/baxterthehacker",- "followers_url": "https://api.github.com/users/baxterthehacker/followers",- "following_url": "https://api.github.com/users/baxterthehacker/following{/other_user}",- "gists_url": "https://api.github.com/users/baxterthehacker/gists{/gist_id}",- "starred_url": "https://api.github.com/users/baxterthehacker/starred{/owner}{/repo}",- "subscriptions_url": "https://api.github.com/users/baxterthehacker/subscriptions",- "organizations_url": "https://api.github.com/users/baxterthehacker/orgs",- "repos_url": "https://api.github.com/users/baxterthehacker/repos",- "events_url": "https://api.github.com/users/baxterthehacker/events{/privacy}",- "received_events_url": "https://api.github.com/users/baxterthehacker/received_events",- "type": "User",- "site_admin": false- },- "labels": [- {- "id": 208045946,- "node_id": "MDg6Q2hlY2tSdW4xMjg2MjAyMjg=",- "url": "https://api.github.com/repos/baxterthehacker/public-repo/labels/bug",- "name": "bug",- "color": "fc2929",- "default": true- }- ],- "state": "open",- "locked": false,- "assignee": null,- "milestone": null,- "comments": 0,- "created_at": "2015-05-05T23:40:28Z",- "updated_at": "2015-05-05T23:40:28Z",- "closed_at": null,- "body": "It looks like you accidently spelled 'commit' with two 't's."- },- "repository": {- "id": 35129377,- "node_id": "MDg6Q2hlY2tSdW4xMjg2MjAyMjg=",- "name": "public-repo",- "full_name": "baxterthehacker/public-repo",- "owner": {- "login": "baxterthehacker",- "id": 6752317,- "node_id": "MDg6Q2hlY2tSdW4xMjg2MjAyMjg=",- "avatar_url": "https://avatars.githubusercontent.com/u/6752317?v=3",- "gravatar_id": "",- "url": "https://api.github.com/users/baxterthehacker",- "html_url": "https://github.com/baxterthehacker",- "followers_url": "https://api.github.com/users/baxterthehacker/followers",- "following_url": "https://api.github.com/users/baxterthehacker/following{/other_user}",- "gists_url": "https://api.github.com/users/baxterthehacker/gists{/gist_id}",- "starred_url": "https://api.github.com/users/baxterthehacker/starred{/owner}{/repo}",- "subscriptions_url": "https://api.github.com/users/baxterthehacker/subscriptions",- "organizations_url": "https://api.github.com/users/baxterthehacker/orgs",- "repos_url": "https://api.github.com/users/baxterthehacker/repos",- "events_url": "https://api.github.com/users/baxterthehacker/events{/privacy}",- "received_events_url": "https://api.github.com/users/baxterthehacker/received_events",- "type": "User",- "site_admin": false- },- "private": false,- "html_url": "https://github.com/baxterthehacker/public-repo",- "description": "",- "fork": false,- "url": "https://api.github.com/repos/baxterthehacker/public-repo",- "forks_url": "https://api.github.com/repos/baxterthehacker/public-repo/forks",- "keys_url": "https://api.github.com/repos/baxterthehacker/public-repo/keys{/key_id}",- "collaborators_url": "https://api.github.com/repos/baxterthehacker/public-repo/collaborators{/collaborator}",- "teams_url": "https://api.github.com/repos/baxterthehacker/public-repo/teams",- "hooks_url": "https://api.github.com/repos/baxterthehacker/public-repo/hooks",- "issue_events_url": "https://api.github.com/repos/baxterthehacker/public-repo/issues/events{/number}",- "events_url": "https://api.github.com/repos/baxterthehacker/public-repo/events",- "assignees_url": "https://api.github.com/repos/baxterthehacker/public-repo/assignees{/user}",- "branches_url": "https://api.github.com/repos/baxterthehacker/public-repo/branches{/branch}",- "tags_url": "https://api.github.com/repos/baxterthehacker/public-repo/tags",- "blobs_url": "https://api.github.com/repos/baxterthehacker/public-repo/git/blobs{/sha}",- "git_tags_url": "https://api.github.com/repos/baxterthehacker/public-repo/git/tags{/sha}",- "git_refs_url": "https://api.github.com/repos/baxterthehacker/public-repo/git/refs{/sha}",- "trees_url": "https://api.github.com/repos/baxterthehacker/public-repo/git/trees{/sha}",- "statuses_url": "https://api.github.com/repos/baxterthehacker/public-repo/statuses/{sha}",- "languages_url": "https://api.github.com/repos/baxterthehacker/public-repo/languages",- "stargazers_url": "https://api.github.com/repos/baxterthehacker/public-repo/stargazers",- "contributors_url": "https://api.github.com/repos/baxterthehacker/public-repo/contributors",- "subscribers_url": "https://api.github.com/repos/baxterthehacker/public-repo/subscribers",- "subscription_url": "https://api.github.com/repos/baxterthehacker/public-repo/subscription",- "commits_url": "https://api.github.com/repos/baxterthehacker/public-repo/commits{/sha}",- "git_commits_url": "https://api.github.com/repos/baxterthehacker/public-repo/git/commits{/sha}",- "comments_url": "https://api.github.com/repos/baxterthehacker/public-repo/comments{/number}",- "issue_comment_url": "https://api.github.com/repos/baxterthehacker/public-repo/issues/comments{/number}",- "contents_url": "https://api.github.com/repos/baxterthehacker/public-repo/contents/{+path}",- "compare_url": "https://api.github.com/repos/baxterthehacker/public-repo/compare/{base}...{head}",- "merges_url": "https://api.github.com/repos/baxterthehacker/public-repo/merges",- "archive_url": "https://api.github.com/repos/baxterthehacker/public-repo/{archive_format}{/ref}",- "downloads_url": "https://api.github.com/repos/baxterthehacker/public-repo/downloads",- "issues_url": "https://api.github.com/repos/baxterthehacker/public-repo/issues{/number}",- "pulls_url": "https://api.github.com/repos/baxterthehacker/public-repo/pulls{/number}",- "milestones_url": "https://api.github.com/repos/baxterthehacker/public-repo/milestones{/number}",- "notifications_url": "https://api.github.com/repos/baxterthehacker/public-repo/notifications{?since,all,participating}",- "labels_url": "https://api.github.com/repos/baxterthehacker/public-repo/labels{/name}",- "releases_url": "https://api.github.com/repos/baxterthehacker/public-repo/releases{/id}",- "created_at": "2015-05-05T23:40:12Z",- "updated_at": "2015-05-05T23:40:12Z",- "pushed_at": "2015-05-05T23:40:27Z",- "git_url": "git://github.com/baxterthehacker/public-repo.git",- "ssh_url": "git@github.com:baxterthehacker/public-repo.git",- "clone_url": "https://github.com/baxterthehacker/public-repo.git",- "svn_url": "https://github.com/baxterthehacker/public-repo",- "homepage": null,- "size": 0,- "stargazers_count": 0,- "watchers_count": 0,- "language": null,- "has_issues": true,- "has_downloads": true,- "has_wiki": true,- "has_pages": true,- "forks_count": 0,- "mirror_url": null,- "open_issues_count": 2,- "forks": 0,- "open_issues": 2,- "watchers": 0,- "default_branch": "master"- },- "sender": {- "login": "baxterthehacker",- "id": 6752317,- "node_id": "MDg6Q2hlY2tSdW4xMjg2MjAyMjg=",- "avatar_url": "https://avatars.githubusercontent.com/u/6752317?v=3",- "gravatar_id": "",- "url": "https://api.github.com/users/baxterthehacker",- "html_url": "https://github.com/baxterthehacker",- "followers_url": "https://api.github.com/users/baxterthehacker/followers",- "following_url": "https://api.github.com/users/baxterthehacker/following{/other_user}",- "gists_url": "https://api.github.com/users/baxterthehacker/gists{/gist_id}",- "starred_url": "https://api.github.com/users/baxterthehacker/starred{/owner}{/repo}",- "subscriptions_url": "https://api.github.com/users/baxterthehacker/subscriptions",- "organizations_url": "https://api.github.com/users/baxterthehacker/orgs",- "repos_url": "https://api.github.com/users/baxterthehacker/repos",- "events_url": "https://api.github.com/users/baxterthehacker/events{/privacy}",- "received_events_url": "https://api.github.com/users/baxterthehacker/received_events",- "type": "User",- "site_admin": false- }-}+{ + "action": "opened", + "issue": { + "url": "https://api.github.com/repos/baxterthehacker/public-repo/issues/2", + "labels_url": "https://api.github.com/repos/baxterthehacker/public-repo/issues/2/labels{/name}", + "comments_url": "https://api.github.com/repos/baxterthehacker/public-repo/issues/2/comments", + "events_url": "https://api.github.com/repos/baxterthehacker/public-repo/issues/2/events", + "html_url": "https://github.com/baxterthehacker/public-repo/issues/2", + "id": 73464126, + "node_id": "MDg6Q2hlY2tSdW4xMjg2MjAyMjg=", + "number": 2, + "title": "Spelling error in the README file", + "user": { + "login": "baxterthehacker", + "id": 6752317, + "node_id": "MDg6Q2hlY2tSdW4xMjg2MjAyMjg=", + "avatar_url": "https://avatars.githubusercontent.com/u/6752317?v=3", + "gravatar_id": "", + "url": "https://api.github.com/users/baxterthehacker", + "html_url": "https://github.com/baxterthehacker", + "followers_url": "https://api.github.com/users/baxterthehacker/followers", + "following_url": "https://api.github.com/users/baxterthehacker/following{/other_user}", + "gists_url": "https://api.github.com/users/baxterthehacker/gists{/gist_id}", + "starred_url": "https://api.github.com/users/baxterthehacker/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/baxterthehacker/subscriptions", + "organizations_url": "https://api.github.com/users/baxterthehacker/orgs", + "repos_url": "https://api.github.com/users/baxterthehacker/repos", + "events_url": "https://api.github.com/users/baxterthehacker/events{/privacy}", + "received_events_url": "https://api.github.com/users/baxterthehacker/received_events", + "type": "User", + "site_admin": false + }, + "labels": [ + { + "id": 208045946, + "node_id": "MDg6Q2hlY2tSdW4xMjg2MjAyMjg=", + "url": "https://api.github.com/repos/baxterthehacker/public-repo/labels/bug", + "name": "bug", + "color": "fc2929", + "default": true + } + ], + "state": "open", + "locked": false, + "assignee": null, + "milestone": null, + "comments": 0, + "created_at": "2015-05-05T23:40:28Z", + "updated_at": "2015-05-05T23:40:28Z", + "closed_at": null, + "body": "It looks like you accidently spelled 'commit' with two 't's." + }, + "repository": { + "id": 35129377, + "node_id": "MDg6Q2hlY2tSdW4xMjg2MjAyMjg=", + "name": "public-repo", + "full_name": "baxterthehacker/public-repo", + "owner": { + "login": "baxterthehacker", + "id": 6752317, + "node_id": "MDg6Q2hlY2tSdW4xMjg2MjAyMjg=", + "avatar_url": "https://avatars.githubusercontent.com/u/6752317?v=3", + "gravatar_id": "", + "url": "https://api.github.com/users/baxterthehacker", + "html_url": "https://github.com/baxterthehacker", + "followers_url": "https://api.github.com/users/baxterthehacker/followers", + "following_url": "https://api.github.com/users/baxterthehacker/following{/other_user}", + "gists_url": "https://api.github.com/users/baxterthehacker/gists{/gist_id}", + "starred_url": "https://api.github.com/users/baxterthehacker/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/baxterthehacker/subscriptions", + "organizations_url": "https://api.github.com/users/baxterthehacker/orgs", + "repos_url": "https://api.github.com/users/baxterthehacker/repos", + "events_url": "https://api.github.com/users/baxterthehacker/events{/privacy}", + "received_events_url": "https://api.github.com/users/baxterthehacker/received_events", + "type": "User", + "site_admin": false + }, + "private": false, + "html_url": "https://github.com/baxterthehacker/public-repo", + "description": "", + "fork": false, + "url": "https://api.github.com/repos/baxterthehacker/public-repo", + "forks_url": "https://api.github.com/repos/baxterthehacker/public-repo/forks", + "keys_url": "https://api.github.com/repos/baxterthehacker/public-repo/keys{/key_id}", + "collaborators_url": "https://api.github.com/repos/baxterthehacker/public-repo/collaborators{/collaborator}", + "teams_url": "https://api.github.com/repos/baxterthehacker/public-repo/teams", + "hooks_url": "https://api.github.com/repos/baxterthehacker/public-repo/hooks", + "issue_events_url": "https://api.github.com/repos/baxterthehacker/public-repo/issues/events{/number}", + "events_url": "https://api.github.com/repos/baxterthehacker/public-repo/events", + "assignees_url": "https://api.github.com/repos/baxterthehacker/public-repo/assignees{/user}", + "branches_url": "https://api.github.com/repos/baxterthehacker/public-repo/branches{/branch}", + "tags_url": "https://api.github.com/repos/baxterthehacker/public-repo/tags", + "blobs_url": "https://api.github.com/repos/baxterthehacker/public-repo/git/blobs{/sha}", + "git_tags_url": "https://api.github.com/repos/baxterthehacker/public-repo/git/tags{/sha}", + "git_refs_url": "https://api.github.com/repos/baxterthehacker/public-repo/git/refs{/sha}", + "trees_url": "https://api.github.com/repos/baxterthehacker/public-repo/git/trees{/sha}", + "statuses_url": "https://api.github.com/repos/baxterthehacker/public-repo/statuses/{sha}", + "languages_url": "https://api.github.com/repos/baxterthehacker/public-repo/languages", + "stargazers_url": "https://api.github.com/repos/baxterthehacker/public-repo/stargazers", + "contributors_url": "https://api.github.com/repos/baxterthehacker/public-repo/contributors", + "subscribers_url": "https://api.github.com/repos/baxterthehacker/public-repo/subscribers", + "subscription_url": "https://api.github.com/repos/baxterthehacker/public-repo/subscription", + "commits_url": "https://api.github.com/repos/baxterthehacker/public-repo/commits{/sha}", + "git_commits_url": "https://api.github.com/repos/baxterthehacker/public-repo/git/commits{/sha}", + "comments_url": "https://api.github.com/repos/baxterthehacker/public-repo/comments{/number}", + "issue_comment_url": "https://api.github.com/repos/baxterthehacker/public-repo/issues/comments{/number}", + "contents_url": "https://api.github.com/repos/baxterthehacker/public-repo/contents/{+path}", + "compare_url": "https://api.github.com/repos/baxterthehacker/public-repo/compare/{base}...{head}", + "merges_url": "https://api.github.com/repos/baxterthehacker/public-repo/merges", + "archive_url": "https://api.github.com/repos/baxterthehacker/public-repo/{archive_format}{/ref}", + "downloads_url": "https://api.github.com/repos/baxterthehacker/public-repo/downloads", + "issues_url": "https://api.github.com/repos/baxterthehacker/public-repo/issues{/number}", + "pulls_url": "https://api.github.com/repos/baxterthehacker/public-repo/pulls{/number}", + "milestones_url": "https://api.github.com/repos/baxterthehacker/public-repo/milestones{/number}", + "notifications_url": "https://api.github.com/repos/baxterthehacker/public-repo/notifications{?since,all,participating}", + "labels_url": "https://api.github.com/repos/baxterthehacker/public-repo/labels{/name}", + "releases_url": "https://api.github.com/repos/baxterthehacker/public-repo/releases{/id}", + "created_at": "2015-05-05T23:40:12Z", + "updated_at": "2015-05-05T23:40:12Z", + "pushed_at": "2015-05-05T23:40:27Z", + "git_url": "git://github.com/baxterthehacker/public-repo.git", + "ssh_url": "git@github.com:baxterthehacker/public-repo.git", + "clone_url": "https://github.com/baxterthehacker/public-repo.git", + "svn_url": "https://github.com/baxterthehacker/public-repo", + "homepage": null, + "size": 0, + "stargazers_count": 0, + "watchers_count": 0, + "language": null, + "has_issues": true, + "has_downloads": true, + "has_wiki": true, + "has_pages": true, + "forks_count": 0, + "mirror_url": null, + "open_issues_count": 2, + "forks": 0, + "open_issues": 2, + "watchers": 0, + "default_branch": "master" + }, + "sender": { + "login": "baxterthehacker", + "id": 6752317, + "node_id": "MDg6Q2hlY2tSdW4xMjg2MjAyMjg=", + "avatar_url": "https://avatars.githubusercontent.com/u/6752317?v=3", + "gravatar_id": "", + "url": "https://api.github.com/users/baxterthehacker", + "html_url": "https://github.com/baxterthehacker", + "followers_url": "https://api.github.com/users/baxterthehacker/followers", + "following_url": "https://api.github.com/users/baxterthehacker/following{/other_user}", + "gists_url": "https://api.github.com/users/baxterthehacker/gists{/gist_id}", + "starred_url": "https://api.github.com/users/baxterthehacker/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/baxterthehacker/subscriptions", + "organizations_url": "https://api.github.com/users/baxterthehacker/orgs", + "repos_url": "https://api.github.com/users/baxterthehacker/repos", + "events_url": "https://api.github.com/users/baxterthehacker/events{/privacy}", + "received_events_url": "https://api.github.com/users/baxterthehacker/received_events", + "type": "User", + "site_admin": false + } +}
fixtures/label-event.json view
@@ -1,133 +1,133 @@-{- "action":"created",- "label":{- "node_id": "MDg6Q2hlY2tSdW4xMjg2MjAyMjg=",- "url":"https://api.github.com/repos/baxterandthehackers/public-repo/labels/blocked",- "name":"blocked",- "color":"ff0000"- },- "repository":{- "id":67075329,- "node_id": "MDg6Q2hlY2tSdW4xMjg2MjAyMjg=",- "name":"public-repo",- "full_name":"baxterandthehackers/public-repo",- "owner":{- "login":"baxterandthehackers",- "id":4312013,- "node_id": "MDg6Q2hlY2tSdW4xMjg2MjAyMjg=",- "avatar_url":"https://avatars.githubusercontent.com/u/4312013?v=3",- "gravatar_id":"",- "url":"https://api.github.com/users/baxterandthehackers",- "html_url":"https://github.com/baxterandthehackers",- "followers_url":"https://api.github.com/users/baxterandthehackers/followers",- "following_url":"https://api.github.com/users/baxterandthehackers/following{/other_user}",- "gists_url":"https://api.github.com/users/baxterandthehackers/gists{/gist_id}",- "starred_url":"https://api.github.com/users/baxterandthehackers/starred{/owner}{/repo}",- "subscriptions_url":"https://api.github.com/users/baxterandthehackers/subscriptions",- "organizations_url":"https://api.github.com/users/baxterandthehackers/orgs",- "repos_url":"https://api.github.com/users/baxterandthehackers/repos",- "events_url":"https://api.github.com/users/baxterandthehackers/events{/privacy}",- "received_events_url":"https://api.github.com/users/baxterandthehackers/received_events",- "type":"Organization",- "site_admin":false- },- "private":true,- "html_url":"https://github.com/baxterandthehackers/public-repo",- "description":null,- "fork":false,- "url":"https://api.github.com/repos/baxterandthehackers/public-repo",- "forks_url":"https://api.github.com/repos/baxterandthehackers/public-repo/forks",- "keys_url":"https://api.github.com/repos/baxterandthehackers/public-repo/keys{/key_id}",- "collaborators_url":"https://api.github.com/repos/baxterandthehackers/public-repo/collaborators{/collaborator}",- "teams_url":"https://api.github.com/repos/baxterandthehackers/public-repo/teams",- "hooks_url":"https://api.github.com/repos/baxterandthehackers/public-repo/hooks",- "issue_events_url":"https://api.github.com/repos/baxterandthehackers/public-repo/issues/events{/number}",- "events_url":"https://api.github.com/repos/baxterandthehackers/public-repo/events",- "assignees_url":"https://api.github.com/repos/baxterandthehackers/public-repo/assignees{/user}",- "branches_url":"https://api.github.com/repos/baxterandthehackers/public-repo/branches{/branch}",- "tags_url":"https://api.github.com/repos/baxterandthehackers/public-repo/tags",- "blobs_url":"https://api.github.com/repos/baxterandthehackers/public-repo/git/blobs{/sha}",- "git_tags_url":"https://api.github.com/repos/baxterandthehackers/public-repo/git/tags{/sha}",- "git_refs_url":"https://api.github.com/repos/baxterandthehackers/public-repo/git/refs{/sha}",- "trees_url":"https://api.github.com/repos/baxterandthehackers/public-repo/git/trees{/sha}",- "statuses_url":"https://api.github.com/repos/baxterandthehackers/public-repo/statuses/{sha}",- "languages_url":"https://api.github.com/repos/baxterandthehackers/public-repo/languages",- "stargazers_url":"https://api.github.com/repos/baxterandthehackers/public-repo/stargazers",- "contributors_url":"https://api.github.com/repos/baxterandthehackers/public-repo/contributors",- "subscribers_url":"https://api.github.com/repos/baxterandthehackers/public-repo/subscribers",- "subscription_url":"https://api.github.com/repos/baxterandthehackers/public-repo/subscription",- "commits_url":"https://api.github.com/repos/baxterandthehackers/public-repo/commits{/sha}",- "git_commits_url":"https://api.github.com/repos/baxterandthehackers/public-repo/git/commits{/sha}",- "comments_url":"https://api.github.com/repos/baxterandthehackers/public-repo/comments{/number}",- "issue_comment_url":"https://api.github.com/repos/baxterandthehackers/public-repo/issues/comments{/number}",- "contents_url":"https://api.github.com/repos/baxterandthehackers/public-repo/contents/{+path}",- "compare_url":"https://api.github.com/repos/baxterandthehackers/public-repo/compare/{base}...{head}",- "merges_url":"https://api.github.com/repos/baxterandthehackers/public-repo/merges",- "archive_url":"https://api.github.com/repos/baxterandthehackers/public-repo/{archive_format}{/ref}",- "downloads_url":"https://api.github.com/repos/baxterandthehackers/public-repo/downloads",- "issues_url":"https://api.github.com/repos/baxterandthehackers/public-repo/issues{/number}",- "pulls_url":"https://api.github.com/repos/baxterandthehackers/public-repo/pulls{/number}",- "milestones_url":"https://api.github.com/repos/baxterandthehackers/public-repo/milestones{/number}",- "notifications_url":"https://api.github.com/repos/baxterandthehackers/public-repo/notifications{?since,all,participating}",- "labels_url":"https://api.github.com/repos/baxterandthehackers/public-repo/labels{/name}",- "releases_url":"https://api.github.com/repos/baxterandthehackers/public-repo/releases{/id}",- "deployments_url":"https://api.github.com/repos/baxterandthehackers/public-repo/deployments",- "created_at":"2016-08-31T21:38:51Z",- "updated_at":"2016-08-31T21:38:51Z",- "pushed_at":"2016-08-31T21:38:51Z",- "git_url":"git://github.com/baxterandthehackers/public-repo.git",- "ssh_url":"git@github.com:baxterandthehackers/public-repo.git",- "clone_url":"https://github.com/baxterandthehackers/public-repo.git",- "svn_url":"https://github.com/baxterandthehackers/public-repo",- "homepage":null,- "size":0,- "stargazers_count":0,- "watchers_count":0,- "language":null,- "has_issues":true,- "has_downloads":true,- "has_wiki":true,- "has_pages":false,- "forks_count":0,- "mirror_url":null,- "open_issues_count":2,- "forks":0,- "open_issues":2,- "watchers":0,- "default_branch":"master"- },- "organization":{- "login":"baxterandthehackers",- "id":4312013,- "node_id": "MDg6Q2hlY2tSdW4xMjg2MjAyMjg=",- "url":"https://api.github.com/orgs/baxterandthehackers",- "repos_url":"https://api.github.com/orgs/baxterandthehackers/repos",- "events_url":"https://api.github.com/orgs/baxterandthehackers/events",- "hooks_url":"https://api.github.com/orgs/baxterandthehackers/hooks",- "issues_url":"https://api.github.com/orgs/baxterandthehackers/issues",- "members_url":"https://api.github.com/orgs/baxterandthehackers/members{/member}",- "public_members_url":"https://api.github.com/orgs/baxterandthehackers/public_members{/member}",- "avatar_url":"https://avatars.githubusercontent.com/u/4312013?v=3",- "description":""- },- "sender":{- "login":"baxterthehacker",- "id":7649605,- "node_id": "MDg6Q2hlY2tSdW4xMjg2MjAyMjg=",- "avatar_url":"https://avatars.githubusercontent.com/u/7649605?v=3",- "gravatar_id":"",- "url":"https://api.github.com/users/baxterthehacker",- "html_url":"https://github.com/baxterthehacker",- "followers_url":"https://api.github.com/users/baxterthehacker/followers",- "following_url":"https://api.github.com/users/baxterthehacker/following{/other_user}",- "gists_url":"https://api.github.com/users/baxterthehacker/gists{/gist_id}",- "starred_url":"https://api.github.com/users/baxterthehacker/starred{/owner}{/repo}",- "subscriptions_url":"https://api.github.com/users/baxterthehacker/subscriptions",- "organizations_url":"https://api.github.com/users/baxterthehacker/orgs",- "repos_url":"https://api.github.com/users/baxterthehacker/repos",- "events_url":"https://api.github.com/users/baxterthehacker/events{/privacy}",- "received_events_url":"https://api.github.com/users/baxterthehacker/received_events",- "type":"User",- "site_admin":true- }-}+{ + "action":"created", + "label":{ + "node_id": "MDg6Q2hlY2tSdW4xMjg2MjAyMjg=", + "url":"https://api.github.com/repos/baxterandthehackers/public-repo/labels/blocked", + "name":"blocked", + "color":"ff0000" + }, + "repository":{ + "id":67075329, + "node_id": "MDg6Q2hlY2tSdW4xMjg2MjAyMjg=", + "name":"public-repo", + "full_name":"baxterandthehackers/public-repo", + "owner":{ + "login":"baxterandthehackers", + "id":4312013, + "node_id": "MDg6Q2hlY2tSdW4xMjg2MjAyMjg=", + "avatar_url":"https://avatars.githubusercontent.com/u/4312013?v=3", + "gravatar_id":"", + "url":"https://api.github.com/users/baxterandthehackers", + "html_url":"https://github.com/baxterandthehackers", + "followers_url":"https://api.github.com/users/baxterandthehackers/followers", + "following_url":"https://api.github.com/users/baxterandthehackers/following{/other_user}", + "gists_url":"https://api.github.com/users/baxterandthehackers/gists{/gist_id}", + "starred_url":"https://api.github.com/users/baxterandthehackers/starred{/owner}{/repo}", + "subscriptions_url":"https://api.github.com/users/baxterandthehackers/subscriptions", + "organizations_url":"https://api.github.com/users/baxterandthehackers/orgs", + "repos_url":"https://api.github.com/users/baxterandthehackers/repos", + "events_url":"https://api.github.com/users/baxterandthehackers/events{/privacy}", + "received_events_url":"https://api.github.com/users/baxterandthehackers/received_events", + "type":"Organization", + "site_admin":false + }, + "private":true, + "html_url":"https://github.com/baxterandthehackers/public-repo", + "description":null, + "fork":false, + "url":"https://api.github.com/repos/baxterandthehackers/public-repo", + "forks_url":"https://api.github.com/repos/baxterandthehackers/public-repo/forks", + "keys_url":"https://api.github.com/repos/baxterandthehackers/public-repo/keys{/key_id}", + "collaborators_url":"https://api.github.com/repos/baxterandthehackers/public-repo/collaborators{/collaborator}", + "teams_url":"https://api.github.com/repos/baxterandthehackers/public-repo/teams", + "hooks_url":"https://api.github.com/repos/baxterandthehackers/public-repo/hooks", + "issue_events_url":"https://api.github.com/repos/baxterandthehackers/public-repo/issues/events{/number}", + "events_url":"https://api.github.com/repos/baxterandthehackers/public-repo/events", + "assignees_url":"https://api.github.com/repos/baxterandthehackers/public-repo/assignees{/user}", + "branches_url":"https://api.github.com/repos/baxterandthehackers/public-repo/branches{/branch}", + "tags_url":"https://api.github.com/repos/baxterandthehackers/public-repo/tags", + "blobs_url":"https://api.github.com/repos/baxterandthehackers/public-repo/git/blobs{/sha}", + "git_tags_url":"https://api.github.com/repos/baxterandthehackers/public-repo/git/tags{/sha}", + "git_refs_url":"https://api.github.com/repos/baxterandthehackers/public-repo/git/refs{/sha}", + "trees_url":"https://api.github.com/repos/baxterandthehackers/public-repo/git/trees{/sha}", + "statuses_url":"https://api.github.com/repos/baxterandthehackers/public-repo/statuses/{sha}", + "languages_url":"https://api.github.com/repos/baxterandthehackers/public-repo/languages", + "stargazers_url":"https://api.github.com/repos/baxterandthehackers/public-repo/stargazers", + "contributors_url":"https://api.github.com/repos/baxterandthehackers/public-repo/contributors", + "subscribers_url":"https://api.github.com/repos/baxterandthehackers/public-repo/subscribers", + "subscription_url":"https://api.github.com/repos/baxterandthehackers/public-repo/subscription", + "commits_url":"https://api.github.com/repos/baxterandthehackers/public-repo/commits{/sha}", + "git_commits_url":"https://api.github.com/repos/baxterandthehackers/public-repo/git/commits{/sha}", + "comments_url":"https://api.github.com/repos/baxterandthehackers/public-repo/comments{/number}", + "issue_comment_url":"https://api.github.com/repos/baxterandthehackers/public-repo/issues/comments{/number}", + "contents_url":"https://api.github.com/repos/baxterandthehackers/public-repo/contents/{+path}", + "compare_url":"https://api.github.com/repos/baxterandthehackers/public-repo/compare/{base}...{head}", + "merges_url":"https://api.github.com/repos/baxterandthehackers/public-repo/merges", + "archive_url":"https://api.github.com/repos/baxterandthehackers/public-repo/{archive_format}{/ref}", + "downloads_url":"https://api.github.com/repos/baxterandthehackers/public-repo/downloads", + "issues_url":"https://api.github.com/repos/baxterandthehackers/public-repo/issues{/number}", + "pulls_url":"https://api.github.com/repos/baxterandthehackers/public-repo/pulls{/number}", + "milestones_url":"https://api.github.com/repos/baxterandthehackers/public-repo/milestones{/number}", + "notifications_url":"https://api.github.com/repos/baxterandthehackers/public-repo/notifications{?since,all,participating}", + "labels_url":"https://api.github.com/repos/baxterandthehackers/public-repo/labels{/name}", + "releases_url":"https://api.github.com/repos/baxterandthehackers/public-repo/releases{/id}", + "deployments_url":"https://api.github.com/repos/baxterandthehackers/public-repo/deployments", + "created_at":"2016-08-31T21:38:51Z", + "updated_at":"2016-08-31T21:38:51Z", + "pushed_at":"2016-08-31T21:38:51Z", + "git_url":"git://github.com/baxterandthehackers/public-repo.git", + "ssh_url":"git@github.com:baxterandthehackers/public-repo.git", + "clone_url":"https://github.com/baxterandthehackers/public-repo.git", + "svn_url":"https://github.com/baxterandthehackers/public-repo", + "homepage":null, + "size":0, + "stargazers_count":0, + "watchers_count":0, + "language":null, + "has_issues":true, + "has_downloads":true, + "has_wiki":true, + "has_pages":false, + "forks_count":0, + "mirror_url":null, + "open_issues_count":2, + "forks":0, + "open_issues":2, + "watchers":0, + "default_branch":"master" + }, + "organization":{ + "login":"baxterandthehackers", + "id":4312013, + "node_id": "MDg6Q2hlY2tSdW4xMjg2MjAyMjg=", + "url":"https://api.github.com/orgs/baxterandthehackers", + "repos_url":"https://api.github.com/orgs/baxterandthehackers/repos", + "events_url":"https://api.github.com/orgs/baxterandthehackers/events", + "hooks_url":"https://api.github.com/orgs/baxterandthehackers/hooks", + "issues_url":"https://api.github.com/orgs/baxterandthehackers/issues", + "members_url":"https://api.github.com/orgs/baxterandthehackers/members{/member}", + "public_members_url":"https://api.github.com/orgs/baxterandthehackers/public_members{/member}", + "avatar_url":"https://avatars.githubusercontent.com/u/4312013?v=3", + "description":"" + }, + "sender":{ + "login":"baxterthehacker", + "id":7649605, + "node_id": "MDg6Q2hlY2tSdW4xMjg2MjAyMjg=", + "avatar_url":"https://avatars.githubusercontent.com/u/7649605?v=3", + "gravatar_id":"", + "url":"https://api.github.com/users/baxterthehacker", + "html_url":"https://github.com/baxterthehacker", + "followers_url":"https://api.github.com/users/baxterthehacker/followers", + "following_url":"https://api.github.com/users/baxterthehacker/following{/other_user}", + "gists_url":"https://api.github.com/users/baxterthehacker/gists{/gist_id}", + "starred_url":"https://api.github.com/users/baxterthehacker/starred{/owner}{/repo}", + "subscriptions_url":"https://api.github.com/users/baxterthehacker/subscriptions", + "organizations_url":"https://api.github.com/users/baxterthehacker/orgs", + "repos_url":"https://api.github.com/users/baxterthehacker/repos", + "events_url":"https://api.github.com/users/baxterthehacker/events{/privacy}", + "received_events_url":"https://api.github.com/users/baxterthehacker/received_events", + "type":"User", + "site_admin":true + } +}
+ fixtures/marketplace-purchase-event.json view
@@ -0,0 +1,80 @@+{ + "action": "changed", + "effective_date": "2017-10-25T00:00:00+00:00", + "sender": { + "login": "username", + "id": 3877742, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjE=", + "avatar_url": "https://avatars2.githubusercontent.com/u/3877742?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/username", + "html_url": "https://github.com/username", + "followers_url": "https://api.github.com/users/username/followers", + "following_url": "https://api.github.com/users/username/following{/other_user}", + "gists_url": "https://api.github.com/users/username/gists{/gist_id}", + "starred_url": "https://api.github.com/users/username/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/username/subscriptions", + "organizations_url": "https://api.github.com/users/username/orgs", + "repos_url": "https://api.github.com/users/username/repos", + "events_url": "https://api.github.com/users/username/events{/privacy}", + "received_events_url": "https://api.github.com/users/username/received_events", + "type": "User", + "site_admin": true, + "email": "username@email.com" + }, + "marketplace_purchase": { + "account": { + "type": "Organization", + "id": 18404719, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjE=", + "login": "username", + "organization_billing_email": "username@email.com" + }, + "billing_cycle": "monthly", + "unit_count": 10, + "on_free_trial": false, + "free_trial_ends_on": null, + "next_billing_date": "2017-11-05T00:00:00+00:00", + "plan": { + "id": 435, + "name": "Basic Plan", + "description": "Basic Plan", + "monthly_price_in_cents": 1000, + "yearly_price_in_cents": 10000, + "price_model": "per-unit", + "has_free_trial": true, + "unit_name": "seat", + "bullets": [ + "Is Basic", + "Because Basic " + ] + } + }, + "previous_marketplace_purchase": { + "account": { + "type": "Organization", + "id": 18404719, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjE=", + "login": "username", + "organization_billing_email": "username@email.com" + }, + "billing_cycle": "monthly", + "on_free_trial": false, + "free_trial_ends_on": null, + "unit_count": 1, + "plan": { + "id": 435, + "name": "Basic Plan", + "description": "Basic Plan", + "monthly_price_in_cents": 1000, + "yearly_price_in_cents": 10000, + "price_model": "per-unit", + "has_free_trial": true, + "unit_name": "seat", + "bullets": [ + "Is Basic", + "Because Basic " + ] + } + } +}
fixtures/member-event.json view
@@ -1,132 +1,132 @@-{- "action": "added",- "member": {- "login": "octocat",- "id": 583231,- "node_id": "MDg6Q2hlY2tSdW4xMjg2MjAyMjg=",- "avatar_url": "https://avatars.githubusercontent.com/u/583231?v=3",- "gravatar_id": "",- "url": "https://api.github.com/users/octocat",- "html_url": "https://github.com/octocat",- "followers_url": "https://api.github.com/users/octocat/followers",- "following_url": "https://api.github.com/users/octocat/following{/other_user}",- "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}",- "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}",- "subscriptions_url": "https://api.github.com/users/octocat/subscriptions",- "organizations_url": "https://api.github.com/users/octocat/orgs",- "repos_url": "https://api.github.com/users/octocat/repos",- "events_url": "https://api.github.com/users/octocat/events{/privacy}",- "received_events_url": "https://api.github.com/users/octocat/received_events",- "type": "User",- "site_admin": false- },- "repository": {- "id": 35129377,- "node_id": "MDg6Q2hlY2tSdW4xMjg2MjAyMjg=",- "name": "public-repo",- "full_name": "baxterthehacker/public-repo",- "owner": {- "login": "baxterthehacker",- "id": 6752317,- "node_id": "MDg6Q2hlY2tSdW4xMjg2MjAyMjg=",- "avatar_url": "https://avatars.githubusercontent.com/u/6752317?v=3",- "gravatar_id": "",- "url": "https://api.github.com/users/baxterthehacker",- "html_url": "https://github.com/baxterthehacker",- "followers_url": "https://api.github.com/users/baxterthehacker/followers",- "following_url": "https://api.github.com/users/baxterthehacker/following{/other_user}",- "gists_url": "https://api.github.com/users/baxterthehacker/gists{/gist_id}",- "starred_url": "https://api.github.com/users/baxterthehacker/starred{/owner}{/repo}",- "subscriptions_url": "https://api.github.com/users/baxterthehacker/subscriptions",- "organizations_url": "https://api.github.com/users/baxterthehacker/orgs",- "repos_url": "https://api.github.com/users/baxterthehacker/repos",- "events_url": "https://api.github.com/users/baxterthehacker/events{/privacy}",- "received_events_url": "https://api.github.com/users/baxterthehacker/received_events",- "type": "User",- "site_admin": false- },- "private": false,- "html_url": "https://github.com/baxterthehacker/public-repo",- "description": "",- "fork": false,- "url": "https://api.github.com/repos/baxterthehacker/public-repo",- "forks_url": "https://api.github.com/repos/baxterthehacker/public-repo/forks",- "keys_url": "https://api.github.com/repos/baxterthehacker/public-repo/keys{/key_id}",- "collaborators_url": "https://api.github.com/repos/baxterthehacker/public-repo/collaborators{/collaborator}",- "teams_url": "https://api.github.com/repos/baxterthehacker/public-repo/teams",- "hooks_url": "https://api.github.com/repos/baxterthehacker/public-repo/hooks",- "issue_events_url": "https://api.github.com/repos/baxterthehacker/public-repo/issues/events{/number}",- "events_url": "https://api.github.com/repos/baxterthehacker/public-repo/events",- "assignees_url": "https://api.github.com/repos/baxterthehacker/public-repo/assignees{/user}",- "branches_url": "https://api.github.com/repos/baxterthehacker/public-repo/branches{/branch}",- "tags_url": "https://api.github.com/repos/baxterthehacker/public-repo/tags",- "blobs_url": "https://api.github.com/repos/baxterthehacker/public-repo/git/blobs{/sha}",- "git_tags_url": "https://api.github.com/repos/baxterthehacker/public-repo/git/tags{/sha}",- "git_refs_url": "https://api.github.com/repos/baxterthehacker/public-repo/git/refs{/sha}",- "trees_url": "https://api.github.com/repos/baxterthehacker/public-repo/git/trees{/sha}",- "statuses_url": "https://api.github.com/repos/baxterthehacker/public-repo/statuses/{sha}",- "languages_url": "https://api.github.com/repos/baxterthehacker/public-repo/languages",- "stargazers_url": "https://api.github.com/repos/baxterthehacker/public-repo/stargazers",- "contributors_url": "https://api.github.com/repos/baxterthehacker/public-repo/contributors",- "subscribers_url": "https://api.github.com/repos/baxterthehacker/public-repo/subscribers",- "subscription_url": "https://api.github.com/repos/baxterthehacker/public-repo/subscription",- "commits_url": "https://api.github.com/repos/baxterthehacker/public-repo/commits{/sha}",- "git_commits_url": "https://api.github.com/repos/baxterthehacker/public-repo/git/commits{/sha}",- "comments_url": "https://api.github.com/repos/baxterthehacker/public-repo/comments{/number}",- "issue_comment_url": "https://api.github.com/repos/baxterthehacker/public-repo/issues/comments{/number}",- "contents_url": "https://api.github.com/repos/baxterthehacker/public-repo/contents/{+path}",- "compare_url": "https://api.github.com/repos/baxterthehacker/public-repo/compare/{base}...{head}",- "merges_url": "https://api.github.com/repos/baxterthehacker/public-repo/merges",- "archive_url": "https://api.github.com/repos/baxterthehacker/public-repo/{archive_format}{/ref}",- "downloads_url": "https://api.github.com/repos/baxterthehacker/public-repo/downloads",- "issues_url": "https://api.github.com/repos/baxterthehacker/public-repo/issues{/number}",- "pulls_url": "https://api.github.com/repos/baxterthehacker/public-repo/pulls{/number}",- "milestones_url": "https://api.github.com/repos/baxterthehacker/public-repo/milestones{/number}",- "notifications_url": "https://api.github.com/repos/baxterthehacker/public-repo/notifications{?since,all,participating}",- "labels_url": "https://api.github.com/repos/baxterthehacker/public-repo/labels{/name}",- "releases_url": "https://api.github.com/repos/baxterthehacker/public-repo/releases{/id}",- "created_at": "2015-05-05T23:40:12Z",- "updated_at": "2015-05-05T23:40:30Z",- "pushed_at": "2015-05-05T23:40:40Z",- "git_url": "git://github.com/baxterthehacker/public-repo.git",- "ssh_url": "git@github.com:baxterthehacker/public-repo.git",- "clone_url": "https://github.com/baxterthehacker/public-repo.git",- "svn_url": "https://github.com/baxterthehacker/public-repo",- "homepage": null,- "size": 0,- "stargazers_count": 0,- "watchers_count": 0,- "language": null,- "has_issues": true,- "has_downloads": true,- "has_wiki": true,- "has_pages": true,- "forks_count": 0,- "mirror_url": null,- "open_issues_count": 2,- "forks": 0,- "open_issues": 2,- "watchers": 0,- "default_branch": "master"- },- "sender": {- "login": "baxterthehacker",- "id": 6752317,- "node_id": "MDg6Q2hlY2tSdW4xMjg2MjAyMjg=",- "avatar_url": "https://avatars.githubusercontent.com/u/6752317?v=3",- "gravatar_id": "",- "url": "https://api.github.com/users/baxterthehacker",- "html_url": "https://github.com/baxterthehacker",- "followers_url": "https://api.github.com/users/baxterthehacker/followers",- "following_url": "https://api.github.com/users/baxterthehacker/following{/other_user}",- "gists_url": "https://api.github.com/users/baxterthehacker/gists{/gist_id}",- "starred_url": "https://api.github.com/users/baxterthehacker/starred{/owner}{/repo}",- "subscriptions_url": "https://api.github.com/users/baxterthehacker/subscriptions",- "organizations_url": "https://api.github.com/users/baxterthehacker/orgs",- "repos_url": "https://api.github.com/users/baxterthehacker/repos",- "events_url": "https://api.github.com/users/baxterthehacker/events{/privacy}",- "received_events_url": "https://api.github.com/users/baxterthehacker/received_events",- "type": "User",- "site_admin": false- }-}+{ + "action": "added", + "member": { + "login": "octocat", + "id": 583231, + "node_id": "MDg6Q2hlY2tSdW4xMjg2MjAyMjg=", + "avatar_url": "https://avatars.githubusercontent.com/u/583231?v=3", + "gravatar_id": "", + "url": "https://api.github.com/users/octocat", + "html_url": "https://github.com/octocat", + "followers_url": "https://api.github.com/users/octocat/followers", + "following_url": "https://api.github.com/users/octocat/following{/other_user}", + "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", + "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", + "organizations_url": "https://api.github.com/users/octocat/orgs", + "repos_url": "https://api.github.com/users/octocat/repos", + "events_url": "https://api.github.com/users/octocat/events{/privacy}", + "received_events_url": "https://api.github.com/users/octocat/received_events", + "type": "User", + "site_admin": false + }, + "repository": { + "id": 35129377, + "node_id": "MDg6Q2hlY2tSdW4xMjg2MjAyMjg=", + "name": "public-repo", + "full_name": "baxterthehacker/public-repo", + "owner": { + "login": "baxterthehacker", + "id": 6752317, + "node_id": "MDg6Q2hlY2tSdW4xMjg2MjAyMjg=", + "avatar_url": "https://avatars.githubusercontent.com/u/6752317?v=3", + "gravatar_id": "", + "url": "https://api.github.com/users/baxterthehacker", + "html_url": "https://github.com/baxterthehacker", + "followers_url": "https://api.github.com/users/baxterthehacker/followers", + "following_url": "https://api.github.com/users/baxterthehacker/following{/other_user}", + "gists_url": "https://api.github.com/users/baxterthehacker/gists{/gist_id}", + "starred_url": "https://api.github.com/users/baxterthehacker/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/baxterthehacker/subscriptions", + "organizations_url": "https://api.github.com/users/baxterthehacker/orgs", + "repos_url": "https://api.github.com/users/baxterthehacker/repos", + "events_url": "https://api.github.com/users/baxterthehacker/events{/privacy}", + "received_events_url": "https://api.github.com/users/baxterthehacker/received_events", + "type": "User", + "site_admin": false + }, + "private": false, + "html_url": "https://github.com/baxterthehacker/public-repo", + "description": "", + "fork": false, + "url": "https://api.github.com/repos/baxterthehacker/public-repo", + "forks_url": "https://api.github.com/repos/baxterthehacker/public-repo/forks", + "keys_url": "https://api.github.com/repos/baxterthehacker/public-repo/keys{/key_id}", + "collaborators_url": "https://api.github.com/repos/baxterthehacker/public-repo/collaborators{/collaborator}", + "teams_url": "https://api.github.com/repos/baxterthehacker/public-repo/teams", + "hooks_url": "https://api.github.com/repos/baxterthehacker/public-repo/hooks", + "issue_events_url": "https://api.github.com/repos/baxterthehacker/public-repo/issues/events{/number}", + "events_url": "https://api.github.com/repos/baxterthehacker/public-repo/events", + "assignees_url": "https://api.github.com/repos/baxterthehacker/public-repo/assignees{/user}", + "branches_url": "https://api.github.com/repos/baxterthehacker/public-repo/branches{/branch}", + "tags_url": "https://api.github.com/repos/baxterthehacker/public-repo/tags", + "blobs_url": "https://api.github.com/repos/baxterthehacker/public-repo/git/blobs{/sha}", + "git_tags_url": "https://api.github.com/repos/baxterthehacker/public-repo/git/tags{/sha}", + "git_refs_url": "https://api.github.com/repos/baxterthehacker/public-repo/git/refs{/sha}", + "trees_url": "https://api.github.com/repos/baxterthehacker/public-repo/git/trees{/sha}", + "statuses_url": "https://api.github.com/repos/baxterthehacker/public-repo/statuses/{sha}", + "languages_url": "https://api.github.com/repos/baxterthehacker/public-repo/languages", + "stargazers_url": "https://api.github.com/repos/baxterthehacker/public-repo/stargazers", + "contributors_url": "https://api.github.com/repos/baxterthehacker/public-repo/contributors", + "subscribers_url": "https://api.github.com/repos/baxterthehacker/public-repo/subscribers", + "subscription_url": "https://api.github.com/repos/baxterthehacker/public-repo/subscription", + "commits_url": "https://api.github.com/repos/baxterthehacker/public-repo/commits{/sha}", + "git_commits_url": "https://api.github.com/repos/baxterthehacker/public-repo/git/commits{/sha}", + "comments_url": "https://api.github.com/repos/baxterthehacker/public-repo/comments{/number}", + "issue_comment_url": "https://api.github.com/repos/baxterthehacker/public-repo/issues/comments{/number}", + "contents_url": "https://api.github.com/repos/baxterthehacker/public-repo/contents/{+path}", + "compare_url": "https://api.github.com/repos/baxterthehacker/public-repo/compare/{base}...{head}", + "merges_url": "https://api.github.com/repos/baxterthehacker/public-repo/merges", + "archive_url": "https://api.github.com/repos/baxterthehacker/public-repo/{archive_format}{/ref}", + "downloads_url": "https://api.github.com/repos/baxterthehacker/public-repo/downloads", + "issues_url": "https://api.github.com/repos/baxterthehacker/public-repo/issues{/number}", + "pulls_url": "https://api.github.com/repos/baxterthehacker/public-repo/pulls{/number}", + "milestones_url": "https://api.github.com/repos/baxterthehacker/public-repo/milestones{/number}", + "notifications_url": "https://api.github.com/repos/baxterthehacker/public-repo/notifications{?since,all,participating}", + "labels_url": "https://api.github.com/repos/baxterthehacker/public-repo/labels{/name}", + "releases_url": "https://api.github.com/repos/baxterthehacker/public-repo/releases{/id}", + "created_at": "2015-05-05T23:40:12Z", + "updated_at": "2015-05-05T23:40:30Z", + "pushed_at": "2015-05-05T23:40:40Z", + "git_url": "git://github.com/baxterthehacker/public-repo.git", + "ssh_url": "git@github.com:baxterthehacker/public-repo.git", + "clone_url": "https://github.com/baxterthehacker/public-repo.git", + "svn_url": "https://github.com/baxterthehacker/public-repo", + "homepage": null, + "size": 0, + "stargazers_count": 0, + "watchers_count": 0, + "language": null, + "has_issues": true, + "has_downloads": true, + "has_wiki": true, + "has_pages": true, + "forks_count": 0, + "mirror_url": null, + "open_issues_count": 2, + "forks": 0, + "open_issues": 2, + "watchers": 0, + "default_branch": "master" + }, + "sender": { + "login": "baxterthehacker", + "id": 6752317, + "node_id": "MDg6Q2hlY2tSdW4xMjg2MjAyMjg=", + "avatar_url": "https://avatars.githubusercontent.com/u/6752317?v=3", + "gravatar_id": "", + "url": "https://api.github.com/users/baxterthehacker", + "html_url": "https://github.com/baxterthehacker", + "followers_url": "https://api.github.com/users/baxterthehacker/followers", + "following_url": "https://api.github.com/users/baxterthehacker/following{/other_user}", + "gists_url": "https://api.github.com/users/baxterthehacker/gists{/gist_id}", + "starred_url": "https://api.github.com/users/baxterthehacker/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/baxterthehacker/subscriptions", + "organizations_url": "https://api.github.com/users/baxterthehacker/orgs", + "repos_url": "https://api.github.com/users/baxterthehacker/repos", + "events_url": "https://api.github.com/users/baxterthehacker/events{/privacy}", + "received_events_url": "https://api.github.com/users/baxterthehacker/received_events", + "type": "User", + "site_admin": false + } +}
fixtures/membership-event.json view
@@ -1,65 +1,65 @@-{- "action": "added",- "scope": "team",- "member": {- "login": "kdaigle",- "id": 2501,- "node_id": "MDg6Q2hlY2tSdW4xMjg2MjAyMjg=",- "avatar_url": "https://avatars.githubusercontent.com/u/2501?v=3",- "gravatar_id": "",- "url": "https://api.github.com/users/kdaigle",- "html_url": "https://github.com/kdaigle",- "followers_url": "https://api.github.com/users/kdaigle/followers",- "following_url": "https://api.github.com/users/kdaigle/following{/other_user}",- "gists_url": "https://api.github.com/users/kdaigle/gists{/gist_id}",- "starred_url": "https://api.github.com/users/kdaigle/starred{/owner}{/repo}",- "subscriptions_url": "https://api.github.com/users/kdaigle/subscriptions",- "organizations_url": "https://api.github.com/users/kdaigle/orgs",- "repos_url": "https://api.github.com/users/kdaigle/repos",- "events_url": "https://api.github.com/users/kdaigle/events{/privacy}",- "received_events_url": "https://api.github.com/users/kdaigle/received_events",- "type": "User",- "site_admin": true- },- "sender": {- "login": "baxterthehacker",- "id": 6752317,- "node_id": "MDg6Q2hlY2tSdW4xMjg2MjAyMjg=",- "avatar_url": "https://avatars.githubusercontent.com/u/6752317?v=2",- "gravatar_id": "",- "url": "https://api.github.com/users/baxterthehacker",- "html_url": "https://github.com/baxterthehacker",- "followers_url": "https://api.github.com/users/baxterthehacker/followers",- "following_url": "https://api.github.com/users/baxterthehacker/following{/other_user}",- "gists_url": "https://api.github.com/users/baxterthehacker/gists{/gist_id}",- "starred_url": "https://api.github.com/users/baxterthehacker/starred{/owner}{/repo}",- "subscriptions_url": "https://api.github.com/users/baxterthehacker/subscriptions",- "organizations_url": "https://api.github.com/users/baxterthehacker/orgs",- "repos_url": "https://api.github.com/users/baxterthehacker/repos",- "events_url": "https://api.github.com/users/baxterthehacker/events{/privacy}",- "received_events_url": "https://api.github.com/users/baxterthehacker/received_events",- "type": "User",- "site_admin": false- },- "team": {- "name": "Contractors",- "id": 123456,- "node_id": "MDg6Q2hlY2tSdW4xMjg2MjAyMjg=",- "slug": "contractors",- "permission": "admin",- "url": "https://api.github.com/teams/123456",- "members_url": "https://api.github.com/teams/123456/members{/member}",- "repositories_url": "https://api.github.com/teams/123456/repos"- },- "organization": {- "login": "baxterandthehackers",- "id": 7649605,- "node_id": "MDg6Q2hlY2tSdW4xMjg2MjAyMjg=",- "url": "https://api.github.com/orgs/baxterandthehackers",- "repos_url": "https://api.github.com/orgs/baxterandthehackers/repos",- "events_url": "https://api.github.com/orgs/baxterandthehackers/events",- "members_url": "https://api.github.com/orgs/baxterandthehackers/members{/member}",- "public_members_url": "https://api.github.com/orgs/baxterandthehackers/public_members{/member}",- "avatar_url": "https://avatars.githubusercontent.com/u/7649605?v=2"- }-}+{ + "action": "added", + "scope": "team", + "member": { + "login": "kdaigle", + "id": 2501, + "node_id": "MDg6Q2hlY2tSdW4xMjg2MjAyMjg=", + "avatar_url": "https://avatars.githubusercontent.com/u/2501?v=3", + "gravatar_id": "", + "url": "https://api.github.com/users/kdaigle", + "html_url": "https://github.com/kdaigle", + "followers_url": "https://api.github.com/users/kdaigle/followers", + "following_url": "https://api.github.com/users/kdaigle/following{/other_user}", + "gists_url": "https://api.github.com/users/kdaigle/gists{/gist_id}", + "starred_url": "https://api.github.com/users/kdaigle/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/kdaigle/subscriptions", + "organizations_url": "https://api.github.com/users/kdaigle/orgs", + "repos_url": "https://api.github.com/users/kdaigle/repos", + "events_url": "https://api.github.com/users/kdaigle/events{/privacy}", + "received_events_url": "https://api.github.com/users/kdaigle/received_events", + "type": "User", + "site_admin": true + }, + "sender": { + "login": "baxterthehacker", + "id": 6752317, + "node_id": "MDg6Q2hlY2tSdW4xMjg2MjAyMjg=", + "avatar_url": "https://avatars.githubusercontent.com/u/6752317?v=2", + "gravatar_id": "", + "url": "https://api.github.com/users/baxterthehacker", + "html_url": "https://github.com/baxterthehacker", + "followers_url": "https://api.github.com/users/baxterthehacker/followers", + "following_url": "https://api.github.com/users/baxterthehacker/following{/other_user}", + "gists_url": "https://api.github.com/users/baxterthehacker/gists{/gist_id}", + "starred_url": "https://api.github.com/users/baxterthehacker/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/baxterthehacker/subscriptions", + "organizations_url": "https://api.github.com/users/baxterthehacker/orgs", + "repos_url": "https://api.github.com/users/baxterthehacker/repos", + "events_url": "https://api.github.com/users/baxterthehacker/events{/privacy}", + "received_events_url": "https://api.github.com/users/baxterthehacker/received_events", + "type": "User", + "site_admin": false + }, + "team": { + "name": "Contractors", + "id": 123456, + "node_id": "MDg6Q2hlY2tSdW4xMjg2MjAyMjg=", + "slug": "contractors", + "permission": "admin", + "url": "https://api.github.com/teams/123456", + "members_url": "https://api.github.com/teams/123456/members{/member}", + "repositories_url": "https://api.github.com/teams/123456/repos" + }, + "organization": { + "login": "baxterandthehackers", + "id": 7649605, + "node_id": "MDg6Q2hlY2tSdW4xMjg2MjAyMjg=", + "url": "https://api.github.com/orgs/baxterandthehackers", + "repos_url": "https://api.github.com/orgs/baxterandthehackers/repos", + "events_url": "https://api.github.com/orgs/baxterandthehackers/events", + "members_url": "https://api.github.com/orgs/baxterandthehackers/members{/member}", + "public_members_url": "https://api.github.com/orgs/baxterandthehackers/public_members{/member}", + "avatar_url": "https://avatars.githubusercontent.com/u/7649605?v=2" + } +}
fixtures/milestone-event.json view
@@ -1,164 +1,164 @@-{- "action":"created",- "milestone":{- "url":"https://api.github.com/repos/baxterandthehackers/public-repo/milestones/3",- "html_url":"https://github.com/baxterandthehackers/public-repo/milestones/Test%20milestone%20creation%20webhook%20from%20command%20line2",- "labels_url":"https://api.github.com/repos/baxterandthehackers/public-repo/milestones/3/labels",- "id":2055681,- "node_id": "MDg6Q2hlY2tSdW4xMjg2MjAyMjg=",- "number":3,- "title":"I am a milestone",- "description":null,- "creator":{- "login":"baxterthehacker",- "id":7649605,- "node_id": "MDg6Q2hlY2tSdW4xMjg2MjAyMjg=",- "avatar_url":"https://avatars.githubusercontent.com/u/7649605?v=3",- "gravatar_id":"",- "url":"https://api.github.com/users/baxterthehacker",- "html_url":"https://github.com/baxterthehacker",- "followers_url":"https://api.github.com/users/baxterthehacker/followers",- "following_url":"https://api.github.com/users/baxterthehacker/following{/other_user}",- "gists_url":"https://api.github.com/users/baxterthehacker/gists{/gist_id}",- "starred_url":"https://api.github.com/users/baxterthehacker/starred{/owner}{/repo}",- "subscriptions_url":"https://api.github.com/users/baxterthehacker/subscriptions",- "organizations_url":"https://api.github.com/users/baxterthehacker/orgs",- "repos_url":"https://api.github.com/users/baxterthehacker/repos",- "events_url":"https://api.github.com/users/baxterthehacker/events{/privacy}",- "received_events_url":"https://api.github.com/users/baxterthehacker/received_events",- "type":"User",- "site_admin":true- },- "open_issues":0,- "closed_issues":0,- "state":"open",- "created_at":"2016-10-07T19:26:08Z",- "updated_at":"2016-10-07T19:26:08Z",- "due_on":null,- "closed_at":null- },- "repository":{- "id":70275481,- "node_id": "MDg6Q2hlY2tSdW4xMjg2MjAyMjg=",- "name":"public-repo",- "full_name":"baxterandthehackers/public-repo",- "owner":{- "login":"baxterandthehackers",- "id":4312013,- "node_id": "MDg6Q2hlY2tSdW4xMjg2MjAyMjg=",- "avatar_url":"https://avatars.githubusercontent.com/u/4312013?v=3",- "gravatar_id":"",- "url":"https://api.github.com/users/baxterandthehackers",- "html_url":"https://github.com/baxterandthehackers",- "followers_url":"https://api.github.com/users/baxterandthehackers/followers",- "following_url":"https://api.github.com/users/baxterandthehackers/following{/other_user}",- "gists_url":"https://api.github.com/users/baxterandthehackers/gists{/gist_id}",- "starred_url":"https://api.github.com/users/baxterandthehackers/starred{/owner}{/repo}",- "subscriptions_url":"https://api.github.com/users/baxterandthehackers/subscriptions",- "organizations_url":"https://api.github.com/users/baxterandthehackers/orgs",- "repos_url":"https://api.github.com/users/baxterandthehackers/repos",- "events_url":"https://api.github.com/users/baxterandthehackers/events{/privacy}",- "received_events_url":"https://api.github.com/users/baxterandthehackers/received_events",- "type":"Organization",- "site_admin":false- },- "private":true,- "html_url":"https://github.com/baxterandthehackers/public-repo",- "description":null,- "fork":false,- "url":"https://api.github.com/repos/baxterandthehackers/public-repo",- "forks_url":"https://api.github.com/repos/baxterandthehackers/public-repo/forks",- "keys_url":"https://api.github.com/repos/baxterandthehackers/public-repo/keys{/key_id}",- "collaborators_url":"https://api.github.com/repos/baxterandthehackers/public-repo/collaborators{/collaborator}",- "teams_url":"https://api.github.com/repos/baxterandthehackers/public-repo/teams",- "hooks_url":"https://api.github.com/repos/baxterandthehackers/public-repo/hooks",- "issue_events_url":"https://api.github.com/repos/baxterandthehackers/public-repo/issues/events{/number}",- "events_url":"https://api.github.com/repos/baxterandthehackers/public-repo/events",- "assignees_url":"https://api.github.com/repos/baxterandthehackers/public-repo/assignees{/user}",- "branches_url":"https://api.github.com/repos/baxterandthehackers/public-repo/branches{/branch}",- "tags_url":"https://api.github.com/repos/baxterandthehackers/public-repo/tags",- "blobs_url":"https://api.github.com/repos/baxterandthehackers/public-repo/git/blobs{/sha}",- "git_tags_url":"https://api.github.com/repos/baxterandthehackers/public-repo/git/tags{/sha}",- "git_refs_url":"https://api.github.com/repos/baxterandthehackers/public-repo/git/refs{/sha}",- "trees_url":"https://api.github.com/repos/baxterandthehackers/public-repo/git/trees{/sha}",- "statuses_url":"https://api.github.com/repos/baxterandthehackers/public-repo/statuses/{sha}",- "languages_url":"https://api.github.com/repos/baxterandthehackers/public-repo/languages",- "stargazers_url":"https://api.github.com/repos/baxterandthehackers/public-repo/stargazers",- "contributors_url":"https://api.github.com/repos/baxterandthehackers/public-repo/contributors",- "subscribers_url":"https://api.github.com/repos/baxterandthehackers/public-repo/subscribers",- "subscription_url":"https://api.github.com/repos/baxterandthehackers/public-repo/subscription",- "commits_url":"https://api.github.com/repos/baxterandthehackers/public-repo/commits{/sha}",- "git_commits_url":"https://api.github.com/repos/baxterandthehackers/public-repo/git/commits{/sha}",- "comments_url":"https://api.github.com/repos/baxterandthehackers/public-repo/comments{/number}",- "issue_comment_url":"https://api.github.com/repos/baxterandthehackers/public-repo/issues/comments{/number}",- "contents_url":"https://api.github.com/repos/baxterandthehackers/public-repo/contents/{+path}",- "compare_url":"https://api.github.com/repos/baxterandthehackers/public-repo/compare/{base}...{head}",- "merges_url":"https://api.github.com/repos/baxterandthehackers/public-repo/merges",- "archive_url":"https://api.github.com/repos/baxterandthehackers/public-repo/{archive_format}{/ref}",- "downloads_url":"https://api.github.com/repos/baxterandthehackers/public-repo/downloads",- "issues_url":"https://api.github.com/repos/baxterandthehackers/public-repo/issues{/number}",- "pulls_url":"https://api.github.com/repos/baxterandthehackers/public-repo/pulls{/number}",- "milestones_url":"https://api.github.com/repos/baxterandthehackers/public-repo/milestones{/number}",- "notifications_url":"https://api.github.com/repos/baxterandthehackers/public-repo/notifications{?since,all,participating}",- "labels_url":"https://api.github.com/repos/baxterandthehackers/public-repo/labels{/name}",- "releases_url":"https://api.github.com/repos/baxterandthehackers/public-repo/releases{/id}",- "deployments_url":"https://api.github.com/repos/baxterandthehackers/public-repo/deployments",- "created_at":"2016-10-07T19:10:12Z",- "updated_at":"2016-10-07T19:10:12Z",- "pushed_at":"2016-10-07T19:10:13Z",- "git_url":"git://github.com/baxterandthehackers/public-repo.git",- "ssh_url":"git@github.com:baxterandthehackers/public-repo.git",- "clone_url":"https://github.com/baxterandthehackers/public-repo.git",- "svn_url":"https://github.com/baxterandthehackers/public-repo",- "homepage":null,- "size":0,- "stargazers_count":0,- "watchers_count":0,- "language":null,- "has_issues":true,- "has_downloads":true,- "has_wiki":true,- "has_pages":false,- "forks_count":0,- "mirror_url":null,- "open_issues_count":0,- "forks":0,- "open_issues":0,- "watchers":0,- "default_branch":"master"- },- "organization":{- "login":"baxterandthehackers",- "id":4312013,- "node_id": "MDg6Q2hlY2tSdW4xMjg2MjAyMjg=",- "url":"https://api.github.com/orgs/baxterandthehackers",- "repos_url":"https://api.github.com/orgs/baxterandthehackers/repos",- "events_url":"https://api.github.com/orgs/baxterandthehackers/events",- "hooks_url":"https://api.github.com/orgs/baxterandthehackers/hooks",- "issues_url":"https://api.github.com/orgs/baxterandthehackers/issues",- "members_url":"https://api.github.com/orgs/baxterandthehackers/members{/member}",- "public_members_url":"https://api.github.com/orgs/baxterandthehackers/public_members{/member}",- "avatar_url":"https://avatars.githubusercontent.com/u/4312013?v=3",- "description":""- },- "sender":{- "login":"baxterthehacker",- "id":7649605,- "node_id": "MDg6Q2hlY2tSdW4xMjg2MjAyMjg=",- "avatar_url":"https://avatars.githubusercontent.com/u/7649605?v=3",- "gravatar_id":"",- "url":"https://api.github.com/users/baxterthehacker",- "html_url":"https://github.com/baxterthehacker",- "followers_url":"https://api.github.com/users/baxterthehacker/followers",- "following_url":"https://api.github.com/users/baxterthehacker/following{/other_user}",- "gists_url":"https://api.github.com/users/baxterthehacker/gists{/gist_id}",- "starred_url":"https://api.github.com/users/baxterthehacker/starred{/owner}{/repo}",- "subscriptions_url":"https://api.github.com/users/baxterthehacker/subscriptions",- "organizations_url":"https://api.github.com/users/baxterthehacker/orgs",- "repos_url":"https://api.github.com/users/baxterthehacker/repos",- "events_url":"https://api.github.com/users/baxterthehacker/events{/privacy}",- "received_events_url":"https://api.github.com/users/baxterthehacker/received_events",- "type":"User",- "site_admin":true- }-}+{ + "action":"created", + "milestone":{ + "url":"https://api.github.com/repos/baxterandthehackers/public-repo/milestones/3", + "html_url":"https://github.com/baxterandthehackers/public-repo/milestones/Test%20milestone%20creation%20webhook%20from%20command%20line2", + "labels_url":"https://api.github.com/repos/baxterandthehackers/public-repo/milestones/3/labels", + "id":2055681, + "node_id": "MDg6Q2hlY2tSdW4xMjg2MjAyMjg=", + "number":3, + "title":"I am a milestone", + "description":null, + "creator":{ + "login":"baxterthehacker", + "id":7649605, + "node_id": "MDg6Q2hlY2tSdW4xMjg2MjAyMjg=", + "avatar_url":"https://avatars.githubusercontent.com/u/7649605?v=3", + "gravatar_id":"", + "url":"https://api.github.com/users/baxterthehacker", + "html_url":"https://github.com/baxterthehacker", + "followers_url":"https://api.github.com/users/baxterthehacker/followers", + "following_url":"https://api.github.com/users/baxterthehacker/following{/other_user}", + "gists_url":"https://api.github.com/users/baxterthehacker/gists{/gist_id}", + "starred_url":"https://api.github.com/users/baxterthehacker/starred{/owner}{/repo}", + "subscriptions_url":"https://api.github.com/users/baxterthehacker/subscriptions", + "organizations_url":"https://api.github.com/users/baxterthehacker/orgs", + "repos_url":"https://api.github.com/users/baxterthehacker/repos", + "events_url":"https://api.github.com/users/baxterthehacker/events{/privacy}", + "received_events_url":"https://api.github.com/users/baxterthehacker/received_events", + "type":"User", + "site_admin":true + }, + "open_issues":0, + "closed_issues":0, + "state":"open", + "created_at":"2016-10-07T19:26:08Z", + "updated_at":"2016-10-07T19:26:08Z", + "due_on":null, + "closed_at":null + }, + "repository":{ + "id":70275481, + "node_id": "MDg6Q2hlY2tSdW4xMjg2MjAyMjg=", + "name":"public-repo", + "full_name":"baxterandthehackers/public-repo", + "owner":{ + "login":"baxterandthehackers", + "id":4312013, + "node_id": "MDg6Q2hlY2tSdW4xMjg2MjAyMjg=", + "avatar_url":"https://avatars.githubusercontent.com/u/4312013?v=3", + "gravatar_id":"", + "url":"https://api.github.com/users/baxterandthehackers", + "html_url":"https://github.com/baxterandthehackers", + "followers_url":"https://api.github.com/users/baxterandthehackers/followers", + "following_url":"https://api.github.com/users/baxterandthehackers/following{/other_user}", + "gists_url":"https://api.github.com/users/baxterandthehackers/gists{/gist_id}", + "starred_url":"https://api.github.com/users/baxterandthehackers/starred{/owner}{/repo}", + "subscriptions_url":"https://api.github.com/users/baxterandthehackers/subscriptions", + "organizations_url":"https://api.github.com/users/baxterandthehackers/orgs", + "repos_url":"https://api.github.com/users/baxterandthehackers/repos", + "events_url":"https://api.github.com/users/baxterandthehackers/events{/privacy}", + "received_events_url":"https://api.github.com/users/baxterandthehackers/received_events", + "type":"Organization", + "site_admin":false + }, + "private":true, + "html_url":"https://github.com/baxterandthehackers/public-repo", + "description":null, + "fork":false, + "url":"https://api.github.com/repos/baxterandthehackers/public-repo", + "forks_url":"https://api.github.com/repos/baxterandthehackers/public-repo/forks", + "keys_url":"https://api.github.com/repos/baxterandthehackers/public-repo/keys{/key_id}", + "collaborators_url":"https://api.github.com/repos/baxterandthehackers/public-repo/collaborators{/collaborator}", + "teams_url":"https://api.github.com/repos/baxterandthehackers/public-repo/teams", + "hooks_url":"https://api.github.com/repos/baxterandthehackers/public-repo/hooks", + "issue_events_url":"https://api.github.com/repos/baxterandthehackers/public-repo/issues/events{/number}", + "events_url":"https://api.github.com/repos/baxterandthehackers/public-repo/events", + "assignees_url":"https://api.github.com/repos/baxterandthehackers/public-repo/assignees{/user}", + "branches_url":"https://api.github.com/repos/baxterandthehackers/public-repo/branches{/branch}", + "tags_url":"https://api.github.com/repos/baxterandthehackers/public-repo/tags", + "blobs_url":"https://api.github.com/repos/baxterandthehackers/public-repo/git/blobs{/sha}", + "git_tags_url":"https://api.github.com/repos/baxterandthehackers/public-repo/git/tags{/sha}", + "git_refs_url":"https://api.github.com/repos/baxterandthehackers/public-repo/git/refs{/sha}", + "trees_url":"https://api.github.com/repos/baxterandthehackers/public-repo/git/trees{/sha}", + "statuses_url":"https://api.github.com/repos/baxterandthehackers/public-repo/statuses/{sha}", + "languages_url":"https://api.github.com/repos/baxterandthehackers/public-repo/languages", + "stargazers_url":"https://api.github.com/repos/baxterandthehackers/public-repo/stargazers", + "contributors_url":"https://api.github.com/repos/baxterandthehackers/public-repo/contributors", + "subscribers_url":"https://api.github.com/repos/baxterandthehackers/public-repo/subscribers", + "subscription_url":"https://api.github.com/repos/baxterandthehackers/public-repo/subscription", + "commits_url":"https://api.github.com/repos/baxterandthehackers/public-repo/commits{/sha}", + "git_commits_url":"https://api.github.com/repos/baxterandthehackers/public-repo/git/commits{/sha}", + "comments_url":"https://api.github.com/repos/baxterandthehackers/public-repo/comments{/number}", + "issue_comment_url":"https://api.github.com/repos/baxterandthehackers/public-repo/issues/comments{/number}", + "contents_url":"https://api.github.com/repos/baxterandthehackers/public-repo/contents/{+path}", + "compare_url":"https://api.github.com/repos/baxterandthehackers/public-repo/compare/{base}...{head}", + "merges_url":"https://api.github.com/repos/baxterandthehackers/public-repo/merges", + "archive_url":"https://api.github.com/repos/baxterandthehackers/public-repo/{archive_format}{/ref}", + "downloads_url":"https://api.github.com/repos/baxterandthehackers/public-repo/downloads", + "issues_url":"https://api.github.com/repos/baxterandthehackers/public-repo/issues{/number}", + "pulls_url":"https://api.github.com/repos/baxterandthehackers/public-repo/pulls{/number}", + "milestones_url":"https://api.github.com/repos/baxterandthehackers/public-repo/milestones{/number}", + "notifications_url":"https://api.github.com/repos/baxterandthehackers/public-repo/notifications{?since,all,participating}", + "labels_url":"https://api.github.com/repos/baxterandthehackers/public-repo/labels{/name}", + "releases_url":"https://api.github.com/repos/baxterandthehackers/public-repo/releases{/id}", + "deployments_url":"https://api.github.com/repos/baxterandthehackers/public-repo/deployments", + "created_at":"2016-10-07T19:10:12Z", + "updated_at":"2016-10-07T19:10:12Z", + "pushed_at":"2016-10-07T19:10:13Z", + "git_url":"git://github.com/baxterandthehackers/public-repo.git", + "ssh_url":"git@github.com:baxterandthehackers/public-repo.git", + "clone_url":"https://github.com/baxterandthehackers/public-repo.git", + "svn_url":"https://github.com/baxterandthehackers/public-repo", + "homepage":null, + "size":0, + "stargazers_count":0, + "watchers_count":0, + "language":null, + "has_issues":true, + "has_downloads":true, + "has_wiki":true, + "has_pages":false, + "forks_count":0, + "mirror_url":null, + "open_issues_count":0, + "forks":0, + "open_issues":0, + "watchers":0, + "default_branch":"master" + }, + "organization":{ + "login":"baxterandthehackers", + "id":4312013, + "node_id": "MDg6Q2hlY2tSdW4xMjg2MjAyMjg=", + "url":"https://api.github.com/orgs/baxterandthehackers", + "repos_url":"https://api.github.com/orgs/baxterandthehackers/repos", + "events_url":"https://api.github.com/orgs/baxterandthehackers/events", + "hooks_url":"https://api.github.com/orgs/baxterandthehackers/hooks", + "issues_url":"https://api.github.com/orgs/baxterandthehackers/issues", + "members_url":"https://api.github.com/orgs/baxterandthehackers/members{/member}", + "public_members_url":"https://api.github.com/orgs/baxterandthehackers/public_members{/member}", + "avatar_url":"https://avatars.githubusercontent.com/u/4312013?v=3", + "description":"" + }, + "sender":{ + "login":"baxterthehacker", + "id":7649605, + "node_id": "MDg6Q2hlY2tSdW4xMjg2MjAyMjg=", + "avatar_url":"https://avatars.githubusercontent.com/u/7649605?v=3", + "gravatar_id":"", + "url":"https://api.github.com/users/baxterthehacker", + "html_url":"https://github.com/baxterthehacker", + "followers_url":"https://api.github.com/users/baxterthehacker/followers", + "following_url":"https://api.github.com/users/baxterthehacker/following{/other_user}", + "gists_url":"https://api.github.com/users/baxterthehacker/gists{/gist_id}", + "starred_url":"https://api.github.com/users/baxterthehacker/starred{/owner}{/repo}", + "subscriptions_url":"https://api.github.com/users/baxterthehacker/subscriptions", + "organizations_url":"https://api.github.com/users/baxterthehacker/orgs", + "repos_url":"https://api.github.com/users/baxterthehacker/repos", + "events_url":"https://api.github.com/users/baxterthehacker/events{/privacy}", + "received_events_url":"https://api.github.com/users/baxterthehacker/received_events", + "type":"User", + "site_admin":true + } +}
fixtures/org-block-event.json view
@@ -1,57 +1,57 @@-{- "action": "blocked",- "blocked_user": {- "login": "octocat",- "id": 583231,- "node_id": "MDg6Q2hlY2tSdW4xMjg2MjAyMjg=",- "avatar_url": "https://avatars.githubusercontent.com/u/583231?v=3",- "gravatar_id": "",- "url": "https://api.github.com/users/octocat",- "html_url": "https://github.com/octocat",- "followers_url": "https://api.github.com/users/octocat/followers",- "following_url": "https://api.github.com/users/octocat/following{/other_user}",- "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}",- "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}",- "subscriptions_url": "https://api.github.com/users/octocat/subscriptions",- "organizations_url": "https://api.github.com/users/octocat/orgs",- "repos_url": "https://api.github.com/users/octocat/repos",- "events_url": "https://api.github.com/users/octocat/events{/privacy}",- "received_events_url": "https://api.github.com/users/octocat/received_events",- "type": "User",- "site_admin": false- },- "organization": {- "login": "github",- "id": 4366038,- "node_id": "MDg6Q2hlY2tSdW4xMjg2MjAyMjg=",- "url": "https://api.github.com/orgs/github",- "repos_url": "https://api.github.com/orgs/github/repos",- "events_url": "https://api.github.com/orgs/github/events",- "hooks_url": "https://api.github.com/orgs/github/hooks",- "issues_url": "https://api.github.com/orgs/github/issues",- "members_url": "https://api.github.com/orgs/github/members{/member}",- "public_members_url": "https://api.github.com/orgs/github/public_members{/member}",- "avatar_url": "https://avatars.githubusercontent.com/u/4366038?v=3",- "description": ""- },- "sender": {- "login": "octodocs",- "id": 25781999,- "node_id": "MDg6Q2hlY2tSdW4xMjg2MjAyMjg=",- "avatar_url": "https://avatars.githubusercontent.com/u/25781999?v=3",- "gravatar_id": "",- "url": "https://api.github.com/users/octodocs",- "html_url": "https://github.com/octodocs",- "followers_url": "https://api.github.com/users/octodocs/followers",- "following_url": "https://api.github.com/users/octodocs/following{/other_user}",- "gists_url": "https://api.github.com/users/octodocs/gists{/gist_id}",- "starred_url": "https://api.github.com/users/octodocs/starred{/owner}{/repo}",- "subscriptions_url": "https://api.github.com/users/octodocs/subscriptions",- "organizations_url": "https://api.github.com/users/octodocs/orgs",- "repos_url": "https://api.github.com/users/octodocs/repos",- "events_url": "https://api.github.com/users/octodocs/events{/privacy}",- "received_events_url": "https://api.github.com/users/octodocs/received_events",- "type": "User",- "site_admin": false- }-}+{ + "action": "blocked", + "blocked_user": { + "login": "octocat", + "id": 583231, + "node_id": "MDg6Q2hlY2tSdW4xMjg2MjAyMjg=", + "avatar_url": "https://avatars.githubusercontent.com/u/583231?v=3", + "gravatar_id": "", + "url": "https://api.github.com/users/octocat", + "html_url": "https://github.com/octocat", + "followers_url": "https://api.github.com/users/octocat/followers", + "following_url": "https://api.github.com/users/octocat/following{/other_user}", + "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", + "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", + "organizations_url": "https://api.github.com/users/octocat/orgs", + "repos_url": "https://api.github.com/users/octocat/repos", + "events_url": "https://api.github.com/users/octocat/events{/privacy}", + "received_events_url": "https://api.github.com/users/octocat/received_events", + "type": "User", + "site_admin": false + }, + "organization": { + "login": "github", + "id": 4366038, + "node_id": "MDg6Q2hlY2tSdW4xMjg2MjAyMjg=", + "url": "https://api.github.com/orgs/github", + "repos_url": "https://api.github.com/orgs/github/repos", + "events_url": "https://api.github.com/orgs/github/events", + "hooks_url": "https://api.github.com/orgs/github/hooks", + "issues_url": "https://api.github.com/orgs/github/issues", + "members_url": "https://api.github.com/orgs/github/members{/member}", + "public_members_url": "https://api.github.com/orgs/github/public_members{/member}", + "avatar_url": "https://avatars.githubusercontent.com/u/4366038?v=3", + "description": "" + }, + "sender": { + "login": "octodocs", + "id": 25781999, + "node_id": "MDg6Q2hlY2tSdW4xMjg2MjAyMjg=", + "avatar_url": "https://avatars.githubusercontent.com/u/25781999?v=3", + "gravatar_id": "", + "url": "https://api.github.com/users/octodocs", + "html_url": "https://github.com/octodocs", + "followers_url": "https://api.github.com/users/octodocs/followers", + "following_url": "https://api.github.com/users/octodocs/following{/other_user}", + "gists_url": "https://api.github.com/users/octodocs/gists{/gist_id}", + "starred_url": "https://api.github.com/users/octodocs/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/octodocs/subscriptions", + "organizations_url": "https://api.github.com/users/octodocs/orgs", + "repos_url": "https://api.github.com/users/octodocs/repos", + "events_url": "https://api.github.com/users/octodocs/events{/privacy}", + "received_events_url": "https://api.github.com/users/octodocs/received_events", + "type": "User", + "site_admin": false + } +}
fixtures/organization-event.json view
@@ -1,70 +1,70 @@-{- "action": "member_invited",- "invitation": {- "id": 3294302,- "node_id": "MDg6Q2hlY2tSdW4xMjg2MjAyMjg=",- "login": "baxterthehacker",- "email": null,- "role": "direct_member"- },- "membership": {- "url": "https://api.github.com/orgs/baxterandthehackers/memberships/baxterthehacker",- "state": "active",- "role": "member",- "organization_url": "https://api.github.com/orgs/baxterandthehackers",- "user": {- "login": "baxterthehacker",- "id": 7649605,- "node_id": "MDg6Q2hlY2tSdW4xMjg2MjAyMjg=",- "avatar_url": "https://avatars.githubusercontent.com/u/17085448?v=3",- "gravatar_id": "",- "url": "https://api.github.com/users/baxterthehacker",- "html_url": "https://github.com/baxterthehacker",- "followers_url": "https://api.github.com/users/baxterthehacker/followers",- "following_url": "https://api.github.com/users/baxterthehacker/following{/other_user}",- "gists_url": "https://api.github.com/users/baxterthehacker/gists{/gist_id}",- "starred_url": "https://api.github.com/users/baxterthehacker/starred{/owner}{/repo}",- "subscriptions_url": "https://api.github.com/users/baxterthehacker/subscriptions",- "organizations_url": "https://api.github.com/users/baxterthehacker/orgs",- "repos_url": "https://api.github.com/users/baxterthehacker/repos",- "events_url": "https://api.github.com/users/baxterthehacker/events{/privacy}",- "received_events_url": "https://api.github.com/users/baxterthehacker/received_events",- "type": "User",- "site_admin": false- }- },- "organization": {- "login": "baxterandthehackers",- "id": 4312013,- "node_id": "MDg6Q2hlY2tSdW4xMjg2MjAyMjg=",- "url": "https://api.github.com/orgs/baxterandthehackers",- "repos_url": "https://api.github.com/orgs/baxterandthehackers/repos",- "events_url": "https://api.github.com/orgs/baxterandthehackers/events",- "hooks_url": "https://api.github.com/orgs/baxterandthehackers/hooks",- "issues_url": "https://api.github.com/orgs/baxterandthehackers/issues",- "members_url": "https://api.github.com/orgs/baxterandthehackers/members{/member}",- "public_members_url": "https://api.github.com/orgs/baxterandthehackers/public_members{/member}",- "avatar_url": "https://avatars.githubusercontent.com/u/4312013?v=3",- "description": ""- },- "sender":{- "login":"baxterthehacker",- "id":7649605,- "node_id": "MDg6Q2hlY2tSdW4xMjg2MjAyMjg=",- "avatar_url":"https://avatars.githubusercontent.com/u/7649605?v=3",- "gravatar_id":"",- "url":"https://api.github.com/users/baxterthehacker",- "html_url":"https://github.com/baxterthehacker",- "followers_url":"https://api.github.com/users/baxterthehacker/followers",- "following_url":"https://api.github.com/users/baxterthehacker/following{/other_user}",- "gists_url":"https://api.github.com/users/baxterthehacker/gists{/gist_id}",- "starred_url":"https://api.github.com/users/baxterthehacker/starred{/owner}{/repo}",- "subscriptions_url":"https://api.github.com/users/baxterthehacker/subscriptions",- "organizations_url":"https://api.github.com/users/baxterthehacker/orgs",- "repos_url":"https://api.github.com/users/baxterthehacker/repos",- "events_url":"https://api.github.com/users/baxterthehacker/events{/privacy}",- "received_events_url":"https://api.github.com/users/baxterthehacker/received_events",- "type":"User",- "site_admin":true- }-}+{ + "action": "member_invited", + "invitation": { + "id": 3294302, + "node_id": "MDg6Q2hlY2tSdW4xMjg2MjAyMjg=", + "login": "baxterthehacker", + "email": null, + "role": "direct_member" + }, + "membership": { + "url": "https://api.github.com/orgs/baxterandthehackers/memberships/baxterthehacker", + "state": "active", + "role": "member", + "organization_url": "https://api.github.com/orgs/baxterandthehackers", + "user": { + "login": "baxterthehacker", + "id": 7649605, + "node_id": "MDg6Q2hlY2tSdW4xMjg2MjAyMjg=", + "avatar_url": "https://avatars.githubusercontent.com/u/17085448?v=3", + "gravatar_id": "", + "url": "https://api.github.com/users/baxterthehacker", + "html_url": "https://github.com/baxterthehacker", + "followers_url": "https://api.github.com/users/baxterthehacker/followers", + "following_url": "https://api.github.com/users/baxterthehacker/following{/other_user}", + "gists_url": "https://api.github.com/users/baxterthehacker/gists{/gist_id}", + "starred_url": "https://api.github.com/users/baxterthehacker/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/baxterthehacker/subscriptions", + "organizations_url": "https://api.github.com/users/baxterthehacker/orgs", + "repos_url": "https://api.github.com/users/baxterthehacker/repos", + "events_url": "https://api.github.com/users/baxterthehacker/events{/privacy}", + "received_events_url": "https://api.github.com/users/baxterthehacker/received_events", + "type": "User", + "site_admin": false + } + }, + "organization": { + "login": "baxterandthehackers", + "id": 4312013, + "node_id": "MDg6Q2hlY2tSdW4xMjg2MjAyMjg=", + "url": "https://api.github.com/orgs/baxterandthehackers", + "repos_url": "https://api.github.com/orgs/baxterandthehackers/repos", + "events_url": "https://api.github.com/orgs/baxterandthehackers/events", + "hooks_url": "https://api.github.com/orgs/baxterandthehackers/hooks", + "issues_url": "https://api.github.com/orgs/baxterandthehackers/issues", + "members_url": "https://api.github.com/orgs/baxterandthehackers/members{/member}", + "public_members_url": "https://api.github.com/orgs/baxterandthehackers/public_members{/member}", + "avatar_url": "https://avatars.githubusercontent.com/u/4312013?v=3", + "description": "" + }, + "sender":{ + "login":"baxterthehacker", + "id":7649605, + "node_id": "MDg6Q2hlY2tSdW4xMjg2MjAyMjg=", + "avatar_url":"https://avatars.githubusercontent.com/u/7649605?v=3", + "gravatar_id":"", + "url":"https://api.github.com/users/baxterthehacker", + "html_url":"https://github.com/baxterthehacker", + "followers_url":"https://api.github.com/users/baxterthehacker/followers", + "following_url":"https://api.github.com/users/baxterthehacker/following{/other_user}", + "gists_url":"https://api.github.com/users/baxterthehacker/gists{/gist_id}", + "starred_url":"https://api.github.com/users/baxterthehacker/starred{/owner}{/repo}", + "subscriptions_url":"https://api.github.com/users/baxterthehacker/subscriptions", + "organizations_url":"https://api.github.com/users/baxterthehacker/orgs", + "repos_url":"https://api.github.com/users/baxterthehacker/repos", + "events_url":"https://api.github.com/users/baxterthehacker/events{/privacy}", + "received_events_url":"https://api.github.com/users/baxterthehacker/received_events", + "type":"User", + "site_admin":true + } +}
fixtures/page-build-event.json view
@@ -1,143 +1,143 @@-{- "id": 15995382,- "build": {- "url": "https://api.github.com/repos/baxterthehacker/public-repo/pages/builds/15995382",- "status": "built",- "error": {- "message": null- },- "pusher": {- "login": "baxterthehacker",- "id": 6752317,- "node_id": "MDg6Q2hlY2tSdW4xMjg2MjAyMjg=",- "avatar_url": "https://avatars.githubusercontent.com/u/6752317?v=3",- "gravatar_id": "",- "url": "https://api.github.com/users/baxterthehacker",- "html_url": "https://github.com/baxterthehacker",- "followers_url": "https://api.github.com/users/baxterthehacker/followers",- "following_url": "https://api.github.com/users/baxterthehacker/following{/other_user}",- "gists_url": "https://api.github.com/users/baxterthehacker/gists{/gist_id}",- "starred_url": "https://api.github.com/users/baxterthehacker/starred{/owner}{/repo}",- "subscriptions_url": "https://api.github.com/users/baxterthehacker/subscriptions",- "organizations_url": "https://api.github.com/users/baxterthehacker/orgs",- "repos_url": "https://api.github.com/users/baxterthehacker/repos",- "events_url": "https://api.github.com/users/baxterthehacker/events{/privacy}",- "received_events_url": "https://api.github.com/users/baxterthehacker/received_events",- "type": "User",- "site_admin": false- },- "commit": "053b99542c83021d6b202d1a1f5ecd5ef7084e55",- "duration": 3790,- "created_at": "2015-05-05T23:40:13Z",- "updated_at": "2015-05-05T23:40:17Z"- },- "repository": {- "id": 35129377,- "node_id": "MDg6Q2hlY2tSdW4xMjg2MjAyMjg=",- "name": "public-repo",- "full_name": "baxterthehacker/public-repo",- "owner": {- "login": "baxterthehacker",- "id": 6752317,- "node_id": "MDg6Q2hlY2tSdW4xMjg2MjAyMjg=",- "avatar_url": "https://avatars.githubusercontent.com/u/6752317?v=3",- "gravatar_id": "",- "url": "https://api.github.com/users/baxterthehacker",- "html_url": "https://github.com/baxterthehacker",- "followers_url": "https://api.github.com/users/baxterthehacker/followers",- "following_url": "https://api.github.com/users/baxterthehacker/following{/other_user}",- "gists_url": "https://api.github.com/users/baxterthehacker/gists{/gist_id}",- "starred_url": "https://api.github.com/users/baxterthehacker/starred{/owner}{/repo}",- "subscriptions_url": "https://api.github.com/users/baxterthehacker/subscriptions",- "organizations_url": "https://api.github.com/users/baxterthehacker/orgs",- "repos_url": "https://api.github.com/users/baxterthehacker/repos",- "events_url": "https://api.github.com/users/baxterthehacker/events{/privacy}",- "received_events_url": "https://api.github.com/users/baxterthehacker/received_events",- "type": "User",- "site_admin": false- },- "private": false,- "html_url": "https://github.com/baxterthehacker/public-repo",- "description": "",- "fork": false,- "url": "https://api.github.com/repos/baxterthehacker/public-repo",- "forks_url": "https://api.github.com/repos/baxterthehacker/public-repo/forks",- "keys_url": "https://api.github.com/repos/baxterthehacker/public-repo/keys{/key_id}",- "collaborators_url": "https://api.github.com/repos/baxterthehacker/public-repo/collaborators{/collaborator}",- "teams_url": "https://api.github.com/repos/baxterthehacker/public-repo/teams",- "hooks_url": "https://api.github.com/repos/baxterthehacker/public-repo/hooks",- "issue_events_url": "https://api.github.com/repos/baxterthehacker/public-repo/issues/events{/number}",- "events_url": "https://api.github.com/repos/baxterthehacker/public-repo/events",- "assignees_url": "https://api.github.com/repos/baxterthehacker/public-repo/assignees{/user}",- "branches_url": "https://api.github.com/repos/baxterthehacker/public-repo/branches{/branch}",- "tags_url": "https://api.github.com/repos/baxterthehacker/public-repo/tags",- "blobs_url": "https://api.github.com/repos/baxterthehacker/public-repo/git/blobs{/sha}",- "git_tags_url": "https://api.github.com/repos/baxterthehacker/public-repo/git/tags{/sha}",- "git_refs_url": "https://api.github.com/repos/baxterthehacker/public-repo/git/refs{/sha}",- "trees_url": "https://api.github.com/repos/baxterthehacker/public-repo/git/trees{/sha}",- "statuses_url": "https://api.github.com/repos/baxterthehacker/public-repo/statuses/{sha}",- "languages_url": "https://api.github.com/repos/baxterthehacker/public-repo/languages",- "stargazers_url": "https://api.github.com/repos/baxterthehacker/public-repo/stargazers",- "contributors_url": "https://api.github.com/repos/baxterthehacker/public-repo/contributors",- "subscribers_url": "https://api.github.com/repos/baxterthehacker/public-repo/subscribers",- "subscription_url": "https://api.github.com/repos/baxterthehacker/public-repo/subscription",- "commits_url": "https://api.github.com/repos/baxterthehacker/public-repo/commits{/sha}",- "git_commits_url": "https://api.github.com/repos/baxterthehacker/public-repo/git/commits{/sha}",- "comments_url": "https://api.github.com/repos/baxterthehacker/public-repo/comments{/number}",- "issue_comment_url": "https://api.github.com/repos/baxterthehacker/public-repo/issues/comments{/number}",- "contents_url": "https://api.github.com/repos/baxterthehacker/public-repo/contents/{+path}",- "compare_url": "https://api.github.com/repos/baxterthehacker/public-repo/compare/{base}...{head}",- "merges_url": "https://api.github.com/repos/baxterthehacker/public-repo/merges",- "archive_url": "https://api.github.com/repos/baxterthehacker/public-repo/{archive_format}{/ref}",- "downloads_url": "https://api.github.com/repos/baxterthehacker/public-repo/downloads",- "issues_url": "https://api.github.com/repos/baxterthehacker/public-repo/issues{/number}",- "pulls_url": "https://api.github.com/repos/baxterthehacker/public-repo/pulls{/number}",- "milestones_url": "https://api.github.com/repos/baxterthehacker/public-repo/milestones{/number}",- "notifications_url": "https://api.github.com/repos/baxterthehacker/public-repo/notifications{?since,all,participating}",- "labels_url": "https://api.github.com/repos/baxterthehacker/public-repo/labels{/name}",- "releases_url": "https://api.github.com/repos/baxterthehacker/public-repo/releases{/id}",- "created_at": "2015-05-05T23:40:12Z",- "updated_at": "2015-05-05T23:40:12Z",- "pushed_at": "2015-05-05T23:40:17Z",- "git_url": "git://github.com/baxterthehacker/public-repo.git",- "ssh_url": "git@github.com:baxterthehacker/public-repo.git",- "clone_url": "https://github.com/baxterthehacker/public-repo.git",- "svn_url": "https://github.com/baxterthehacker/public-repo",- "homepage": null,- "size": 0,- "stargazers_count": 0,- "watchers_count": 0,- "language": null,- "has_issues": true,- "has_downloads": true,- "has_wiki": true,- "has_pages": true,- "forks_count": 0,- "mirror_url": null,- "open_issues_count": 0,- "forks": 0,- "open_issues": 0,- "watchers": 0,- "default_branch": "master"- },- "sender": {- "login": "baxterthehacker",- "id": 6752317,- "node_id": "MDg6Q2hlY2tSdW4xMjg2MjAyMjg=",- "avatar_url": "https://avatars.githubusercontent.com/u/6752317?v=3",- "gravatar_id": "",- "url": "https://api.github.com/users/baxterthehacker",- "html_url": "https://github.com/baxterthehacker",- "followers_url": "https://api.github.com/users/baxterthehacker/followers",- "following_url": "https://api.github.com/users/baxterthehacker/following{/other_user}",- "gists_url": "https://api.github.com/users/baxterthehacker/gists{/gist_id}",- "starred_url": "https://api.github.com/users/baxterthehacker/starred{/owner}{/repo}",- "subscriptions_url": "https://api.github.com/users/baxterthehacker/subscriptions",- "organizations_url": "https://api.github.com/users/baxterthehacker/orgs",- "repos_url": "https://api.github.com/users/baxterthehacker/repos",- "events_url": "https://api.github.com/users/baxterthehacker/events{/privacy}",- "received_events_url": "https://api.github.com/users/baxterthehacker/received_events",- "type": "User",- "site_admin": false- }-}+{ + "id": 15995382, + "build": { + "url": "https://api.github.com/repos/baxterthehacker/public-repo/pages/builds/15995382", + "status": "built", + "error": { + "message": null + }, + "pusher": { + "login": "baxterthehacker", + "id": 6752317, + "node_id": "MDg6Q2hlY2tSdW4xMjg2MjAyMjg=", + "avatar_url": "https://avatars.githubusercontent.com/u/6752317?v=3", + "gravatar_id": "", + "url": "https://api.github.com/users/baxterthehacker", + "html_url": "https://github.com/baxterthehacker", + "followers_url": "https://api.github.com/users/baxterthehacker/followers", + "following_url": "https://api.github.com/users/baxterthehacker/following{/other_user}", + "gists_url": "https://api.github.com/users/baxterthehacker/gists{/gist_id}", + "starred_url": "https://api.github.com/users/baxterthehacker/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/baxterthehacker/subscriptions", + "organizations_url": "https://api.github.com/users/baxterthehacker/orgs", + "repos_url": "https://api.github.com/users/baxterthehacker/repos", + "events_url": "https://api.github.com/users/baxterthehacker/events{/privacy}", + "received_events_url": "https://api.github.com/users/baxterthehacker/received_events", + "type": "User", + "site_admin": false + }, + "commit": "053b99542c83021d6b202d1a1f5ecd5ef7084e55", + "duration": 3790, + "created_at": "2015-05-05T23:40:13Z", + "updated_at": "2015-05-05T23:40:17Z" + }, + "repository": { + "id": 35129377, + "node_id": "MDg6Q2hlY2tSdW4xMjg2MjAyMjg=", + "name": "public-repo", + "full_name": "baxterthehacker/public-repo", + "owner": { + "login": "baxterthehacker", + "id": 6752317, + "node_id": "MDg6Q2hlY2tSdW4xMjg2MjAyMjg=", + "avatar_url": "https://avatars.githubusercontent.com/u/6752317?v=3", + "gravatar_id": "", + "url": "https://api.github.com/users/baxterthehacker", + "html_url": "https://github.com/baxterthehacker", + "followers_url": "https://api.github.com/users/baxterthehacker/followers", + "following_url": "https://api.github.com/users/baxterthehacker/following{/other_user}", + "gists_url": "https://api.github.com/users/baxterthehacker/gists{/gist_id}", + "starred_url": "https://api.github.com/users/baxterthehacker/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/baxterthehacker/subscriptions", + "organizations_url": "https://api.github.com/users/baxterthehacker/orgs", + "repos_url": "https://api.github.com/users/baxterthehacker/repos", + "events_url": "https://api.github.com/users/baxterthehacker/events{/privacy}", + "received_events_url": "https://api.github.com/users/baxterthehacker/received_events", + "type": "User", + "site_admin": false + }, + "private": false, + "html_url": "https://github.com/baxterthehacker/public-repo", + "description": "", + "fork": false, + "url": "https://api.github.com/repos/baxterthehacker/public-repo", + "forks_url": "https://api.github.com/repos/baxterthehacker/public-repo/forks", + "keys_url": "https://api.github.com/repos/baxterthehacker/public-repo/keys{/key_id}", + "collaborators_url": "https://api.github.com/repos/baxterthehacker/public-repo/collaborators{/collaborator}", + "teams_url": "https://api.github.com/repos/baxterthehacker/public-repo/teams", + "hooks_url": "https://api.github.com/repos/baxterthehacker/public-repo/hooks", + "issue_events_url": "https://api.github.com/repos/baxterthehacker/public-repo/issues/events{/number}", + "events_url": "https://api.github.com/repos/baxterthehacker/public-repo/events", + "assignees_url": "https://api.github.com/repos/baxterthehacker/public-repo/assignees{/user}", + "branches_url": "https://api.github.com/repos/baxterthehacker/public-repo/branches{/branch}", + "tags_url": "https://api.github.com/repos/baxterthehacker/public-repo/tags", + "blobs_url": "https://api.github.com/repos/baxterthehacker/public-repo/git/blobs{/sha}", + "git_tags_url": "https://api.github.com/repos/baxterthehacker/public-repo/git/tags{/sha}", + "git_refs_url": "https://api.github.com/repos/baxterthehacker/public-repo/git/refs{/sha}", + "trees_url": "https://api.github.com/repos/baxterthehacker/public-repo/git/trees{/sha}", + "statuses_url": "https://api.github.com/repos/baxterthehacker/public-repo/statuses/{sha}", + "languages_url": "https://api.github.com/repos/baxterthehacker/public-repo/languages", + "stargazers_url": "https://api.github.com/repos/baxterthehacker/public-repo/stargazers", + "contributors_url": "https://api.github.com/repos/baxterthehacker/public-repo/contributors", + "subscribers_url": "https://api.github.com/repos/baxterthehacker/public-repo/subscribers", + "subscription_url": "https://api.github.com/repos/baxterthehacker/public-repo/subscription", + "commits_url": "https://api.github.com/repos/baxterthehacker/public-repo/commits{/sha}", + "git_commits_url": "https://api.github.com/repos/baxterthehacker/public-repo/git/commits{/sha}", + "comments_url": "https://api.github.com/repos/baxterthehacker/public-repo/comments{/number}", + "issue_comment_url": "https://api.github.com/repos/baxterthehacker/public-repo/issues/comments{/number}", + "contents_url": "https://api.github.com/repos/baxterthehacker/public-repo/contents/{+path}", + "compare_url": "https://api.github.com/repos/baxterthehacker/public-repo/compare/{base}...{head}", + "merges_url": "https://api.github.com/repos/baxterthehacker/public-repo/merges", + "archive_url": "https://api.github.com/repos/baxterthehacker/public-repo/{archive_format}{/ref}", + "downloads_url": "https://api.github.com/repos/baxterthehacker/public-repo/downloads", + "issues_url": "https://api.github.com/repos/baxterthehacker/public-repo/issues{/number}", + "pulls_url": "https://api.github.com/repos/baxterthehacker/public-repo/pulls{/number}", + "milestones_url": "https://api.github.com/repos/baxterthehacker/public-repo/milestones{/number}", + "notifications_url": "https://api.github.com/repos/baxterthehacker/public-repo/notifications{?since,all,participating}", + "labels_url": "https://api.github.com/repos/baxterthehacker/public-repo/labels{/name}", + "releases_url": "https://api.github.com/repos/baxterthehacker/public-repo/releases{/id}", + "created_at": "2015-05-05T23:40:12Z", + "updated_at": "2015-05-05T23:40:12Z", + "pushed_at": "2015-05-05T23:40:17Z", + "git_url": "git://github.com/baxterthehacker/public-repo.git", + "ssh_url": "git@github.com:baxterthehacker/public-repo.git", + "clone_url": "https://github.com/baxterthehacker/public-repo.git", + "svn_url": "https://github.com/baxterthehacker/public-repo", + "homepage": null, + "size": 0, + "stargazers_count": 0, + "watchers_count": 0, + "language": null, + "has_issues": true, + "has_downloads": true, + "has_wiki": true, + "has_pages": true, + "forks_count": 0, + "mirror_url": null, + "open_issues_count": 0, + "forks": 0, + "open_issues": 0, + "watchers": 0, + "default_branch": "master" + }, + "sender": { + "login": "baxterthehacker", + "id": 6752317, + "node_id": "MDg6Q2hlY2tSdW4xMjg2MjAyMjg=", + "avatar_url": "https://avatars.githubusercontent.com/u/6752317?v=3", + "gravatar_id": "", + "url": "https://api.github.com/users/baxterthehacker", + "html_url": "https://github.com/baxterthehacker", + "followers_url": "https://api.github.com/users/baxterthehacker/followers", + "following_url": "https://api.github.com/users/baxterthehacker/following{/other_user}", + "gists_url": "https://api.github.com/users/baxterthehacker/gists{/gist_id}", + "starred_url": "https://api.github.com/users/baxterthehacker/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/baxterthehacker/subscriptions", + "organizations_url": "https://api.github.com/users/baxterthehacker/orgs", + "repos_url": "https://api.github.com/users/baxterthehacker/repos", + "events_url": "https://api.github.com/users/baxterthehacker/events{/privacy}", + "received_events_url": "https://api.github.com/users/baxterthehacker/received_events", + "type": "User", + "site_admin": false + } +}
fixtures/project-card-event.json view
@@ -1,154 +1,154 @@-{- "action": "created",- "project_card": {- "url": "https://api.github.com/projects/columns/cards/1266091",- "column_url": "https://api.github.com/projects/columns/515520",- "column_id": 515520,- "id": 1266091,- "node_id": "MDg6Q2hlY2tSdW4xMjg2MjAyMjg=",- "note": null,- "creator": {- "login": "baxterthehacker",- "id": 6752317,- "node_id": "MDg6Q2hlY2tSdW4xMjg2MjAyMjg=",- "avatar_url": "https://avatars.githubusercontent.com/u/6752317?v=2",- "gravatar_id": "",- "url": "https://api.github.com/users/baxterthehacker",- "html_url": "https://github.com/baxterthehacker",- "followers_url": "https://api.github.com/users/baxterthehacker/followers",- "following_url": "https://api.github.com/users/baxterthehacker/following{/other_user}",- "gists_url": "https://api.github.com/users/baxterthehacker/gists{/gist_id}",- "starred_url": "https://api.github.com/users/baxterthehacker/starred{/owner}{/repo}",- "subscriptions_url": "https://api.github.com/users/baxterthehacker/subscriptions",- "organizations_url": "https://api.github.com/users/baxterthehacker/orgs",- "repos_url": "https://api.github.com/users/baxterthehacker/repos",- "events_url": "https://api.github.com/users/baxterthehacker/events{/privacy}",- "received_events_url": "https://api.github.com/users/baxterthehacker/received_events",- "type": "User",- "site_admin": false- },- "created_at": "2017-09-27T23:37:43Z",- "updated_at": "2017-09-27T23:39:09Z",- "content_url": "https://api.github.com/repos/baxterthehacker/public-repo/issues/2"- },- "repository": {- "id": 35129377,- "node_id": "MDg6Q2hlY2tSdW4xMjg2MjAyMjg=",- "name": "public-repo",- "full_name": "baxterthehacker/public-repo",- "owner": {- "login": "baxterthehacker",- "id": 6752317,- "node_id": "MDg6Q2hlY2tSdW4xMjg2MjAyMjg=",- "avatar_url": "https://avatars.githubusercontent.com/u/6752317?v=3",- "gravatar_id": "",- "url": "https://api.github.com/users/baxterthehacker",- "html_url": "https://github.com/baxterthehacker",- "followers_url": "https://api.github.com/users/baxterthehacker/followers",- "following_url": "https://api.github.com/users/baxterthehacker/following{/other_user}",- "gists_url": "https://api.github.com/users/baxterthehacker/gists{/gist_id}",- "starred_url": "https://api.github.com/users/baxterthehacker/starred{/owner}{/repo}",- "subscriptions_url": "https://api.github.com/users/baxterthehacker/subscriptions",- "organizations_url": "https://api.github.com/users/baxterthehacker/orgs",- "repos_url": "https://api.github.com/users/baxterthehacker/repos",- "events_url": "https://api.github.com/users/baxterthehacker/events{/privacy}",- "received_events_url": "https://api.github.com/users/baxterthehacker/received_events",- "type": "User",- "site_admin": false- },- "private": false,- "html_url": "https://github.com/baxterthehacker/public-repo",- "description": "",- "fork": false,- "url": "https://api.github.com/repos/baxterthehacker/public-repo",- "forks_url": "https://api.github.com/repos/baxterthehacker/public-repo/forks",- "keys_url": "https://api.github.com/repos/baxterthehacker/public-repo/keys{/key_id}",- "collaborators_url": "https://api.github.com/repos/baxterthehacker/public-repo/collaborators{/collaborator}",- "teams_url": "https://api.github.com/repos/baxterthehacker/public-repo/teams",- "hooks_url": "https://api.github.com/repos/baxterthehacker/public-repo/hooks",- "issue_events_url": "https://api.github.com/repos/baxterthehacker/public-repo/issues/events{/number}",- "events_url": "https://api.github.com/repos/baxterthehacker/public-repo/events",- "assignees_url": "https://api.github.com/repos/baxterthehacker/public-repo/assignees{/user}",- "branches_url": "https://api.github.com/repos/baxterthehacker/public-repo/branches{/branch}",- "tags_url": "https://api.github.com/repos/baxterthehacker/public-repo/tags",- "blobs_url": "https://api.github.com/repos/baxterthehacker/public-repo/git/blobs{/sha}",- "git_tags_url": "https://api.github.com/repos/baxterthehacker/public-repo/git/tags{/sha}",- "git_refs_url": "https://api.github.com/repos/baxterthehacker/public-repo/git/refs{/sha}",- "trees_url": "https://api.github.com/repos/baxterthehacker/public-repo/git/trees{/sha}",- "statuses_url": "https://api.github.com/repos/baxterthehacker/public-repo/statuses/{sha}",- "languages_url": "https://api.github.com/repos/baxterthehacker/public-repo/languages",- "stargazers_url": "https://api.github.com/repos/baxterthehacker/public-repo/stargazers",- "contributors_url": "https://api.github.com/repos/baxterthehacker/public-repo/contributors",- "subscribers_url": "https://api.github.com/repos/baxterthehacker/public-repo/subscribers",- "subscription_url": "https://api.github.com/repos/baxterthehacker/public-repo/subscription",- "commits_url": "https://api.github.com/repos/baxterthehacker/public-repo/commits{/sha}",- "git_commits_url": "https://api.github.com/repos/baxterthehacker/public-repo/git/commits{/sha}",- "comments_url": "https://api.github.com/repos/baxterthehacker/public-repo/comments{/number}",- "issue_comment_url": "https://api.github.com/repos/baxterthehacker/public-repo/issues/comments{/number}",- "contents_url": "https://api.github.com/repos/baxterthehacker/public-repo/contents/{+path}",- "compare_url": "https://api.github.com/repos/baxterthehacker/public-repo/compare/{base}...{head}",- "merges_url": "https://api.github.com/repos/baxterthehacker/public-repo/merges",- "archive_url": "https://api.github.com/repos/baxterthehacker/public-repo/{archive_format}{/ref}",- "downloads_url": "https://api.github.com/repos/baxterthehacker/public-repo/downloads",- "issues_url": "https://api.github.com/repos/baxterthehacker/public-repo/issues{/number}",- "pulls_url": "https://api.github.com/repos/baxterthehacker/public-repo/pulls{/number}",- "milestones_url": "https://api.github.com/repos/baxterthehacker/public-repo/milestones{/number}",- "notifications_url": "https://api.github.com/repos/baxterthehacker/public-repo/notifications{?since,all,participating}",- "labels_url": "https://api.github.com/repos/baxterthehacker/public-repo/labels{/name}",- "releases_url": "https://api.github.com/repos/baxterthehacker/public-repo/releases{/id}",- "created_at": "2015-05-05T23:40:12Z",- "updated_at": "2015-05-05T23:40:12Z",- "pushed_at": "2015-05-05T23:40:27Z",- "git_url": "git://github.com/baxterthehacker/public-repo.git",- "ssh_url": "git@github.com:baxterthehacker/public-repo.git",- "clone_url": "https://github.com/baxterthehacker/public-repo.git",- "svn_url": "https://github.com/baxterthehacker/public-repo",- "homepage": null,- "size": 0,- "stargazers_count": 0,- "watchers_count": 0,- "language": null,- "has_issues": true,- "has_downloads": true,- "has_wiki": true,- "has_pages": true,- "forks_count": 0,- "mirror_url": null,- "open_issues_count": 2,- "forks": 0,- "open_issues": 2,- "watchers": 0,- "default_branch": "master"- },- "organization": {- "login": "baxterandthehackers",- "id": 7649605,- "node_id": "MDg6Q2hlY2tSdW4xMjg2MjAyMjg=",- "url": "https://api.github.com/orgs/baxterandthehackers",- "repos_url": "https://api.github.com/orgs/baxterandthehackers/repos",- "events_url": "https://api.github.com/orgs/baxterandthehackers/events",- "members_url": "https://api.github.com/orgs/baxterandthehackers/members{/member}",- "public_members_url": "https://api.github.com/orgs/baxterandthehackers/public_members{/member}",- "avatar_url": "https://avatars.githubusercontent.com/u/7649605?v=2"- },- "sender": {- "login": "baxterthehacker",- "id": 6752317,- "node_id": "MDg6Q2hlY2tSdW4xMjg2MjAyMjg=",- "avatar_url": "https://avatars.githubusercontent.com/u/6752317?v=2",- "gravatar_id": "",- "url": "https://api.github.com/users/baxterthehacker",- "html_url": "https://github.com/baxterthehacker",- "followers_url": "https://api.github.com/users/baxterthehacker/followers",- "following_url": "https://api.github.com/users/baxterthehacker/following{/other_user}",- "gists_url": "https://api.github.com/users/baxterthehacker/gists{/gist_id}",- "starred_url": "https://api.github.com/users/baxterthehacker/starred{/owner}{/repo}",- "subscriptions_url": "https://api.github.com/users/baxterthehacker/subscriptions",- "organizations_url": "https://api.github.com/users/baxterthehacker/orgs",- "repos_url": "https://api.github.com/users/baxterthehacker/repos",- "events_url": "https://api.github.com/users/baxterthehacker/events{/privacy}",- "received_events_url": "https://api.github.com/users/baxterthehacker/received_events",- "type": "User",- "site_admin": false- }-}+{ + "action": "created", + "project_card": { + "url": "https://api.github.com/projects/columns/cards/1266091", + "column_url": "https://api.github.com/projects/columns/515520", + "column_id": 515520, + "id": 1266091, + "node_id": "MDg6Q2hlY2tSdW4xMjg2MjAyMjg=", + "note": null, + "creator": { + "login": "baxterthehacker", + "id": 6752317, + "node_id": "MDg6Q2hlY2tSdW4xMjg2MjAyMjg=", + "avatar_url": "https://avatars.githubusercontent.com/u/6752317?v=2", + "gravatar_id": "", + "url": "https://api.github.com/users/baxterthehacker", + "html_url": "https://github.com/baxterthehacker", + "followers_url": "https://api.github.com/users/baxterthehacker/followers", + "following_url": "https://api.github.com/users/baxterthehacker/following{/other_user}", + "gists_url": "https://api.github.com/users/baxterthehacker/gists{/gist_id}", + "starred_url": "https://api.github.com/users/baxterthehacker/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/baxterthehacker/subscriptions", + "organizations_url": "https://api.github.com/users/baxterthehacker/orgs", + "repos_url": "https://api.github.com/users/baxterthehacker/repos", + "events_url": "https://api.github.com/users/baxterthehacker/events{/privacy}", + "received_events_url": "https://api.github.com/users/baxterthehacker/received_events", + "type": "User", + "site_admin": false + }, + "created_at": "2017-09-27T23:37:43Z", + "updated_at": "2017-09-27T23:39:09Z", + "content_url": "https://api.github.com/repos/baxterthehacker/public-repo/issues/2" + }, + "repository": { + "id": 35129377, + "node_id": "MDg6Q2hlY2tSdW4xMjg2MjAyMjg=", + "name": "public-repo", + "full_name": "baxterthehacker/public-repo", + "owner": { + "login": "baxterthehacker", + "id": 6752317, + "node_id": "MDg6Q2hlY2tSdW4xMjg2MjAyMjg=", + "avatar_url": "https://avatars.githubusercontent.com/u/6752317?v=3", + "gravatar_id": "", + "url": "https://api.github.com/users/baxterthehacker", + "html_url": "https://github.com/baxterthehacker", + "followers_url": "https://api.github.com/users/baxterthehacker/followers", + "following_url": "https://api.github.com/users/baxterthehacker/following{/other_user}", + "gists_url": "https://api.github.com/users/baxterthehacker/gists{/gist_id}", + "starred_url": "https://api.github.com/users/baxterthehacker/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/baxterthehacker/subscriptions", + "organizations_url": "https://api.github.com/users/baxterthehacker/orgs", + "repos_url": "https://api.github.com/users/baxterthehacker/repos", + "events_url": "https://api.github.com/users/baxterthehacker/events{/privacy}", + "received_events_url": "https://api.github.com/users/baxterthehacker/received_events", + "type": "User", + "site_admin": false + }, + "private": false, + "html_url": "https://github.com/baxterthehacker/public-repo", + "description": "", + "fork": false, + "url": "https://api.github.com/repos/baxterthehacker/public-repo", + "forks_url": "https://api.github.com/repos/baxterthehacker/public-repo/forks", + "keys_url": "https://api.github.com/repos/baxterthehacker/public-repo/keys{/key_id}", + "collaborators_url": "https://api.github.com/repos/baxterthehacker/public-repo/collaborators{/collaborator}", + "teams_url": "https://api.github.com/repos/baxterthehacker/public-repo/teams", + "hooks_url": "https://api.github.com/repos/baxterthehacker/public-repo/hooks", + "issue_events_url": "https://api.github.com/repos/baxterthehacker/public-repo/issues/events{/number}", + "events_url": "https://api.github.com/repos/baxterthehacker/public-repo/events", + "assignees_url": "https://api.github.com/repos/baxterthehacker/public-repo/assignees{/user}", + "branches_url": "https://api.github.com/repos/baxterthehacker/public-repo/branches{/branch}", + "tags_url": "https://api.github.com/repos/baxterthehacker/public-repo/tags", + "blobs_url": "https://api.github.com/repos/baxterthehacker/public-repo/git/blobs{/sha}", + "git_tags_url": "https://api.github.com/repos/baxterthehacker/public-repo/git/tags{/sha}", + "git_refs_url": "https://api.github.com/repos/baxterthehacker/public-repo/git/refs{/sha}", + "trees_url": "https://api.github.com/repos/baxterthehacker/public-repo/git/trees{/sha}", + "statuses_url": "https://api.github.com/repos/baxterthehacker/public-repo/statuses/{sha}", + "languages_url": "https://api.github.com/repos/baxterthehacker/public-repo/languages", + "stargazers_url": "https://api.github.com/repos/baxterthehacker/public-repo/stargazers", + "contributors_url": "https://api.github.com/repos/baxterthehacker/public-repo/contributors", + "subscribers_url": "https://api.github.com/repos/baxterthehacker/public-repo/subscribers", + "subscription_url": "https://api.github.com/repos/baxterthehacker/public-repo/subscription", + "commits_url": "https://api.github.com/repos/baxterthehacker/public-repo/commits{/sha}", + "git_commits_url": "https://api.github.com/repos/baxterthehacker/public-repo/git/commits{/sha}", + "comments_url": "https://api.github.com/repos/baxterthehacker/public-repo/comments{/number}", + "issue_comment_url": "https://api.github.com/repos/baxterthehacker/public-repo/issues/comments{/number}", + "contents_url": "https://api.github.com/repos/baxterthehacker/public-repo/contents/{+path}", + "compare_url": "https://api.github.com/repos/baxterthehacker/public-repo/compare/{base}...{head}", + "merges_url": "https://api.github.com/repos/baxterthehacker/public-repo/merges", + "archive_url": "https://api.github.com/repos/baxterthehacker/public-repo/{archive_format}{/ref}", + "downloads_url": "https://api.github.com/repos/baxterthehacker/public-repo/downloads", + "issues_url": "https://api.github.com/repos/baxterthehacker/public-repo/issues{/number}", + "pulls_url": "https://api.github.com/repos/baxterthehacker/public-repo/pulls{/number}", + "milestones_url": "https://api.github.com/repos/baxterthehacker/public-repo/milestones{/number}", + "notifications_url": "https://api.github.com/repos/baxterthehacker/public-repo/notifications{?since,all,participating}", + "labels_url": "https://api.github.com/repos/baxterthehacker/public-repo/labels{/name}", + "releases_url": "https://api.github.com/repos/baxterthehacker/public-repo/releases{/id}", + "created_at": "2015-05-05T23:40:12Z", + "updated_at": "2015-05-05T23:40:12Z", + "pushed_at": "2015-05-05T23:40:27Z", + "git_url": "git://github.com/baxterthehacker/public-repo.git", + "ssh_url": "git@github.com:baxterthehacker/public-repo.git", + "clone_url": "https://github.com/baxterthehacker/public-repo.git", + "svn_url": "https://github.com/baxterthehacker/public-repo", + "homepage": null, + "size": 0, + "stargazers_count": 0, + "watchers_count": 0, + "language": null, + "has_issues": true, + "has_downloads": true, + "has_wiki": true, + "has_pages": true, + "forks_count": 0, + "mirror_url": null, + "open_issues_count": 2, + "forks": 0, + "open_issues": 2, + "watchers": 0, + "default_branch": "master" + }, + "organization": { + "login": "baxterandthehackers", + "id": 7649605, + "node_id": "MDg6Q2hlY2tSdW4xMjg2MjAyMjg=", + "url": "https://api.github.com/orgs/baxterandthehackers", + "repos_url": "https://api.github.com/orgs/baxterandthehackers/repos", + "events_url": "https://api.github.com/orgs/baxterandthehackers/events", + "members_url": "https://api.github.com/orgs/baxterandthehackers/members{/member}", + "public_members_url": "https://api.github.com/orgs/baxterandthehackers/public_members{/member}", + "avatar_url": "https://avatars.githubusercontent.com/u/7649605?v=2" + }, + "sender": { + "login": "baxterthehacker", + "id": 6752317, + "node_id": "MDg6Q2hlY2tSdW4xMjg2MjAyMjg=", + "avatar_url": "https://avatars.githubusercontent.com/u/6752317?v=2", + "gravatar_id": "", + "url": "https://api.github.com/users/baxterthehacker", + "html_url": "https://github.com/baxterthehacker", + "followers_url": "https://api.github.com/users/baxterthehacker/followers", + "following_url": "https://api.github.com/users/baxterthehacker/following{/other_user}", + "gists_url": "https://api.github.com/users/baxterthehacker/gists{/gist_id}", + "starred_url": "https://api.github.com/users/baxterthehacker/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/baxterthehacker/subscriptions", + "organizations_url": "https://api.github.com/users/baxterthehacker/orgs", + "repos_url": "https://api.github.com/users/baxterthehacker/repos", + "events_url": "https://api.github.com/users/baxterthehacker/events{/privacy}", + "received_events_url": "https://api.github.com/users/baxterthehacker/received_events", + "type": "User", + "site_admin": false + } +}
fixtures/project-column-event.json view
@@ -1,133 +1,133 @@-{- "action": "created",- "project_column": {- "url": "https://api.github.com/projects/columns/515520",- "project_url": "https://api.github.com/projects/288065",- "cards_url": "https://api.github.com/projects/columns/515520/cards",- "id": 515520,- "node_id": "MDg6Q2hlY2tSdW4xMjg2MjAyMjg=",- "name": "High Priority",- "created_at": "2017-09-27T23:37:43Z",- "updated_at": "2017-09-27T23:39:09Z"- },- "repository": {- "id": 35129377,- "node_id": "MDg6Q2hlY2tSdW4xMjg2MjAyMjg=",- "name": "public-repo",- "full_name": "baxterthehacker/public-repo",- "owner": {- "login": "baxterthehacker",- "id": 6752317,- "node_id": "MDg6Q2hlY2tSdW4xMjg2MjAyMjg=",- "avatar_url": "https://avatars.githubusercontent.com/u/6752317?v=3",- "gravatar_id": "",- "url": "https://api.github.com/users/baxterthehacker",- "html_url": "https://github.com/baxterthehacker",- "followers_url": "https://api.github.com/users/baxterthehacker/followers",- "following_url": "https://api.github.com/users/baxterthehacker/following{/other_user}",- "gists_url": "https://api.github.com/users/baxterthehacker/gists{/gist_id}",- "starred_url": "https://api.github.com/users/baxterthehacker/starred{/owner}{/repo}",- "subscriptions_url": "https://api.github.com/users/baxterthehacker/subscriptions",- "organizations_url": "https://api.github.com/users/baxterthehacker/orgs",- "repos_url": "https://api.github.com/users/baxterthehacker/repos",- "events_url": "https://api.github.com/users/baxterthehacker/events{/privacy}",- "received_events_url": "https://api.github.com/users/baxterthehacker/received_events",- "type": "User",- "site_admin": false- },- "private": false,- "html_url": "https://github.com/baxterthehacker/public-repo",- "description": "",- "fork": false,- "url": "https://api.github.com/repos/baxterthehacker/public-repo",- "forks_url": "https://api.github.com/repos/baxterthehacker/public-repo/forks",- "keys_url": "https://api.github.com/repos/baxterthehacker/public-repo/keys{/key_id}",- "collaborators_url": "https://api.github.com/repos/baxterthehacker/public-repo/collaborators{/collaborator}",- "teams_url": "https://api.github.com/repos/baxterthehacker/public-repo/teams",- "hooks_url": "https://api.github.com/repos/baxterthehacker/public-repo/hooks",- "issue_events_url": "https://api.github.com/repos/baxterthehacker/public-repo/issues/events{/number}",- "events_url": "https://api.github.com/repos/baxterthehacker/public-repo/events",- "assignees_url": "https://api.github.com/repos/baxterthehacker/public-repo/assignees{/user}",- "branches_url": "https://api.github.com/repos/baxterthehacker/public-repo/branches{/branch}",- "tags_url": "https://api.github.com/repos/baxterthehacker/public-repo/tags",- "blobs_url": "https://api.github.com/repos/baxterthehacker/public-repo/git/blobs{/sha}",- "git_tags_url": "https://api.github.com/repos/baxterthehacker/public-repo/git/tags{/sha}",- "git_refs_url": "https://api.github.com/repos/baxterthehacker/public-repo/git/refs{/sha}",- "trees_url": "https://api.github.com/repos/baxterthehacker/public-repo/git/trees{/sha}",- "statuses_url": "https://api.github.com/repos/baxterthehacker/public-repo/statuses/{sha}",- "languages_url": "https://api.github.com/repos/baxterthehacker/public-repo/languages",- "stargazers_url": "https://api.github.com/repos/baxterthehacker/public-repo/stargazers",- "contributors_url": "https://api.github.com/repos/baxterthehacker/public-repo/contributors",- "subscribers_url": "https://api.github.com/repos/baxterthehacker/public-repo/subscribers",- "subscription_url": "https://api.github.com/repos/baxterthehacker/public-repo/subscription",- "commits_url": "https://api.github.com/repos/baxterthehacker/public-repo/commits{/sha}",- "git_commits_url": "https://api.github.com/repos/baxterthehacker/public-repo/git/commits{/sha}",- "comments_url": "https://api.github.com/repos/baxterthehacker/public-repo/comments{/number}",- "issue_comment_url": "https://api.github.com/repos/baxterthehacker/public-repo/issues/comments{/number}",- "contents_url": "https://api.github.com/repos/baxterthehacker/public-repo/contents/{+path}",- "compare_url": "https://api.github.com/repos/baxterthehacker/public-repo/compare/{base}...{head}",- "merges_url": "https://api.github.com/repos/baxterthehacker/public-repo/merges",- "archive_url": "https://api.github.com/repos/baxterthehacker/public-repo/{archive_format}{/ref}",- "downloads_url": "https://api.github.com/repos/baxterthehacker/public-repo/downloads",- "issues_url": "https://api.github.com/repos/baxterthehacker/public-repo/issues{/number}",- "pulls_url": "https://api.github.com/repos/baxterthehacker/public-repo/pulls{/number}",- "milestones_url": "https://api.github.com/repos/baxterthehacker/public-repo/milestones{/number}",- "notifications_url": "https://api.github.com/repos/baxterthehacker/public-repo/notifications{?since,all,participating}",- "labels_url": "https://api.github.com/repos/baxterthehacker/public-repo/labels{/name}",- "releases_url": "https://api.github.com/repos/baxterthehacker/public-repo/releases{/id}",- "created_at": "2015-05-05T23:40:12Z",- "updated_at": "2015-05-05T23:40:12Z",- "pushed_at": "2015-05-05T23:40:27Z",- "git_url": "git://github.com/baxterthehacker/public-repo.git",- "ssh_url": "git@github.com:baxterthehacker/public-repo.git",- "clone_url": "https://github.com/baxterthehacker/public-repo.git",- "svn_url": "https://github.com/baxterthehacker/public-repo",- "homepage": null,- "size": 0,- "stargazers_count": 0,- "watchers_count": 0,- "language": null,- "has_issues": true,- "has_downloads": true,- "has_wiki": true,- "has_pages": true,- "forks_count": 0,- "mirror_url": null,- "open_issues_count": 2,- "forks": 0,- "open_issues": 2,- "watchers": 0,- "default_branch": "master"- },- "organization": {- "login": "baxterandthehackers",- "id": 7649605,- "node_id": "MDg6Q2hlY2tSdW4xMjg2MjAyMjg=",- "url": "https://api.github.com/orgs/baxterandthehackers",- "repos_url": "https://api.github.com/orgs/baxterandthehackers/repos",- "events_url": "https://api.github.com/orgs/baxterandthehackers/events",- "members_url": "https://api.github.com/orgs/baxterandthehackers/members{/member}",- "public_members_url": "https://api.github.com/orgs/baxterandthehackers/public_members{/member}",- "avatar_url": "https://avatars.githubusercontent.com/u/7649605?v=2"- },- "sender": {- "login": "baxterthehacker",- "id": 6752317,- "node_id": "MDg6Q2hlY2tSdW4xMjg2MjAyMjg=",- "avatar_url": "https://avatars.githubusercontent.com/u/6752317?v=2",- "gravatar_id": "",- "url": "https://api.github.com/users/baxterthehacker",- "html_url": "https://github.com/baxterthehacker",- "followers_url": "https://api.github.com/users/baxterthehacker/followers",- "following_url": "https://api.github.com/users/baxterthehacker/following{/other_user}",- "gists_url": "https://api.github.com/users/baxterthehacker/gists{/gist_id}",- "starred_url": "https://api.github.com/users/baxterthehacker/starred{/owner}{/repo}",- "subscriptions_url": "https://api.github.com/users/baxterthehacker/subscriptions",- "organizations_url": "https://api.github.com/users/baxterthehacker/orgs",- "repos_url": "https://api.github.com/users/baxterthehacker/repos",- "events_url": "https://api.github.com/users/baxterthehacker/events{/privacy}",- "received_events_url": "https://api.github.com/users/baxterthehacker/received_events",- "type": "User",- "site_admin": false- }-}+{ + "action": "created", + "project_column": { + "url": "https://api.github.com/projects/columns/515520", + "project_url": "https://api.github.com/projects/288065", + "cards_url": "https://api.github.com/projects/columns/515520/cards", + "id": 515520, + "node_id": "MDg6Q2hlY2tSdW4xMjg2MjAyMjg=", + "name": "High Priority", + "created_at": "2017-09-27T23:37:43Z", + "updated_at": "2017-09-27T23:39:09Z" + }, + "repository": { + "id": 35129377, + "node_id": "MDg6Q2hlY2tSdW4xMjg2MjAyMjg=", + "name": "public-repo", + "full_name": "baxterthehacker/public-repo", + "owner": { + "login": "baxterthehacker", + "id": 6752317, + "node_id": "MDg6Q2hlY2tSdW4xMjg2MjAyMjg=", + "avatar_url": "https://avatars.githubusercontent.com/u/6752317?v=3", + "gravatar_id": "", + "url": "https://api.github.com/users/baxterthehacker", + "html_url": "https://github.com/baxterthehacker", + "followers_url": "https://api.github.com/users/baxterthehacker/followers", + "following_url": "https://api.github.com/users/baxterthehacker/following{/other_user}", + "gists_url": "https://api.github.com/users/baxterthehacker/gists{/gist_id}", + "starred_url": "https://api.github.com/users/baxterthehacker/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/baxterthehacker/subscriptions", + "organizations_url": "https://api.github.com/users/baxterthehacker/orgs", + "repos_url": "https://api.github.com/users/baxterthehacker/repos", + "events_url": "https://api.github.com/users/baxterthehacker/events{/privacy}", + "received_events_url": "https://api.github.com/users/baxterthehacker/received_events", + "type": "User", + "site_admin": false + }, + "private": false, + "html_url": "https://github.com/baxterthehacker/public-repo", + "description": "", + "fork": false, + "url": "https://api.github.com/repos/baxterthehacker/public-repo", + "forks_url": "https://api.github.com/repos/baxterthehacker/public-repo/forks", + "keys_url": "https://api.github.com/repos/baxterthehacker/public-repo/keys{/key_id}", + "collaborators_url": "https://api.github.com/repos/baxterthehacker/public-repo/collaborators{/collaborator}", + "teams_url": "https://api.github.com/repos/baxterthehacker/public-repo/teams", + "hooks_url": "https://api.github.com/repos/baxterthehacker/public-repo/hooks", + "issue_events_url": "https://api.github.com/repos/baxterthehacker/public-repo/issues/events{/number}", + "events_url": "https://api.github.com/repos/baxterthehacker/public-repo/events", + "assignees_url": "https://api.github.com/repos/baxterthehacker/public-repo/assignees{/user}", + "branches_url": "https://api.github.com/repos/baxterthehacker/public-repo/branches{/branch}", + "tags_url": "https://api.github.com/repos/baxterthehacker/public-repo/tags", + "blobs_url": "https://api.github.com/repos/baxterthehacker/public-repo/git/blobs{/sha}", + "git_tags_url": "https://api.github.com/repos/baxterthehacker/public-repo/git/tags{/sha}", + "git_refs_url": "https://api.github.com/repos/baxterthehacker/public-repo/git/refs{/sha}", + "trees_url": "https://api.github.com/repos/baxterthehacker/public-repo/git/trees{/sha}", + "statuses_url": "https://api.github.com/repos/baxterthehacker/public-repo/statuses/{sha}", + "languages_url": "https://api.github.com/repos/baxterthehacker/public-repo/languages", + "stargazers_url": "https://api.github.com/repos/baxterthehacker/public-repo/stargazers", + "contributors_url": "https://api.github.com/repos/baxterthehacker/public-repo/contributors", + "subscribers_url": "https://api.github.com/repos/baxterthehacker/public-repo/subscribers", + "subscription_url": "https://api.github.com/repos/baxterthehacker/public-repo/subscription", + "commits_url": "https://api.github.com/repos/baxterthehacker/public-repo/commits{/sha}", + "git_commits_url": "https://api.github.com/repos/baxterthehacker/public-repo/git/commits{/sha}", + "comments_url": "https://api.github.com/repos/baxterthehacker/public-repo/comments{/number}", + "issue_comment_url": "https://api.github.com/repos/baxterthehacker/public-repo/issues/comments{/number}", + "contents_url": "https://api.github.com/repos/baxterthehacker/public-repo/contents/{+path}", + "compare_url": "https://api.github.com/repos/baxterthehacker/public-repo/compare/{base}...{head}", + "merges_url": "https://api.github.com/repos/baxterthehacker/public-repo/merges", + "archive_url": "https://api.github.com/repos/baxterthehacker/public-repo/{archive_format}{/ref}", + "downloads_url": "https://api.github.com/repos/baxterthehacker/public-repo/downloads", + "issues_url": "https://api.github.com/repos/baxterthehacker/public-repo/issues{/number}", + "pulls_url": "https://api.github.com/repos/baxterthehacker/public-repo/pulls{/number}", + "milestones_url": "https://api.github.com/repos/baxterthehacker/public-repo/milestones{/number}", + "notifications_url": "https://api.github.com/repos/baxterthehacker/public-repo/notifications{?since,all,participating}", + "labels_url": "https://api.github.com/repos/baxterthehacker/public-repo/labels{/name}", + "releases_url": "https://api.github.com/repos/baxterthehacker/public-repo/releases{/id}", + "created_at": "2015-05-05T23:40:12Z", + "updated_at": "2015-05-05T23:40:12Z", + "pushed_at": "2015-05-05T23:40:27Z", + "git_url": "git://github.com/baxterthehacker/public-repo.git", + "ssh_url": "git@github.com:baxterthehacker/public-repo.git", + "clone_url": "https://github.com/baxterthehacker/public-repo.git", + "svn_url": "https://github.com/baxterthehacker/public-repo", + "homepage": null, + "size": 0, + "stargazers_count": 0, + "watchers_count": 0, + "language": null, + "has_issues": true, + "has_downloads": true, + "has_wiki": true, + "has_pages": true, + "forks_count": 0, + "mirror_url": null, + "open_issues_count": 2, + "forks": 0, + "open_issues": 2, + "watchers": 0, + "default_branch": "master" + }, + "organization": { + "login": "baxterandthehackers", + "id": 7649605, + "node_id": "MDg6Q2hlY2tSdW4xMjg2MjAyMjg=", + "url": "https://api.github.com/orgs/baxterandthehackers", + "repos_url": "https://api.github.com/orgs/baxterandthehackers/repos", + "events_url": "https://api.github.com/orgs/baxterandthehackers/events", + "members_url": "https://api.github.com/orgs/baxterandthehackers/members{/member}", + "public_members_url": "https://api.github.com/orgs/baxterandthehackers/public_members{/member}", + "avatar_url": "https://avatars.githubusercontent.com/u/7649605?v=2" + }, + "sender": { + "login": "baxterthehacker", + "id": 6752317, + "node_id": "MDg6Q2hlY2tSdW4xMjg2MjAyMjg=", + "avatar_url": "https://avatars.githubusercontent.com/u/6752317?v=2", + "gravatar_id": "", + "url": "https://api.github.com/users/baxterthehacker", + "html_url": "https://github.com/baxterthehacker", + "followers_url": "https://api.github.com/users/baxterthehacker/followers", + "following_url": "https://api.github.com/users/baxterthehacker/following{/other_user}", + "gists_url": "https://api.github.com/users/baxterthehacker/gists{/gist_id}", + "starred_url": "https://api.github.com/users/baxterthehacker/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/baxterthehacker/subscriptions", + "organizations_url": "https://api.github.com/users/baxterthehacker/orgs", + "repos_url": "https://api.github.com/users/baxterthehacker/repos", + "events_url": "https://api.github.com/users/baxterthehacker/events{/privacy}", + "received_events_url": "https://api.github.com/users/baxterthehacker/received_events", + "type": "User", + "site_admin": false + } +}
fixtures/project-event.json view
@@ -1,156 +1,156 @@-{- "action": "created",- "project": {- "owner_url": "https://api.github.com/repos/baxterthehacker/public-repo",- "url": "https://api.github.com/projects/288065",- "columns_url": "https://api.github.com/projects/288065/columns",- "id": 288065,- "node_id": "MDg6Q2hlY2tSdW4xMjg2MjAyMjg=",- "name": "2017",- "body": "Roadmap for work to be done in 2017",- "number": 10,- "state": "open",- "creator": {- "login": "baxterthehacker",- "id": 6752317,- "node_id": "MDg6Q2hlY2tSdW4xMjg2MjAyMjg=",- "avatar_url": "https://avatars.githubusercontent.com/u/6752317?v=2",- "gravatar_id": "",- "url": "https://api.github.com/users/baxterthehacker",- "html_url": "https://github.com/baxterthehacker",- "followers_url": "https://api.github.com/users/baxterthehacker/followers",- "following_url": "https://api.github.com/users/baxterthehacker/following{/other_user}",- "gists_url": "https://api.github.com/users/baxterthehacker/gists{/gist_id}",- "starred_url": "https://api.github.com/users/baxterthehacker/starred{/owner}{/repo}",- "subscriptions_url": "https://api.github.com/users/baxterthehacker/subscriptions",- "organizations_url": "https://api.github.com/users/baxterthehacker/orgs",- "repos_url": "https://api.github.com/users/baxterthehacker/repos",- "events_url": "https://api.github.com/users/baxterthehacker/events{/privacy}",- "received_events_url": "https://api.github.com/users/baxterthehacker/received_events",- "type": "User",- "site_admin": false- },- "created_at": "2017-09-27T23:37:43Z",- "updated_at": "2017-09-27T23:39:09Z"- },- "repository": {- "id": 35129377,- "node_id": "MDg6Q2hlY2tSdW4xMjg2MjAyMjg=",- "name": "public-repo",- "full_name": "baxterthehacker/public-repo",- "owner": {- "login": "baxterthehacker",- "id": 6752317,- "node_id": "MDg6Q2hlY2tSdW4xMjg2MjAyMjg=",- "avatar_url": "https://avatars.githubusercontent.com/u/6752317?v=3",- "gravatar_id": "",- "url": "https://api.github.com/users/baxterthehacker",- "html_url": "https://github.com/baxterthehacker",- "followers_url": "https://api.github.com/users/baxterthehacker/followers",- "following_url": "https://api.github.com/users/baxterthehacker/following{/other_user}",- "gists_url": "https://api.github.com/users/baxterthehacker/gists{/gist_id}",- "starred_url": "https://api.github.com/users/baxterthehacker/starred{/owner}{/repo}",- "subscriptions_url": "https://api.github.com/users/baxterthehacker/subscriptions",- "organizations_url": "https://api.github.com/users/baxterthehacker/orgs",- "repos_url": "https://api.github.com/users/baxterthehacker/repos",- "events_url": "https://api.github.com/users/baxterthehacker/events{/privacy}",- "received_events_url": "https://api.github.com/users/baxterthehacker/received_events",- "type": "User",- "site_admin": false- },- "private": false,- "html_url": "https://github.com/baxterthehacker/public-repo",- "description": "",- "fork": false,- "url": "https://api.github.com/repos/baxterthehacker/public-repo",- "forks_url": "https://api.github.com/repos/baxterthehacker/public-repo/forks",- "keys_url": "https://api.github.com/repos/baxterthehacker/public-repo/keys{/key_id}",- "collaborators_url": "https://api.github.com/repos/baxterthehacker/public-repo/collaborators{/collaborator}",- "teams_url": "https://api.github.com/repos/baxterthehacker/public-repo/teams",- "hooks_url": "https://api.github.com/repos/baxterthehacker/public-repo/hooks",- "issue_events_url": "https://api.github.com/repos/baxterthehacker/public-repo/issues/events{/number}",- "events_url": "https://api.github.com/repos/baxterthehacker/public-repo/events",- "assignees_url": "https://api.github.com/repos/baxterthehacker/public-repo/assignees{/user}",- "branches_url": "https://api.github.com/repos/baxterthehacker/public-repo/branches{/branch}",- "tags_url": "https://api.github.com/repos/baxterthehacker/public-repo/tags",- "blobs_url": "https://api.github.com/repos/baxterthehacker/public-repo/git/blobs{/sha}",- "git_tags_url": "https://api.github.com/repos/baxterthehacker/public-repo/git/tags{/sha}",- "git_refs_url": "https://api.github.com/repos/baxterthehacker/public-repo/git/refs{/sha}",- "trees_url": "https://api.github.com/repos/baxterthehacker/public-repo/git/trees{/sha}",- "statuses_url": "https://api.github.com/repos/baxterthehacker/public-repo/statuses/{sha}",- "languages_url": "https://api.github.com/repos/baxterthehacker/public-repo/languages",- "stargazers_url": "https://api.github.com/repos/baxterthehacker/public-repo/stargazers",- "contributors_url": "https://api.github.com/repos/baxterthehacker/public-repo/contributors",- "subscribers_url": "https://api.github.com/repos/baxterthehacker/public-repo/subscribers",- "subscription_url": "https://api.github.com/repos/baxterthehacker/public-repo/subscription",- "commits_url": "https://api.github.com/repos/baxterthehacker/public-repo/commits{/sha}",- "git_commits_url": "https://api.github.com/repos/baxterthehacker/public-repo/git/commits{/sha}",- "comments_url": "https://api.github.com/repos/baxterthehacker/public-repo/comments{/number}",- "issue_comment_url": "https://api.github.com/repos/baxterthehacker/public-repo/issues/comments{/number}",- "contents_url": "https://api.github.com/repos/baxterthehacker/public-repo/contents/{+path}",- "compare_url": "https://api.github.com/repos/baxterthehacker/public-repo/compare/{base}...{head}",- "merges_url": "https://api.github.com/repos/baxterthehacker/public-repo/merges",- "archive_url": "https://api.github.com/repos/baxterthehacker/public-repo/{archive_format}{/ref}",- "downloads_url": "https://api.github.com/repos/baxterthehacker/public-repo/downloads",- "issues_url": "https://api.github.com/repos/baxterthehacker/public-repo/issues{/number}",- "pulls_url": "https://api.github.com/repos/baxterthehacker/public-repo/pulls{/number}",- "milestones_url": "https://api.github.com/repos/baxterthehacker/public-repo/milestones{/number}",- "notifications_url": "https://api.github.com/repos/baxterthehacker/public-repo/notifications{?since,all,participating}",- "labels_url": "https://api.github.com/repos/baxterthehacker/public-repo/labels{/name}",- "releases_url": "https://api.github.com/repos/baxterthehacker/public-repo/releases{/id}",- "created_at": "2015-05-05T23:40:12Z",- "updated_at": "2015-05-05T23:40:12Z",- "pushed_at": "2015-05-05T23:40:27Z",- "git_url": "git://github.com/baxterthehacker/public-repo.git",- "ssh_url": "git@github.com:baxterthehacker/public-repo.git",- "clone_url": "https://github.com/baxterthehacker/public-repo.git",- "svn_url": "https://github.com/baxterthehacker/public-repo",- "homepage": null,- "size": 0,- "stargazers_count": 0,- "watchers_count": 0,- "language": null,- "has_issues": true,- "has_downloads": true,- "has_wiki": true,- "has_pages": true,- "forks_count": 0,- "mirror_url": null,- "open_issues_count": 2,- "forks": 0,- "open_issues": 2,- "watchers": 0,- "default_branch": "master"- },- "organization": {- "login": "baxterandthehackers",- "id": 7649605,- "node_id": "MDg6Q2hlY2tSdW4xMjg2MjAyMjg=",- "url": "https://api.github.com/orgs/baxterandthehackers",- "repos_url": "https://api.github.com/orgs/baxterandthehackers/repos",- "events_url": "https://api.github.com/orgs/baxterandthehackers/events",- "members_url": "https://api.github.com/orgs/baxterandthehackers/members{/member}",- "public_members_url": "https://api.github.com/orgs/baxterandthehackers/public_members{/member}",- "avatar_url": "https://avatars.githubusercontent.com/u/7649605?v=2"- },- "sender": {- "login": "baxterthehacker",- "id": 6752317,- "node_id": "MDg6Q2hlY2tSdW4xMjg2MjAyMjg=",- "avatar_url": "https://avatars.githubusercontent.com/u/6752317?v=2",- "gravatar_id": "",- "url": "https://api.github.com/users/baxterthehacker",- "html_url": "https://github.com/baxterthehacker",- "followers_url": "https://api.github.com/users/baxterthehacker/followers",- "following_url": "https://api.github.com/users/baxterthehacker/following{/other_user}",- "gists_url": "https://api.github.com/users/baxterthehacker/gists{/gist_id}",- "starred_url": "https://api.github.com/users/baxterthehacker/starred{/owner}{/repo}",- "subscriptions_url": "https://api.github.com/users/baxterthehacker/subscriptions",- "organizations_url": "https://api.github.com/users/baxterthehacker/orgs",- "repos_url": "https://api.github.com/users/baxterthehacker/repos",- "events_url": "https://api.github.com/users/baxterthehacker/events{/privacy}",- "received_events_url": "https://api.github.com/users/baxterthehacker/received_events",- "type": "User",- "site_admin": false- }-}+{ + "action": "created", + "project": { + "owner_url": "https://api.github.com/repos/baxterthehacker/public-repo", + "url": "https://api.github.com/projects/288065", + "columns_url": "https://api.github.com/projects/288065/columns", + "id": 288065, + "node_id": "MDg6Q2hlY2tSdW4xMjg2MjAyMjg=", + "name": "2017", + "body": "Roadmap for work to be done in 2017", + "number": 10, + "state": "open", + "creator": { + "login": "baxterthehacker", + "id": 6752317, + "node_id": "MDg6Q2hlY2tSdW4xMjg2MjAyMjg=", + "avatar_url": "https://avatars.githubusercontent.com/u/6752317?v=2", + "gravatar_id": "", + "url": "https://api.github.com/users/baxterthehacker", + "html_url": "https://github.com/baxterthehacker", + "followers_url": "https://api.github.com/users/baxterthehacker/followers", + "following_url": "https://api.github.com/users/baxterthehacker/following{/other_user}", + "gists_url": "https://api.github.com/users/baxterthehacker/gists{/gist_id}", + "starred_url": "https://api.github.com/users/baxterthehacker/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/baxterthehacker/subscriptions", + "organizations_url": "https://api.github.com/users/baxterthehacker/orgs", + "repos_url": "https://api.github.com/users/baxterthehacker/repos", + "events_url": "https://api.github.com/users/baxterthehacker/events{/privacy}", + "received_events_url": "https://api.github.com/users/baxterthehacker/received_events", + "type": "User", + "site_admin": false + }, + "created_at": "2017-09-27T23:37:43Z", + "updated_at": "2017-09-27T23:39:09Z" + }, + "repository": { + "id": 35129377, + "node_id": "MDg6Q2hlY2tSdW4xMjg2MjAyMjg=", + "name": "public-repo", + "full_name": "baxterthehacker/public-repo", + "owner": { + "login": "baxterthehacker", + "id": 6752317, + "node_id": "MDg6Q2hlY2tSdW4xMjg2MjAyMjg=", + "avatar_url": "https://avatars.githubusercontent.com/u/6752317?v=3", + "gravatar_id": "", + "url": "https://api.github.com/users/baxterthehacker", + "html_url": "https://github.com/baxterthehacker", + "followers_url": "https://api.github.com/users/baxterthehacker/followers", + "following_url": "https://api.github.com/users/baxterthehacker/following{/other_user}", + "gists_url": "https://api.github.com/users/baxterthehacker/gists{/gist_id}", + "starred_url": "https://api.github.com/users/baxterthehacker/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/baxterthehacker/subscriptions", + "organizations_url": "https://api.github.com/users/baxterthehacker/orgs", + "repos_url": "https://api.github.com/users/baxterthehacker/repos", + "events_url": "https://api.github.com/users/baxterthehacker/events{/privacy}", + "received_events_url": "https://api.github.com/users/baxterthehacker/received_events", + "type": "User", + "site_admin": false + }, + "private": false, + "html_url": "https://github.com/baxterthehacker/public-repo", + "description": "", + "fork": false, + "url": "https://api.github.com/repos/baxterthehacker/public-repo", + "forks_url": "https://api.github.com/repos/baxterthehacker/public-repo/forks", + "keys_url": "https://api.github.com/repos/baxterthehacker/public-repo/keys{/key_id}", + "collaborators_url": "https://api.github.com/repos/baxterthehacker/public-repo/collaborators{/collaborator}", + "teams_url": "https://api.github.com/repos/baxterthehacker/public-repo/teams", + "hooks_url": "https://api.github.com/repos/baxterthehacker/public-repo/hooks", + "issue_events_url": "https://api.github.com/repos/baxterthehacker/public-repo/issues/events{/number}", + "events_url": "https://api.github.com/repos/baxterthehacker/public-repo/events", + "assignees_url": "https://api.github.com/repos/baxterthehacker/public-repo/assignees{/user}", + "branches_url": "https://api.github.com/repos/baxterthehacker/public-repo/branches{/branch}", + "tags_url": "https://api.github.com/repos/baxterthehacker/public-repo/tags", + "blobs_url": "https://api.github.com/repos/baxterthehacker/public-repo/git/blobs{/sha}", + "git_tags_url": "https://api.github.com/repos/baxterthehacker/public-repo/git/tags{/sha}", + "git_refs_url": "https://api.github.com/repos/baxterthehacker/public-repo/git/refs{/sha}", + "trees_url": "https://api.github.com/repos/baxterthehacker/public-repo/git/trees{/sha}", + "statuses_url": "https://api.github.com/repos/baxterthehacker/public-repo/statuses/{sha}", + "languages_url": "https://api.github.com/repos/baxterthehacker/public-repo/languages", + "stargazers_url": "https://api.github.com/repos/baxterthehacker/public-repo/stargazers", + "contributors_url": "https://api.github.com/repos/baxterthehacker/public-repo/contributors", + "subscribers_url": "https://api.github.com/repos/baxterthehacker/public-repo/subscribers", + "subscription_url": "https://api.github.com/repos/baxterthehacker/public-repo/subscription", + "commits_url": "https://api.github.com/repos/baxterthehacker/public-repo/commits{/sha}", + "git_commits_url": "https://api.github.com/repos/baxterthehacker/public-repo/git/commits{/sha}", + "comments_url": "https://api.github.com/repos/baxterthehacker/public-repo/comments{/number}", + "issue_comment_url": "https://api.github.com/repos/baxterthehacker/public-repo/issues/comments{/number}", + "contents_url": "https://api.github.com/repos/baxterthehacker/public-repo/contents/{+path}", + "compare_url": "https://api.github.com/repos/baxterthehacker/public-repo/compare/{base}...{head}", + "merges_url": "https://api.github.com/repos/baxterthehacker/public-repo/merges", + "archive_url": "https://api.github.com/repos/baxterthehacker/public-repo/{archive_format}{/ref}", + "downloads_url": "https://api.github.com/repos/baxterthehacker/public-repo/downloads", + "issues_url": "https://api.github.com/repos/baxterthehacker/public-repo/issues{/number}", + "pulls_url": "https://api.github.com/repos/baxterthehacker/public-repo/pulls{/number}", + "milestones_url": "https://api.github.com/repos/baxterthehacker/public-repo/milestones{/number}", + "notifications_url": "https://api.github.com/repos/baxterthehacker/public-repo/notifications{?since,all,participating}", + "labels_url": "https://api.github.com/repos/baxterthehacker/public-repo/labels{/name}", + "releases_url": "https://api.github.com/repos/baxterthehacker/public-repo/releases{/id}", + "created_at": "2015-05-05T23:40:12Z", + "updated_at": "2015-05-05T23:40:12Z", + "pushed_at": "2015-05-05T23:40:27Z", + "git_url": "git://github.com/baxterthehacker/public-repo.git", + "ssh_url": "git@github.com:baxterthehacker/public-repo.git", + "clone_url": "https://github.com/baxterthehacker/public-repo.git", + "svn_url": "https://github.com/baxterthehacker/public-repo", + "homepage": null, + "size": 0, + "stargazers_count": 0, + "watchers_count": 0, + "language": null, + "has_issues": true, + "has_downloads": true, + "has_wiki": true, + "has_pages": true, + "forks_count": 0, + "mirror_url": null, + "open_issues_count": 2, + "forks": 0, + "open_issues": 2, + "watchers": 0, + "default_branch": "master" + }, + "organization": { + "login": "baxterandthehackers", + "id": 7649605, + "node_id": "MDg6Q2hlY2tSdW4xMjg2MjAyMjg=", + "url": "https://api.github.com/orgs/baxterandthehackers", + "repos_url": "https://api.github.com/orgs/baxterandthehackers/repos", + "events_url": "https://api.github.com/orgs/baxterandthehackers/events", + "members_url": "https://api.github.com/orgs/baxterandthehackers/members{/member}", + "public_members_url": "https://api.github.com/orgs/baxterandthehackers/public_members{/member}", + "avatar_url": "https://avatars.githubusercontent.com/u/7649605?v=2" + }, + "sender": { + "login": "baxterthehacker", + "id": 6752317, + "node_id": "MDg6Q2hlY2tSdW4xMjg2MjAyMjg=", + "avatar_url": "https://avatars.githubusercontent.com/u/6752317?v=2", + "gravatar_id": "", + "url": "https://api.github.com/users/baxterthehacker", + "html_url": "https://github.com/baxterthehacker", + "followers_url": "https://api.github.com/users/baxterthehacker/followers", + "following_url": "https://api.github.com/users/baxterthehacker/following{/other_user}", + "gists_url": "https://api.github.com/users/baxterthehacker/gists{/gist_id}", + "starred_url": "https://api.github.com/users/baxterthehacker/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/baxterthehacker/subscriptions", + "organizations_url": "https://api.github.com/users/baxterthehacker/orgs", + "repos_url": "https://api.github.com/users/baxterthehacker/repos", + "events_url": "https://api.github.com/users/baxterthehacker/events{/privacy}", + "received_events_url": "https://api.github.com/users/baxterthehacker/received_events", + "type": "User", + "site_admin": false + } +}
fixtures/public-event.json view
@@ -1,111 +1,111 @@-{- "repository": {- "id": 35129377,- "node_id": "MDg6Q2hlY2tSdW4xMjg2MjAyMjg=",- "name": "public-repo",- "full_name": "baxterthehacker/public-repo",- "owner": {- "login": "baxterthehacker",- "id": 6752317,- "node_id": "MDg6Q2hlY2tSdW4xMjg2MjAyMjg=",- "avatar_url": "https://avatars.githubusercontent.com/u/6752317?v=3",- "gravatar_id": "",- "url": "https://api.github.com/users/baxterthehacker",- "html_url": "https://github.com/baxterthehacker",- "followers_url": "https://api.github.com/users/baxterthehacker/followers",- "following_url": "https://api.github.com/users/baxterthehacker/following{/other_user}",- "gists_url": "https://api.github.com/users/baxterthehacker/gists{/gist_id}",- "starred_url": "https://api.github.com/users/baxterthehacker/starred{/owner}{/repo}",- "subscriptions_url": "https://api.github.com/users/baxterthehacker/subscriptions",- "organizations_url": "https://api.github.com/users/baxterthehacker/orgs",- "repos_url": "https://api.github.com/users/baxterthehacker/repos",- "events_url": "https://api.github.com/users/baxterthehacker/events{/privacy}",- "received_events_url": "https://api.github.com/users/baxterthehacker/received_events",- "type": "User",- "site_admin": false- },- "private": false,- "html_url": "https://github.com/baxterthehacker/public-repo",- "description": "",- "fork": false,- "url": "https://api.github.com/repos/baxterthehacker/public-repo",- "forks_url": "https://api.github.com/repos/baxterthehacker/public-repo/forks",- "keys_url": "https://api.github.com/repos/baxterthehacker/public-repo/keys{/key_id}",- "collaborators_url": "https://api.github.com/repos/baxterthehacker/public-repo/collaborators{/collaborator}",- "teams_url": "https://api.github.com/repos/baxterthehacker/public-repo/teams",- "hooks_url": "https://api.github.com/repos/baxterthehacker/public-repo/hooks",- "issue_events_url": "https://api.github.com/repos/baxterthehacker/public-repo/issues/events{/number}",- "events_url": "https://api.github.com/repos/baxterthehacker/public-repo/events",- "assignees_url": "https://api.github.com/repos/baxterthehacker/public-repo/assignees{/user}",- "branches_url": "https://api.github.com/repos/baxterthehacker/public-repo/branches{/branch}",- "tags_url": "https://api.github.com/repos/baxterthehacker/public-repo/tags",- "blobs_url": "https://api.github.com/repos/baxterthehacker/public-repo/git/blobs{/sha}",- "git_tags_url": "https://api.github.com/repos/baxterthehacker/public-repo/git/tags{/sha}",- "git_refs_url": "https://api.github.com/repos/baxterthehacker/public-repo/git/refs{/sha}",- "trees_url": "https://api.github.com/repos/baxterthehacker/public-repo/git/trees{/sha}",- "statuses_url": "https://api.github.com/repos/baxterthehacker/public-repo/statuses/{sha}",- "languages_url": "https://api.github.com/repos/baxterthehacker/public-repo/languages",- "stargazers_url": "https://api.github.com/repos/baxterthehacker/public-repo/stargazers",- "contributors_url": "https://api.github.com/repos/baxterthehacker/public-repo/contributors",- "subscribers_url": "https://api.github.com/repos/baxterthehacker/public-repo/subscribers",- "subscription_url": "https://api.github.com/repos/baxterthehacker/public-repo/subscription",- "commits_url": "https://api.github.com/repos/baxterthehacker/public-repo/commits{/sha}",- "git_commits_url": "https://api.github.com/repos/baxterthehacker/public-repo/git/commits{/sha}",- "comments_url": "https://api.github.com/repos/baxterthehacker/public-repo/comments{/number}",- "issue_comment_url": "https://api.github.com/repos/baxterthehacker/public-repo/issues/comments{/number}",- "contents_url": "https://api.github.com/repos/baxterthehacker/public-repo/contents/{+path}",- "compare_url": "https://api.github.com/repos/baxterthehacker/public-repo/compare/{base}...{head}",- "merges_url": "https://api.github.com/repos/baxterthehacker/public-repo/merges",- "archive_url": "https://api.github.com/repos/baxterthehacker/public-repo/{archive_format}{/ref}",- "downloads_url": "https://api.github.com/repos/baxterthehacker/public-repo/downloads",- "issues_url": "https://api.github.com/repos/baxterthehacker/public-repo/issues{/number}",- "pulls_url": "https://api.github.com/repos/baxterthehacker/public-repo/pulls{/number}",- "milestones_url": "https://api.github.com/repos/baxterthehacker/public-repo/milestones{/number}",- "notifications_url": "https://api.github.com/repos/baxterthehacker/public-repo/notifications{?since,all,participating}",- "labels_url": "https://api.github.com/repos/baxterthehacker/public-repo/labels{/name}",- "releases_url": "https://api.github.com/repos/baxterthehacker/public-repo/releases{/id}",- "created_at": "2015-05-05T23:40:12Z",- "updated_at": "2015-05-05T23:40:41Z",- "pushed_at": "2015-05-05T23:40:40Z",- "git_url": "git://github.com/baxterthehacker/public-repo.git",- "ssh_url": "git@github.com:baxterthehacker/public-repo.git",- "clone_url": "https://github.com/baxterthehacker/public-repo.git",- "svn_url": "https://github.com/baxterthehacker/public-repo",- "homepage": null,- "size": 0,- "stargazers_count": 0,- "watchers_count": 0,- "language": null,- "has_issues": true,- "has_downloads": true,- "has_wiki": true,- "has_pages": true,- "forks_count": 0,- "mirror_url": null,- "open_issues_count": 2,- "forks": 0,- "open_issues": 2,- "watchers": 0,- "default_branch": "master"- },- "sender": {- "login": "baxterthehacker",- "id": 6752317,- "node_id": "MDg6Q2hlY2tSdW4xMjg2MjAyMjg=",- "avatar_url": "https://avatars.githubusercontent.com/u/6752317?v=3",- "gravatar_id": "",- "url": "https://api.github.com/users/baxterthehacker",- "html_url": "https://github.com/baxterthehacker",- "followers_url": "https://api.github.com/users/baxterthehacker/followers",- "following_url": "https://api.github.com/users/baxterthehacker/following{/other_user}",- "gists_url": "https://api.github.com/users/baxterthehacker/gists{/gist_id}",- "starred_url": "https://api.github.com/users/baxterthehacker/starred{/owner}{/repo}",- "subscriptions_url": "https://api.github.com/users/baxterthehacker/subscriptions",- "organizations_url": "https://api.github.com/users/baxterthehacker/orgs",- "repos_url": "https://api.github.com/users/baxterthehacker/repos",- "events_url": "https://api.github.com/users/baxterthehacker/events{/privacy}",- "received_events_url": "https://api.github.com/users/baxterthehacker/received_events",- "type": "User",- "site_admin": false- }-}+{ + "repository": { + "id": 35129377, + "node_id": "MDg6Q2hlY2tSdW4xMjg2MjAyMjg=", + "name": "public-repo", + "full_name": "baxterthehacker/public-repo", + "owner": { + "login": "baxterthehacker", + "id": 6752317, + "node_id": "MDg6Q2hlY2tSdW4xMjg2MjAyMjg=", + "avatar_url": "https://avatars.githubusercontent.com/u/6752317?v=3", + "gravatar_id": "", + "url": "https://api.github.com/users/baxterthehacker", + "html_url": "https://github.com/baxterthehacker", + "followers_url": "https://api.github.com/users/baxterthehacker/followers", + "following_url": "https://api.github.com/users/baxterthehacker/following{/other_user}", + "gists_url": "https://api.github.com/users/baxterthehacker/gists{/gist_id}", + "starred_url": "https://api.github.com/users/baxterthehacker/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/baxterthehacker/subscriptions", + "organizations_url": "https://api.github.com/users/baxterthehacker/orgs", + "repos_url": "https://api.github.com/users/baxterthehacker/repos", + "events_url": "https://api.github.com/users/baxterthehacker/events{/privacy}", + "received_events_url": "https://api.github.com/users/baxterthehacker/received_events", + "type": "User", + "site_admin": false + }, + "private": false, + "html_url": "https://github.com/baxterthehacker/public-repo", + "description": "", + "fork": false, + "url": "https://api.github.com/repos/baxterthehacker/public-repo", + "forks_url": "https://api.github.com/repos/baxterthehacker/public-repo/forks", + "keys_url": "https://api.github.com/repos/baxterthehacker/public-repo/keys{/key_id}", + "collaborators_url": "https://api.github.com/repos/baxterthehacker/public-repo/collaborators{/collaborator}", + "teams_url": "https://api.github.com/repos/baxterthehacker/public-repo/teams", + "hooks_url": "https://api.github.com/repos/baxterthehacker/public-repo/hooks", + "issue_events_url": "https://api.github.com/repos/baxterthehacker/public-repo/issues/events{/number}", + "events_url": "https://api.github.com/repos/baxterthehacker/public-repo/events", + "assignees_url": "https://api.github.com/repos/baxterthehacker/public-repo/assignees{/user}", + "branches_url": "https://api.github.com/repos/baxterthehacker/public-repo/branches{/branch}", + "tags_url": "https://api.github.com/repos/baxterthehacker/public-repo/tags", + "blobs_url": "https://api.github.com/repos/baxterthehacker/public-repo/git/blobs{/sha}", + "git_tags_url": "https://api.github.com/repos/baxterthehacker/public-repo/git/tags{/sha}", + "git_refs_url": "https://api.github.com/repos/baxterthehacker/public-repo/git/refs{/sha}", + "trees_url": "https://api.github.com/repos/baxterthehacker/public-repo/git/trees{/sha}", + "statuses_url": "https://api.github.com/repos/baxterthehacker/public-repo/statuses/{sha}", + "languages_url": "https://api.github.com/repos/baxterthehacker/public-repo/languages", + "stargazers_url": "https://api.github.com/repos/baxterthehacker/public-repo/stargazers", + "contributors_url": "https://api.github.com/repos/baxterthehacker/public-repo/contributors", + "subscribers_url": "https://api.github.com/repos/baxterthehacker/public-repo/subscribers", + "subscription_url": "https://api.github.com/repos/baxterthehacker/public-repo/subscription", + "commits_url": "https://api.github.com/repos/baxterthehacker/public-repo/commits{/sha}", + "git_commits_url": "https://api.github.com/repos/baxterthehacker/public-repo/git/commits{/sha}", + "comments_url": "https://api.github.com/repos/baxterthehacker/public-repo/comments{/number}", + "issue_comment_url": "https://api.github.com/repos/baxterthehacker/public-repo/issues/comments{/number}", + "contents_url": "https://api.github.com/repos/baxterthehacker/public-repo/contents/{+path}", + "compare_url": "https://api.github.com/repos/baxterthehacker/public-repo/compare/{base}...{head}", + "merges_url": "https://api.github.com/repos/baxterthehacker/public-repo/merges", + "archive_url": "https://api.github.com/repos/baxterthehacker/public-repo/{archive_format}{/ref}", + "downloads_url": "https://api.github.com/repos/baxterthehacker/public-repo/downloads", + "issues_url": "https://api.github.com/repos/baxterthehacker/public-repo/issues{/number}", + "pulls_url": "https://api.github.com/repos/baxterthehacker/public-repo/pulls{/number}", + "milestones_url": "https://api.github.com/repos/baxterthehacker/public-repo/milestones{/number}", + "notifications_url": "https://api.github.com/repos/baxterthehacker/public-repo/notifications{?since,all,participating}", + "labels_url": "https://api.github.com/repos/baxterthehacker/public-repo/labels{/name}", + "releases_url": "https://api.github.com/repos/baxterthehacker/public-repo/releases{/id}", + "created_at": "2015-05-05T23:40:12Z", + "updated_at": "2015-05-05T23:40:41Z", + "pushed_at": "2015-05-05T23:40:40Z", + "git_url": "git://github.com/baxterthehacker/public-repo.git", + "ssh_url": "git@github.com:baxterthehacker/public-repo.git", + "clone_url": "https://github.com/baxterthehacker/public-repo.git", + "svn_url": "https://github.com/baxterthehacker/public-repo", + "homepage": null, + "size": 0, + "stargazers_count": 0, + "watchers_count": 0, + "language": null, + "has_issues": true, + "has_downloads": true, + "has_wiki": true, + "has_pages": true, + "forks_count": 0, + "mirror_url": null, + "open_issues_count": 2, + "forks": 0, + "open_issues": 2, + "watchers": 0, + "default_branch": "master" + }, + "sender": { + "login": "baxterthehacker", + "id": 6752317, + "node_id": "MDg6Q2hlY2tSdW4xMjg2MjAyMjg=", + "avatar_url": "https://avatars.githubusercontent.com/u/6752317?v=3", + "gravatar_id": "", + "url": "https://api.github.com/users/baxterthehacker", + "html_url": "https://github.com/baxterthehacker", + "followers_url": "https://api.github.com/users/baxterthehacker/followers", + "following_url": "https://api.github.com/users/baxterthehacker/following{/other_user}", + "gists_url": "https://api.github.com/users/baxterthehacker/gists{/gist_id}", + "starred_url": "https://api.github.com/users/baxterthehacker/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/baxterthehacker/subscriptions", + "organizations_url": "https://api.github.com/users/baxterthehacker/orgs", + "repos_url": "https://api.github.com/users/baxterthehacker/repos", + "events_url": "https://api.github.com/users/baxterthehacker/events{/privacy}", + "received_events_url": "https://api.github.com/users/baxterthehacker/received_events", + "type": "User", + "site_admin": false + } +}
+ fixtures/pull-request-delete-null-head-repo-anomaly.json view
@@ -0,0 +1,405 @@+{ + "action": "closed", + "number": 254, + "pull_request": { + "url": "https://api.github.com/repos/upstreamowner/therepo/pulls/254", + "id": 57285673867, + "node_id": "PR_kwODAywNcw4ukzp6", + "html_url": "https://github.com/upstreamowner/therepo/pull/254", + "diff_url": "https://github.com/upstreamowner/therepo/pull/254.diff", + "patch_url": "https://github.com/upstreamowner/therepo/pull/254.patch", + "issue_url": "https://api.github.com/repos/upstreamowner/therepo/issues/254", + "number": 254, + "state": "closed", + "locked": false, + "title": "This was a PR title", + "user": { + "login": "thecontributor", + "id": 8425382758, + "node_id": "MDV6XQlcQjN1EjNNQ4T3", + "avatar_url": "https://avatars.githubusercontent.com/u/8425382758?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/thecontributor", + "html_url": "https://github.com/thecontributor", + "followers_url": "https://api.github.com/users/thecontributor/followers", + "following_url": "https://api.github.com/users/thecontributor/following{/other_user}", + "gists_url": "https://api.github.com/users/thecontributor/gists{/gist_id}", + "starred_url": "https://api.github.com/users/thecontributor/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/thecontributor/subscriptions", + "organizations_url": "https://api.github.com/users/thecontributor/orgs", + "repos_url": "https://api.github.com/users/thecontributor/repos", + "events_url": "https://api.github.com/users/thecontributor/events{/privacy}", + "received_events_url": "https://api.github.com/users/thecontributor/received_events", + "type": "User", + "site_admin": false + }, + "body": null, + "created_at": "2021-11-20T20:00:00Z", + "updated_at": "2021-11-20T20:00:00Z", + "closed_at": "2021-11-20T20:00:00Z", + "merged_at": null, + "merge_commit_sha": null, + "assignee": null, + "assignees": [], + "requested_reviewers": [], + "requested_teams": [], + "labels": [], + "milestone": null, + "draft": false, + "commits_url": "https://api.github.com/repos/upstreamowner/therepo/pulls/254/commits", + "review_comments_url": "https://api.github.com/repos/upstreamowner/therepo/pulls/254/comments", + "review_comment_url": "https://api.github.com/repos/upstreamowner/therepo/pulls/comments{/number}", + "comments_url": "https://api.github.com/repos/upstreamowner/therepo/issues/254/comments", + "statuses_url": "https://api.github.com/repos/upstreamowner/therepo/statuses/b31c9f3501a256e212364c839050736f49e5fa6e", + "head": { + "label": "thecontributor:master", + "ref": "master", + "sha": "b319cf3510a25e621236c483950073f6495ef6ae", + "user": { + "login": "thecontributor", + "id": 8425382758, + "node_id": "MDQ6VXNlcjQ1NjE4NTQ3", + "avatar_url": "https://avatars.githubusercontent.com/u/8425382758?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/thecontributor", + "html_url": "https://github.com/thecontributor", + "followers_url": "https://api.github.com/users/thecontributor/followers", + "following_url": "https://api.github.com/users/thecontributor/following{/other_user}", + "gists_url": "https://api.github.com/users/thecontributor/gists{/gist_id}", + "starred_url": "https://api.github.com/users/thecontributor/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/thecontributor/subscriptions", + "organizations_url": "https://api.github.com/users/thecontributor/orgs", + "repos_url": "https://api.github.com/users/thecontributor/repos", + "events_url": "https://api.github.com/users/thecontributor/events{/privacy}", + "received_events_url": "https://api.github.com/users/thecontributor/received_events", + "type": "User", + "site_admin": false + }, + "repo": null + }, + "base": { + "label": "upstreamowner:master", + "ref": "master", + "sha": "a42211bde42a98b41bc673f4e90f7b01b41fde5a", + "user": { + "login": "upstreamowner", + "id": 23804562983764, + "node_id": "MDEykO9yZF2auXpdhGvlbjEM2kT3TOQ3", + "avatar_url": "https://avatars.githubusercontent.com/u/23804562983764?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/upstreamowner", + "html_url": "https://github.com/upstreamowner", + "followers_url": "https://api.github.com/users/upstreamowner/followers", + "following_url": "https://api.github.com/users/upstreamowner/following{/other_user}", + "gists_url": "https://api.github.com/users/upstreamowner/gists{/gist_id}", + "starred_url": "https://api.github.com/users/upstreamowner/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/upstreamowner/subscriptions", + "organizations_url": "https://api.github.com/users/upstreamowner/orgs", + "repos_url": "https://api.github.com/users/upstreamowner/repos", + "events_url": "https://api.github.com/users/upstreamowner/events{/privacy}", + "received_events_url": "https://api.github.com/users/upstreamowner/received_events", + "type": "Organization", + "site_admin": false + }, + "repo": { + "id": 53218753, + "node_id": "MDEwOlJlcG9zaXRvcnk1MzIxODc1Mw==", + "name": "therepo", + "full_name": "upstreamowner/therepo", + "private": false, + "owner": { + "login": "upstreamowner", + "id": 23804562983764, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjE2MTk3OTQ3", + "avatar_url": "https://avatars.githubusercontent.com/u/23804562983764?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/upstreamowner", + "html_url": "https://github.com/upstreamowner", + "followers_url": "https://api.github.com/users/upstreamowner/followers", + "following_url": "https://api.github.com/users/upstreamowner/following{/other_user}", + "gists_url": "https://api.github.com/users/upstreamowner/gists{/gist_id}", + "starred_url": "https://api.github.com/users/upstreamowner/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/upstreamowner/subscriptions", + "organizations_url": "https://api.github.com/users/upstreamowner/orgs", + "repos_url": "https://api.github.com/users/upstreamowner/repos", + "events_url": "https://api.github.com/users/upstreamowner/events{/privacy}", + "received_events_url": "https://api.github.com/users/upstreamowner/received_events", + "type": "Organization", + "site_admin": false + }, + "html_url": "https://github.com/upstreamowner/therepo", + "description": "Build scripts for the server", + "fork": false, + "url": "https://api.github.com/repos/upstreamowner/therepo", + "forks_url": "https://api.github.com/repos/upstreamowner/therepo/forks", + "keys_url": "https://api.github.com/repos/upstreamowner/therepo/keys{/key_id}", + "collaborators_url": "https://api.github.com/repos/upstreamowner/therepo/collaborators{/collaborator}", + "teams_url": "https://api.github.com/repos/upstreamowner/therepo/teams", + "hooks_url": "https://api.github.com/repos/upstreamowner/therepo/hooks", + "issue_events_url": "https://api.github.com/repos/upstreamowner/therepo/issues/events{/number}", + "events_url": "https://api.github.com/repos/upstreamowner/therepo/events", + "assignees_url": "https://api.github.com/repos/upstreamowner/therepo/assignees{/user}", + "branches_url": "https://api.github.com/repos/upstreamowner/therepo/branches{/branch}", + "tags_url": "https://api.github.com/repos/upstreamowner/therepo/tags", + "blobs_url": "https://api.github.com/repos/upstreamowner/therepo/git/blobs{/sha}", + "git_tags_url": "https://api.github.com/repos/upstreamowner/therepo/git/tags{/sha}", + "git_refs_url": "https://api.github.com/repos/upstreamowner/therepo/git/refs{/sha}", + "trees_url": "https://api.github.com/repos/upstreamowner/therepo/git/trees{/sha}", + "statuses_url": "https://api.github.com/repos/upstreamowner/therepo/statuses/{sha}", + "languages_url": "https://api.github.com/repos/upstreamowner/therepo/languages", + "stargazers_url": "https://api.github.com/repos/upstreamowner/therepo/stargazers", + "contributors_url": "https://api.github.com/repos/upstreamowner/therepo/contributors", + "subscribers_url": "https://api.github.com/repos/upstreamowner/therepo/subscribers", + "subscription_url": "https://api.github.com/repos/upstreamowner/therepo/subscription", + "commits_url": "https://api.github.com/repos/upstreamowner/therepo/commits{/sha}", + "git_commits_url": "https://api.github.com/repos/upstreamowner/therepo/git/commits{/sha}", + "comments_url": "https://api.github.com/repos/upstreamowner/therepo/comments{/number}", + "issue_comment_url": "https://api.github.com/repos/upstreamowner/therepo/issues/comments{/number}", + "contents_url": "https://api.github.com/repos/upstreamowner/therepo/contents/{+path}", + "compare_url": "https://api.github.com/repos/upstreamowner/therepo/compare/{base}...{head}", + "merges_url": "https://api.github.com/repos/upstreamowner/therepo/merges", + "archive_url": "https://api.github.com/repos/upstreamowner/therepo/{archive_format}{/ref}", + "downloads_url": "https://api.github.com/repos/upstreamowner/therepo/downloads", + "issues_url": "https://api.github.com/repos/upstreamowner/therepo/issues{/number}", + "pulls_url": "https://api.github.com/repos/upstreamowner/therepo/pulls{/number}", + "milestones_url": "https://api.github.com/repos/upstreamowner/therepo/milestones{/number}", + "notifications_url": "https://api.github.com/repos/upstreamowner/therepo/notifications{?since,all,participating}", + "labels_url": "https://api.github.com/repos/upstreamowner/therepo/labels{/name}", + "releases_url": "https://api.github.com/repos/upstreamowner/therepo/releases{/id}", + "deployments_url": "https://api.github.com/repos/upstreamowner/therepo/deployments", + "created_at": "2016-01-01T00:00:00Z", + "updated_at": "2021-11-13T22:00:00Z", + "pushed_at": "2021-11-20T20:00:00Z", + "git_url": "git://github.com/upstreamowner/therepo.git", + "ssh_url": "git@github.com:upstreamowner/therepo.git", + "clone_url": "https://github.com/upstreamowner/therepo.git", + "svn_url": "https://github.com/upstreamowner/therepo", + "homepage": "", + "size": 429518, + "stargazers_count": 8, + "watchers_count": 8, + "language": "SomeLanguage", + "has_issues": true, + "has_projects": true, + "has_downloads": true, + "has_wiki": true, + "has_pages": false, + "forks_count": 17, + "mirror_url": null, + "archived": false, + "disabled": false, + "open_issues_count": 3, + "license": { + "key": "mit", + "name": "MIT License", + "spdx_id": "MIT", + "url": "https://api.github.com/licenses/mit", + "node_id": "MDc6TGljZW5zZTEz" + }, + "allow_forking": true, + "is_template": false, + "topics": [ + "mods", + "nix" + ], + "visibility": "public", + "forks": 17, + "open_issues": 3, + "watchers": 8, + "default_branch": "master", + "allow_squash_merge": true, + "allow_merge_commit": true, + "allow_rebase_merge": true, + "allow_auto_merge": false, + "delete_branch_on_merge": false, + "allow_update_branch": false + } + }, + "_links": { + "self": { + "href": "https://api.github.com/repos/upstreamowner/therepo/pulls/254" + }, + "html": { + "href": "https://github.com/upstreamowner/therepo/pull/254" + }, + "issue": { + "href": "https://api.github.com/repos/upstreamowner/therepo/issues/254" + }, + "comments": { + "href": "https://api.github.com/repos/upstreamowner/therepo/issues/254/comments" + }, + "review_comments": { + "href": "https://api.github.com/repos/upstreamowner/therepo/pulls/254/comments" + }, + "review_comment": { + "href": "https://api.github.com/repos/upstreamowner/therepo/pulls/comments{/number}" + }, + "commits": { + "href": "https://api.github.com/repos/upstreamowner/therepo/pulls/254/commits" + }, + "statuses": { + "href": "https://api.github.com/repos/upstreamowner/therepo/statuses/b31c9f3501a256e212364c839050736f49e5fa6e" + } + }, + "author_association": "CONTRIBUTOR", + "auto_merge": null, + "active_lock_reason": null, + "merged": false, + "mergeable": false, + "rebaseable": false, + "mergeable_state": "dirty", + "merged_by": null, + "comments": 2, + "review_comments": 0, + "maintainer_can_modify": false, + "commits": 4, + "additions": 21424, + "deletions": 0, + "changed_files": 1605 + }, + "repository": { + "id": 53218753, + "node_id": "MDEwOlJlcG9zaXRvcnk1MzIxODc1Mw==", + "name": "therepo", + "full_name": "upstreamowner/therepo", + "private": false, + "owner": { + "login": "upstreamowner", + "id": 23804562983764, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjE2MTk3OTQ3", + "avatar_url": "https://avatars.githubusercontent.com/u/23804562983764?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/upstreamowner", + "html_url": "https://github.com/upstreamowner", + "followers_url": "https://api.github.com/users/upstreamowner/followers", + "following_url": "https://api.github.com/users/upstreamowner/following{/other_user}", + "gists_url": "https://api.github.com/users/upstreamowner/gists{/gist_id}", + "starred_url": "https://api.github.com/users/upstreamowner/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/upstreamowner/subscriptions", + "organizations_url": "https://api.github.com/users/upstreamowner/orgs", + "repos_url": "https://api.github.com/users/upstreamowner/repos", + "events_url": "https://api.github.com/users/upstreamowner/events{/privacy}", + "received_events_url": "https://api.github.com/users/upstreamowner/received_events", + "type": "Organization", + "site_admin": false + }, + "html_url": "https://github.com/upstreamowner/therepo", + "description": "Build scripts for the server", + "fork": false, + "url": "https://api.github.com/repos/upstreamowner/therepo", + "forks_url": "https://api.github.com/repos/upstreamowner/therepo/forks", + "keys_url": "https://api.github.com/repos/upstreamowner/therepo/keys{/key_id}", + "collaborators_url": "https://api.github.com/repos/upstreamowner/therepo/collaborators{/collaborator}", + "teams_url": "https://api.github.com/repos/upstreamowner/therepo/teams", + "hooks_url": "https://api.github.com/repos/upstreamowner/therepo/hooks", + "issue_events_url": "https://api.github.com/repos/upstreamowner/therepo/issues/events{/number}", + "events_url": "https://api.github.com/repos/upstreamowner/therepo/events", + "assignees_url": "https://api.github.com/repos/upstreamowner/therepo/assignees{/user}", + "branches_url": "https://api.github.com/repos/upstreamowner/therepo/branches{/branch}", + "tags_url": "https://api.github.com/repos/upstreamowner/therepo/tags", + "blobs_url": "https://api.github.com/repos/upstreamowner/therepo/git/blobs{/sha}", + "git_tags_url": "https://api.github.com/repos/upstreamowner/therepo/git/tags{/sha}", + "git_refs_url": "https://api.github.com/repos/upstreamowner/therepo/git/refs{/sha}", + "trees_url": "https://api.github.com/repos/upstreamowner/therepo/git/trees{/sha}", + "statuses_url": "https://api.github.com/repos/upstreamowner/therepo/statuses/{sha}", + "languages_url": "https://api.github.com/repos/upstreamowner/therepo/languages", + "stargazers_url": "https://api.github.com/repos/upstreamowner/therepo/stargazers", + "contributors_url": "https://api.github.com/repos/upstreamowner/therepo/contributors", + "subscribers_url": "https://api.github.com/repos/upstreamowner/therepo/subscribers", + "subscription_url": "https://api.github.com/repos/upstreamowner/therepo/subscription", + "commits_url": "https://api.github.com/repos/upstreamowner/therepo/commits{/sha}", + "git_commits_url": "https://api.github.com/repos/upstreamowner/therepo/git/commits{/sha}", + "comments_url": "https://api.github.com/repos/upstreamowner/therepo/comments{/number}", + "issue_comment_url": "https://api.github.com/repos/upstreamowner/therepo/issues/comments{/number}", + "contents_url": "https://api.github.com/repos/upstreamowner/therepo/contents/{+path}", + "compare_url": "https://api.github.com/repos/upstreamowner/therepo/compare/{base}...{head}", + "merges_url": "https://api.github.com/repos/upstreamowner/therepo/merges", + "archive_url": "https://api.github.com/repos/upstreamowner/therepo/{archive_format}{/ref}", + "downloads_url": "https://api.github.com/repos/upstreamowner/therepo/downloads", + "issues_url": "https://api.github.com/repos/upstreamowner/therepo/issues{/number}", + "pulls_url": "https://api.github.com/repos/upstreamowner/therepo/pulls{/number}", + "milestones_url": "https://api.github.com/repos/upstreamowner/therepo/milestones{/number}", + "notifications_url": "https://api.github.com/repos/upstreamowner/therepo/notifications{?since,all,participating}", + "labels_url": "https://api.github.com/repos/upstreamowner/therepo/labels{/name}", + "releases_url": "https://api.github.com/repos/upstreamowner/therepo/releases{/id}", + "deployments_url": "https://api.github.com/repos/upstreamowner/therepo/deployments", + "created_at": "2016-01-01T00:00:00Z", + "updated_at": "2021-11-13T22:00:00Z", + "pushed_at": "2021-11-20T20:00:00Z", + "git_url": "git://github.com/upstreamowner/therepo.git", + "ssh_url": "git@github.com:upstreamowner/therepo.git", + "clone_url": "https://github.com/upstreamowner/therepo.git", + "svn_url": "https://github.com/upstreamowner/therepo", + "homepage": "", + "size": 429518, + "stargazers_count": 8, + "watchers_count": 8, + "language": "SomeLanguage", + "has_issues": true, + "has_projects": true, + "has_downloads": true, + "has_wiki": true, + "has_pages": false, + "forks_count": 17, + "mirror_url": null, + "archived": false, + "disabled": false, + "open_issues_count": 3, + "license": { + "key": "mit", + "name": "MIT License", + "spdx_id": "MIT", + "url": "https://api.github.com/licenses/mit", + "node_id": "MDc6TGljZW5zZTEz" + }, + "allow_forking": true, + "is_template": false, + "topics": [ + "mods", + "nix" + ], + "visibility": "public", + "forks": 17, + "open_issues": 3, + "watchers": 8, + "default_branch": "master" + }, + "organization": { + "login": "upstreamowner", + "id": 23804562983764, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjE2MTk3OTQ3", + "url": "https://api.github.com/orgs/upstreamowner", + "repos_url": "https://api.github.com/orgs/upstreamowner/repos", + "events_url": "https://api.github.com/orgs/upstreamowner/events", + "hooks_url": "https://api.github.com/orgs/upstreamowner/hooks", + "issues_url": "https://api.github.com/orgs/upstreamowner/issues", + "members_url": "https://api.github.com/orgs/upstreamowner/members{/member}", + "public_members_url": "https://api.github.com/orgs/upstreamowner/public_members{/member}", + "avatar_url": "https://avatars.githubusercontent.com/u/23804562983764?v=4", + "description": null + }, + "sender": { + "login": "thesender", + "id": 3290456203984, + "node_id": "MDQV6XlNcjwIzNkMzjQ=", + "avatar_url": "https://avatars.githubusercontent.com/u/3290456203984?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/thesender", + "html_url": "https://github.com/thesender", + "followers_url": "https://api.github.com/users/thesender/followers", + "following_url": "https://api.github.com/users/thesender/following{/other_user}", + "gists_url": "https://api.github.com/users/thesender/gists{/gist_id}", + "starred_url": "https://api.github.com/users/thesender/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/thesender/subscriptions", + "organizations_url": "https://api.github.com/users/thesender/orgs", + "repos_url": "https://api.github.com/users/thesender/repos", + "events_url": "https://api.github.com/users/thesender/events{/privacy}", + "received_events_url": "https://api.github.com/users/thesender/received_events", + "type": "User", + "site_admin": false + }, + "installation": { + "id": 6678514558, + "node_id": "MDIzOkludGVncmF0aW9uSW5zdGFsbGF0aW9uNjY3ODU1OA==" + } +}
fixtures/pull-request-event-null-body.json view
@@ -1,427 +1,427 @@-{- "action": "opened",- "number": 1,- "pull_request": {- "url": "https://api.github.com/repos/baxterthehacker/public-repo/pulls/1",- "id": 34778301,- "node_id": "MDg6Q2hlY2tSdW4xMjg2MjAyMjg=",- "html_url": "https://github.com/baxterthehacker/public-repo/pull/1",- "diff_url": "https://github.com/baxterthehacker/public-repo/pull/1.diff",- "patch_url": "https://github.com/baxterthehacker/public-repo/pull/1.patch",- "issue_url": "https://api.github.com/repos/baxterthehacker/public-repo/issues/1",- "number": 1,- "state": "open",- "locked": false,- "title": "Update the README with new information",- "user": {- "login": "baxterthehacker",- "id": 6752317,- "node_id": "MDg6Q2hlY2tSdW4xMjg2MjAyMjg=",- "avatar_url": "https://avatars.githubusercontent.com/u/6752317?v=3",- "gravatar_id": "",- "url": "https://api.github.com/users/baxterthehacker",- "html_url": "https://github.com/baxterthehacker",- "followers_url": "https://api.github.com/users/baxterthehacker/followers",- "following_url": "https://api.github.com/users/baxterthehacker/following{/other_user}",- "gists_url": "https://api.github.com/users/baxterthehacker/gists{/gist_id}",- "starred_url": "https://api.github.com/users/baxterthehacker/starred{/owner}{/repo}",- "subscriptions_url": "https://api.github.com/users/baxterthehacker/subscriptions",- "organizations_url": "https://api.github.com/users/baxterthehacker/orgs",- "repos_url": "https://api.github.com/users/baxterthehacker/repos",- "events_url": "https://api.github.com/users/baxterthehacker/events{/privacy}",- "received_events_url": "https://api.github.com/users/baxterthehacker/received_events",- "type": "User",- "site_admin": false- },- "body": null,- "created_at": "2015-05-05T23:40:27Z",- "updated_at": "2015-05-05T23:40:27Z",- "closed_at": null,- "merged_at": null,- "merge_commit_sha": null,- "assignee": null,- "milestone": null,- "commits_url": "https://api.github.com/repos/baxterthehacker/public-repo/pulls/1/commits",- "review_comments_url": "https://api.github.com/repos/baxterthehacker/public-repo/pulls/1/comments",- "review_comment_url": "https://api.github.com/repos/baxterthehacker/public-repo/pulls/comments{/number}",- "comments_url": "https://api.github.com/repos/baxterthehacker/public-repo/issues/1/comments",- "statuses_url": "https://api.github.com/repos/baxterthehacker/public-repo/statuses/0d1a26e67d8f5eaf1f6ba5c57fc3c7d91ac0fd1c",- "head": {- "label": "baxterthehacker:changes",- "ref": "changes",- "sha": "0d1a26e67d8f5eaf1f6ba5c57fc3c7d91ac0fd1c",- "user": {- "login": "baxterthehacker",- "id": 6752317,- "node_id": "MDg6Q2hlY2tSdW4xMjg2MjAyMjg=",- "avatar_url": "https://avatars.githubusercontent.com/u/6752317?v=3",- "gravatar_id": "",- "url": "https://api.github.com/users/baxterthehacker",- "html_url": "https://github.com/baxterthehacker",- "followers_url": "https://api.github.com/users/baxterthehacker/followers",- "following_url": "https://api.github.com/users/baxterthehacker/following{/other_user}",- "gists_url": "https://api.github.com/users/baxterthehacker/gists{/gist_id}",- "starred_url": "https://api.github.com/users/baxterthehacker/starred{/owner}{/repo}",- "subscriptions_url": "https://api.github.com/users/baxterthehacker/subscriptions",- "organizations_url": "https://api.github.com/users/baxterthehacker/orgs",- "repos_url": "https://api.github.com/users/baxterthehacker/repos",- "events_url": "https://api.github.com/users/baxterthehacker/events{/privacy}",- "received_events_url": "https://api.github.com/users/baxterthehacker/received_events",- "type": "User",- "site_admin": false- },- "repo": {- "id": 35129377,- "node_id": "MDg6Q2hlY2tSdW4xMjg2MjAyMjg=",- "name": "public-repo",- "full_name": "baxterthehacker/public-repo",- "owner": {- "login": "baxterthehacker",- "id": 6752317,- "node_id": "MDg6Q2hlY2tSdW4xMjg2MjAyMjg=",- "avatar_url": "https://avatars.githubusercontent.com/u/6752317?v=3",- "gravatar_id": "",- "url": "https://api.github.com/users/baxterthehacker",- "html_url": "https://github.com/baxterthehacker",- "followers_url": "https://api.github.com/users/baxterthehacker/followers",- "following_url": "https://api.github.com/users/baxterthehacker/following{/other_user}",- "gists_url": "https://api.github.com/users/baxterthehacker/gists{/gist_id}",- "starred_url": "https://api.github.com/users/baxterthehacker/starred{/owner}{/repo}",- "subscriptions_url": "https://api.github.com/users/baxterthehacker/subscriptions",- "organizations_url": "https://api.github.com/users/baxterthehacker/orgs",- "repos_url": "https://api.github.com/users/baxterthehacker/repos",- "events_url": "https://api.github.com/users/baxterthehacker/events{/privacy}",- "received_events_url": "https://api.github.com/users/baxterthehacker/received_events",- "type": "User",- "site_admin": false- },- "private": false,- "html_url": "https://github.com/baxterthehacker/public-repo",- "description": "",- "fork": false,- "url": "https://api.github.com/repos/baxterthehacker/public-repo",- "forks_url": "https://api.github.com/repos/baxterthehacker/public-repo/forks",- "keys_url": "https://api.github.com/repos/baxterthehacker/public-repo/keys{/key_id}",- "collaborators_url": "https://api.github.com/repos/baxterthehacker/public-repo/collaborators{/collaborator}",- "teams_url": "https://api.github.com/repos/baxterthehacker/public-repo/teams",- "hooks_url": "https://api.github.com/repos/baxterthehacker/public-repo/hooks",- "issue_events_url": "https://api.github.com/repos/baxterthehacker/public-repo/issues/events{/number}",- "events_url": "https://api.github.com/repos/baxterthehacker/public-repo/events",- "assignees_url": "https://api.github.com/repos/baxterthehacker/public-repo/assignees{/user}",- "branches_url": "https://api.github.com/repos/baxterthehacker/public-repo/branches{/branch}",- "tags_url": "https://api.github.com/repos/baxterthehacker/public-repo/tags",- "blobs_url": "https://api.github.com/repos/baxterthehacker/public-repo/git/blobs{/sha}",- "git_tags_url": "https://api.github.com/repos/baxterthehacker/public-repo/git/tags{/sha}",- "git_refs_url": "https://api.github.com/repos/baxterthehacker/public-repo/git/refs{/sha}",- "trees_url": "https://api.github.com/repos/baxterthehacker/public-repo/git/trees{/sha}",- "statuses_url": "https://api.github.com/repos/baxterthehacker/public-repo/statuses/{sha}",- "languages_url": "https://api.github.com/repos/baxterthehacker/public-repo/languages",- "stargazers_url": "https://api.github.com/repos/baxterthehacker/public-repo/stargazers",- "contributors_url": "https://api.github.com/repos/baxterthehacker/public-repo/contributors",- "subscribers_url": "https://api.github.com/repos/baxterthehacker/public-repo/subscribers",- "subscription_url": "https://api.github.com/repos/baxterthehacker/public-repo/subscription",- "commits_url": "https://api.github.com/repos/baxterthehacker/public-repo/commits{/sha}",- "git_commits_url": "https://api.github.com/repos/baxterthehacker/public-repo/git/commits{/sha}",- "comments_url": "https://api.github.com/repos/baxterthehacker/public-repo/comments{/number}",- "issue_comment_url": "https://api.github.com/repos/baxterthehacker/public-repo/issues/comments{/number}",- "contents_url": "https://api.github.com/repos/baxterthehacker/public-repo/contents/{+path}",- "compare_url": "https://api.github.com/repos/baxterthehacker/public-repo/compare/{base}...{head}",- "merges_url": "https://api.github.com/repos/baxterthehacker/public-repo/merges",- "archive_url": "https://api.github.com/repos/baxterthehacker/public-repo/{archive_format}{/ref}",- "downloads_url": "https://api.github.com/repos/baxterthehacker/public-repo/downloads",- "issues_url": "https://api.github.com/repos/baxterthehacker/public-repo/issues{/number}",- "pulls_url": "https://api.github.com/repos/baxterthehacker/public-repo/pulls{/number}",- "milestones_url": "https://api.github.com/repos/baxterthehacker/public-repo/milestones{/number}",- "notifications_url": "https://api.github.com/repos/baxterthehacker/public-repo/notifications{?since,all,participating}",- "labels_url": "https://api.github.com/repos/baxterthehacker/public-repo/labels{/name}",- "releases_url": "https://api.github.com/repos/baxterthehacker/public-repo/releases{/id}",- "created_at": "2015-05-05T23:40:12Z",- "updated_at": "2015-05-05T23:40:12Z",- "pushed_at": "2015-05-05T23:40:26Z",- "git_url": "git://github.com/baxterthehacker/public-repo.git",- "ssh_url": "git@github.com:baxterthehacker/public-repo.git",- "clone_url": "https://github.com/baxterthehacker/public-repo.git",- "svn_url": "https://github.com/baxterthehacker/public-repo",- "homepage": null,- "size": 0,- "stargazers_count": 0,- "watchers_count": 0,- "language": null,- "has_issues": true,- "has_downloads": true,- "has_wiki": true,- "has_pages": true,- "forks_count": 0,- "mirror_url": null,- "open_issues_count": 1,- "forks": 0,- "open_issues": 1,- "watchers": 0,- "default_branch": "master"- }- },- "base": {- "label": "baxterthehacker:master",- "ref": "master",- "sha": "9049f1265b7d61be4a8904a9a27120d2064dab3b",- "user": {- "login": "baxterthehacker",- "id": 6752317,- "node_id": "MDg6Q2hlY2tSdW4xMjg2MjAyMjg=",- "avatar_url": "https://avatars.githubusercontent.com/u/6752317?v=3",- "gravatar_id": "",- "url": "https://api.github.com/users/baxterthehacker",- "html_url": "https://github.com/baxterthehacker",- "followers_url": "https://api.github.com/users/baxterthehacker/followers",- "following_url": "https://api.github.com/users/baxterthehacker/following{/other_user}",- "gists_url": "https://api.github.com/users/baxterthehacker/gists{/gist_id}",- "starred_url": "https://api.github.com/users/baxterthehacker/starred{/owner}{/repo}",- "subscriptions_url": "https://api.github.com/users/baxterthehacker/subscriptions",- "organizations_url": "https://api.github.com/users/baxterthehacker/orgs",- "repos_url": "https://api.github.com/users/baxterthehacker/repos",- "events_url": "https://api.github.com/users/baxterthehacker/events{/privacy}",- "received_events_url": "https://api.github.com/users/baxterthehacker/received_events",- "type": "User",- "site_admin": false- },- "repo": {- "id": 35129377,- "node_id": "MDg6Q2hlY2tSdW4xMjg2MjAyMjg=",- "name": "public-repo",- "full_name": "baxterthehacker/public-repo",- "owner": {- "login": "baxterthehacker",- "id": 6752317,- "node_id": "MDg6Q2hlY2tSdW4xMjg2MjAyMjg=",- "avatar_url": "https://avatars.githubusercontent.com/u/6752317?v=3",- "gravatar_id": "",- "url": "https://api.github.com/users/baxterthehacker",- "html_url": "https://github.com/baxterthehacker",- "followers_url": "https://api.github.com/users/baxterthehacker/followers",- "following_url": "https://api.github.com/users/baxterthehacker/following{/other_user}",- "gists_url": "https://api.github.com/users/baxterthehacker/gists{/gist_id}",- "starred_url": "https://api.github.com/users/baxterthehacker/starred{/owner}{/repo}",- "subscriptions_url": "https://api.github.com/users/baxterthehacker/subscriptions",- "organizations_url": "https://api.github.com/users/baxterthehacker/orgs",- "repos_url": "https://api.github.com/users/baxterthehacker/repos",- "events_url": "https://api.github.com/users/baxterthehacker/events{/privacy}",- "received_events_url": "https://api.github.com/users/baxterthehacker/received_events",- "type": "User",- "site_admin": false- },- "private": false,- "html_url": "https://github.com/baxterthehacker/public-repo",- "description": "",- "fork": false,- "url": "https://api.github.com/repos/baxterthehacker/public-repo",- "forks_url": "https://api.github.com/repos/baxterthehacker/public-repo/forks",- "keys_url": "https://api.github.com/repos/baxterthehacker/public-repo/keys{/key_id}",- "collaborators_url": "https://api.github.com/repos/baxterthehacker/public-repo/collaborators{/collaborator}",- "teams_url": "https://api.github.com/repos/baxterthehacker/public-repo/teams",- "hooks_url": "https://api.github.com/repos/baxterthehacker/public-repo/hooks",- "issue_events_url": "https://api.github.com/repos/baxterthehacker/public-repo/issues/events{/number}",- "events_url": "https://api.github.com/repos/baxterthehacker/public-repo/events",- "assignees_url": "https://api.github.com/repos/baxterthehacker/public-repo/assignees{/user}",- "branches_url": "https://api.github.com/repos/baxterthehacker/public-repo/branches{/branch}",- "tags_url": "https://api.github.com/repos/baxterthehacker/public-repo/tags",- "blobs_url": "https://api.github.com/repos/baxterthehacker/public-repo/git/blobs{/sha}",- "git_tags_url": "https://api.github.com/repos/baxterthehacker/public-repo/git/tags{/sha}",- "git_refs_url": "https://api.github.com/repos/baxterthehacker/public-repo/git/refs{/sha}",- "trees_url": "https://api.github.com/repos/baxterthehacker/public-repo/git/trees{/sha}",- "statuses_url": "https://api.github.com/repos/baxterthehacker/public-repo/statuses/{sha}",- "languages_url": "https://api.github.com/repos/baxterthehacker/public-repo/languages",- "stargazers_url": "https://api.github.com/repos/baxterthehacker/public-repo/stargazers",- "contributors_url": "https://api.github.com/repos/baxterthehacker/public-repo/contributors",- "subscribers_url": "https://api.github.com/repos/baxterthehacker/public-repo/subscribers",- "subscription_url": "https://api.github.com/repos/baxterthehacker/public-repo/subscription",- "commits_url": "https://api.github.com/repos/baxterthehacker/public-repo/commits{/sha}",- "git_commits_url": "https://api.github.com/repos/baxterthehacker/public-repo/git/commits{/sha}",- "comments_url": "https://api.github.com/repos/baxterthehacker/public-repo/comments{/number}",- "issue_comment_url": "https://api.github.com/repos/baxterthehacker/public-repo/issues/comments{/number}",- "contents_url": "https://api.github.com/repos/baxterthehacker/public-repo/contents/{+path}",- "compare_url": "https://api.github.com/repos/baxterthehacker/public-repo/compare/{base}...{head}",- "merges_url": "https://api.github.com/repos/baxterthehacker/public-repo/merges",- "archive_url": "https://api.github.com/repos/baxterthehacker/public-repo/{archive_format}{/ref}",- "downloads_url": "https://api.github.com/repos/baxterthehacker/public-repo/downloads",- "issues_url": "https://api.github.com/repos/baxterthehacker/public-repo/issues{/number}",- "pulls_url": "https://api.github.com/repos/baxterthehacker/public-repo/pulls{/number}",- "milestones_url": "https://api.github.com/repos/baxterthehacker/public-repo/milestones{/number}",- "notifications_url": "https://api.github.com/repos/baxterthehacker/public-repo/notifications{?since,all,participating}",- "labels_url": "https://api.github.com/repos/baxterthehacker/public-repo/labels{/name}",- "releases_url": "https://api.github.com/repos/baxterthehacker/public-repo/releases{/id}",- "created_at": "2015-05-05T23:40:12Z",- "updated_at": "2015-05-05T23:40:12Z",- "pushed_at": "2015-05-05T23:40:26Z",- "git_url": "git://github.com/baxterthehacker/public-repo.git",- "ssh_url": "git@github.com:baxterthehacker/public-repo.git",- "clone_url": "https://github.com/baxterthehacker/public-repo.git",- "svn_url": "https://github.com/baxterthehacker/public-repo",- "homepage": null,- "size": 0,- "stargazers_count": 0,- "watchers_count": 0,- "language": null,- "has_issues": true,- "has_downloads": true,- "has_wiki": true,- "has_pages": true,- "forks_count": 0,- "mirror_url": null,- "open_issues_count": 1,- "forks": 0,- "open_issues": 1,- "watchers": 0,- "default_branch": "master"- }- },- "_links": {- "self": {- "href": "https://api.github.com/repos/baxterthehacker/public-repo/pulls/1"- },- "html": {- "href": "https://github.com/baxterthehacker/public-repo/pull/1"- },- "issue": {- "href": "https://api.github.com/repos/baxterthehacker/public-repo/issues/1"- },- "comments": {- "href": "https://api.github.com/repos/baxterthehacker/public-repo/issues/1/comments"- },- "review_comments": {- "href": "https://api.github.com/repos/baxterthehacker/public-repo/pulls/1/comments"- },- "review_comment": {- "href": "https://api.github.com/repos/baxterthehacker/public-repo/pulls/comments{/number}"- },- "commits": {- "href": "https://api.github.com/repos/baxterthehacker/public-repo/pulls/1/commits"- },- "statuses": {- "href": "https://api.github.com/repos/baxterthehacker/public-repo/statuses/0d1a26e67d8f5eaf1f6ba5c57fc3c7d91ac0fd1c"- }- },- "merged": false,- "mergeable": null,- "mergeable_state": "unknown",- "merged_by": null,- "comments": 0,- "review_comments": 0,- "commits": 1,- "additions": 1,- "deletions": 1,- "changed_files": 1- },- "repository": {- "id": 35129377,- "node_id": "MDg6Q2hlY2tSdW4xMjg2MjAyMjg=",- "name": "public-repo",- "full_name": "baxterthehacker/public-repo",- "owner": {- "login": "baxterthehacker",- "id": 6752317,- "node_id": "MDg6Q2hlY2tSdW4xMjg2MjAyMjg=",- "avatar_url": "https://avatars.githubusercontent.com/u/6752317?v=3",- "gravatar_id": "",- "url": "https://api.github.com/users/baxterthehacker",- "html_url": "https://github.com/baxterthehacker",- "followers_url": "https://api.github.com/users/baxterthehacker/followers",- "following_url": "https://api.github.com/users/baxterthehacker/following{/other_user}",- "gists_url": "https://api.github.com/users/baxterthehacker/gists{/gist_id}",- "starred_url": "https://api.github.com/users/baxterthehacker/starred{/owner}{/repo}",- "subscriptions_url": "https://api.github.com/users/baxterthehacker/subscriptions",- "organizations_url": "https://api.github.com/users/baxterthehacker/orgs",- "repos_url": "https://api.github.com/users/baxterthehacker/repos",- "events_url": "https://api.github.com/users/baxterthehacker/events{/privacy}",- "received_events_url": "https://api.github.com/users/baxterthehacker/received_events",- "type": "User",- "site_admin": false- },- "private": false,- "html_url": "https://github.com/baxterthehacker/public-repo",- "description": "",- "fork": false,- "url": "https://api.github.com/repos/baxterthehacker/public-repo",- "forks_url": "https://api.github.com/repos/baxterthehacker/public-repo/forks",- "keys_url": "https://api.github.com/repos/baxterthehacker/public-repo/keys{/key_id}",- "collaborators_url": "https://api.github.com/repos/baxterthehacker/public-repo/collaborators{/collaborator}",- "teams_url": "https://api.github.com/repos/baxterthehacker/public-repo/teams",- "hooks_url": "https://api.github.com/repos/baxterthehacker/public-repo/hooks",- "issue_events_url": "https://api.github.com/repos/baxterthehacker/public-repo/issues/events{/number}",- "events_url": "https://api.github.com/repos/baxterthehacker/public-repo/events",- "assignees_url": "https://api.github.com/repos/baxterthehacker/public-repo/assignees{/user}",- "branches_url": "https://api.github.com/repos/baxterthehacker/public-repo/branches{/branch}",- "tags_url": "https://api.github.com/repos/baxterthehacker/public-repo/tags",- "blobs_url": "https://api.github.com/repos/baxterthehacker/public-repo/git/blobs{/sha}",- "git_tags_url": "https://api.github.com/repos/baxterthehacker/public-repo/git/tags{/sha}",- "git_refs_url": "https://api.github.com/repos/baxterthehacker/public-repo/git/refs{/sha}",- "trees_url": "https://api.github.com/repos/baxterthehacker/public-repo/git/trees{/sha}",- "statuses_url": "https://api.github.com/repos/baxterthehacker/public-repo/statuses/{sha}",- "languages_url": "https://api.github.com/repos/baxterthehacker/public-repo/languages",- "stargazers_url": "https://api.github.com/repos/baxterthehacker/public-repo/stargazers",- "contributors_url": "https://api.github.com/repos/baxterthehacker/public-repo/contributors",- "subscribers_url": "https://api.github.com/repos/baxterthehacker/public-repo/subscribers",- "subscription_url": "https://api.github.com/repos/baxterthehacker/public-repo/subscription",- "commits_url": "https://api.github.com/repos/baxterthehacker/public-repo/commits{/sha}",- "git_commits_url": "https://api.github.com/repos/baxterthehacker/public-repo/git/commits{/sha}",- "comments_url": "https://api.github.com/repos/baxterthehacker/public-repo/comments{/number}",- "issue_comment_url": "https://api.github.com/repos/baxterthehacker/public-repo/issues/comments{/number}",- "contents_url": "https://api.github.com/repos/baxterthehacker/public-repo/contents/{+path}",- "compare_url": "https://api.github.com/repos/baxterthehacker/public-repo/compare/{base}...{head}",- "merges_url": "https://api.github.com/repos/baxterthehacker/public-repo/merges",- "archive_url": "https://api.github.com/repos/baxterthehacker/public-repo/{archive_format}{/ref}",- "downloads_url": "https://api.github.com/repos/baxterthehacker/public-repo/downloads",- "issues_url": "https://api.github.com/repos/baxterthehacker/public-repo/issues{/number}",- "pulls_url": "https://api.github.com/repos/baxterthehacker/public-repo/pulls{/number}",- "milestones_url": "https://api.github.com/repos/baxterthehacker/public-repo/milestones{/number}",- "notifications_url": "https://api.github.com/repos/baxterthehacker/public-repo/notifications{?since,all,participating}",- "labels_url": "https://api.github.com/repos/baxterthehacker/public-repo/labels{/name}",- "releases_url": "https://api.github.com/repos/baxterthehacker/public-repo/releases{/id}",- "created_at": "2015-05-05T23:40:12Z",- "updated_at": "2015-05-05T23:40:12Z",- "pushed_at": "2015-05-05T23:40:26Z",- "git_url": "git://github.com/baxterthehacker/public-repo.git",- "ssh_url": "git@github.com:baxterthehacker/public-repo.git",- "clone_url": "https://github.com/baxterthehacker/public-repo.git",- "svn_url": "https://github.com/baxterthehacker/public-repo",- "homepage": null,- "size": 0,- "stargazers_count": 0,- "watchers_count": 0,- "language": null,- "has_issues": true,- "has_downloads": true,- "has_wiki": true,- "has_pages": true,- "forks_count": 0,- "mirror_url": null,- "open_issues_count": 1,- "forks": 0,- "open_issues": 1,- "watchers": 0,- "default_branch": "master"- },- "sender": {- "login": "baxterthehacker",- "id": 6752317,- "node_id": "MDg6Q2hlY2tSdW4xMjg2MjAyMjg=",- "avatar_url": "https://avatars.githubusercontent.com/u/6752317?v=3",- "gravatar_id": "",- "url": "https://api.github.com/users/baxterthehacker",- "html_url": "https://github.com/baxterthehacker",- "followers_url": "https://api.github.com/users/baxterthehacker/followers",- "following_url": "https://api.github.com/users/baxterthehacker/following{/other_user}",- "gists_url": "https://api.github.com/users/baxterthehacker/gists{/gist_id}",- "starred_url": "https://api.github.com/users/baxterthehacker/starred{/owner}{/repo}",- "subscriptions_url": "https://api.github.com/users/baxterthehacker/subscriptions",- "organizations_url": "https://api.github.com/users/baxterthehacker/orgs",- "repos_url": "https://api.github.com/users/baxterthehacker/repos",- "events_url": "https://api.github.com/users/baxterthehacker/events{/privacy}",- "received_events_url": "https://api.github.com/users/baxterthehacker/received_events",- "type": "User",- "site_admin": false- },- "installation": {- "id": 234,- "node_id": "MDg6Q2hlY2tSdW4xMjg2MjAyMjg="- }-}+{ + "action": "opened", + "number": 1, + "pull_request": { + "url": "https://api.github.com/repos/baxterthehacker/public-repo/pulls/1", + "id": 34778301, + "node_id": "MDg6Q2hlY2tSdW4xMjg2MjAyMjg=", + "html_url": "https://github.com/baxterthehacker/public-repo/pull/1", + "diff_url": "https://github.com/baxterthehacker/public-repo/pull/1.diff", + "patch_url": "https://github.com/baxterthehacker/public-repo/pull/1.patch", + "issue_url": "https://api.github.com/repos/baxterthehacker/public-repo/issues/1", + "number": 1, + "state": "open", + "locked": false, + "title": "Update the README with new information", + "user": { + "login": "baxterthehacker", + "id": 6752317, + "node_id": "MDg6Q2hlY2tSdW4xMjg2MjAyMjg=", + "avatar_url": "https://avatars.githubusercontent.com/u/6752317?v=3", + "gravatar_id": "", + "url": "https://api.github.com/users/baxterthehacker", + "html_url": "https://github.com/baxterthehacker", + "followers_url": "https://api.github.com/users/baxterthehacker/followers", + "following_url": "https://api.github.com/users/baxterthehacker/following{/other_user}", + "gists_url": "https://api.github.com/users/baxterthehacker/gists{/gist_id}", + "starred_url": "https://api.github.com/users/baxterthehacker/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/baxterthehacker/subscriptions", + "organizations_url": "https://api.github.com/users/baxterthehacker/orgs", + "repos_url": "https://api.github.com/users/baxterthehacker/repos", + "events_url": "https://api.github.com/users/baxterthehacker/events{/privacy}", + "received_events_url": "https://api.github.com/users/baxterthehacker/received_events", + "type": "User", + "site_admin": false + }, + "body": null, + "created_at": "2015-05-05T23:40:27Z", + "updated_at": "2015-05-05T23:40:27Z", + "closed_at": null, + "merged_at": null, + "merge_commit_sha": null, + "assignee": null, + "milestone": null, + "commits_url": "https://api.github.com/repos/baxterthehacker/public-repo/pulls/1/commits", + "review_comments_url": "https://api.github.com/repos/baxterthehacker/public-repo/pulls/1/comments", + "review_comment_url": "https://api.github.com/repos/baxterthehacker/public-repo/pulls/comments{/number}", + "comments_url": "https://api.github.com/repos/baxterthehacker/public-repo/issues/1/comments", + "statuses_url": "https://api.github.com/repos/baxterthehacker/public-repo/statuses/0d1a26e67d8f5eaf1f6ba5c57fc3c7d91ac0fd1c", + "head": { + "label": "baxterthehacker:changes", + "ref": "changes", + "sha": "0d1a26e67d8f5eaf1f6ba5c57fc3c7d91ac0fd1c", + "user": { + "login": "baxterthehacker", + "id": 6752317, + "node_id": "MDg6Q2hlY2tSdW4xMjg2MjAyMjg=", + "avatar_url": "https://avatars.githubusercontent.com/u/6752317?v=3", + "gravatar_id": "", + "url": "https://api.github.com/users/baxterthehacker", + "html_url": "https://github.com/baxterthehacker", + "followers_url": "https://api.github.com/users/baxterthehacker/followers", + "following_url": "https://api.github.com/users/baxterthehacker/following{/other_user}", + "gists_url": "https://api.github.com/users/baxterthehacker/gists{/gist_id}", + "starred_url": "https://api.github.com/users/baxterthehacker/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/baxterthehacker/subscriptions", + "organizations_url": "https://api.github.com/users/baxterthehacker/orgs", + "repos_url": "https://api.github.com/users/baxterthehacker/repos", + "events_url": "https://api.github.com/users/baxterthehacker/events{/privacy}", + "received_events_url": "https://api.github.com/users/baxterthehacker/received_events", + "type": "User", + "site_admin": false + }, + "repo": { + "id": 35129377, + "node_id": "MDg6Q2hlY2tSdW4xMjg2MjAyMjg=", + "name": "public-repo", + "full_name": "baxterthehacker/public-repo", + "owner": { + "login": "baxterthehacker", + "id": 6752317, + "node_id": "MDg6Q2hlY2tSdW4xMjg2MjAyMjg=", + "avatar_url": "https://avatars.githubusercontent.com/u/6752317?v=3", + "gravatar_id": "", + "url": "https://api.github.com/users/baxterthehacker", + "html_url": "https://github.com/baxterthehacker", + "followers_url": "https://api.github.com/users/baxterthehacker/followers", + "following_url": "https://api.github.com/users/baxterthehacker/following{/other_user}", + "gists_url": "https://api.github.com/users/baxterthehacker/gists{/gist_id}", + "starred_url": "https://api.github.com/users/baxterthehacker/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/baxterthehacker/subscriptions", + "organizations_url": "https://api.github.com/users/baxterthehacker/orgs", + "repos_url": "https://api.github.com/users/baxterthehacker/repos", + "events_url": "https://api.github.com/users/baxterthehacker/events{/privacy}", + "received_events_url": "https://api.github.com/users/baxterthehacker/received_events", + "type": "User", + "site_admin": false + }, + "private": false, + "html_url": "https://github.com/baxterthehacker/public-repo", + "description": "", + "fork": false, + "url": "https://api.github.com/repos/baxterthehacker/public-repo", + "forks_url": "https://api.github.com/repos/baxterthehacker/public-repo/forks", + "keys_url": "https://api.github.com/repos/baxterthehacker/public-repo/keys{/key_id}", + "collaborators_url": "https://api.github.com/repos/baxterthehacker/public-repo/collaborators{/collaborator}", + "teams_url": "https://api.github.com/repos/baxterthehacker/public-repo/teams", + "hooks_url": "https://api.github.com/repos/baxterthehacker/public-repo/hooks", + "issue_events_url": "https://api.github.com/repos/baxterthehacker/public-repo/issues/events{/number}", + "events_url": "https://api.github.com/repos/baxterthehacker/public-repo/events", + "assignees_url": "https://api.github.com/repos/baxterthehacker/public-repo/assignees{/user}", + "branches_url": "https://api.github.com/repos/baxterthehacker/public-repo/branches{/branch}", + "tags_url": "https://api.github.com/repos/baxterthehacker/public-repo/tags", + "blobs_url": "https://api.github.com/repos/baxterthehacker/public-repo/git/blobs{/sha}", + "git_tags_url": "https://api.github.com/repos/baxterthehacker/public-repo/git/tags{/sha}", + "git_refs_url": "https://api.github.com/repos/baxterthehacker/public-repo/git/refs{/sha}", + "trees_url": "https://api.github.com/repos/baxterthehacker/public-repo/git/trees{/sha}", + "statuses_url": "https://api.github.com/repos/baxterthehacker/public-repo/statuses/{sha}", + "languages_url": "https://api.github.com/repos/baxterthehacker/public-repo/languages", + "stargazers_url": "https://api.github.com/repos/baxterthehacker/public-repo/stargazers", + "contributors_url": "https://api.github.com/repos/baxterthehacker/public-repo/contributors", + "subscribers_url": "https://api.github.com/repos/baxterthehacker/public-repo/subscribers", + "subscription_url": "https://api.github.com/repos/baxterthehacker/public-repo/subscription", + "commits_url": "https://api.github.com/repos/baxterthehacker/public-repo/commits{/sha}", + "git_commits_url": "https://api.github.com/repos/baxterthehacker/public-repo/git/commits{/sha}", + "comments_url": "https://api.github.com/repos/baxterthehacker/public-repo/comments{/number}", + "issue_comment_url": "https://api.github.com/repos/baxterthehacker/public-repo/issues/comments{/number}", + "contents_url": "https://api.github.com/repos/baxterthehacker/public-repo/contents/{+path}", + "compare_url": "https://api.github.com/repos/baxterthehacker/public-repo/compare/{base}...{head}", + "merges_url": "https://api.github.com/repos/baxterthehacker/public-repo/merges", + "archive_url": "https://api.github.com/repos/baxterthehacker/public-repo/{archive_format}{/ref}", + "downloads_url": "https://api.github.com/repos/baxterthehacker/public-repo/downloads", + "issues_url": "https://api.github.com/repos/baxterthehacker/public-repo/issues{/number}", + "pulls_url": "https://api.github.com/repos/baxterthehacker/public-repo/pulls{/number}", + "milestones_url": "https://api.github.com/repos/baxterthehacker/public-repo/milestones{/number}", + "notifications_url": "https://api.github.com/repos/baxterthehacker/public-repo/notifications{?since,all,participating}", + "labels_url": "https://api.github.com/repos/baxterthehacker/public-repo/labels{/name}", + "releases_url": "https://api.github.com/repos/baxterthehacker/public-repo/releases{/id}", + "created_at": "2015-05-05T23:40:12Z", + "updated_at": "2015-05-05T23:40:12Z", + "pushed_at": "2015-05-05T23:40:26Z", + "git_url": "git://github.com/baxterthehacker/public-repo.git", + "ssh_url": "git@github.com:baxterthehacker/public-repo.git", + "clone_url": "https://github.com/baxterthehacker/public-repo.git", + "svn_url": "https://github.com/baxterthehacker/public-repo", + "homepage": null, + "size": 0, + "stargazers_count": 0, + "watchers_count": 0, + "language": null, + "has_issues": true, + "has_downloads": true, + "has_wiki": true, + "has_pages": true, + "forks_count": 0, + "mirror_url": null, + "open_issues_count": 1, + "forks": 0, + "open_issues": 1, + "watchers": 0, + "default_branch": "master" + } + }, + "base": { + "label": "baxterthehacker:master", + "ref": "master", + "sha": "9049f1265b7d61be4a8904a9a27120d2064dab3b", + "user": { + "login": "baxterthehacker", + "id": 6752317, + "node_id": "MDg6Q2hlY2tSdW4xMjg2MjAyMjg=", + "avatar_url": "https://avatars.githubusercontent.com/u/6752317?v=3", + "gravatar_id": "", + "url": "https://api.github.com/users/baxterthehacker", + "html_url": "https://github.com/baxterthehacker", + "followers_url": "https://api.github.com/users/baxterthehacker/followers", + "following_url": "https://api.github.com/users/baxterthehacker/following{/other_user}", + "gists_url": "https://api.github.com/users/baxterthehacker/gists{/gist_id}", + "starred_url": "https://api.github.com/users/baxterthehacker/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/baxterthehacker/subscriptions", + "organizations_url": "https://api.github.com/users/baxterthehacker/orgs", + "repos_url": "https://api.github.com/users/baxterthehacker/repos", + "events_url": "https://api.github.com/users/baxterthehacker/events{/privacy}", + "received_events_url": "https://api.github.com/users/baxterthehacker/received_events", + "type": "User", + "site_admin": false + }, + "repo": { + "id": 35129377, + "node_id": "MDg6Q2hlY2tSdW4xMjg2MjAyMjg=", + "name": "public-repo", + "full_name": "baxterthehacker/public-repo", + "owner": { + "login": "baxterthehacker", + "id": 6752317, + "node_id": "MDg6Q2hlY2tSdW4xMjg2MjAyMjg=", + "avatar_url": "https://avatars.githubusercontent.com/u/6752317?v=3", + "gravatar_id": "", + "url": "https://api.github.com/users/baxterthehacker", + "html_url": "https://github.com/baxterthehacker", + "followers_url": "https://api.github.com/users/baxterthehacker/followers", + "following_url": "https://api.github.com/users/baxterthehacker/following{/other_user}", + "gists_url": "https://api.github.com/users/baxterthehacker/gists{/gist_id}", + "starred_url": "https://api.github.com/users/baxterthehacker/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/baxterthehacker/subscriptions", + "organizations_url": "https://api.github.com/users/baxterthehacker/orgs", + "repos_url": "https://api.github.com/users/baxterthehacker/repos", + "events_url": "https://api.github.com/users/baxterthehacker/events{/privacy}", + "received_events_url": "https://api.github.com/users/baxterthehacker/received_events", + "type": "User", + "site_admin": false + }, + "private": false, + "html_url": "https://github.com/baxterthehacker/public-repo", + "description": "", + "fork": false, + "url": "https://api.github.com/repos/baxterthehacker/public-repo", + "forks_url": "https://api.github.com/repos/baxterthehacker/public-repo/forks", + "keys_url": "https://api.github.com/repos/baxterthehacker/public-repo/keys{/key_id}", + "collaborators_url": "https://api.github.com/repos/baxterthehacker/public-repo/collaborators{/collaborator}", + "teams_url": "https://api.github.com/repos/baxterthehacker/public-repo/teams", + "hooks_url": "https://api.github.com/repos/baxterthehacker/public-repo/hooks", + "issue_events_url": "https://api.github.com/repos/baxterthehacker/public-repo/issues/events{/number}", + "events_url": "https://api.github.com/repos/baxterthehacker/public-repo/events", + "assignees_url": "https://api.github.com/repos/baxterthehacker/public-repo/assignees{/user}", + "branches_url": "https://api.github.com/repos/baxterthehacker/public-repo/branches{/branch}", + "tags_url": "https://api.github.com/repos/baxterthehacker/public-repo/tags", + "blobs_url": "https://api.github.com/repos/baxterthehacker/public-repo/git/blobs{/sha}", + "git_tags_url": "https://api.github.com/repos/baxterthehacker/public-repo/git/tags{/sha}", + "git_refs_url": "https://api.github.com/repos/baxterthehacker/public-repo/git/refs{/sha}", + "trees_url": "https://api.github.com/repos/baxterthehacker/public-repo/git/trees{/sha}", + "statuses_url": "https://api.github.com/repos/baxterthehacker/public-repo/statuses/{sha}", + "languages_url": "https://api.github.com/repos/baxterthehacker/public-repo/languages", + "stargazers_url": "https://api.github.com/repos/baxterthehacker/public-repo/stargazers", + "contributors_url": "https://api.github.com/repos/baxterthehacker/public-repo/contributors", + "subscribers_url": "https://api.github.com/repos/baxterthehacker/public-repo/subscribers", + "subscription_url": "https://api.github.com/repos/baxterthehacker/public-repo/subscription", + "commits_url": "https://api.github.com/repos/baxterthehacker/public-repo/commits{/sha}", + "git_commits_url": "https://api.github.com/repos/baxterthehacker/public-repo/git/commits{/sha}", + "comments_url": "https://api.github.com/repos/baxterthehacker/public-repo/comments{/number}", + "issue_comment_url": "https://api.github.com/repos/baxterthehacker/public-repo/issues/comments{/number}", + "contents_url": "https://api.github.com/repos/baxterthehacker/public-repo/contents/{+path}", + "compare_url": "https://api.github.com/repos/baxterthehacker/public-repo/compare/{base}...{head}", + "merges_url": "https://api.github.com/repos/baxterthehacker/public-repo/merges", + "archive_url": "https://api.github.com/repos/baxterthehacker/public-repo/{archive_format}{/ref}", + "downloads_url": "https://api.github.com/repos/baxterthehacker/public-repo/downloads", + "issues_url": "https://api.github.com/repos/baxterthehacker/public-repo/issues{/number}", + "pulls_url": "https://api.github.com/repos/baxterthehacker/public-repo/pulls{/number}", + "milestones_url": "https://api.github.com/repos/baxterthehacker/public-repo/milestones{/number}", + "notifications_url": "https://api.github.com/repos/baxterthehacker/public-repo/notifications{?since,all,participating}", + "labels_url": "https://api.github.com/repos/baxterthehacker/public-repo/labels{/name}", + "releases_url": "https://api.github.com/repos/baxterthehacker/public-repo/releases{/id}", + "created_at": "2015-05-05T23:40:12Z", + "updated_at": "2015-05-05T23:40:12Z", + "pushed_at": "2015-05-05T23:40:26Z", + "git_url": "git://github.com/baxterthehacker/public-repo.git", + "ssh_url": "git@github.com:baxterthehacker/public-repo.git", + "clone_url": "https://github.com/baxterthehacker/public-repo.git", + "svn_url": "https://github.com/baxterthehacker/public-repo", + "homepage": null, + "size": 0, + "stargazers_count": 0, + "watchers_count": 0, + "language": null, + "has_issues": true, + "has_downloads": true, + "has_wiki": true, + "has_pages": true, + "forks_count": 0, + "mirror_url": null, + "open_issues_count": 1, + "forks": 0, + "open_issues": 1, + "watchers": 0, + "default_branch": "master" + } + }, + "_links": { + "self": { + "href": "https://api.github.com/repos/baxterthehacker/public-repo/pulls/1" + }, + "html": { + "href": "https://github.com/baxterthehacker/public-repo/pull/1" + }, + "issue": { + "href": "https://api.github.com/repos/baxterthehacker/public-repo/issues/1" + }, + "comments": { + "href": "https://api.github.com/repos/baxterthehacker/public-repo/issues/1/comments" + }, + "review_comments": { + "href": "https://api.github.com/repos/baxterthehacker/public-repo/pulls/1/comments" + }, + "review_comment": { + "href": "https://api.github.com/repos/baxterthehacker/public-repo/pulls/comments{/number}" + }, + "commits": { + "href": "https://api.github.com/repos/baxterthehacker/public-repo/pulls/1/commits" + }, + "statuses": { + "href": "https://api.github.com/repos/baxterthehacker/public-repo/statuses/0d1a26e67d8f5eaf1f6ba5c57fc3c7d91ac0fd1c" + } + }, + "merged": false, + "mergeable": null, + "mergeable_state": "unknown", + "merged_by": null, + "comments": 0, + "review_comments": 0, + "commits": 1, + "additions": 1, + "deletions": 1, + "changed_files": 1 + }, + "repository": { + "id": 35129377, + "node_id": "MDg6Q2hlY2tSdW4xMjg2MjAyMjg=", + "name": "public-repo", + "full_name": "baxterthehacker/public-repo", + "owner": { + "login": "baxterthehacker", + "id": 6752317, + "node_id": "MDg6Q2hlY2tSdW4xMjg2MjAyMjg=", + "avatar_url": "https://avatars.githubusercontent.com/u/6752317?v=3", + "gravatar_id": "", + "url": "https://api.github.com/users/baxterthehacker", + "html_url": "https://github.com/baxterthehacker", + "followers_url": "https://api.github.com/users/baxterthehacker/followers", + "following_url": "https://api.github.com/users/baxterthehacker/following{/other_user}", + "gists_url": "https://api.github.com/users/baxterthehacker/gists{/gist_id}", + "starred_url": "https://api.github.com/users/baxterthehacker/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/baxterthehacker/subscriptions", + "organizations_url": "https://api.github.com/users/baxterthehacker/orgs", + "repos_url": "https://api.github.com/users/baxterthehacker/repos", + "events_url": "https://api.github.com/users/baxterthehacker/events{/privacy}", + "received_events_url": "https://api.github.com/users/baxterthehacker/received_events", + "type": "User", + "site_admin": false + }, + "private": false, + "html_url": "https://github.com/baxterthehacker/public-repo", + "description": "", + "fork": false, + "url": "https://api.github.com/repos/baxterthehacker/public-repo", + "forks_url": "https://api.github.com/repos/baxterthehacker/public-repo/forks", + "keys_url": "https://api.github.com/repos/baxterthehacker/public-repo/keys{/key_id}", + "collaborators_url": "https://api.github.com/repos/baxterthehacker/public-repo/collaborators{/collaborator}", + "teams_url": "https://api.github.com/repos/baxterthehacker/public-repo/teams", + "hooks_url": "https://api.github.com/repos/baxterthehacker/public-repo/hooks", + "issue_events_url": "https://api.github.com/repos/baxterthehacker/public-repo/issues/events{/number}", + "events_url": "https://api.github.com/repos/baxterthehacker/public-repo/events", + "assignees_url": "https://api.github.com/repos/baxterthehacker/public-repo/assignees{/user}", + "branches_url": "https://api.github.com/repos/baxterthehacker/public-repo/branches{/branch}", + "tags_url": "https://api.github.com/repos/baxterthehacker/public-repo/tags", + "blobs_url": "https://api.github.com/repos/baxterthehacker/public-repo/git/blobs{/sha}", + "git_tags_url": "https://api.github.com/repos/baxterthehacker/public-repo/git/tags{/sha}", + "git_refs_url": "https://api.github.com/repos/baxterthehacker/public-repo/git/refs{/sha}", + "trees_url": "https://api.github.com/repos/baxterthehacker/public-repo/git/trees{/sha}", + "statuses_url": "https://api.github.com/repos/baxterthehacker/public-repo/statuses/{sha}", + "languages_url": "https://api.github.com/repos/baxterthehacker/public-repo/languages", + "stargazers_url": "https://api.github.com/repos/baxterthehacker/public-repo/stargazers", + "contributors_url": "https://api.github.com/repos/baxterthehacker/public-repo/contributors", + "subscribers_url": "https://api.github.com/repos/baxterthehacker/public-repo/subscribers", + "subscription_url": "https://api.github.com/repos/baxterthehacker/public-repo/subscription", + "commits_url": "https://api.github.com/repos/baxterthehacker/public-repo/commits{/sha}", + "git_commits_url": "https://api.github.com/repos/baxterthehacker/public-repo/git/commits{/sha}", + "comments_url": "https://api.github.com/repos/baxterthehacker/public-repo/comments{/number}", + "issue_comment_url": "https://api.github.com/repos/baxterthehacker/public-repo/issues/comments{/number}", + "contents_url": "https://api.github.com/repos/baxterthehacker/public-repo/contents/{+path}", + "compare_url": "https://api.github.com/repos/baxterthehacker/public-repo/compare/{base}...{head}", + "merges_url": "https://api.github.com/repos/baxterthehacker/public-repo/merges", + "archive_url": "https://api.github.com/repos/baxterthehacker/public-repo/{archive_format}{/ref}", + "downloads_url": "https://api.github.com/repos/baxterthehacker/public-repo/downloads", + "issues_url": "https://api.github.com/repos/baxterthehacker/public-repo/issues{/number}", + "pulls_url": "https://api.github.com/repos/baxterthehacker/public-repo/pulls{/number}", + "milestones_url": "https://api.github.com/repos/baxterthehacker/public-repo/milestones{/number}", + "notifications_url": "https://api.github.com/repos/baxterthehacker/public-repo/notifications{?since,all,participating}", + "labels_url": "https://api.github.com/repos/baxterthehacker/public-repo/labels{/name}", + "releases_url": "https://api.github.com/repos/baxterthehacker/public-repo/releases{/id}", + "created_at": "2015-05-05T23:40:12Z", + "updated_at": "2015-05-05T23:40:12Z", + "pushed_at": "2015-05-05T23:40:26Z", + "git_url": "git://github.com/baxterthehacker/public-repo.git", + "ssh_url": "git@github.com:baxterthehacker/public-repo.git", + "clone_url": "https://github.com/baxterthehacker/public-repo.git", + "svn_url": "https://github.com/baxterthehacker/public-repo", + "homepage": null, + "size": 0, + "stargazers_count": 0, + "watchers_count": 0, + "language": null, + "has_issues": true, + "has_downloads": true, + "has_wiki": true, + "has_pages": true, + "forks_count": 0, + "mirror_url": null, + "open_issues_count": 1, + "forks": 0, + "open_issues": 1, + "watchers": 0, + "default_branch": "master" + }, + "sender": { + "login": "baxterthehacker", + "id": 6752317, + "node_id": "MDg6Q2hlY2tSdW4xMjg2MjAyMjg=", + "avatar_url": "https://avatars.githubusercontent.com/u/6752317?v=3", + "gravatar_id": "", + "url": "https://api.github.com/users/baxterthehacker", + "html_url": "https://github.com/baxterthehacker", + "followers_url": "https://api.github.com/users/baxterthehacker/followers", + "following_url": "https://api.github.com/users/baxterthehacker/following{/other_user}", + "gists_url": "https://api.github.com/users/baxterthehacker/gists{/gist_id}", + "starred_url": "https://api.github.com/users/baxterthehacker/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/baxterthehacker/subscriptions", + "organizations_url": "https://api.github.com/users/baxterthehacker/orgs", + "repos_url": "https://api.github.com/users/baxterthehacker/repos", + "events_url": "https://api.github.com/users/baxterthehacker/events{/privacy}", + "received_events_url": "https://api.github.com/users/baxterthehacker/received_events", + "type": "User", + "site_admin": false + }, + "installation": { + "id": 234, + "node_id": "MDg6Q2hlY2tSdW4xMjg2MjAyMjg=" + } +}
fixtures/pull-request-event.json view
@@ -1,427 +1,427 @@-{- "action": "opened",- "number": 1,- "pull_request": {- "url": "https://api.github.com/repos/baxterthehacker/public-repo/pulls/1",- "id": 34778301,- "node_id": "MDg6Q2hlY2tSdW4xMjg2MjAyMjg=",- "html_url": "https://github.com/baxterthehacker/public-repo/pull/1",- "diff_url": "https://github.com/baxterthehacker/public-repo/pull/1.diff",- "patch_url": "https://github.com/baxterthehacker/public-repo/pull/1.patch",- "issue_url": "https://api.github.com/repos/baxterthehacker/public-repo/issues/1",- "number": 1,- "state": "open",- "locked": false,- "title": "Update the README with new information",- "user": {- "login": "baxterthehacker",- "id": 6752317,- "node_id": "MDg6Q2hlY2tSdW4xMjg2MjAyMjg=",- "avatar_url": "https://avatars.githubusercontent.com/u/6752317?v=3",- "gravatar_id": "",- "url": "https://api.github.com/users/baxterthehacker",- "html_url": "https://github.com/baxterthehacker",- "followers_url": "https://api.github.com/users/baxterthehacker/followers",- "following_url": "https://api.github.com/users/baxterthehacker/following{/other_user}",- "gists_url": "https://api.github.com/users/baxterthehacker/gists{/gist_id}",- "starred_url": "https://api.github.com/users/baxterthehacker/starred{/owner}{/repo}",- "subscriptions_url": "https://api.github.com/users/baxterthehacker/subscriptions",- "organizations_url": "https://api.github.com/users/baxterthehacker/orgs",- "repos_url": "https://api.github.com/users/baxterthehacker/repos",- "events_url": "https://api.github.com/users/baxterthehacker/events{/privacy}",- "received_events_url": "https://api.github.com/users/baxterthehacker/received_events",- "type": "User",- "site_admin": false- },- "body": "This is a pretty simple change that we need to pull into master.",- "created_at": "2015-05-05T23:40:27Z",- "updated_at": "2015-05-05T23:40:27Z",- "closed_at": null,- "merged_at": null,- "merge_commit_sha": null,- "assignee": null,- "milestone": null,- "commits_url": "https://api.github.com/repos/baxterthehacker/public-repo/pulls/1/commits",- "review_comments_url": "https://api.github.com/repos/baxterthehacker/public-repo/pulls/1/comments",- "review_comment_url": "https://api.github.com/repos/baxterthehacker/public-repo/pulls/comments{/number}",- "comments_url": "https://api.github.com/repos/baxterthehacker/public-repo/issues/1/comments",- "statuses_url": "https://api.github.com/repos/baxterthehacker/public-repo/statuses/0d1a26e67d8f5eaf1f6ba5c57fc3c7d91ac0fd1c",- "head": {- "label": "baxterthehacker:changes",- "ref": "changes",- "sha": "0d1a26e67d8f5eaf1f6ba5c57fc3c7d91ac0fd1c",- "user": {- "login": "baxterthehacker",- "id": 6752317,- "node_id": "MDg6Q2hlY2tSdW4xMjg2MjAyMjg=",- "avatar_url": "https://avatars.githubusercontent.com/u/6752317?v=3",- "gravatar_id": "",- "url": "https://api.github.com/users/baxterthehacker",- "html_url": "https://github.com/baxterthehacker",- "followers_url": "https://api.github.com/users/baxterthehacker/followers",- "following_url": "https://api.github.com/users/baxterthehacker/following{/other_user}",- "gists_url": "https://api.github.com/users/baxterthehacker/gists{/gist_id}",- "starred_url": "https://api.github.com/users/baxterthehacker/starred{/owner}{/repo}",- "subscriptions_url": "https://api.github.com/users/baxterthehacker/subscriptions",- "organizations_url": "https://api.github.com/users/baxterthehacker/orgs",- "repos_url": "https://api.github.com/users/baxterthehacker/repos",- "events_url": "https://api.github.com/users/baxterthehacker/events{/privacy}",- "received_events_url": "https://api.github.com/users/baxterthehacker/received_events",- "type": "User",- "site_admin": false- },- "repo": {- "id": 35129377,- "node_id": "MDg6Q2hlY2tSdW4xMjg2MjAyMjg=",- "name": "public-repo",- "full_name": "baxterthehacker/public-repo",- "owner": {- "login": "baxterthehacker",- "id": 6752317,- "node_id": "MDg6Q2hlY2tSdW4xMjg2MjAyMjg=",- "avatar_url": "https://avatars.githubusercontent.com/u/6752317?v=3",- "gravatar_id": "",- "url": "https://api.github.com/users/baxterthehacker",- "html_url": "https://github.com/baxterthehacker",- "followers_url": "https://api.github.com/users/baxterthehacker/followers",- "following_url": "https://api.github.com/users/baxterthehacker/following{/other_user}",- "gists_url": "https://api.github.com/users/baxterthehacker/gists{/gist_id}",- "starred_url": "https://api.github.com/users/baxterthehacker/starred{/owner}{/repo}",- "subscriptions_url": "https://api.github.com/users/baxterthehacker/subscriptions",- "organizations_url": "https://api.github.com/users/baxterthehacker/orgs",- "repos_url": "https://api.github.com/users/baxterthehacker/repos",- "events_url": "https://api.github.com/users/baxterthehacker/events{/privacy}",- "received_events_url": "https://api.github.com/users/baxterthehacker/received_events",- "type": "User",- "site_admin": false- },- "private": false,- "html_url": "https://github.com/baxterthehacker/public-repo",- "description": "",- "fork": false,- "url": "https://api.github.com/repos/baxterthehacker/public-repo",- "forks_url": "https://api.github.com/repos/baxterthehacker/public-repo/forks",- "keys_url": "https://api.github.com/repos/baxterthehacker/public-repo/keys{/key_id}",- "collaborators_url": "https://api.github.com/repos/baxterthehacker/public-repo/collaborators{/collaborator}",- "teams_url": "https://api.github.com/repos/baxterthehacker/public-repo/teams",- "hooks_url": "https://api.github.com/repos/baxterthehacker/public-repo/hooks",- "issue_events_url": "https://api.github.com/repos/baxterthehacker/public-repo/issues/events{/number}",- "events_url": "https://api.github.com/repos/baxterthehacker/public-repo/events",- "assignees_url": "https://api.github.com/repos/baxterthehacker/public-repo/assignees{/user}",- "branches_url": "https://api.github.com/repos/baxterthehacker/public-repo/branches{/branch}",- "tags_url": "https://api.github.com/repos/baxterthehacker/public-repo/tags",- "blobs_url": "https://api.github.com/repos/baxterthehacker/public-repo/git/blobs{/sha}",- "git_tags_url": "https://api.github.com/repos/baxterthehacker/public-repo/git/tags{/sha}",- "git_refs_url": "https://api.github.com/repos/baxterthehacker/public-repo/git/refs{/sha}",- "trees_url": "https://api.github.com/repos/baxterthehacker/public-repo/git/trees{/sha}",- "statuses_url": "https://api.github.com/repos/baxterthehacker/public-repo/statuses/{sha}",- "languages_url": "https://api.github.com/repos/baxterthehacker/public-repo/languages",- "stargazers_url": "https://api.github.com/repos/baxterthehacker/public-repo/stargazers",- "contributors_url": "https://api.github.com/repos/baxterthehacker/public-repo/contributors",- "subscribers_url": "https://api.github.com/repos/baxterthehacker/public-repo/subscribers",- "subscription_url": "https://api.github.com/repos/baxterthehacker/public-repo/subscription",- "commits_url": "https://api.github.com/repos/baxterthehacker/public-repo/commits{/sha}",- "git_commits_url": "https://api.github.com/repos/baxterthehacker/public-repo/git/commits{/sha}",- "comments_url": "https://api.github.com/repos/baxterthehacker/public-repo/comments{/number}",- "issue_comment_url": "https://api.github.com/repos/baxterthehacker/public-repo/issues/comments{/number}",- "contents_url": "https://api.github.com/repos/baxterthehacker/public-repo/contents/{+path}",- "compare_url": "https://api.github.com/repos/baxterthehacker/public-repo/compare/{base}...{head}",- "merges_url": "https://api.github.com/repos/baxterthehacker/public-repo/merges",- "archive_url": "https://api.github.com/repos/baxterthehacker/public-repo/{archive_format}{/ref}",- "downloads_url": "https://api.github.com/repos/baxterthehacker/public-repo/downloads",- "issues_url": "https://api.github.com/repos/baxterthehacker/public-repo/issues{/number}",- "pulls_url": "https://api.github.com/repos/baxterthehacker/public-repo/pulls{/number}",- "milestones_url": "https://api.github.com/repos/baxterthehacker/public-repo/milestones{/number}",- "notifications_url": "https://api.github.com/repos/baxterthehacker/public-repo/notifications{?since,all,participating}",- "labels_url": "https://api.github.com/repos/baxterthehacker/public-repo/labels{/name}",- "releases_url": "https://api.github.com/repos/baxterthehacker/public-repo/releases{/id}",- "created_at": "2015-05-05T23:40:12Z",- "updated_at": "2015-05-05T23:40:12Z",- "pushed_at": "2015-05-05T23:40:26Z",- "git_url": "git://github.com/baxterthehacker/public-repo.git",- "ssh_url": "git@github.com:baxterthehacker/public-repo.git",- "clone_url": "https://github.com/baxterthehacker/public-repo.git",- "svn_url": "https://github.com/baxterthehacker/public-repo",- "homepage": null,- "size": 0,- "stargazers_count": 0,- "watchers_count": 0,- "language": null,- "has_issues": true,- "has_downloads": true,- "has_wiki": true,- "has_pages": true,- "forks_count": 0,- "mirror_url": null,- "open_issues_count": 1,- "forks": 0,- "open_issues": 1,- "watchers": 0,- "default_branch": "master"- }- },- "base": {- "label": "baxterthehacker:master",- "ref": "master",- "sha": "9049f1265b7d61be4a8904a9a27120d2064dab3b",- "user": {- "login": "baxterthehacker",- "id": 6752317,- "node_id": "MDg6Q2hlY2tSdW4xMjg2MjAyMjg=",- "avatar_url": "https://avatars.githubusercontent.com/u/6752317?v=3",- "gravatar_id": "",- "url": "https://api.github.com/users/baxterthehacker",- "html_url": "https://github.com/baxterthehacker",- "followers_url": "https://api.github.com/users/baxterthehacker/followers",- "following_url": "https://api.github.com/users/baxterthehacker/following{/other_user}",- "gists_url": "https://api.github.com/users/baxterthehacker/gists{/gist_id}",- "starred_url": "https://api.github.com/users/baxterthehacker/starred{/owner}{/repo}",- "subscriptions_url": "https://api.github.com/users/baxterthehacker/subscriptions",- "organizations_url": "https://api.github.com/users/baxterthehacker/orgs",- "repos_url": "https://api.github.com/users/baxterthehacker/repos",- "events_url": "https://api.github.com/users/baxterthehacker/events{/privacy}",- "received_events_url": "https://api.github.com/users/baxterthehacker/received_events",- "type": "User",- "site_admin": false- },- "repo": {- "id": 35129377,- "node_id": "MDg6Q2hlY2tSdW4xMjg2MjAyMjg=",- "name": "public-repo",- "full_name": "baxterthehacker/public-repo",- "owner": {- "login": "baxterthehacker",- "id": 6752317,- "node_id": "MDg6Q2hlY2tSdW4xMjg2MjAyMjg=",- "avatar_url": "https://avatars.githubusercontent.com/u/6752317?v=3",- "gravatar_id": "",- "url": "https://api.github.com/users/baxterthehacker",- "html_url": "https://github.com/baxterthehacker",- "followers_url": "https://api.github.com/users/baxterthehacker/followers",- "following_url": "https://api.github.com/users/baxterthehacker/following{/other_user}",- "gists_url": "https://api.github.com/users/baxterthehacker/gists{/gist_id}",- "starred_url": "https://api.github.com/users/baxterthehacker/starred{/owner}{/repo}",- "subscriptions_url": "https://api.github.com/users/baxterthehacker/subscriptions",- "organizations_url": "https://api.github.com/users/baxterthehacker/orgs",- "repos_url": "https://api.github.com/users/baxterthehacker/repos",- "events_url": "https://api.github.com/users/baxterthehacker/events{/privacy}",- "received_events_url": "https://api.github.com/users/baxterthehacker/received_events",- "type": "User",- "site_admin": false- },- "private": false,- "html_url": "https://github.com/baxterthehacker/public-repo",- "description": "",- "fork": false,- "url": "https://api.github.com/repos/baxterthehacker/public-repo",- "forks_url": "https://api.github.com/repos/baxterthehacker/public-repo/forks",- "keys_url": "https://api.github.com/repos/baxterthehacker/public-repo/keys{/key_id}",- "collaborators_url": "https://api.github.com/repos/baxterthehacker/public-repo/collaborators{/collaborator}",- "teams_url": "https://api.github.com/repos/baxterthehacker/public-repo/teams",- "hooks_url": "https://api.github.com/repos/baxterthehacker/public-repo/hooks",- "issue_events_url": "https://api.github.com/repos/baxterthehacker/public-repo/issues/events{/number}",- "events_url": "https://api.github.com/repos/baxterthehacker/public-repo/events",- "assignees_url": "https://api.github.com/repos/baxterthehacker/public-repo/assignees{/user}",- "branches_url": "https://api.github.com/repos/baxterthehacker/public-repo/branches{/branch}",- "tags_url": "https://api.github.com/repos/baxterthehacker/public-repo/tags",- "blobs_url": "https://api.github.com/repos/baxterthehacker/public-repo/git/blobs{/sha}",- "git_tags_url": "https://api.github.com/repos/baxterthehacker/public-repo/git/tags{/sha}",- "git_refs_url": "https://api.github.com/repos/baxterthehacker/public-repo/git/refs{/sha}",- "trees_url": "https://api.github.com/repos/baxterthehacker/public-repo/git/trees{/sha}",- "statuses_url": "https://api.github.com/repos/baxterthehacker/public-repo/statuses/{sha}",- "languages_url": "https://api.github.com/repos/baxterthehacker/public-repo/languages",- "stargazers_url": "https://api.github.com/repos/baxterthehacker/public-repo/stargazers",- "contributors_url": "https://api.github.com/repos/baxterthehacker/public-repo/contributors",- "subscribers_url": "https://api.github.com/repos/baxterthehacker/public-repo/subscribers",- "subscription_url": "https://api.github.com/repos/baxterthehacker/public-repo/subscription",- "commits_url": "https://api.github.com/repos/baxterthehacker/public-repo/commits{/sha}",- "git_commits_url": "https://api.github.com/repos/baxterthehacker/public-repo/git/commits{/sha}",- "comments_url": "https://api.github.com/repos/baxterthehacker/public-repo/comments{/number}",- "issue_comment_url": "https://api.github.com/repos/baxterthehacker/public-repo/issues/comments{/number}",- "contents_url": "https://api.github.com/repos/baxterthehacker/public-repo/contents/{+path}",- "compare_url": "https://api.github.com/repos/baxterthehacker/public-repo/compare/{base}...{head}",- "merges_url": "https://api.github.com/repos/baxterthehacker/public-repo/merges",- "archive_url": "https://api.github.com/repos/baxterthehacker/public-repo/{archive_format}{/ref}",- "downloads_url": "https://api.github.com/repos/baxterthehacker/public-repo/downloads",- "issues_url": "https://api.github.com/repos/baxterthehacker/public-repo/issues{/number}",- "pulls_url": "https://api.github.com/repos/baxterthehacker/public-repo/pulls{/number}",- "milestones_url": "https://api.github.com/repos/baxterthehacker/public-repo/milestones{/number}",- "notifications_url": "https://api.github.com/repos/baxterthehacker/public-repo/notifications{?since,all,participating}",- "labels_url": "https://api.github.com/repos/baxterthehacker/public-repo/labels{/name}",- "releases_url": "https://api.github.com/repos/baxterthehacker/public-repo/releases{/id}",- "created_at": "2015-05-05T23:40:12Z",- "updated_at": "2015-05-05T23:40:12Z",- "pushed_at": "2015-05-05T23:40:26Z",- "git_url": "git://github.com/baxterthehacker/public-repo.git",- "ssh_url": "git@github.com:baxterthehacker/public-repo.git",- "clone_url": "https://github.com/baxterthehacker/public-repo.git",- "svn_url": "https://github.com/baxterthehacker/public-repo",- "homepage": null,- "size": 0,- "stargazers_count": 0,- "watchers_count": 0,- "language": null,- "has_issues": true,- "has_downloads": true,- "has_wiki": true,- "has_pages": true,- "forks_count": 0,- "mirror_url": null,- "open_issues_count": 1,- "forks": 0,- "open_issues": 1,- "watchers": 0,- "default_branch": "master"- }- },- "_links": {- "self": {- "href": "https://api.github.com/repos/baxterthehacker/public-repo/pulls/1"- },- "html": {- "href": "https://github.com/baxterthehacker/public-repo/pull/1"- },- "issue": {- "href": "https://api.github.com/repos/baxterthehacker/public-repo/issues/1"- },- "comments": {- "href": "https://api.github.com/repos/baxterthehacker/public-repo/issues/1/comments"- },- "review_comments": {- "href": "https://api.github.com/repos/baxterthehacker/public-repo/pulls/1/comments"- },- "review_comment": {- "href": "https://api.github.com/repos/baxterthehacker/public-repo/pulls/comments{/number}"- },- "commits": {- "href": "https://api.github.com/repos/baxterthehacker/public-repo/pulls/1/commits"- },- "statuses": {- "href": "https://api.github.com/repos/baxterthehacker/public-repo/statuses/0d1a26e67d8f5eaf1f6ba5c57fc3c7d91ac0fd1c"- }- },- "merged": false,- "mergeable": null,- "mergeable_state": "unknown",- "merged_by": null,- "comments": 0,- "review_comments": 0,- "commits": 1,- "additions": 1,- "deletions": 1,- "changed_files": 1- },- "repository": {- "id": 35129377,- "node_id": "MDg6Q2hlY2tSdW4xMjg2MjAyMjg=",- "name": "public-repo",- "full_name": "baxterthehacker/public-repo",- "owner": {- "login": "baxterthehacker",- "id": 6752317,- "node_id": "MDg6Q2hlY2tSdW4xMjg2MjAyMjg=",- "avatar_url": "https://avatars.githubusercontent.com/u/6752317?v=3",- "gravatar_id": "",- "url": "https://api.github.com/users/baxterthehacker",- "html_url": "https://github.com/baxterthehacker",- "followers_url": "https://api.github.com/users/baxterthehacker/followers",- "following_url": "https://api.github.com/users/baxterthehacker/following{/other_user}",- "gists_url": "https://api.github.com/users/baxterthehacker/gists{/gist_id}",- "starred_url": "https://api.github.com/users/baxterthehacker/starred{/owner}{/repo}",- "subscriptions_url": "https://api.github.com/users/baxterthehacker/subscriptions",- "organizations_url": "https://api.github.com/users/baxterthehacker/orgs",- "repos_url": "https://api.github.com/users/baxterthehacker/repos",- "events_url": "https://api.github.com/users/baxterthehacker/events{/privacy}",- "received_events_url": "https://api.github.com/users/baxterthehacker/received_events",- "type": "User",- "site_admin": false- },- "private": false,- "html_url": "https://github.com/baxterthehacker/public-repo",- "description": "",- "fork": false,- "url": "https://api.github.com/repos/baxterthehacker/public-repo",- "forks_url": "https://api.github.com/repos/baxterthehacker/public-repo/forks",- "keys_url": "https://api.github.com/repos/baxterthehacker/public-repo/keys{/key_id}",- "collaborators_url": "https://api.github.com/repos/baxterthehacker/public-repo/collaborators{/collaborator}",- "teams_url": "https://api.github.com/repos/baxterthehacker/public-repo/teams",- "hooks_url": "https://api.github.com/repos/baxterthehacker/public-repo/hooks",- "issue_events_url": "https://api.github.com/repos/baxterthehacker/public-repo/issues/events{/number}",- "events_url": "https://api.github.com/repos/baxterthehacker/public-repo/events",- "assignees_url": "https://api.github.com/repos/baxterthehacker/public-repo/assignees{/user}",- "branches_url": "https://api.github.com/repos/baxterthehacker/public-repo/branches{/branch}",- "tags_url": "https://api.github.com/repos/baxterthehacker/public-repo/tags",- "blobs_url": "https://api.github.com/repos/baxterthehacker/public-repo/git/blobs{/sha}",- "git_tags_url": "https://api.github.com/repos/baxterthehacker/public-repo/git/tags{/sha}",- "git_refs_url": "https://api.github.com/repos/baxterthehacker/public-repo/git/refs{/sha}",- "trees_url": "https://api.github.com/repos/baxterthehacker/public-repo/git/trees{/sha}",- "statuses_url": "https://api.github.com/repos/baxterthehacker/public-repo/statuses/{sha}",- "languages_url": "https://api.github.com/repos/baxterthehacker/public-repo/languages",- "stargazers_url": "https://api.github.com/repos/baxterthehacker/public-repo/stargazers",- "contributors_url": "https://api.github.com/repos/baxterthehacker/public-repo/contributors",- "subscribers_url": "https://api.github.com/repos/baxterthehacker/public-repo/subscribers",- "subscription_url": "https://api.github.com/repos/baxterthehacker/public-repo/subscription",- "commits_url": "https://api.github.com/repos/baxterthehacker/public-repo/commits{/sha}",- "git_commits_url": "https://api.github.com/repos/baxterthehacker/public-repo/git/commits{/sha}",- "comments_url": "https://api.github.com/repos/baxterthehacker/public-repo/comments{/number}",- "issue_comment_url": "https://api.github.com/repos/baxterthehacker/public-repo/issues/comments{/number}",- "contents_url": "https://api.github.com/repos/baxterthehacker/public-repo/contents/{+path}",- "compare_url": "https://api.github.com/repos/baxterthehacker/public-repo/compare/{base}...{head}",- "merges_url": "https://api.github.com/repos/baxterthehacker/public-repo/merges",- "archive_url": "https://api.github.com/repos/baxterthehacker/public-repo/{archive_format}{/ref}",- "downloads_url": "https://api.github.com/repos/baxterthehacker/public-repo/downloads",- "issues_url": "https://api.github.com/repos/baxterthehacker/public-repo/issues{/number}",- "pulls_url": "https://api.github.com/repos/baxterthehacker/public-repo/pulls{/number}",- "milestones_url": "https://api.github.com/repos/baxterthehacker/public-repo/milestones{/number}",- "notifications_url": "https://api.github.com/repos/baxterthehacker/public-repo/notifications{?since,all,participating}",- "labels_url": "https://api.github.com/repos/baxterthehacker/public-repo/labels{/name}",- "releases_url": "https://api.github.com/repos/baxterthehacker/public-repo/releases{/id}",- "created_at": "2015-05-05T23:40:12Z",- "updated_at": "2015-05-05T23:40:12Z",- "pushed_at": "2015-05-05T23:40:26Z",- "git_url": "git://github.com/baxterthehacker/public-repo.git",- "ssh_url": "git@github.com:baxterthehacker/public-repo.git",- "clone_url": "https://github.com/baxterthehacker/public-repo.git",- "svn_url": "https://github.com/baxterthehacker/public-repo",- "homepage": null,- "size": 0,- "stargazers_count": 0,- "watchers_count": 0,- "language": null,- "has_issues": true,- "has_downloads": true,- "has_wiki": true,- "has_pages": true,- "forks_count": 0,- "mirror_url": null,- "open_issues_count": 1,- "forks": 0,- "open_issues": 1,- "watchers": 0,- "default_branch": "master"- },- "sender": {- "login": "baxterthehacker",- "id": 6752317,- "node_id": "MDg6Q2hlY2tSdW4xMjg2MjAyMjg=",- "avatar_url": "https://avatars.githubusercontent.com/u/6752317?v=3",- "gravatar_id": "",- "url": "https://api.github.com/users/baxterthehacker",- "html_url": "https://github.com/baxterthehacker",- "followers_url": "https://api.github.com/users/baxterthehacker/followers",- "following_url": "https://api.github.com/users/baxterthehacker/following{/other_user}",- "gists_url": "https://api.github.com/users/baxterthehacker/gists{/gist_id}",- "starred_url": "https://api.github.com/users/baxterthehacker/starred{/owner}{/repo}",- "subscriptions_url": "https://api.github.com/users/baxterthehacker/subscriptions",- "organizations_url": "https://api.github.com/users/baxterthehacker/orgs",- "repos_url": "https://api.github.com/users/baxterthehacker/repos",- "events_url": "https://api.github.com/users/baxterthehacker/events{/privacy}",- "received_events_url": "https://api.github.com/users/baxterthehacker/received_events",- "type": "User",- "site_admin": false- },- "installation": {- "id": 234,- "node_id": "MDg6Q2hlY2tSdW4xMjg2MjAyMjg="- }-}+{ + "action": "opened", + "number": 1, + "pull_request": { + "url": "https://api.github.com/repos/baxterthehacker/public-repo/pulls/1", + "id": 34778301, + "node_id": "MDg6Q2hlY2tSdW4xMjg2MjAyMjg=", + "html_url": "https://github.com/baxterthehacker/public-repo/pull/1", + "diff_url": "https://github.com/baxterthehacker/public-repo/pull/1.diff", + "patch_url": "https://github.com/baxterthehacker/public-repo/pull/1.patch", + "issue_url": "https://api.github.com/repos/baxterthehacker/public-repo/issues/1", + "number": 1, + "state": "open", + "locked": false, + "title": "Update the README with new information", + "user": { + "login": "baxterthehacker", + "id": 6752317, + "node_id": "MDg6Q2hlY2tSdW4xMjg2MjAyMjg=", + "avatar_url": "https://avatars.githubusercontent.com/u/6752317?v=3", + "gravatar_id": "", + "url": "https://api.github.com/users/baxterthehacker", + "html_url": "https://github.com/baxterthehacker", + "followers_url": "https://api.github.com/users/baxterthehacker/followers", + "following_url": "https://api.github.com/users/baxterthehacker/following{/other_user}", + "gists_url": "https://api.github.com/users/baxterthehacker/gists{/gist_id}", + "starred_url": "https://api.github.com/users/baxterthehacker/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/baxterthehacker/subscriptions", + "organizations_url": "https://api.github.com/users/baxterthehacker/orgs", + "repos_url": "https://api.github.com/users/baxterthehacker/repos", + "events_url": "https://api.github.com/users/baxterthehacker/events{/privacy}", + "received_events_url": "https://api.github.com/users/baxterthehacker/received_events", + "type": "User", + "site_admin": false + }, + "body": "This is a pretty simple change that we need to pull into master.", + "created_at": "2015-05-05T23:40:27Z", + "updated_at": "2015-05-05T23:40:27Z", + "closed_at": null, + "merged_at": null, + "merge_commit_sha": null, + "assignee": null, + "milestone": null, + "commits_url": "https://api.github.com/repos/baxterthehacker/public-repo/pulls/1/commits", + "review_comments_url": "https://api.github.com/repos/baxterthehacker/public-repo/pulls/1/comments", + "review_comment_url": "https://api.github.com/repos/baxterthehacker/public-repo/pulls/comments{/number}", + "comments_url": "https://api.github.com/repos/baxterthehacker/public-repo/issues/1/comments", + "statuses_url": "https://api.github.com/repos/baxterthehacker/public-repo/statuses/0d1a26e67d8f5eaf1f6ba5c57fc3c7d91ac0fd1c", + "head": { + "label": "baxterthehacker:changes", + "ref": "changes", + "sha": "0d1a26e67d8f5eaf1f6ba5c57fc3c7d91ac0fd1c", + "user": { + "login": "baxterthehacker", + "id": 6752317, + "node_id": "MDg6Q2hlY2tSdW4xMjg2MjAyMjg=", + "avatar_url": "https://avatars.githubusercontent.com/u/6752317?v=3", + "gravatar_id": "", + "url": "https://api.github.com/users/baxterthehacker", + "html_url": "https://github.com/baxterthehacker", + "followers_url": "https://api.github.com/users/baxterthehacker/followers", + "following_url": "https://api.github.com/users/baxterthehacker/following{/other_user}", + "gists_url": "https://api.github.com/users/baxterthehacker/gists{/gist_id}", + "starred_url": "https://api.github.com/users/baxterthehacker/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/baxterthehacker/subscriptions", + "organizations_url": "https://api.github.com/users/baxterthehacker/orgs", + "repos_url": "https://api.github.com/users/baxterthehacker/repos", + "events_url": "https://api.github.com/users/baxterthehacker/events{/privacy}", + "received_events_url": "https://api.github.com/users/baxterthehacker/received_events", + "type": "User", + "site_admin": false + }, + "repo": { + "id": 35129377, + "node_id": "MDg6Q2hlY2tSdW4xMjg2MjAyMjg=", + "name": "public-repo", + "full_name": "baxterthehacker/public-repo", + "owner": { + "login": "baxterthehacker", + "id": 6752317, + "node_id": "MDg6Q2hlY2tSdW4xMjg2MjAyMjg=", + "avatar_url": "https://avatars.githubusercontent.com/u/6752317?v=3", + "gravatar_id": "", + "url": "https://api.github.com/users/baxterthehacker", + "html_url": "https://github.com/baxterthehacker", + "followers_url": "https://api.github.com/users/baxterthehacker/followers", + "following_url": "https://api.github.com/users/baxterthehacker/following{/other_user}", + "gists_url": "https://api.github.com/users/baxterthehacker/gists{/gist_id}", + "starred_url": "https://api.github.com/users/baxterthehacker/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/baxterthehacker/subscriptions", + "organizations_url": "https://api.github.com/users/baxterthehacker/orgs", + "repos_url": "https://api.github.com/users/baxterthehacker/repos", + "events_url": "https://api.github.com/users/baxterthehacker/events{/privacy}", + "received_events_url": "https://api.github.com/users/baxterthehacker/received_events", + "type": "User", + "site_admin": false + }, + "private": false, + "html_url": "https://github.com/baxterthehacker/public-repo", + "description": "", + "fork": false, + "url": "https://api.github.com/repos/baxterthehacker/public-repo", + "forks_url": "https://api.github.com/repos/baxterthehacker/public-repo/forks", + "keys_url": "https://api.github.com/repos/baxterthehacker/public-repo/keys{/key_id}", + "collaborators_url": "https://api.github.com/repos/baxterthehacker/public-repo/collaborators{/collaborator}", + "teams_url": "https://api.github.com/repos/baxterthehacker/public-repo/teams", + "hooks_url": "https://api.github.com/repos/baxterthehacker/public-repo/hooks", + "issue_events_url": "https://api.github.com/repos/baxterthehacker/public-repo/issues/events{/number}", + "events_url": "https://api.github.com/repos/baxterthehacker/public-repo/events", + "assignees_url": "https://api.github.com/repos/baxterthehacker/public-repo/assignees{/user}", + "branches_url": "https://api.github.com/repos/baxterthehacker/public-repo/branches{/branch}", + "tags_url": "https://api.github.com/repos/baxterthehacker/public-repo/tags", + "blobs_url": "https://api.github.com/repos/baxterthehacker/public-repo/git/blobs{/sha}", + "git_tags_url": "https://api.github.com/repos/baxterthehacker/public-repo/git/tags{/sha}", + "git_refs_url": "https://api.github.com/repos/baxterthehacker/public-repo/git/refs{/sha}", + "trees_url": "https://api.github.com/repos/baxterthehacker/public-repo/git/trees{/sha}", + "statuses_url": "https://api.github.com/repos/baxterthehacker/public-repo/statuses/{sha}", + "languages_url": "https://api.github.com/repos/baxterthehacker/public-repo/languages", + "stargazers_url": "https://api.github.com/repos/baxterthehacker/public-repo/stargazers", + "contributors_url": "https://api.github.com/repos/baxterthehacker/public-repo/contributors", + "subscribers_url": "https://api.github.com/repos/baxterthehacker/public-repo/subscribers", + "subscription_url": "https://api.github.com/repos/baxterthehacker/public-repo/subscription", + "commits_url": "https://api.github.com/repos/baxterthehacker/public-repo/commits{/sha}", + "git_commits_url": "https://api.github.com/repos/baxterthehacker/public-repo/git/commits{/sha}", + "comments_url": "https://api.github.com/repos/baxterthehacker/public-repo/comments{/number}", + "issue_comment_url": "https://api.github.com/repos/baxterthehacker/public-repo/issues/comments{/number}", + "contents_url": "https://api.github.com/repos/baxterthehacker/public-repo/contents/{+path}", + "compare_url": "https://api.github.com/repos/baxterthehacker/public-repo/compare/{base}...{head}", + "merges_url": "https://api.github.com/repos/baxterthehacker/public-repo/merges", + "archive_url": "https://api.github.com/repos/baxterthehacker/public-repo/{archive_format}{/ref}", + "downloads_url": "https://api.github.com/repos/baxterthehacker/public-repo/downloads", + "issues_url": "https://api.github.com/repos/baxterthehacker/public-repo/issues{/number}", + "pulls_url": "https://api.github.com/repos/baxterthehacker/public-repo/pulls{/number}", + "milestones_url": "https://api.github.com/repos/baxterthehacker/public-repo/milestones{/number}", + "notifications_url": "https://api.github.com/repos/baxterthehacker/public-repo/notifications{?since,all,participating}", + "labels_url": "https://api.github.com/repos/baxterthehacker/public-repo/labels{/name}", + "releases_url": "https://api.github.com/repos/baxterthehacker/public-repo/releases{/id}", + "created_at": "2015-05-05T23:40:12Z", + "updated_at": "2015-05-05T23:40:12Z", + "pushed_at": "2015-05-05T23:40:26Z", + "git_url": "git://github.com/baxterthehacker/public-repo.git", + "ssh_url": "git@github.com:baxterthehacker/public-repo.git", + "clone_url": "https://github.com/baxterthehacker/public-repo.git", + "svn_url": "https://github.com/baxterthehacker/public-repo", + "homepage": null, + "size": 0, + "stargazers_count": 0, + "watchers_count": 0, + "language": null, + "has_issues": true, + "has_downloads": true, + "has_wiki": true, + "has_pages": true, + "forks_count": 0, + "mirror_url": null, + "open_issues_count": 1, + "forks": 0, + "open_issues": 1, + "watchers": 0, + "default_branch": "master" + } + }, + "base": { + "label": "baxterthehacker:master", + "ref": "master", + "sha": "9049f1265b7d61be4a8904a9a27120d2064dab3b", + "user": { + "login": "baxterthehacker", + "id": 6752317, + "node_id": "MDg6Q2hlY2tSdW4xMjg2MjAyMjg=", + "avatar_url": "https://avatars.githubusercontent.com/u/6752317?v=3", + "gravatar_id": "", + "url": "https://api.github.com/users/baxterthehacker", + "html_url": "https://github.com/baxterthehacker", + "followers_url": "https://api.github.com/users/baxterthehacker/followers", + "following_url": "https://api.github.com/users/baxterthehacker/following{/other_user}", + "gists_url": "https://api.github.com/users/baxterthehacker/gists{/gist_id}", + "starred_url": "https://api.github.com/users/baxterthehacker/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/baxterthehacker/subscriptions", + "organizations_url": "https://api.github.com/users/baxterthehacker/orgs", + "repos_url": "https://api.github.com/users/baxterthehacker/repos", + "events_url": "https://api.github.com/users/baxterthehacker/events{/privacy}", + "received_events_url": "https://api.github.com/users/baxterthehacker/received_events", + "type": "User", + "site_admin": false + }, + "repo": { + "id": 35129377, + "node_id": "MDg6Q2hlY2tSdW4xMjg2MjAyMjg=", + "name": "public-repo", + "full_name": "baxterthehacker/public-repo", + "owner": { + "login": "baxterthehacker", + "id": 6752317, + "node_id": "MDg6Q2hlY2tSdW4xMjg2MjAyMjg=", + "avatar_url": "https://avatars.githubusercontent.com/u/6752317?v=3", + "gravatar_id": "", + "url": "https://api.github.com/users/baxterthehacker", + "html_url": "https://github.com/baxterthehacker", + "followers_url": "https://api.github.com/users/baxterthehacker/followers", + "following_url": "https://api.github.com/users/baxterthehacker/following{/other_user}", + "gists_url": "https://api.github.com/users/baxterthehacker/gists{/gist_id}", + "starred_url": "https://api.github.com/users/baxterthehacker/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/baxterthehacker/subscriptions", + "organizations_url": "https://api.github.com/users/baxterthehacker/orgs", + "repos_url": "https://api.github.com/users/baxterthehacker/repos", + "events_url": "https://api.github.com/users/baxterthehacker/events{/privacy}", + "received_events_url": "https://api.github.com/users/baxterthehacker/received_events", + "type": "User", + "site_admin": false + }, + "private": false, + "html_url": "https://github.com/baxterthehacker/public-repo", + "description": "", + "fork": false, + "url": "https://api.github.com/repos/baxterthehacker/public-repo", + "forks_url": "https://api.github.com/repos/baxterthehacker/public-repo/forks", + "keys_url": "https://api.github.com/repos/baxterthehacker/public-repo/keys{/key_id}", + "collaborators_url": "https://api.github.com/repos/baxterthehacker/public-repo/collaborators{/collaborator}", + "teams_url": "https://api.github.com/repos/baxterthehacker/public-repo/teams", + "hooks_url": "https://api.github.com/repos/baxterthehacker/public-repo/hooks", + "issue_events_url": "https://api.github.com/repos/baxterthehacker/public-repo/issues/events{/number}", + "events_url": "https://api.github.com/repos/baxterthehacker/public-repo/events", + "assignees_url": "https://api.github.com/repos/baxterthehacker/public-repo/assignees{/user}", + "branches_url": "https://api.github.com/repos/baxterthehacker/public-repo/branches{/branch}", + "tags_url": "https://api.github.com/repos/baxterthehacker/public-repo/tags", + "blobs_url": "https://api.github.com/repos/baxterthehacker/public-repo/git/blobs{/sha}", + "git_tags_url": "https://api.github.com/repos/baxterthehacker/public-repo/git/tags{/sha}", + "git_refs_url": "https://api.github.com/repos/baxterthehacker/public-repo/git/refs{/sha}", + "trees_url": "https://api.github.com/repos/baxterthehacker/public-repo/git/trees{/sha}", + "statuses_url": "https://api.github.com/repos/baxterthehacker/public-repo/statuses/{sha}", + "languages_url": "https://api.github.com/repos/baxterthehacker/public-repo/languages", + "stargazers_url": "https://api.github.com/repos/baxterthehacker/public-repo/stargazers", + "contributors_url": "https://api.github.com/repos/baxterthehacker/public-repo/contributors", + "subscribers_url": "https://api.github.com/repos/baxterthehacker/public-repo/subscribers", + "subscription_url": "https://api.github.com/repos/baxterthehacker/public-repo/subscription", + "commits_url": "https://api.github.com/repos/baxterthehacker/public-repo/commits{/sha}", + "git_commits_url": "https://api.github.com/repos/baxterthehacker/public-repo/git/commits{/sha}", + "comments_url": "https://api.github.com/repos/baxterthehacker/public-repo/comments{/number}", + "issue_comment_url": "https://api.github.com/repos/baxterthehacker/public-repo/issues/comments{/number}", + "contents_url": "https://api.github.com/repos/baxterthehacker/public-repo/contents/{+path}", + "compare_url": "https://api.github.com/repos/baxterthehacker/public-repo/compare/{base}...{head}", + "merges_url": "https://api.github.com/repos/baxterthehacker/public-repo/merges", + "archive_url": "https://api.github.com/repos/baxterthehacker/public-repo/{archive_format}{/ref}", + "downloads_url": "https://api.github.com/repos/baxterthehacker/public-repo/downloads", + "issues_url": "https://api.github.com/repos/baxterthehacker/public-repo/issues{/number}", + "pulls_url": "https://api.github.com/repos/baxterthehacker/public-repo/pulls{/number}", + "milestones_url": "https://api.github.com/repos/baxterthehacker/public-repo/milestones{/number}", + "notifications_url": "https://api.github.com/repos/baxterthehacker/public-repo/notifications{?since,all,participating}", + "labels_url": "https://api.github.com/repos/baxterthehacker/public-repo/labels{/name}", + "releases_url": "https://api.github.com/repos/baxterthehacker/public-repo/releases{/id}", + "created_at": "2015-05-05T23:40:12Z", + "updated_at": "2015-05-05T23:40:12Z", + "pushed_at": "2015-05-05T23:40:26Z", + "git_url": "git://github.com/baxterthehacker/public-repo.git", + "ssh_url": "git@github.com:baxterthehacker/public-repo.git", + "clone_url": "https://github.com/baxterthehacker/public-repo.git", + "svn_url": "https://github.com/baxterthehacker/public-repo", + "homepage": null, + "size": 0, + "stargazers_count": 0, + "watchers_count": 0, + "language": null, + "has_issues": true, + "has_downloads": true, + "has_wiki": true, + "has_pages": true, + "forks_count": 0, + "mirror_url": null, + "open_issues_count": 1, + "forks": 0, + "open_issues": 1, + "watchers": 0, + "default_branch": "master" + } + }, + "_links": { + "self": { + "href": "https://api.github.com/repos/baxterthehacker/public-repo/pulls/1" + }, + "html": { + "href": "https://github.com/baxterthehacker/public-repo/pull/1" + }, + "issue": { + "href": "https://api.github.com/repos/baxterthehacker/public-repo/issues/1" + }, + "comments": { + "href": "https://api.github.com/repos/baxterthehacker/public-repo/issues/1/comments" + }, + "review_comments": { + "href": "https://api.github.com/repos/baxterthehacker/public-repo/pulls/1/comments" + }, + "review_comment": { + "href": "https://api.github.com/repos/baxterthehacker/public-repo/pulls/comments{/number}" + }, + "commits": { + "href": "https://api.github.com/repos/baxterthehacker/public-repo/pulls/1/commits" + }, + "statuses": { + "href": "https://api.github.com/repos/baxterthehacker/public-repo/statuses/0d1a26e67d8f5eaf1f6ba5c57fc3c7d91ac0fd1c" + } + }, + "merged": false, + "mergeable": null, + "mergeable_state": "unknown", + "merged_by": null, + "comments": 0, + "review_comments": 0, + "commits": 1, + "additions": 1, + "deletions": 1, + "changed_files": 1 + }, + "repository": { + "id": 35129377, + "node_id": "MDg6Q2hlY2tSdW4xMjg2MjAyMjg=", + "name": "public-repo", + "full_name": "baxterthehacker/public-repo", + "owner": { + "login": "baxterthehacker", + "id": 6752317, + "node_id": "MDg6Q2hlY2tSdW4xMjg2MjAyMjg=", + "avatar_url": "https://avatars.githubusercontent.com/u/6752317?v=3", + "gravatar_id": "", + "url": "https://api.github.com/users/baxterthehacker", + "html_url": "https://github.com/baxterthehacker", + "followers_url": "https://api.github.com/users/baxterthehacker/followers", + "following_url": "https://api.github.com/users/baxterthehacker/following{/other_user}", + "gists_url": "https://api.github.com/users/baxterthehacker/gists{/gist_id}", + "starred_url": "https://api.github.com/users/baxterthehacker/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/baxterthehacker/subscriptions", + "organizations_url": "https://api.github.com/users/baxterthehacker/orgs", + "repos_url": "https://api.github.com/users/baxterthehacker/repos", + "events_url": "https://api.github.com/users/baxterthehacker/events{/privacy}", + "received_events_url": "https://api.github.com/users/baxterthehacker/received_events", + "type": "User", + "site_admin": false + }, + "private": false, + "html_url": "https://github.com/baxterthehacker/public-repo", + "description": "", + "fork": false, + "url": "https://api.github.com/repos/baxterthehacker/public-repo", + "forks_url": "https://api.github.com/repos/baxterthehacker/public-repo/forks", + "keys_url": "https://api.github.com/repos/baxterthehacker/public-repo/keys{/key_id}", + "collaborators_url": "https://api.github.com/repos/baxterthehacker/public-repo/collaborators{/collaborator}", + "teams_url": "https://api.github.com/repos/baxterthehacker/public-repo/teams", + "hooks_url": "https://api.github.com/repos/baxterthehacker/public-repo/hooks", + "issue_events_url": "https://api.github.com/repos/baxterthehacker/public-repo/issues/events{/number}", + "events_url": "https://api.github.com/repos/baxterthehacker/public-repo/events", + "assignees_url": "https://api.github.com/repos/baxterthehacker/public-repo/assignees{/user}", + "branches_url": "https://api.github.com/repos/baxterthehacker/public-repo/branches{/branch}", + "tags_url": "https://api.github.com/repos/baxterthehacker/public-repo/tags", + "blobs_url": "https://api.github.com/repos/baxterthehacker/public-repo/git/blobs{/sha}", + "git_tags_url": "https://api.github.com/repos/baxterthehacker/public-repo/git/tags{/sha}", + "git_refs_url": "https://api.github.com/repos/baxterthehacker/public-repo/git/refs{/sha}", + "trees_url": "https://api.github.com/repos/baxterthehacker/public-repo/git/trees{/sha}", + "statuses_url": "https://api.github.com/repos/baxterthehacker/public-repo/statuses/{sha}", + "languages_url": "https://api.github.com/repos/baxterthehacker/public-repo/languages", + "stargazers_url": "https://api.github.com/repos/baxterthehacker/public-repo/stargazers", + "contributors_url": "https://api.github.com/repos/baxterthehacker/public-repo/contributors", + "subscribers_url": "https://api.github.com/repos/baxterthehacker/public-repo/subscribers", + "subscription_url": "https://api.github.com/repos/baxterthehacker/public-repo/subscription", + "commits_url": "https://api.github.com/repos/baxterthehacker/public-repo/commits{/sha}", + "git_commits_url": "https://api.github.com/repos/baxterthehacker/public-repo/git/commits{/sha}", + "comments_url": "https://api.github.com/repos/baxterthehacker/public-repo/comments{/number}", + "issue_comment_url": "https://api.github.com/repos/baxterthehacker/public-repo/issues/comments{/number}", + "contents_url": "https://api.github.com/repos/baxterthehacker/public-repo/contents/{+path}", + "compare_url": "https://api.github.com/repos/baxterthehacker/public-repo/compare/{base}...{head}", + "merges_url": "https://api.github.com/repos/baxterthehacker/public-repo/merges", + "archive_url": "https://api.github.com/repos/baxterthehacker/public-repo/{archive_format}{/ref}", + "downloads_url": "https://api.github.com/repos/baxterthehacker/public-repo/downloads", + "issues_url": "https://api.github.com/repos/baxterthehacker/public-repo/issues{/number}", + "pulls_url": "https://api.github.com/repos/baxterthehacker/public-repo/pulls{/number}", + "milestones_url": "https://api.github.com/repos/baxterthehacker/public-repo/milestones{/number}", + "notifications_url": "https://api.github.com/repos/baxterthehacker/public-repo/notifications{?since,all,participating}", + "labels_url": "https://api.github.com/repos/baxterthehacker/public-repo/labels{/name}", + "releases_url": "https://api.github.com/repos/baxterthehacker/public-repo/releases{/id}", + "created_at": "2015-05-05T23:40:12Z", + "updated_at": "2015-05-05T23:40:12Z", + "pushed_at": "2015-05-05T23:40:26Z", + "git_url": "git://github.com/baxterthehacker/public-repo.git", + "ssh_url": "git@github.com:baxterthehacker/public-repo.git", + "clone_url": "https://github.com/baxterthehacker/public-repo.git", + "svn_url": "https://github.com/baxterthehacker/public-repo", + "homepage": null, + "size": 0, + "stargazers_count": 0, + "watchers_count": 0, + "language": null, + "has_issues": true, + "has_downloads": true, + "has_wiki": true, + "has_pages": true, + "forks_count": 0, + "mirror_url": null, + "open_issues_count": 1, + "forks": 0, + "open_issues": 1, + "watchers": 0, + "default_branch": "master" + }, + "sender": { + "login": "baxterthehacker", + "id": 6752317, + "node_id": "MDg6Q2hlY2tSdW4xMjg2MjAyMjg=", + "avatar_url": "https://avatars.githubusercontent.com/u/6752317?v=3", + "gravatar_id": "", + "url": "https://api.github.com/users/baxterthehacker", + "html_url": "https://github.com/baxterthehacker", + "followers_url": "https://api.github.com/users/baxterthehacker/followers", + "following_url": "https://api.github.com/users/baxterthehacker/following{/other_user}", + "gists_url": "https://api.github.com/users/baxterthehacker/gists{/gist_id}", + "starred_url": "https://api.github.com/users/baxterthehacker/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/baxterthehacker/subscriptions", + "organizations_url": "https://api.github.com/users/baxterthehacker/orgs", + "repos_url": "https://api.github.com/users/baxterthehacker/repos", + "events_url": "https://api.github.com/users/baxterthehacker/events{/privacy}", + "received_events_url": "https://api.github.com/users/baxterthehacker/received_events", + "type": "User", + "site_admin": false + }, + "installation": { + "id": 234, + "node_id": "MDg6Q2hlY2tSdW4xMjg2MjAyMjg=" + } +}
fixtures/pull-request-review-comment-event.json view
@@ -1,459 +1,459 @@-{- "action": "created",- "comment": {- "url": "https://api.github.com/repos/baxterthehacker/public-repo/pulls/comments/29724692",- "id": 29724692,- "node_id": "MDg6Q2hlY2tSdW4xMjg2MjAyMjg=",- "diff_hunk": "@@ -1 +1 @@\n-# public-repo",- "path": "README.md",- "position": 1,- "original_position": 1,- "commit_id": "0d1a26e67d8f5eaf1f6ba5c57fc3c7d91ac0fd1c",- "original_commit_id": "0d1a26e67d8f5eaf1f6ba5c57fc3c7d91ac0fd1c",- "user": {- "login": "baxterthehacker",- "id": 6752317,- "node_id": "MDg6Q2hlY2tSdW4xMjg2MjAyMjg=",- "avatar_url": "https://avatars.githubusercontent.com/u/6752317?v=3",- "gravatar_id": "",- "url": "https://api.github.com/users/baxterthehacker",- "html_url": "https://github.com/baxterthehacker",- "followers_url": "https://api.github.com/users/baxterthehacker/followers",- "following_url": "https://api.github.com/users/baxterthehacker/following{/other_user}",- "gists_url": "https://api.github.com/users/baxterthehacker/gists{/gist_id}",- "starred_url": "https://api.github.com/users/baxterthehacker/starred{/owner}{/repo}",- "subscriptions_url": "https://api.github.com/users/baxterthehacker/subscriptions",- "organizations_url": "https://api.github.com/users/baxterthehacker/orgs",- "repos_url": "https://api.github.com/users/baxterthehacker/repos",- "events_url": "https://api.github.com/users/baxterthehacker/events{/privacy}",- "received_events_url": "https://api.github.com/users/baxterthehacker/received_events",- "type": "User",- "site_admin": false- },- "body": "Maybe you should use more emojji on this line.",- "created_at": "2015-05-05T23:40:27Z",- "updated_at": "2015-05-05T23:40:27Z",- "html_url": "https://github.com/baxterthehacker/public-repo/pull/1#discussion_r29724692",- "pull_request_url": "https://api.github.com/repos/baxterthehacker/public-repo/pulls/1",- "_links": {- "self": {- "href": "https://api.github.com/repos/baxterthehacker/public-repo/pulls/comments/29724692"- },- "html": {- "href": "https://github.com/baxterthehacker/public-repo/pull/1#discussion_r29724692"- },- "pull_request": {- "href": "https://api.github.com/repos/baxterthehacker/public-repo/pulls/1"- }- }- },- "pull_request": {- "url": "https://api.github.com/repos/baxterthehacker/public-repo/pulls/1",- "id": 34778301,- "node_id": "MDg6Q2hlY2tSdW4xMjg2MjAyMjg=",- "html_url": "https://github.com/baxterthehacker/public-repo/pull/1",- "diff_url": "https://github.com/baxterthehacker/public-repo/pull/1.diff",- "patch_url": "https://github.com/baxterthehacker/public-repo/pull/1.patch",- "issue_url": "https://api.github.com/repos/baxterthehacker/public-repo/issues/1",- "number": 1,- "state": "open",- "locked": false,- "title": "Update the README with new information",- "user": {- "login": "baxterthehacker",- "id": 6752317,- "node_id": "MDg6Q2hlY2tSdW4xMjg2MjAyMjg=",- "avatar_url": "https://avatars.githubusercontent.com/u/6752317?v=3",- "gravatar_id": "",- "url": "https://api.github.com/users/baxterthehacker",- "html_url": "https://github.com/baxterthehacker",- "followers_url": "https://api.github.com/users/baxterthehacker/followers",- "following_url": "https://api.github.com/users/baxterthehacker/following{/other_user}",- "gists_url": "https://api.github.com/users/baxterthehacker/gists{/gist_id}",- "starred_url": "https://api.github.com/users/baxterthehacker/starred{/owner}{/repo}",- "subscriptions_url": "https://api.github.com/users/baxterthehacker/subscriptions",- "organizations_url": "https://api.github.com/users/baxterthehacker/orgs",- "repos_url": "https://api.github.com/users/baxterthehacker/repos",- "events_url": "https://api.github.com/users/baxterthehacker/events{/privacy}",- "received_events_url": "https://api.github.com/users/baxterthehacker/received_events",- "type": "User",- "site_admin": false- },- "body": "This is a pretty simple change that we need to pull into master.",- "created_at": "2015-05-05T23:40:27Z",- "updated_at": "2015-05-05T23:40:27Z",- "closed_at": null,- "merged_at": null,- "merge_commit_sha": "18721552ba489fb84e12958c1b5694b5475f7991",- "assignee": null,- "milestone": null,- "commits_url": "https://api.github.com/repos/baxterthehacker/public-repo/pulls/1/commits",- "review_comments_url": "https://api.github.com/repos/baxterthehacker/public-repo/pulls/1/comments",- "review_comment_url": "https://api.github.com/repos/baxterthehacker/public-repo/pulls/comments{/number}",- "comments_url": "https://api.github.com/repos/baxterthehacker/public-repo/issues/1/comments",- "statuses_url": "https://api.github.com/repos/baxterthehacker/public-repo/statuses/0d1a26e67d8f5eaf1f6ba5c57fc3c7d91ac0fd1c",- "head": {- "label": "baxterthehacker:changes",- "ref": "changes",- "sha": "0d1a26e67d8f5eaf1f6ba5c57fc3c7d91ac0fd1c",- "user": {- "login": "baxterthehacker",- "id": 6752317,- "node_id": "MDg6Q2hlY2tSdW4xMjg2MjAyMjg=",- "avatar_url": "https://avatars.githubusercontent.com/u/6752317?v=3",- "gravatar_id": "",- "url": "https://api.github.com/users/baxterthehacker",- "html_url": "https://github.com/baxterthehacker",- "followers_url": "https://api.github.com/users/baxterthehacker/followers",- "following_url": "https://api.github.com/users/baxterthehacker/following{/other_user}",- "gists_url": "https://api.github.com/users/baxterthehacker/gists{/gist_id}",- "starred_url": "https://api.github.com/users/baxterthehacker/starred{/owner}{/repo}",- "subscriptions_url": "https://api.github.com/users/baxterthehacker/subscriptions",- "organizations_url": "https://api.github.com/users/baxterthehacker/orgs",- "repos_url": "https://api.github.com/users/baxterthehacker/repos",- "events_url": "https://api.github.com/users/baxterthehacker/events{/privacy}",- "received_events_url": "https://api.github.com/users/baxterthehacker/received_events",- "type": "User",- "site_admin": false- },- "repo": {- "id": 35129377,- "node_id": "MDg6Q2hlY2tSdW4xMjg2MjAyMjg=",- "name": "public-repo",- "full_name": "baxterthehacker/public-repo",- "owner": {- "login": "baxterthehacker",- "id": 6752317,- "node_id": "MDg6Q2hlY2tSdW4xMjg2MjAyMjg=",- "avatar_url": "https://avatars.githubusercontent.com/u/6752317?v=3",- "gravatar_id": "",- "url": "https://api.github.com/users/baxterthehacker",- "html_url": "https://github.com/baxterthehacker",- "followers_url": "https://api.github.com/users/baxterthehacker/followers",- "following_url": "https://api.github.com/users/baxterthehacker/following{/other_user}",- "gists_url": "https://api.github.com/users/baxterthehacker/gists{/gist_id}",- "starred_url": "https://api.github.com/users/baxterthehacker/starred{/owner}{/repo}",- "subscriptions_url": "https://api.github.com/users/baxterthehacker/subscriptions",- "organizations_url": "https://api.github.com/users/baxterthehacker/orgs",- "repos_url": "https://api.github.com/users/baxterthehacker/repos",- "events_url": "https://api.github.com/users/baxterthehacker/events{/privacy}",- "received_events_url": "https://api.github.com/users/baxterthehacker/received_events",- "type": "User",- "site_admin": false- },- "private": false,- "html_url": "https://github.com/baxterthehacker/public-repo",- "description": "",- "fork": false,- "url": "https://api.github.com/repos/baxterthehacker/public-repo",- "forks_url": "https://api.github.com/repos/baxterthehacker/public-repo/forks",- "keys_url": "https://api.github.com/repos/baxterthehacker/public-repo/keys{/key_id}",- "collaborators_url": "https://api.github.com/repos/baxterthehacker/public-repo/collaborators{/collaborator}",- "teams_url": "https://api.github.com/repos/baxterthehacker/public-repo/teams",- "hooks_url": "https://api.github.com/repos/baxterthehacker/public-repo/hooks",- "issue_events_url": "https://api.github.com/repos/baxterthehacker/public-repo/issues/events{/number}",- "events_url": "https://api.github.com/repos/baxterthehacker/public-repo/events",- "assignees_url": "https://api.github.com/repos/baxterthehacker/public-repo/assignees{/user}",- "branches_url": "https://api.github.com/repos/baxterthehacker/public-repo/branches{/branch}",- "tags_url": "https://api.github.com/repos/baxterthehacker/public-repo/tags",- "blobs_url": "https://api.github.com/repos/baxterthehacker/public-repo/git/blobs{/sha}",- "git_tags_url": "https://api.github.com/repos/baxterthehacker/public-repo/git/tags{/sha}",- "git_refs_url": "https://api.github.com/repos/baxterthehacker/public-repo/git/refs{/sha}",- "trees_url": "https://api.github.com/repos/baxterthehacker/public-repo/git/trees{/sha}",- "statuses_url": "https://api.github.com/repos/baxterthehacker/public-repo/statuses/{sha}",- "languages_url": "https://api.github.com/repos/baxterthehacker/public-repo/languages",- "stargazers_url": "https://api.github.com/repos/baxterthehacker/public-repo/stargazers",- "contributors_url": "https://api.github.com/repos/baxterthehacker/public-repo/contributors",- "subscribers_url": "https://api.github.com/repos/baxterthehacker/public-repo/subscribers",- "subscription_url": "https://api.github.com/repos/baxterthehacker/public-repo/subscription",- "commits_url": "https://api.github.com/repos/baxterthehacker/public-repo/commits{/sha}",- "git_commits_url": "https://api.github.com/repos/baxterthehacker/public-repo/git/commits{/sha}",- "comments_url": "https://api.github.com/repos/baxterthehacker/public-repo/comments{/number}",- "issue_comment_url": "https://api.github.com/repos/baxterthehacker/public-repo/issues/comments{/number}",- "contents_url": "https://api.github.com/repos/baxterthehacker/public-repo/contents/{+path}",- "compare_url": "https://api.github.com/repos/baxterthehacker/public-repo/compare/{base}...{head}",- "merges_url": "https://api.github.com/repos/baxterthehacker/public-repo/merges",- "archive_url": "https://api.github.com/repos/baxterthehacker/public-repo/{archive_format}{/ref}",- "downloads_url": "https://api.github.com/repos/baxterthehacker/public-repo/downloads",- "issues_url": "https://api.github.com/repos/baxterthehacker/public-repo/issues{/number}",- "pulls_url": "https://api.github.com/repos/baxterthehacker/public-repo/pulls{/number}",- "milestones_url": "https://api.github.com/repos/baxterthehacker/public-repo/milestones{/number}",- "notifications_url": "https://api.github.com/repos/baxterthehacker/public-repo/notifications{?since,all,participating}",- "labels_url": "https://api.github.com/repos/baxterthehacker/public-repo/labels{/name}",- "releases_url": "https://api.github.com/repos/baxterthehacker/public-repo/releases{/id}",- "created_at": "2015-05-05T23:40:12Z",- "updated_at": "2015-05-05T23:40:12Z",- "pushed_at": "2015-05-05T23:40:27Z",- "git_url": "git://github.com/baxterthehacker/public-repo.git",- "ssh_url": "git@github.com:baxterthehacker/public-repo.git",- "clone_url": "https://github.com/baxterthehacker/public-repo.git",- "svn_url": "https://github.com/baxterthehacker/public-repo",- "homepage": null,- "size": 0,- "stargazers_count": 0,- "watchers_count": 0,- "language": null,- "has_issues": true,- "has_downloads": true,- "has_wiki": true,- "has_pages": true,- "forks_count": 0,- "mirror_url": null,- "open_issues_count": 1,- "forks": 0,- "open_issues": 1,- "watchers": 0,- "default_branch": "master"- }- },- "base": {- "label": "baxterthehacker:master",- "ref": "master",- "sha": "9049f1265b7d61be4a8904a9a27120d2064dab3b",- "user": {- "login": "baxterthehacker",- "id": 6752317,- "node_id": "MDg6Q2hlY2tSdW4xMjg2MjAyMjg=",- "avatar_url": "https://avatars.githubusercontent.com/u/6752317?v=3",- "gravatar_id": "",- "url": "https://api.github.com/users/baxterthehacker",- "html_url": "https://github.com/baxterthehacker",- "followers_url": "https://api.github.com/users/baxterthehacker/followers",- "following_url": "https://api.github.com/users/baxterthehacker/following{/other_user}",- "gists_url": "https://api.github.com/users/baxterthehacker/gists{/gist_id}",- "starred_url": "https://api.github.com/users/baxterthehacker/starred{/owner}{/repo}",- "subscriptions_url": "https://api.github.com/users/baxterthehacker/subscriptions",- "organizations_url": "https://api.github.com/users/baxterthehacker/orgs",- "repos_url": "https://api.github.com/users/baxterthehacker/repos",- "events_url": "https://api.github.com/users/baxterthehacker/events{/privacy}",- "received_events_url": "https://api.github.com/users/baxterthehacker/received_events",- "type": "User",- "site_admin": false- },- "repo": {- "id": 35129377,- "node_id": "MDg6Q2hlY2tSdW4xMjg2MjAyMjg=",- "name": "public-repo",- "full_name": "baxterthehacker/public-repo",- "owner": {- "login": "baxterthehacker",- "id": 6752317,- "node_id": "MDg6Q2hlY2tSdW4xMjg2MjAyMjg=",- "avatar_url": "https://avatars.githubusercontent.com/u/6752317?v=3",- "gravatar_id": "",- "url": "https://api.github.com/users/baxterthehacker",- "html_url": "https://github.com/baxterthehacker",- "followers_url": "https://api.github.com/users/baxterthehacker/followers",- "following_url": "https://api.github.com/users/baxterthehacker/following{/other_user}",- "gists_url": "https://api.github.com/users/baxterthehacker/gists{/gist_id}",- "starred_url": "https://api.github.com/users/baxterthehacker/starred{/owner}{/repo}",- "subscriptions_url": "https://api.github.com/users/baxterthehacker/subscriptions",- "organizations_url": "https://api.github.com/users/baxterthehacker/orgs",- "repos_url": "https://api.github.com/users/baxterthehacker/repos",- "events_url": "https://api.github.com/users/baxterthehacker/events{/privacy}",- "received_events_url": "https://api.github.com/users/baxterthehacker/received_events",- "type": "User",- "site_admin": false- },- "private": false,- "html_url": "https://github.com/baxterthehacker/public-repo",- "description": "",- "fork": false,- "url": "https://api.github.com/repos/baxterthehacker/public-repo",- "forks_url": "https://api.github.com/repos/baxterthehacker/public-repo/forks",- "keys_url": "https://api.github.com/repos/baxterthehacker/public-repo/keys{/key_id}",- "collaborators_url": "https://api.github.com/repos/baxterthehacker/public-repo/collaborators{/collaborator}",- "teams_url": "https://api.github.com/repos/baxterthehacker/public-repo/teams",- "hooks_url": "https://api.github.com/repos/baxterthehacker/public-repo/hooks",- "issue_events_url": "https://api.github.com/repos/baxterthehacker/public-repo/issues/events{/number}",- "events_url": "https://api.github.com/repos/baxterthehacker/public-repo/events",- "assignees_url": "https://api.github.com/repos/baxterthehacker/public-repo/assignees{/user}",- "branches_url": "https://api.github.com/repos/baxterthehacker/public-repo/branches{/branch}",- "tags_url": "https://api.github.com/repos/baxterthehacker/public-repo/tags",- "blobs_url": "https://api.github.com/repos/baxterthehacker/public-repo/git/blobs{/sha}",- "git_tags_url": "https://api.github.com/repos/baxterthehacker/public-repo/git/tags{/sha}",- "git_refs_url": "https://api.github.com/repos/baxterthehacker/public-repo/git/refs{/sha}",- "trees_url": "https://api.github.com/repos/baxterthehacker/public-repo/git/trees{/sha}",- "statuses_url": "https://api.github.com/repos/baxterthehacker/public-repo/statuses/{sha}",- "languages_url": "https://api.github.com/repos/baxterthehacker/public-repo/languages",- "stargazers_url": "https://api.github.com/repos/baxterthehacker/public-repo/stargazers",- "contributors_url": "https://api.github.com/repos/baxterthehacker/public-repo/contributors",- "subscribers_url": "https://api.github.com/repos/baxterthehacker/public-repo/subscribers",- "subscription_url": "https://api.github.com/repos/baxterthehacker/public-repo/subscription",- "commits_url": "https://api.github.com/repos/baxterthehacker/public-repo/commits{/sha}",- "git_commits_url": "https://api.github.com/repos/baxterthehacker/public-repo/git/commits{/sha}",- "comments_url": "https://api.github.com/repos/baxterthehacker/public-repo/comments{/number}",- "issue_comment_url": "https://api.github.com/repos/baxterthehacker/public-repo/issues/comments{/number}",- "contents_url": "https://api.github.com/repos/baxterthehacker/public-repo/contents/{+path}",- "compare_url": "https://api.github.com/repos/baxterthehacker/public-repo/compare/{base}...{head}",- "merges_url": "https://api.github.com/repos/baxterthehacker/public-repo/merges",- "archive_url": "https://api.github.com/repos/baxterthehacker/public-repo/{archive_format}{/ref}",- "downloads_url": "https://api.github.com/repos/baxterthehacker/public-repo/downloads",- "issues_url": "https://api.github.com/repos/baxterthehacker/public-repo/issues{/number}",- "pulls_url": "https://api.github.com/repos/baxterthehacker/public-repo/pulls{/number}",- "milestones_url": "https://api.github.com/repos/baxterthehacker/public-repo/milestones{/number}",- "notifications_url": "https://api.github.com/repos/baxterthehacker/public-repo/notifications{?since,all,participating}",- "labels_url": "https://api.github.com/repos/baxterthehacker/public-repo/labels{/name}",- "releases_url": "https://api.github.com/repos/baxterthehacker/public-repo/releases{/id}",- "created_at": "2015-05-05T23:40:12Z",- "updated_at": "2015-05-05T23:40:12Z",- "pushed_at": "2015-05-05T23:40:27Z",- "git_url": "git://github.com/baxterthehacker/public-repo.git",- "ssh_url": "git@github.com:baxterthehacker/public-repo.git",- "clone_url": "https://github.com/baxterthehacker/public-repo.git",- "svn_url": "https://github.com/baxterthehacker/public-repo",- "homepage": null,- "size": 0,- "stargazers_count": 0,- "watchers_count": 0,- "language": null,- "has_issues": true,- "has_downloads": true,- "has_wiki": true,- "has_pages": true,- "forks_count": 0,- "mirror_url": null,- "open_issues_count": 1,- "forks": 0,- "open_issues": 1,- "watchers": 0,- "default_branch": "master"- }- },- "_links": {- "self": {- "href": "https://api.github.com/repos/baxterthehacker/public-repo/pulls/1"- },- "html": {- "href": "https://github.com/baxterthehacker/public-repo/pull/1"- },- "issue": {- "href": "https://api.github.com/repos/baxterthehacker/public-repo/issues/1"- },- "comments": {- "href": "https://api.github.com/repos/baxterthehacker/public-repo/issues/1/comments"- },- "review_comments": {- "href": "https://api.github.com/repos/baxterthehacker/public-repo/pulls/1/comments"- },- "review_comment": {- "href": "https://api.github.com/repos/baxterthehacker/public-repo/pulls/comments{/number}"- },- "commits": {- "href": "https://api.github.com/repos/baxterthehacker/public-repo/pulls/1/commits"- },- "statuses": {- "href": "https://api.github.com/repos/baxterthehacker/public-repo/statuses/0d1a26e67d8f5eaf1f6ba5c57fc3c7d91ac0fd1c"- }- }- },- "repository": {- "id": 35129377,- "node_id": "MDg6Q2hlY2tSdW4xMjg2MjAyMjg=",- "name": "public-repo",- "full_name": "baxterthehacker/public-repo",- "owner": {- "login": "baxterthehacker",- "id": 6752317,- "node_id": "MDg6Q2hlY2tSdW4xMjg2MjAyMjg=",- "avatar_url": "https://avatars.githubusercontent.com/u/6752317?v=3",- "gravatar_id": "",- "url": "https://api.github.com/users/baxterthehacker",- "html_url": "https://github.com/baxterthehacker",- "followers_url": "https://api.github.com/users/baxterthehacker/followers",- "following_url": "https://api.github.com/users/baxterthehacker/following{/other_user}",- "gists_url": "https://api.github.com/users/baxterthehacker/gists{/gist_id}",- "starred_url": "https://api.github.com/users/baxterthehacker/starred{/owner}{/repo}",- "subscriptions_url": "https://api.github.com/users/baxterthehacker/subscriptions",- "organizations_url": "https://api.github.com/users/baxterthehacker/orgs",- "repos_url": "https://api.github.com/users/baxterthehacker/repos",- "events_url": "https://api.github.com/users/baxterthehacker/events{/privacy}",- "received_events_url": "https://api.github.com/users/baxterthehacker/received_events",- "type": "User",- "site_admin": false- },- "private": false,- "html_url": "https://github.com/baxterthehacker/public-repo",- "description": "",- "fork": false,- "url": "https://api.github.com/repos/baxterthehacker/public-repo",- "forks_url": "https://api.github.com/repos/baxterthehacker/public-repo/forks",- "keys_url": "https://api.github.com/repos/baxterthehacker/public-repo/keys{/key_id}",- "collaborators_url": "https://api.github.com/repos/baxterthehacker/public-repo/collaborators{/collaborator}",- "teams_url": "https://api.github.com/repos/baxterthehacker/public-repo/teams",- "hooks_url": "https://api.github.com/repos/baxterthehacker/public-repo/hooks",- "issue_events_url": "https://api.github.com/repos/baxterthehacker/public-repo/issues/events{/number}",- "events_url": "https://api.github.com/repos/baxterthehacker/public-repo/events",- "assignees_url": "https://api.github.com/repos/baxterthehacker/public-repo/assignees{/user}",- "branches_url": "https://api.github.com/repos/baxterthehacker/public-repo/branches{/branch}",- "tags_url": "https://api.github.com/repos/baxterthehacker/public-repo/tags",- "blobs_url": "https://api.github.com/repos/baxterthehacker/public-repo/git/blobs{/sha}",- "git_tags_url": "https://api.github.com/repos/baxterthehacker/public-repo/git/tags{/sha}",- "git_refs_url": "https://api.github.com/repos/baxterthehacker/public-repo/git/refs{/sha}",- "trees_url": "https://api.github.com/repos/baxterthehacker/public-repo/git/trees{/sha}",- "statuses_url": "https://api.github.com/repos/baxterthehacker/public-repo/statuses/{sha}",- "languages_url": "https://api.github.com/repos/baxterthehacker/public-repo/languages",- "stargazers_url": "https://api.github.com/repos/baxterthehacker/public-repo/stargazers",- "contributors_url": "https://api.github.com/repos/baxterthehacker/public-repo/contributors",- "subscribers_url": "https://api.github.com/repos/baxterthehacker/public-repo/subscribers",- "subscription_url": "https://api.github.com/repos/baxterthehacker/public-repo/subscription",- "commits_url": "https://api.github.com/repos/baxterthehacker/public-repo/commits{/sha}",- "git_commits_url": "https://api.github.com/repos/baxterthehacker/public-repo/git/commits{/sha}",- "comments_url": "https://api.github.com/repos/baxterthehacker/public-repo/comments{/number}",- "issue_comment_url": "https://api.github.com/repos/baxterthehacker/public-repo/issues/comments{/number}",- "contents_url": "https://api.github.com/repos/baxterthehacker/public-repo/contents/{+path}",- "compare_url": "https://api.github.com/repos/baxterthehacker/public-repo/compare/{base}...{head}",- "merges_url": "https://api.github.com/repos/baxterthehacker/public-repo/merges",- "archive_url": "https://api.github.com/repos/baxterthehacker/public-repo/{archive_format}{/ref}",- "downloads_url": "https://api.github.com/repos/baxterthehacker/public-repo/downloads",- "issues_url": "https://api.github.com/repos/baxterthehacker/public-repo/issues{/number}",- "pulls_url": "https://api.github.com/repos/baxterthehacker/public-repo/pulls{/number}",- "milestones_url": "https://api.github.com/repos/baxterthehacker/public-repo/milestones{/number}",- "notifications_url": "https://api.github.com/repos/baxterthehacker/public-repo/notifications{?since,all,participating}",- "labels_url": "https://api.github.com/repos/baxterthehacker/public-repo/labels{/name}",- "releases_url": "https://api.github.com/repos/baxterthehacker/public-repo/releases{/id}",- "created_at": "2015-05-05T23:40:12Z",- "updated_at": "2015-05-05T23:40:12Z",- "pushed_at": "2015-05-05T23:40:27Z",- "git_url": "git://github.com/baxterthehacker/public-repo.git",- "ssh_url": "git@github.com:baxterthehacker/public-repo.git",- "clone_url": "https://github.com/baxterthehacker/public-repo.git",- "svn_url": "https://github.com/baxterthehacker/public-repo",- "homepage": null,- "size": 0,- "stargazers_count": 0,- "watchers_count": 0,- "language": null,- "has_issues": true,- "has_downloads": true,- "has_wiki": true,- "has_pages": true,- "forks_count": 0,- "mirror_url": null,- "open_issues_count": 1,- "forks": 0,- "open_issues": 1,- "watchers": 0,- "default_branch": "master"- },- "sender": {- "login": "baxterthehacker",- "id": 6752317,- "node_id": "MDg6Q2hlY2tSdW4xMjg2MjAyMjg=",- "avatar_url": "https://avatars.githubusercontent.com/u/6752317?v=3",- "gravatar_id": "",- "url": "https://api.github.com/users/baxterthehacker",- "html_url": "https://github.com/baxterthehacker",- "followers_url": "https://api.github.com/users/baxterthehacker/followers",- "following_url": "https://api.github.com/users/baxterthehacker/following{/other_user}",- "gists_url": "https://api.github.com/users/baxterthehacker/gists{/gist_id}",- "starred_url": "https://api.github.com/users/baxterthehacker/starred{/owner}{/repo}",- "subscriptions_url": "https://api.github.com/users/baxterthehacker/subscriptions",- "organizations_url": "https://api.github.com/users/baxterthehacker/orgs",- "repos_url": "https://api.github.com/users/baxterthehacker/repos",- "events_url": "https://api.github.com/users/baxterthehacker/events{/privacy}",- "received_events_url": "https://api.github.com/users/baxterthehacker/received_events",- "type": "User",- "site_admin": false- }-}+{ + "action": "created", + "comment": { + "url": "https://api.github.com/repos/baxterthehacker/public-repo/pulls/comments/29724692", + "id": 29724692, + "node_id": "MDg6Q2hlY2tSdW4xMjg2MjAyMjg=", + "diff_hunk": "@@ -1 +1 @@\n-# public-repo", + "path": "README.md", + "position": 1, + "original_position": 1, + "commit_id": "0d1a26e67d8f5eaf1f6ba5c57fc3c7d91ac0fd1c", + "original_commit_id": "0d1a26e67d8f5eaf1f6ba5c57fc3c7d91ac0fd1c", + "user": { + "login": "baxterthehacker", + "id": 6752317, + "node_id": "MDg6Q2hlY2tSdW4xMjg2MjAyMjg=", + "avatar_url": "https://avatars.githubusercontent.com/u/6752317?v=3", + "gravatar_id": "", + "url": "https://api.github.com/users/baxterthehacker", + "html_url": "https://github.com/baxterthehacker", + "followers_url": "https://api.github.com/users/baxterthehacker/followers", + "following_url": "https://api.github.com/users/baxterthehacker/following{/other_user}", + "gists_url": "https://api.github.com/users/baxterthehacker/gists{/gist_id}", + "starred_url": "https://api.github.com/users/baxterthehacker/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/baxterthehacker/subscriptions", + "organizations_url": "https://api.github.com/users/baxterthehacker/orgs", + "repos_url": "https://api.github.com/users/baxterthehacker/repos", + "events_url": "https://api.github.com/users/baxterthehacker/events{/privacy}", + "received_events_url": "https://api.github.com/users/baxterthehacker/received_events", + "type": "User", + "site_admin": false + }, + "body": "Maybe you should use more emojji on this line.", + "created_at": "2015-05-05T23:40:27Z", + "updated_at": "2015-05-05T23:40:27Z", + "html_url": "https://github.com/baxterthehacker/public-repo/pull/1#discussion_r29724692", + "pull_request_url": "https://api.github.com/repos/baxterthehacker/public-repo/pulls/1", + "_links": { + "self": { + "href": "https://api.github.com/repos/baxterthehacker/public-repo/pulls/comments/29724692" + }, + "html": { + "href": "https://github.com/baxterthehacker/public-repo/pull/1#discussion_r29724692" + }, + "pull_request": { + "href": "https://api.github.com/repos/baxterthehacker/public-repo/pulls/1" + } + } + }, + "pull_request": { + "url": "https://api.github.com/repos/baxterthehacker/public-repo/pulls/1", + "id": 34778301, + "node_id": "MDg6Q2hlY2tSdW4xMjg2MjAyMjg=", + "html_url": "https://github.com/baxterthehacker/public-repo/pull/1", + "diff_url": "https://github.com/baxterthehacker/public-repo/pull/1.diff", + "patch_url": "https://github.com/baxterthehacker/public-repo/pull/1.patch", + "issue_url": "https://api.github.com/repos/baxterthehacker/public-repo/issues/1", + "number": 1, + "state": "open", + "locked": false, + "title": "Update the README with new information", + "user": { + "login": "baxterthehacker", + "id": 6752317, + "node_id": "MDg6Q2hlY2tSdW4xMjg2MjAyMjg=", + "avatar_url": "https://avatars.githubusercontent.com/u/6752317?v=3", + "gravatar_id": "", + "url": "https://api.github.com/users/baxterthehacker", + "html_url": "https://github.com/baxterthehacker", + "followers_url": "https://api.github.com/users/baxterthehacker/followers", + "following_url": "https://api.github.com/users/baxterthehacker/following{/other_user}", + "gists_url": "https://api.github.com/users/baxterthehacker/gists{/gist_id}", + "starred_url": "https://api.github.com/users/baxterthehacker/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/baxterthehacker/subscriptions", + "organizations_url": "https://api.github.com/users/baxterthehacker/orgs", + "repos_url": "https://api.github.com/users/baxterthehacker/repos", + "events_url": "https://api.github.com/users/baxterthehacker/events{/privacy}", + "received_events_url": "https://api.github.com/users/baxterthehacker/received_events", + "type": "User", + "site_admin": false + }, + "body": "This is a pretty simple change that we need to pull into master.", + "created_at": "2015-05-05T23:40:27Z", + "updated_at": "2015-05-05T23:40:27Z", + "closed_at": null, + "merged_at": null, + "merge_commit_sha": "18721552ba489fb84e12958c1b5694b5475f7991", + "assignee": null, + "milestone": null, + "commits_url": "https://api.github.com/repos/baxterthehacker/public-repo/pulls/1/commits", + "review_comments_url": "https://api.github.com/repos/baxterthehacker/public-repo/pulls/1/comments", + "review_comment_url": "https://api.github.com/repos/baxterthehacker/public-repo/pulls/comments{/number}", + "comments_url": "https://api.github.com/repos/baxterthehacker/public-repo/issues/1/comments", + "statuses_url": "https://api.github.com/repos/baxterthehacker/public-repo/statuses/0d1a26e67d8f5eaf1f6ba5c57fc3c7d91ac0fd1c", + "head": { + "label": "baxterthehacker:changes", + "ref": "changes", + "sha": "0d1a26e67d8f5eaf1f6ba5c57fc3c7d91ac0fd1c", + "user": { + "login": "baxterthehacker", + "id": 6752317, + "node_id": "MDg6Q2hlY2tSdW4xMjg2MjAyMjg=", + "avatar_url": "https://avatars.githubusercontent.com/u/6752317?v=3", + "gravatar_id": "", + "url": "https://api.github.com/users/baxterthehacker", + "html_url": "https://github.com/baxterthehacker", + "followers_url": "https://api.github.com/users/baxterthehacker/followers", + "following_url": "https://api.github.com/users/baxterthehacker/following{/other_user}", + "gists_url": "https://api.github.com/users/baxterthehacker/gists{/gist_id}", + "starred_url": "https://api.github.com/users/baxterthehacker/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/baxterthehacker/subscriptions", + "organizations_url": "https://api.github.com/users/baxterthehacker/orgs", + "repos_url": "https://api.github.com/users/baxterthehacker/repos", + "events_url": "https://api.github.com/users/baxterthehacker/events{/privacy}", + "received_events_url": "https://api.github.com/users/baxterthehacker/received_events", + "type": "User", + "site_admin": false + }, + "repo": { + "id": 35129377, + "node_id": "MDg6Q2hlY2tSdW4xMjg2MjAyMjg=", + "name": "public-repo", + "full_name": "baxterthehacker/public-repo", + "owner": { + "login": "baxterthehacker", + "id": 6752317, + "node_id": "MDg6Q2hlY2tSdW4xMjg2MjAyMjg=", + "avatar_url": "https://avatars.githubusercontent.com/u/6752317?v=3", + "gravatar_id": "", + "url": "https://api.github.com/users/baxterthehacker", + "html_url": "https://github.com/baxterthehacker", + "followers_url": "https://api.github.com/users/baxterthehacker/followers", + "following_url": "https://api.github.com/users/baxterthehacker/following{/other_user}", + "gists_url": "https://api.github.com/users/baxterthehacker/gists{/gist_id}", + "starred_url": "https://api.github.com/users/baxterthehacker/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/baxterthehacker/subscriptions", + "organizations_url": "https://api.github.com/users/baxterthehacker/orgs", + "repos_url": "https://api.github.com/users/baxterthehacker/repos", + "events_url": "https://api.github.com/users/baxterthehacker/events{/privacy}", + "received_events_url": "https://api.github.com/users/baxterthehacker/received_events", + "type": "User", + "site_admin": false + }, + "private": false, + "html_url": "https://github.com/baxterthehacker/public-repo", + "description": "", + "fork": false, + "url": "https://api.github.com/repos/baxterthehacker/public-repo", + "forks_url": "https://api.github.com/repos/baxterthehacker/public-repo/forks", + "keys_url": "https://api.github.com/repos/baxterthehacker/public-repo/keys{/key_id}", + "collaborators_url": "https://api.github.com/repos/baxterthehacker/public-repo/collaborators{/collaborator}", + "teams_url": "https://api.github.com/repos/baxterthehacker/public-repo/teams", + "hooks_url": "https://api.github.com/repos/baxterthehacker/public-repo/hooks", + "issue_events_url": "https://api.github.com/repos/baxterthehacker/public-repo/issues/events{/number}", + "events_url": "https://api.github.com/repos/baxterthehacker/public-repo/events", + "assignees_url": "https://api.github.com/repos/baxterthehacker/public-repo/assignees{/user}", + "branches_url": "https://api.github.com/repos/baxterthehacker/public-repo/branches{/branch}", + "tags_url": "https://api.github.com/repos/baxterthehacker/public-repo/tags", + "blobs_url": "https://api.github.com/repos/baxterthehacker/public-repo/git/blobs{/sha}", + "git_tags_url": "https://api.github.com/repos/baxterthehacker/public-repo/git/tags{/sha}", + "git_refs_url": "https://api.github.com/repos/baxterthehacker/public-repo/git/refs{/sha}", + "trees_url": "https://api.github.com/repos/baxterthehacker/public-repo/git/trees{/sha}", + "statuses_url": "https://api.github.com/repos/baxterthehacker/public-repo/statuses/{sha}", + "languages_url": "https://api.github.com/repos/baxterthehacker/public-repo/languages", + "stargazers_url": "https://api.github.com/repos/baxterthehacker/public-repo/stargazers", + "contributors_url": "https://api.github.com/repos/baxterthehacker/public-repo/contributors", + "subscribers_url": "https://api.github.com/repos/baxterthehacker/public-repo/subscribers", + "subscription_url": "https://api.github.com/repos/baxterthehacker/public-repo/subscription", + "commits_url": "https://api.github.com/repos/baxterthehacker/public-repo/commits{/sha}", + "git_commits_url": "https://api.github.com/repos/baxterthehacker/public-repo/git/commits{/sha}", + "comments_url": "https://api.github.com/repos/baxterthehacker/public-repo/comments{/number}", + "issue_comment_url": "https://api.github.com/repos/baxterthehacker/public-repo/issues/comments{/number}", + "contents_url": "https://api.github.com/repos/baxterthehacker/public-repo/contents/{+path}", + "compare_url": "https://api.github.com/repos/baxterthehacker/public-repo/compare/{base}...{head}", + "merges_url": "https://api.github.com/repos/baxterthehacker/public-repo/merges", + "archive_url": "https://api.github.com/repos/baxterthehacker/public-repo/{archive_format}{/ref}", + "downloads_url": "https://api.github.com/repos/baxterthehacker/public-repo/downloads", + "issues_url": "https://api.github.com/repos/baxterthehacker/public-repo/issues{/number}", + "pulls_url": "https://api.github.com/repos/baxterthehacker/public-repo/pulls{/number}", + "milestones_url": "https://api.github.com/repos/baxterthehacker/public-repo/milestones{/number}", + "notifications_url": "https://api.github.com/repos/baxterthehacker/public-repo/notifications{?since,all,participating}", + "labels_url": "https://api.github.com/repos/baxterthehacker/public-repo/labels{/name}", + "releases_url": "https://api.github.com/repos/baxterthehacker/public-repo/releases{/id}", + "created_at": "2015-05-05T23:40:12Z", + "updated_at": "2015-05-05T23:40:12Z", + "pushed_at": "2015-05-05T23:40:27Z", + "git_url": "git://github.com/baxterthehacker/public-repo.git", + "ssh_url": "git@github.com:baxterthehacker/public-repo.git", + "clone_url": "https://github.com/baxterthehacker/public-repo.git", + "svn_url": "https://github.com/baxterthehacker/public-repo", + "homepage": null, + "size": 0, + "stargazers_count": 0, + "watchers_count": 0, + "language": null, + "has_issues": true, + "has_downloads": true, + "has_wiki": true, + "has_pages": true, + "forks_count": 0, + "mirror_url": null, + "open_issues_count": 1, + "forks": 0, + "open_issues": 1, + "watchers": 0, + "default_branch": "master" + } + }, + "base": { + "label": "baxterthehacker:master", + "ref": "master", + "sha": "9049f1265b7d61be4a8904a9a27120d2064dab3b", + "user": { + "login": "baxterthehacker", + "id": 6752317, + "node_id": "MDg6Q2hlY2tSdW4xMjg2MjAyMjg=", + "avatar_url": "https://avatars.githubusercontent.com/u/6752317?v=3", + "gravatar_id": "", + "url": "https://api.github.com/users/baxterthehacker", + "html_url": "https://github.com/baxterthehacker", + "followers_url": "https://api.github.com/users/baxterthehacker/followers", + "following_url": "https://api.github.com/users/baxterthehacker/following{/other_user}", + "gists_url": "https://api.github.com/users/baxterthehacker/gists{/gist_id}", + "starred_url": "https://api.github.com/users/baxterthehacker/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/baxterthehacker/subscriptions", + "organizations_url": "https://api.github.com/users/baxterthehacker/orgs", + "repos_url": "https://api.github.com/users/baxterthehacker/repos", + "events_url": "https://api.github.com/users/baxterthehacker/events{/privacy}", + "received_events_url": "https://api.github.com/users/baxterthehacker/received_events", + "type": "User", + "site_admin": false + }, + "repo": { + "id": 35129377, + "node_id": "MDg6Q2hlY2tSdW4xMjg2MjAyMjg=", + "name": "public-repo", + "full_name": "baxterthehacker/public-repo", + "owner": { + "login": "baxterthehacker", + "id": 6752317, + "node_id": "MDg6Q2hlY2tSdW4xMjg2MjAyMjg=", + "avatar_url": "https://avatars.githubusercontent.com/u/6752317?v=3", + "gravatar_id": "", + "url": "https://api.github.com/users/baxterthehacker", + "html_url": "https://github.com/baxterthehacker", + "followers_url": "https://api.github.com/users/baxterthehacker/followers", + "following_url": "https://api.github.com/users/baxterthehacker/following{/other_user}", + "gists_url": "https://api.github.com/users/baxterthehacker/gists{/gist_id}", + "starred_url": "https://api.github.com/users/baxterthehacker/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/baxterthehacker/subscriptions", + "organizations_url": "https://api.github.com/users/baxterthehacker/orgs", + "repos_url": "https://api.github.com/users/baxterthehacker/repos", + "events_url": "https://api.github.com/users/baxterthehacker/events{/privacy}", + "received_events_url": "https://api.github.com/users/baxterthehacker/received_events", + "type": "User", + "site_admin": false + }, + "private": false, + "html_url": "https://github.com/baxterthehacker/public-repo", + "description": "", + "fork": false, + "url": "https://api.github.com/repos/baxterthehacker/public-repo", + "forks_url": "https://api.github.com/repos/baxterthehacker/public-repo/forks", + "keys_url": "https://api.github.com/repos/baxterthehacker/public-repo/keys{/key_id}", + "collaborators_url": "https://api.github.com/repos/baxterthehacker/public-repo/collaborators{/collaborator}", + "teams_url": "https://api.github.com/repos/baxterthehacker/public-repo/teams", + "hooks_url": "https://api.github.com/repos/baxterthehacker/public-repo/hooks", + "issue_events_url": "https://api.github.com/repos/baxterthehacker/public-repo/issues/events{/number}", + "events_url": "https://api.github.com/repos/baxterthehacker/public-repo/events", + "assignees_url": "https://api.github.com/repos/baxterthehacker/public-repo/assignees{/user}", + "branches_url": "https://api.github.com/repos/baxterthehacker/public-repo/branches{/branch}", + "tags_url": "https://api.github.com/repos/baxterthehacker/public-repo/tags", + "blobs_url": "https://api.github.com/repos/baxterthehacker/public-repo/git/blobs{/sha}", + "git_tags_url": "https://api.github.com/repos/baxterthehacker/public-repo/git/tags{/sha}", + "git_refs_url": "https://api.github.com/repos/baxterthehacker/public-repo/git/refs{/sha}", + "trees_url": "https://api.github.com/repos/baxterthehacker/public-repo/git/trees{/sha}", + "statuses_url": "https://api.github.com/repos/baxterthehacker/public-repo/statuses/{sha}", + "languages_url": "https://api.github.com/repos/baxterthehacker/public-repo/languages", + "stargazers_url": "https://api.github.com/repos/baxterthehacker/public-repo/stargazers", + "contributors_url": "https://api.github.com/repos/baxterthehacker/public-repo/contributors", + "subscribers_url": "https://api.github.com/repos/baxterthehacker/public-repo/subscribers", + "subscription_url": "https://api.github.com/repos/baxterthehacker/public-repo/subscription", + "commits_url": "https://api.github.com/repos/baxterthehacker/public-repo/commits{/sha}", + "git_commits_url": "https://api.github.com/repos/baxterthehacker/public-repo/git/commits{/sha}", + "comments_url": "https://api.github.com/repos/baxterthehacker/public-repo/comments{/number}", + "issue_comment_url": "https://api.github.com/repos/baxterthehacker/public-repo/issues/comments{/number}", + "contents_url": "https://api.github.com/repos/baxterthehacker/public-repo/contents/{+path}", + "compare_url": "https://api.github.com/repos/baxterthehacker/public-repo/compare/{base}...{head}", + "merges_url": "https://api.github.com/repos/baxterthehacker/public-repo/merges", + "archive_url": "https://api.github.com/repos/baxterthehacker/public-repo/{archive_format}{/ref}", + "downloads_url": "https://api.github.com/repos/baxterthehacker/public-repo/downloads", + "issues_url": "https://api.github.com/repos/baxterthehacker/public-repo/issues{/number}", + "pulls_url": "https://api.github.com/repos/baxterthehacker/public-repo/pulls{/number}", + "milestones_url": "https://api.github.com/repos/baxterthehacker/public-repo/milestones{/number}", + "notifications_url": "https://api.github.com/repos/baxterthehacker/public-repo/notifications{?since,all,participating}", + "labels_url": "https://api.github.com/repos/baxterthehacker/public-repo/labels{/name}", + "releases_url": "https://api.github.com/repos/baxterthehacker/public-repo/releases{/id}", + "created_at": "2015-05-05T23:40:12Z", + "updated_at": "2015-05-05T23:40:12Z", + "pushed_at": "2015-05-05T23:40:27Z", + "git_url": "git://github.com/baxterthehacker/public-repo.git", + "ssh_url": "git@github.com:baxterthehacker/public-repo.git", + "clone_url": "https://github.com/baxterthehacker/public-repo.git", + "svn_url": "https://github.com/baxterthehacker/public-repo", + "homepage": null, + "size": 0, + "stargazers_count": 0, + "watchers_count": 0, + "language": null, + "has_issues": true, + "has_downloads": true, + "has_wiki": true, + "has_pages": true, + "forks_count": 0, + "mirror_url": null, + "open_issues_count": 1, + "forks": 0, + "open_issues": 1, + "watchers": 0, + "default_branch": "master" + } + }, + "_links": { + "self": { + "href": "https://api.github.com/repos/baxterthehacker/public-repo/pulls/1" + }, + "html": { + "href": "https://github.com/baxterthehacker/public-repo/pull/1" + }, + "issue": { + "href": "https://api.github.com/repos/baxterthehacker/public-repo/issues/1" + }, + "comments": { + "href": "https://api.github.com/repos/baxterthehacker/public-repo/issues/1/comments" + }, + "review_comments": { + "href": "https://api.github.com/repos/baxterthehacker/public-repo/pulls/1/comments" + }, + "review_comment": { + "href": "https://api.github.com/repos/baxterthehacker/public-repo/pulls/comments{/number}" + }, + "commits": { + "href": "https://api.github.com/repos/baxterthehacker/public-repo/pulls/1/commits" + }, + "statuses": { + "href": "https://api.github.com/repos/baxterthehacker/public-repo/statuses/0d1a26e67d8f5eaf1f6ba5c57fc3c7d91ac0fd1c" + } + } + }, + "repository": { + "id": 35129377, + "node_id": "MDg6Q2hlY2tSdW4xMjg2MjAyMjg=", + "name": "public-repo", + "full_name": "baxterthehacker/public-repo", + "owner": { + "login": "baxterthehacker", + "id": 6752317, + "node_id": "MDg6Q2hlY2tSdW4xMjg2MjAyMjg=", + "avatar_url": "https://avatars.githubusercontent.com/u/6752317?v=3", + "gravatar_id": "", + "url": "https://api.github.com/users/baxterthehacker", + "html_url": "https://github.com/baxterthehacker", + "followers_url": "https://api.github.com/users/baxterthehacker/followers", + "following_url": "https://api.github.com/users/baxterthehacker/following{/other_user}", + "gists_url": "https://api.github.com/users/baxterthehacker/gists{/gist_id}", + "starred_url": "https://api.github.com/users/baxterthehacker/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/baxterthehacker/subscriptions", + "organizations_url": "https://api.github.com/users/baxterthehacker/orgs", + "repos_url": "https://api.github.com/users/baxterthehacker/repos", + "events_url": "https://api.github.com/users/baxterthehacker/events{/privacy}", + "received_events_url": "https://api.github.com/users/baxterthehacker/received_events", + "type": "User", + "site_admin": false + }, + "private": false, + "html_url": "https://github.com/baxterthehacker/public-repo", + "description": "", + "fork": false, + "url": "https://api.github.com/repos/baxterthehacker/public-repo", + "forks_url": "https://api.github.com/repos/baxterthehacker/public-repo/forks", + "keys_url": "https://api.github.com/repos/baxterthehacker/public-repo/keys{/key_id}", + "collaborators_url": "https://api.github.com/repos/baxterthehacker/public-repo/collaborators{/collaborator}", + "teams_url": "https://api.github.com/repos/baxterthehacker/public-repo/teams", + "hooks_url": "https://api.github.com/repos/baxterthehacker/public-repo/hooks", + "issue_events_url": "https://api.github.com/repos/baxterthehacker/public-repo/issues/events{/number}", + "events_url": "https://api.github.com/repos/baxterthehacker/public-repo/events", + "assignees_url": "https://api.github.com/repos/baxterthehacker/public-repo/assignees{/user}", + "branches_url": "https://api.github.com/repos/baxterthehacker/public-repo/branches{/branch}", + "tags_url": "https://api.github.com/repos/baxterthehacker/public-repo/tags", + "blobs_url": "https://api.github.com/repos/baxterthehacker/public-repo/git/blobs{/sha}", + "git_tags_url": "https://api.github.com/repos/baxterthehacker/public-repo/git/tags{/sha}", + "git_refs_url": "https://api.github.com/repos/baxterthehacker/public-repo/git/refs{/sha}", + "trees_url": "https://api.github.com/repos/baxterthehacker/public-repo/git/trees{/sha}", + "statuses_url": "https://api.github.com/repos/baxterthehacker/public-repo/statuses/{sha}", + "languages_url": "https://api.github.com/repos/baxterthehacker/public-repo/languages", + "stargazers_url": "https://api.github.com/repos/baxterthehacker/public-repo/stargazers", + "contributors_url": "https://api.github.com/repos/baxterthehacker/public-repo/contributors", + "subscribers_url": "https://api.github.com/repos/baxterthehacker/public-repo/subscribers", + "subscription_url": "https://api.github.com/repos/baxterthehacker/public-repo/subscription", + "commits_url": "https://api.github.com/repos/baxterthehacker/public-repo/commits{/sha}", + "git_commits_url": "https://api.github.com/repos/baxterthehacker/public-repo/git/commits{/sha}", + "comments_url": "https://api.github.com/repos/baxterthehacker/public-repo/comments{/number}", + "issue_comment_url": "https://api.github.com/repos/baxterthehacker/public-repo/issues/comments{/number}", + "contents_url": "https://api.github.com/repos/baxterthehacker/public-repo/contents/{+path}", + "compare_url": "https://api.github.com/repos/baxterthehacker/public-repo/compare/{base}...{head}", + "merges_url": "https://api.github.com/repos/baxterthehacker/public-repo/merges", + "archive_url": "https://api.github.com/repos/baxterthehacker/public-repo/{archive_format}{/ref}", + "downloads_url": "https://api.github.com/repos/baxterthehacker/public-repo/downloads", + "issues_url": "https://api.github.com/repos/baxterthehacker/public-repo/issues{/number}", + "pulls_url": "https://api.github.com/repos/baxterthehacker/public-repo/pulls{/number}", + "milestones_url": "https://api.github.com/repos/baxterthehacker/public-repo/milestones{/number}", + "notifications_url": "https://api.github.com/repos/baxterthehacker/public-repo/notifications{?since,all,participating}", + "labels_url": "https://api.github.com/repos/baxterthehacker/public-repo/labels{/name}", + "releases_url": "https://api.github.com/repos/baxterthehacker/public-repo/releases{/id}", + "created_at": "2015-05-05T23:40:12Z", + "updated_at": "2015-05-05T23:40:12Z", + "pushed_at": "2015-05-05T23:40:27Z", + "git_url": "git://github.com/baxterthehacker/public-repo.git", + "ssh_url": "git@github.com:baxterthehacker/public-repo.git", + "clone_url": "https://github.com/baxterthehacker/public-repo.git", + "svn_url": "https://github.com/baxterthehacker/public-repo", + "homepage": null, + "size": 0, + "stargazers_count": 0, + "watchers_count": 0, + "language": null, + "has_issues": true, + "has_downloads": true, + "has_wiki": true, + "has_pages": true, + "forks_count": 0, + "mirror_url": null, + "open_issues_count": 1, + "forks": 0, + "open_issues": 1, + "watchers": 0, + "default_branch": "master" + }, + "sender": { + "login": "baxterthehacker", + "id": 6752317, + "node_id": "MDg6Q2hlY2tSdW4xMjg2MjAyMjg=", + "avatar_url": "https://avatars.githubusercontent.com/u/6752317?v=3", + "gravatar_id": "", + "url": "https://api.github.com/users/baxterthehacker", + "html_url": "https://github.com/baxterthehacker", + "followers_url": "https://api.github.com/users/baxterthehacker/followers", + "following_url": "https://api.github.com/users/baxterthehacker/following{/other_user}", + "gists_url": "https://api.github.com/users/baxterthehacker/gists{/gist_id}", + "starred_url": "https://api.github.com/users/baxterthehacker/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/baxterthehacker/subscriptions", + "organizations_url": "https://api.github.com/users/baxterthehacker/orgs", + "repos_url": "https://api.github.com/users/baxterthehacker/repos", + "events_url": "https://api.github.com/users/baxterthehacker/events{/privacy}", + "received_events_url": "https://api.github.com/users/baxterthehacker/received_events", + "type": "User", + "site_admin": false + } +}
fixtures/pull-request-review-event.json view
@@ -1,453 +1,453 @@-{- "action": "submitted",- "review": {- "id": 2626884,- "node_id": "MDg6Q2hlY2tSdW4xMjg2MjAyMjg=",- "user": {- "login": "baxterthehacker",- "id": 6752317,- "node_id": "MDg6Q2hlY2tSdW4xMjg2MjAyMjg=",- "avatar_url": "https://avatars.githubusercontent.com/u/6752317?v=3",- "gravatar_id": "",- "url": "https://api.github.com/users/baxterthehacker",- "html_url": "https://github.com/baxterthehacker",- "followers_url": "https://api.github.com/users/baxterthehacker/followers",- "following_url": "https://api.github.com/users/baxterthehacker/following{/other_user}",- "gists_url": "https://api.github.com/users/baxterthehacker/gists{/gist_id}",- "starred_url": "https://api.github.com/users/baxterthehacker/starred{/owner}{/repo}",- "subscriptions_url": "https://api.github.com/users/baxterthehacker/subscriptions",- "organizations_url": "https://api.github.com/users/baxterthehacker/orgs",- "repos_url": "https://api.github.com/users/baxterthehacker/repos",- "events_url": "https://api.github.com/users/baxterthehacker/events{/privacy}",- "received_events_url": "https://api.github.com/users/baxterthehacker/received_events",- "type": "User",- "site_admin": false- },- "body": "Looks great!",- "submitted_at": "2016-10-03T23:39:09Z",- "state": "approved",- "html_url": "https://github.com/baxterthehacker/public-repo/pull/8#pullrequestreview-2626884",- "pull_request_url": "https://api.github.com/repos/baxterthehacker/public-repo/pulls/8",- "_links": {- "html": {- "href": "https://github.com/baxterthehacker/public-repo/pull/8#pullrequestreview-2626884"- },- "pull_request": {- "href": "https://api.github.com/repos/baxterthehacker/public-repo/pulls/8"- }- }- },- "pull_request": {- "url": "https://api.github.com/repos/baxterthehacker/public-repo/pulls/8",- "id": 87811438,- "node_id": "MDg6Q2hlY2tSdW4xMjg2MjAyMjg=",- "html_url": "https://github.com/baxterthehacker/public-repo/pull/8",- "diff_url": "https://github.com/baxterthehacker/public-repo/pull/8.diff",- "patch_url": "https://github.com/baxterthehacker/public-repo/pull/8.patch",- "issue_url": "https://api.github.com/repos/baxterthehacker/public-repo/issues/8",- "number": 8,- "state": "open",- "locked": false,- "title": "Add a README description",- "user": {- "login": "skalnik",- "id": 2546,- "node_id": "MDg6Q2hlY2tSdW4xMjg2MjAyMjg=",- "avatar_url": "https://avatars.githubusercontent.com/u/2546?v=3",- "gravatar_id": "",- "url": "https://api.github.com/users/skalnik",- "html_url": "https://github.com/skalnik",- "followers_url": "https://api.github.com/users/skalnik/followers",- "following_url": "https://api.github.com/users/skalnik/following{/other_user}",- "gists_url": "https://api.github.com/users/skalnik/gists{/gist_id}",- "starred_url": "https://api.github.com/users/skalnik/starred{/owner}{/repo}",- "subscriptions_url": "https://api.github.com/users/skalnik/subscriptions",- "organizations_url": "https://api.github.com/users/skalnik/orgs",- "repos_url": "https://api.github.com/users/skalnik/repos",- "events_url": "https://api.github.com/users/skalnik/events{/privacy}",- "received_events_url": "https://api.github.com/users/skalnik/received_events",- "type": "User",- "site_admin": true- },- "body": "Just a few more details",- "created_at": "2016-10-03T23:37:43Z",- "updated_at": "2016-10-03T23:39:09Z",- "closed_at": null,- "merged_at": null,- "merge_commit_sha": "faea154a7decef6819754aab0f8c0e232e6c8b4f",- "assignee": null,- "assignees": [],- "milestone": null,- "commits_url": "https://api.github.com/repos/baxterthehacker/public-repo/pulls/8/commits",- "review_comments_url": "https://api.github.com/repos/baxterthehacker/public-repo/pulls/8/comments",- "review_comment_url": "https://api.github.com/repos/baxterthehacker/public-repo/pulls/comments{/number}",- "comments_url": "https://api.github.com/repos/baxterthehacker/public-repo/issues/8/comments",- "statuses_url": "https://api.github.com/repos/baxterthehacker/public-repo/statuses/b7a1f9c27caa4e03c14a88feb56e2d4f7500aa63",- "head": {- "label": "skalnik:patch-2",- "ref": "patch-2",- "sha": "b7a1f9c27caa4e03c14a88feb56e2d4f7500aa63",- "user": {- "login": "skalnik",- "id": 2546,- "node_id": "MDg6Q2hlY2tSdW4xMjg2MjAyMjg=",- "avatar_url": "https://avatars.githubusercontent.com/u/2546?v=3",- "gravatar_id": "",- "url": "https://api.github.com/users/skalnik",- "html_url": "https://github.com/skalnik",- "followers_url": "https://api.github.com/users/skalnik/followers",- "following_url": "https://api.github.com/users/skalnik/following{/other_user}",- "gists_url": "https://api.github.com/users/skalnik/gists{/gist_id}",- "starred_url": "https://api.github.com/users/skalnik/starred{/owner}{/repo}",- "subscriptions_url": "https://api.github.com/users/skalnik/subscriptions",- "organizations_url": "https://api.github.com/users/skalnik/orgs",- "repos_url": "https://api.github.com/users/skalnik/repos",- "events_url": "https://api.github.com/users/skalnik/events{/privacy}",- "received_events_url": "https://api.github.com/users/skalnik/received_events",- "type": "User",- "site_admin": true- },- "repo": {- "id": 69919152,- "node_id": "MDg6Q2hlY2tSdW4xMjg2MjAyMjg=",- "name": "public-repo",- "full_name": "skalnik/public-repo",- "owner": {- "login": "skalnik",- "id": 2546,- "node_id": "MDg6Q2hlY2tSdW4xMjg2MjAyMjg=",- "avatar_url": "https://avatars.githubusercontent.com/u/2546?v=3",- "gravatar_id": "",- "url": "https://api.github.com/users/skalnik",- "html_url": "https://github.com/skalnik",- "followers_url": "https://api.github.com/users/skalnik/followers",- "following_url": "https://api.github.com/users/skalnik/following{/other_user}",- "gists_url": "https://api.github.com/users/skalnik/gists{/gist_id}",- "starred_url": "https://api.github.com/users/skalnik/starred{/owner}{/repo}",- "subscriptions_url": "https://api.github.com/users/skalnik/subscriptions",- "organizations_url": "https://api.github.com/users/skalnik/orgs",- "repos_url": "https://api.github.com/users/skalnik/repos",- "events_url": "https://api.github.com/users/skalnik/events{/privacy}",- "received_events_url": "https://api.github.com/users/skalnik/received_events",- "type": "User",- "site_admin": true- },- "private": false,- "html_url": "https://github.com/skalnik/public-repo",- "description": null,- "fork": true,- "url": "https://api.github.com/repos/skalnik/public-repo",- "forks_url": "https://api.github.com/repos/skalnik/public-repo/forks",- "keys_url": "https://api.github.com/repos/skalnik/public-repo/keys{/key_id}",- "collaborators_url": "https://api.github.com/repos/skalnik/public-repo/collaborators{/collaborator}",- "teams_url": "https://api.github.com/repos/skalnik/public-repo/teams",- "hooks_url": "https://api.github.com/repos/skalnik/public-repo/hooks",- "issue_events_url": "https://api.github.com/repos/skalnik/public-repo/issues/events{/number}",- "events_url": "https://api.github.com/repos/skalnik/public-repo/events",- "assignees_url": "https://api.github.com/repos/skalnik/public-repo/assignees{/user}",- "branches_url": "https://api.github.com/repos/skalnik/public-repo/branches{/branch}",- "tags_url": "https://api.github.com/repos/skalnik/public-repo/tags",- "blobs_url": "https://api.github.com/repos/skalnik/public-repo/git/blobs{/sha}",- "git_tags_url": "https://api.github.com/repos/skalnik/public-repo/git/tags{/sha}",- "git_refs_url": "https://api.github.com/repos/skalnik/public-repo/git/refs{/sha}",- "trees_url": "https://api.github.com/repos/skalnik/public-repo/git/trees{/sha}",- "statuses_url": "https://api.github.com/repos/skalnik/public-repo/statuses/{sha}",- "languages_url": "https://api.github.com/repos/skalnik/public-repo/languages",- "stargazers_url": "https://api.github.com/repos/skalnik/public-repo/stargazers",- "contributors_url": "https://api.github.com/repos/skalnik/public-repo/contributors",- "subscribers_url": "https://api.github.com/repos/skalnik/public-repo/subscribers",- "subscription_url": "https://api.github.com/repos/skalnik/public-repo/subscription",- "commits_url": "https://api.github.com/repos/skalnik/public-repo/commits{/sha}",- "git_commits_url": "https://api.github.com/repos/skalnik/public-repo/git/commits{/sha}",- "comments_url": "https://api.github.com/repos/skalnik/public-repo/comments{/number}",- "issue_comment_url": "https://api.github.com/repos/skalnik/public-repo/issues/comments{/number}",- "contents_url": "https://api.github.com/repos/skalnik/public-repo/contents/{+path}",- "compare_url": "https://api.github.com/repos/skalnik/public-repo/compare/{base}...{head}",- "merges_url": "https://api.github.com/repos/skalnik/public-repo/merges",- "archive_url": "https://api.github.com/repos/skalnik/public-repo/{archive_format}{/ref}",- "downloads_url": "https://api.github.com/repos/skalnik/public-repo/downloads",- "issues_url": "https://api.github.com/repos/skalnik/public-repo/issues{/number}",- "pulls_url": "https://api.github.com/repos/skalnik/public-repo/pulls{/number}",- "milestones_url": "https://api.github.com/repos/skalnik/public-repo/milestones{/number}",- "notifications_url": "https://api.github.com/repos/skalnik/public-repo/notifications{?since,all,participating}",- "labels_url": "https://api.github.com/repos/skalnik/public-repo/labels{/name}",- "releases_url": "https://api.github.com/repos/skalnik/public-repo/releases{/id}",- "deployments_url": "https://api.github.com/repos/skalnik/public-repo/deployments",- "created_at": "2016-10-03T23:23:31Z",- "updated_at": "2016-08-15T17:19:01Z",- "pushed_at": "2016-10-03T23:36:52Z",- "git_url": "git://github.com/skalnik/public-repo.git",- "ssh_url": "git@github.com:skalnik/public-repo.git",- "clone_url": "https://github.com/skalnik/public-repo.git",- "svn_url": "https://github.com/skalnik/public-repo",- "homepage": null,- "size": 233,- "stargazers_count": 0,- "watchers_count": 0,- "language": null,- "has_issues": false,- "has_downloads": true,- "has_wiki": true,- "has_pages": false,- "forks_count": 0,- "mirror_url": null,- "open_issues_count": 0,- "forks": 0,- "open_issues": 0,- "watchers": 0,- "default_branch": "master"- }- },- "base": {- "label": "baxterthehacker:master",- "ref": "master",- "sha": "9049f1265b7d61be4a8904a9a27120d2064dab3b",- "user": {- "login": "baxterthehacker",- "id": 6752317,- "node_id": "MDg6Q2hlY2tSdW4xMjg2MjAyMjg=",- "avatar_url": "https://avatars.githubusercontent.com/u/6752317?v=3",- "gravatar_id": "",- "url": "https://api.github.com/users/baxterthehacker",- "html_url": "https://github.com/baxterthehacker",- "followers_url": "https://api.github.com/users/baxterthehacker/followers",- "following_url": "https://api.github.com/users/baxterthehacker/following{/other_user}",- "gists_url": "https://api.github.com/users/baxterthehacker/gists{/gist_id}",- "starred_url": "https://api.github.com/users/baxterthehacker/starred{/owner}{/repo}",- "subscriptions_url": "https://api.github.com/users/baxterthehacker/subscriptions",- "organizations_url": "https://api.github.com/users/baxterthehacker/orgs",- "repos_url": "https://api.github.com/users/baxterthehacker/repos",- "events_url": "https://api.github.com/users/baxterthehacker/events{/privacy}",- "received_events_url": "https://api.github.com/users/baxterthehacker/received_events",- "type": "User",- "site_admin": false- },- "repo": {- "id": 35129377,- "node_id": "MDg6Q2hlY2tSdW4xMjg2MjAyMjg=",- "name": "public-repo",- "full_name": "baxterthehacker/public-repo",- "owner": {- "login": "baxterthehacker",- "id": 6752317,- "node_id": "MDg6Q2hlY2tSdW4xMjg2MjAyMjg=",- "avatar_url": "https://avatars.githubusercontent.com/u/6752317?v=3",- "gravatar_id": "",- "url": "https://api.github.com/users/baxterthehacker",- "html_url": "https://github.com/baxterthehacker",- "followers_url": "https://api.github.com/users/baxterthehacker/followers",- "following_url": "https://api.github.com/users/baxterthehacker/following{/other_user}",- "gists_url": "https://api.github.com/users/baxterthehacker/gists{/gist_id}",- "starred_url": "https://api.github.com/users/baxterthehacker/starred{/owner}{/repo}",- "subscriptions_url": "https://api.github.com/users/baxterthehacker/subscriptions",- "organizations_url": "https://api.github.com/users/baxterthehacker/orgs",- "repos_url": "https://api.github.com/users/baxterthehacker/repos",- "events_url": "https://api.github.com/users/baxterthehacker/events{/privacy}",- "received_events_url": "https://api.github.com/users/baxterthehacker/received_events",- "type": "User",- "site_admin": false- },- "private": false,- "html_url": "https://github.com/baxterthehacker/public-repo",- "description": "",- "fork": false,- "url": "https://api.github.com/repos/baxterthehacker/public-repo",- "forks_url": "https://api.github.com/repos/baxterthehacker/public-repo/forks",- "keys_url": "https://api.github.com/repos/baxterthehacker/public-repo/keys{/key_id}",- "collaborators_url": "https://api.github.com/repos/baxterthehacker/public-repo/collaborators{/collaborator}",- "teams_url": "https://api.github.com/repos/baxterthehacker/public-repo/teams",- "hooks_url": "https://api.github.com/repos/baxterthehacker/public-repo/hooks",- "issue_events_url": "https://api.github.com/repos/baxterthehacker/public-repo/issues/events{/number}",- "events_url": "https://api.github.com/repos/baxterthehacker/public-repo/events",- "assignees_url": "https://api.github.com/repos/baxterthehacker/public-repo/assignees{/user}",- "branches_url": "https://api.github.com/repos/baxterthehacker/public-repo/branches{/branch}",- "tags_url": "https://api.github.com/repos/baxterthehacker/public-repo/tags",- "blobs_url": "https://api.github.com/repos/baxterthehacker/public-repo/git/blobs{/sha}",- "git_tags_url": "https://api.github.com/repos/baxterthehacker/public-repo/git/tags{/sha}",- "git_refs_url": "https://api.github.com/repos/baxterthehacker/public-repo/git/refs{/sha}",- "trees_url": "https://api.github.com/repos/baxterthehacker/public-repo/git/trees{/sha}",- "statuses_url": "https://api.github.com/repos/baxterthehacker/public-repo/statuses/{sha}",- "languages_url": "https://api.github.com/repos/baxterthehacker/public-repo/languages",- "stargazers_url": "https://api.github.com/repos/baxterthehacker/public-repo/stargazers",- "contributors_url": "https://api.github.com/repos/baxterthehacker/public-repo/contributors",- "subscribers_url": "https://api.github.com/repos/baxterthehacker/public-repo/subscribers",- "subscription_url": "https://api.github.com/repos/baxterthehacker/public-repo/subscription",- "commits_url": "https://api.github.com/repos/baxterthehacker/public-repo/commits{/sha}",- "git_commits_url": "https://api.github.com/repos/baxterthehacker/public-repo/git/commits{/sha}",- "comments_url": "https://api.github.com/repos/baxterthehacker/public-repo/comments{/number}",- "issue_comment_url": "https://api.github.com/repos/baxterthehacker/public-repo/issues/comments{/number}",- "contents_url": "https://api.github.com/repos/baxterthehacker/public-repo/contents/{+path}",- "compare_url": "https://api.github.com/repos/baxterthehacker/public-repo/compare/{base}...{head}",- "merges_url": "https://api.github.com/repos/baxterthehacker/public-repo/merges",- "archive_url": "https://api.github.com/repos/baxterthehacker/public-repo/{archive_format}{/ref}",- "downloads_url": "https://api.github.com/repos/baxterthehacker/public-repo/downloads",- "issues_url": "https://api.github.com/repos/baxterthehacker/public-repo/issues{/number}",- "pulls_url": "https://api.github.com/repos/baxterthehacker/public-repo/pulls{/number}",- "milestones_url": "https://api.github.com/repos/baxterthehacker/public-repo/milestones{/number}",- "notifications_url": "https://api.github.com/repos/baxterthehacker/public-repo/notifications{?since,all,participating}",- "labels_url": "https://api.github.com/repos/baxterthehacker/public-repo/labels{/name}",- "releases_url": "https://api.github.com/repos/baxterthehacker/public-repo/releases{/id}",- "deployments_url": "https://api.github.com/repos/baxterthehacker/public-repo/deployments",- "created_at": "2015-05-05T23:40:12Z",- "updated_at": "2016-08-15T17:19:01Z",- "pushed_at": "2016-10-03T23:37:43Z",- "git_url": "git://github.com/baxterthehacker/public-repo.git",- "ssh_url": "git@github.com:baxterthehacker/public-repo.git",- "clone_url": "https://github.com/baxterthehacker/public-repo.git",- "svn_url": "https://github.com/baxterthehacker/public-repo",- "homepage": null,- "size": 233,- "stargazers_count": 2,- "watchers_count": 2,- "language": null,- "has_issues": true,- "has_downloads": true,- "has_wiki": true,- "has_pages": true,- "forks_count": 2,- "mirror_url": null,- "open_issues_count": 5,- "forks": 2,- "open_issues": 5,- "watchers": 2,- "default_branch": "master"- }- },- "_links": {- "self": {- "href": "https://api.github.com/repos/baxterthehacker/public-repo/pulls/8"- },- "html": {- "href": "https://github.com/baxterthehacker/public-repo/pull/8"- },- "issue": {- "href": "https://api.github.com/repos/baxterthehacker/public-repo/issues/8"- },- "comments": {- "href": "https://api.github.com/repos/baxterthehacker/public-repo/issues/8/comments"- },- "review_comments": {- "href": "https://api.github.com/repos/baxterthehacker/public-repo/pulls/8/comments"- },- "review_comment": {- "href": "https://api.github.com/repos/baxterthehacker/public-repo/pulls/comments{/number}"- },- "commits": {- "href": "https://api.github.com/repos/baxterthehacker/public-repo/pulls/8/commits"- },- "statuses": {- "href": "https://api.github.com/repos/baxterthehacker/public-repo/statuses/b7a1f9c27caa4e03c14a88feb56e2d4f7500aa63"- }- }- },- "repository": {- "id": 35129377,- "node_id": "MDg6Q2hlY2tSdW4xMjg2MjAyMjg=",- "name": "public-repo",- "full_name": "baxterthehacker/public-repo",- "owner": {- "login": "baxterthehacker",- "id": 6752317,- "node_id": "MDg6Q2hlY2tSdW4xMjg2MjAyMjg=",- "avatar_url": "https://avatars.githubusercontent.com/u/6752317?v=3",- "gravatar_id": "",- "url": "https://api.github.com/users/baxterthehacker",- "html_url": "https://github.com/baxterthehacker",- "followers_url": "https://api.github.com/users/baxterthehacker/followers",- "following_url": "https://api.github.com/users/baxterthehacker/following{/other_user}",- "gists_url": "https://api.github.com/users/baxterthehacker/gists{/gist_id}",- "starred_url": "https://api.github.com/users/baxterthehacker/starred{/owner}{/repo}",- "subscriptions_url": "https://api.github.com/users/baxterthehacker/subscriptions",- "organizations_url": "https://api.github.com/users/baxterthehacker/orgs",- "repos_url": "https://api.github.com/users/baxterthehacker/repos",- "events_url": "https://api.github.com/users/baxterthehacker/events{/privacy}",- "received_events_url": "https://api.github.com/users/baxterthehacker/received_events",- "type": "User",- "site_admin": false- },- "private": false,- "html_url": "https://github.com/baxterthehacker/public-repo",- "description": "",- "fork": false,- "url": "https://api.github.com/repos/baxterthehacker/public-repo",- "forks_url": "https://api.github.com/repos/baxterthehacker/public-repo/forks",- "keys_url": "https://api.github.com/repos/baxterthehacker/public-repo/keys{/key_id}",- "collaborators_url": "https://api.github.com/repos/baxterthehacker/public-repo/collaborators{/collaborator}",- "teams_url": "https://api.github.com/repos/baxterthehacker/public-repo/teams",- "hooks_url": "https://api.github.com/repos/baxterthehacker/public-repo/hooks",- "issue_events_url": "https://api.github.com/repos/baxterthehacker/public-repo/issues/events{/number}",- "events_url": "https://api.github.com/repos/baxterthehacker/public-repo/events",- "assignees_url": "https://api.github.com/repos/baxterthehacker/public-repo/assignees{/user}",- "branches_url": "https://api.github.com/repos/baxterthehacker/public-repo/branches{/branch}",- "tags_url": "https://api.github.com/repos/baxterthehacker/public-repo/tags",- "blobs_url": "https://api.github.com/repos/baxterthehacker/public-repo/git/blobs{/sha}",- "git_tags_url": "https://api.github.com/repos/baxterthehacker/public-repo/git/tags{/sha}",- "git_refs_url": "https://api.github.com/repos/baxterthehacker/public-repo/git/refs{/sha}",- "trees_url": "https://api.github.com/repos/baxterthehacker/public-repo/git/trees{/sha}",- "statuses_url": "https://api.github.com/repos/baxterthehacker/public-repo/statuses/{sha}",- "languages_url": "https://api.github.com/repos/baxterthehacker/public-repo/languages",- "stargazers_url": "https://api.github.com/repos/baxterthehacker/public-repo/stargazers",- "contributors_url": "https://api.github.com/repos/baxterthehacker/public-repo/contributors",- "subscribers_url": "https://api.github.com/repos/baxterthehacker/public-repo/subscribers",- "subscription_url": "https://api.github.com/repos/baxterthehacker/public-repo/subscription",- "commits_url": "https://api.github.com/repos/baxterthehacker/public-repo/commits{/sha}",- "git_commits_url": "https://api.github.com/repos/baxterthehacker/public-repo/git/commits{/sha}",- "comments_url": "https://api.github.com/repos/baxterthehacker/public-repo/comments{/number}",- "issue_comment_url": "https://api.github.com/repos/baxterthehacker/public-repo/issues/comments{/number}",- "contents_url": "https://api.github.com/repos/baxterthehacker/public-repo/contents/{+path}",- "compare_url": "https://api.github.com/repos/baxterthehacker/public-repo/compare/{base}...{head}",- "merges_url": "https://api.github.com/repos/baxterthehacker/public-repo/merges",- "archive_url": "https://api.github.com/repos/baxterthehacker/public-repo/{archive_format}{/ref}",- "downloads_url": "https://api.github.com/repos/baxterthehacker/public-repo/downloads",- "issues_url": "https://api.github.com/repos/baxterthehacker/public-repo/issues{/number}",- "pulls_url": "https://api.github.com/repos/baxterthehacker/public-repo/pulls{/number}",- "milestones_url": "https://api.github.com/repos/baxterthehacker/public-repo/milestones{/number}",- "notifications_url": "https://api.github.com/repos/baxterthehacker/public-repo/notifications{?since,all,participating}",- "labels_url": "https://api.github.com/repos/baxterthehacker/public-repo/labels{/name}",- "releases_url": "https://api.github.com/repos/baxterthehacker/public-repo/releases{/id}",- "deployments_url": "https://api.github.com/repos/baxterthehacker/public-repo/deployments",- "created_at": "2015-05-05T23:40:12Z",- "updated_at": "2016-08-15T17:19:01Z",- "pushed_at": "2016-10-03T23:37:43Z",- "git_url": "git://github.com/baxterthehacker/public-repo.git",- "ssh_url": "git@github.com:baxterthehacker/public-repo.git",- "clone_url": "https://github.com/baxterthehacker/public-repo.git",- "svn_url": "https://github.com/baxterthehacker/public-repo",- "homepage": null,- "size": 233,- "stargazers_count": 2,- "watchers_count": 2,- "language": null,- "has_issues": true,- "has_downloads": true,- "has_wiki": true,- "has_pages": true,- "forks_count": 2,- "mirror_url": null,- "open_issues_count": 5,- "forks": 2,- "open_issues": 5,- "watchers": 2,- "default_branch": "master"- },- "sender": {- "login": "baxterthehacker",- "id": 6752317,- "node_id": "MDg6Q2hlY2tSdW4xMjg2MjAyMjg=",- "avatar_url": "https://avatars.githubusercontent.com/u/6752317?v=3",- "gravatar_id": "",- "url": "https://api.github.com/users/baxterthehacker",- "html_url": "https://github.com/baxterthehacker",- "followers_url": "https://api.github.com/users/baxterthehacker/followers",- "following_url": "https://api.github.com/users/baxterthehacker/following{/other_user}",- "gists_url": "https://api.github.com/users/baxterthehacker/gists{/gist_id}",- "starred_url": "https://api.github.com/users/baxterthehacker/starred{/owner}{/repo}",- "subscriptions_url": "https://api.github.com/users/baxterthehacker/subscriptions",- "organizations_url": "https://api.github.com/users/baxterthehacker/orgs",- "repos_url": "https://api.github.com/users/baxterthehacker/repos",- "events_url": "https://api.github.com/users/baxterthehacker/events{/privacy}",- "received_events_url": "https://api.github.com/users/baxterthehacker/received_events",- "type": "User",- "site_admin": false- }-}+{ + "action": "submitted", + "review": { + "id": 2626884, + "node_id": "MDg6Q2hlY2tSdW4xMjg2MjAyMjg=", + "user": { + "login": "baxterthehacker", + "id": 6752317, + "node_id": "MDg6Q2hlY2tSdW4xMjg2MjAyMjg=", + "avatar_url": "https://avatars.githubusercontent.com/u/6752317?v=3", + "gravatar_id": "", + "url": "https://api.github.com/users/baxterthehacker", + "html_url": "https://github.com/baxterthehacker", + "followers_url": "https://api.github.com/users/baxterthehacker/followers", + "following_url": "https://api.github.com/users/baxterthehacker/following{/other_user}", + "gists_url": "https://api.github.com/users/baxterthehacker/gists{/gist_id}", + "starred_url": "https://api.github.com/users/baxterthehacker/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/baxterthehacker/subscriptions", + "organizations_url": "https://api.github.com/users/baxterthehacker/orgs", + "repos_url": "https://api.github.com/users/baxterthehacker/repos", + "events_url": "https://api.github.com/users/baxterthehacker/events{/privacy}", + "received_events_url": "https://api.github.com/users/baxterthehacker/received_events", + "type": "User", + "site_admin": false + }, + "body": "Looks great!", + "submitted_at": "2016-10-03T23:39:09Z", + "state": "approved", + "html_url": "https://github.com/baxterthehacker/public-repo/pull/8#pullrequestreview-2626884", + "pull_request_url": "https://api.github.com/repos/baxterthehacker/public-repo/pulls/8", + "_links": { + "html": { + "href": "https://github.com/baxterthehacker/public-repo/pull/8#pullrequestreview-2626884" + }, + "pull_request": { + "href": "https://api.github.com/repos/baxterthehacker/public-repo/pulls/8" + } + } + }, + "pull_request": { + "url": "https://api.github.com/repos/baxterthehacker/public-repo/pulls/8", + "id": 87811438, + "node_id": "MDg6Q2hlY2tSdW4xMjg2MjAyMjg=", + "html_url": "https://github.com/baxterthehacker/public-repo/pull/8", + "diff_url": "https://github.com/baxterthehacker/public-repo/pull/8.diff", + "patch_url": "https://github.com/baxterthehacker/public-repo/pull/8.patch", + "issue_url": "https://api.github.com/repos/baxterthehacker/public-repo/issues/8", + "number": 8, + "state": "open", + "locked": false, + "title": "Add a README description", + "user": { + "login": "skalnik", + "id": 2546, + "node_id": "MDg6Q2hlY2tSdW4xMjg2MjAyMjg=", + "avatar_url": "https://avatars.githubusercontent.com/u/2546?v=3", + "gravatar_id": "", + "url": "https://api.github.com/users/skalnik", + "html_url": "https://github.com/skalnik", + "followers_url": "https://api.github.com/users/skalnik/followers", + "following_url": "https://api.github.com/users/skalnik/following{/other_user}", + "gists_url": "https://api.github.com/users/skalnik/gists{/gist_id}", + "starred_url": "https://api.github.com/users/skalnik/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/skalnik/subscriptions", + "organizations_url": "https://api.github.com/users/skalnik/orgs", + "repos_url": "https://api.github.com/users/skalnik/repos", + "events_url": "https://api.github.com/users/skalnik/events{/privacy}", + "received_events_url": "https://api.github.com/users/skalnik/received_events", + "type": "User", + "site_admin": true + }, + "body": "Just a few more details", + "created_at": "2016-10-03T23:37:43Z", + "updated_at": "2016-10-03T23:39:09Z", + "closed_at": null, + "merged_at": null, + "merge_commit_sha": "faea154a7decef6819754aab0f8c0e232e6c8b4f", + "assignee": null, + "assignees": [], + "milestone": null, + "commits_url": "https://api.github.com/repos/baxterthehacker/public-repo/pulls/8/commits", + "review_comments_url": "https://api.github.com/repos/baxterthehacker/public-repo/pulls/8/comments", + "review_comment_url": "https://api.github.com/repos/baxterthehacker/public-repo/pulls/comments{/number}", + "comments_url": "https://api.github.com/repos/baxterthehacker/public-repo/issues/8/comments", + "statuses_url": "https://api.github.com/repos/baxterthehacker/public-repo/statuses/b7a1f9c27caa4e03c14a88feb56e2d4f7500aa63", + "head": { + "label": "skalnik:patch-2", + "ref": "patch-2", + "sha": "b7a1f9c27caa4e03c14a88feb56e2d4f7500aa63", + "user": { + "login": "skalnik", + "id": 2546, + "node_id": "MDg6Q2hlY2tSdW4xMjg2MjAyMjg=", + "avatar_url": "https://avatars.githubusercontent.com/u/2546?v=3", + "gravatar_id": "", + "url": "https://api.github.com/users/skalnik", + "html_url": "https://github.com/skalnik", + "followers_url": "https://api.github.com/users/skalnik/followers", + "following_url": "https://api.github.com/users/skalnik/following{/other_user}", + "gists_url": "https://api.github.com/users/skalnik/gists{/gist_id}", + "starred_url": "https://api.github.com/users/skalnik/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/skalnik/subscriptions", + "organizations_url": "https://api.github.com/users/skalnik/orgs", + "repos_url": "https://api.github.com/users/skalnik/repos", + "events_url": "https://api.github.com/users/skalnik/events{/privacy}", + "received_events_url": "https://api.github.com/users/skalnik/received_events", + "type": "User", + "site_admin": true + }, + "repo": { + "id": 69919152, + "node_id": "MDg6Q2hlY2tSdW4xMjg2MjAyMjg=", + "name": "public-repo", + "full_name": "skalnik/public-repo", + "owner": { + "login": "skalnik", + "id": 2546, + "node_id": "MDg6Q2hlY2tSdW4xMjg2MjAyMjg=", + "avatar_url": "https://avatars.githubusercontent.com/u/2546?v=3", + "gravatar_id": "", + "url": "https://api.github.com/users/skalnik", + "html_url": "https://github.com/skalnik", + "followers_url": "https://api.github.com/users/skalnik/followers", + "following_url": "https://api.github.com/users/skalnik/following{/other_user}", + "gists_url": "https://api.github.com/users/skalnik/gists{/gist_id}", + "starred_url": "https://api.github.com/users/skalnik/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/skalnik/subscriptions", + "organizations_url": "https://api.github.com/users/skalnik/orgs", + "repos_url": "https://api.github.com/users/skalnik/repos", + "events_url": "https://api.github.com/users/skalnik/events{/privacy}", + "received_events_url": "https://api.github.com/users/skalnik/received_events", + "type": "User", + "site_admin": true + }, + "private": false, + "html_url": "https://github.com/skalnik/public-repo", + "description": null, + "fork": true, + "url": "https://api.github.com/repos/skalnik/public-repo", + "forks_url": "https://api.github.com/repos/skalnik/public-repo/forks", + "keys_url": "https://api.github.com/repos/skalnik/public-repo/keys{/key_id}", + "collaborators_url": "https://api.github.com/repos/skalnik/public-repo/collaborators{/collaborator}", + "teams_url": "https://api.github.com/repos/skalnik/public-repo/teams", + "hooks_url": "https://api.github.com/repos/skalnik/public-repo/hooks", + "issue_events_url": "https://api.github.com/repos/skalnik/public-repo/issues/events{/number}", + "events_url": "https://api.github.com/repos/skalnik/public-repo/events", + "assignees_url": "https://api.github.com/repos/skalnik/public-repo/assignees{/user}", + "branches_url": "https://api.github.com/repos/skalnik/public-repo/branches{/branch}", + "tags_url": "https://api.github.com/repos/skalnik/public-repo/tags", + "blobs_url": "https://api.github.com/repos/skalnik/public-repo/git/blobs{/sha}", + "git_tags_url": "https://api.github.com/repos/skalnik/public-repo/git/tags{/sha}", + "git_refs_url": "https://api.github.com/repos/skalnik/public-repo/git/refs{/sha}", + "trees_url": "https://api.github.com/repos/skalnik/public-repo/git/trees{/sha}", + "statuses_url": "https://api.github.com/repos/skalnik/public-repo/statuses/{sha}", + "languages_url": "https://api.github.com/repos/skalnik/public-repo/languages", + "stargazers_url": "https://api.github.com/repos/skalnik/public-repo/stargazers", + "contributors_url": "https://api.github.com/repos/skalnik/public-repo/contributors", + "subscribers_url": "https://api.github.com/repos/skalnik/public-repo/subscribers", + "subscription_url": "https://api.github.com/repos/skalnik/public-repo/subscription", + "commits_url": "https://api.github.com/repos/skalnik/public-repo/commits{/sha}", + "git_commits_url": "https://api.github.com/repos/skalnik/public-repo/git/commits{/sha}", + "comments_url": "https://api.github.com/repos/skalnik/public-repo/comments{/number}", + "issue_comment_url": "https://api.github.com/repos/skalnik/public-repo/issues/comments{/number}", + "contents_url": "https://api.github.com/repos/skalnik/public-repo/contents/{+path}", + "compare_url": "https://api.github.com/repos/skalnik/public-repo/compare/{base}...{head}", + "merges_url": "https://api.github.com/repos/skalnik/public-repo/merges", + "archive_url": "https://api.github.com/repos/skalnik/public-repo/{archive_format}{/ref}", + "downloads_url": "https://api.github.com/repos/skalnik/public-repo/downloads", + "issues_url": "https://api.github.com/repos/skalnik/public-repo/issues{/number}", + "pulls_url": "https://api.github.com/repos/skalnik/public-repo/pulls{/number}", + "milestones_url": "https://api.github.com/repos/skalnik/public-repo/milestones{/number}", + "notifications_url": "https://api.github.com/repos/skalnik/public-repo/notifications{?since,all,participating}", + "labels_url": "https://api.github.com/repos/skalnik/public-repo/labels{/name}", + "releases_url": "https://api.github.com/repos/skalnik/public-repo/releases{/id}", + "deployments_url": "https://api.github.com/repos/skalnik/public-repo/deployments", + "created_at": "2016-10-03T23:23:31Z", + "updated_at": "2016-08-15T17:19:01Z", + "pushed_at": "2016-10-03T23:36:52Z", + "git_url": "git://github.com/skalnik/public-repo.git", + "ssh_url": "git@github.com:skalnik/public-repo.git", + "clone_url": "https://github.com/skalnik/public-repo.git", + "svn_url": "https://github.com/skalnik/public-repo", + "homepage": null, + "size": 233, + "stargazers_count": 0, + "watchers_count": 0, + "language": null, + "has_issues": false, + "has_downloads": true, + "has_wiki": true, + "has_pages": false, + "forks_count": 0, + "mirror_url": null, + "open_issues_count": 0, + "forks": 0, + "open_issues": 0, + "watchers": 0, + "default_branch": "master" + } + }, + "base": { + "label": "baxterthehacker:master", + "ref": "master", + "sha": "9049f1265b7d61be4a8904a9a27120d2064dab3b", + "user": { + "login": "baxterthehacker", + "id": 6752317, + "node_id": "MDg6Q2hlY2tSdW4xMjg2MjAyMjg=", + "avatar_url": "https://avatars.githubusercontent.com/u/6752317?v=3", + "gravatar_id": "", + "url": "https://api.github.com/users/baxterthehacker", + "html_url": "https://github.com/baxterthehacker", + "followers_url": "https://api.github.com/users/baxterthehacker/followers", + "following_url": "https://api.github.com/users/baxterthehacker/following{/other_user}", + "gists_url": "https://api.github.com/users/baxterthehacker/gists{/gist_id}", + "starred_url": "https://api.github.com/users/baxterthehacker/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/baxterthehacker/subscriptions", + "organizations_url": "https://api.github.com/users/baxterthehacker/orgs", + "repos_url": "https://api.github.com/users/baxterthehacker/repos", + "events_url": "https://api.github.com/users/baxterthehacker/events{/privacy}", + "received_events_url": "https://api.github.com/users/baxterthehacker/received_events", + "type": "User", + "site_admin": false + }, + "repo": { + "id": 35129377, + "node_id": "MDg6Q2hlY2tSdW4xMjg2MjAyMjg=", + "name": "public-repo", + "full_name": "baxterthehacker/public-repo", + "owner": { + "login": "baxterthehacker", + "id": 6752317, + "node_id": "MDg6Q2hlY2tSdW4xMjg2MjAyMjg=", + "avatar_url": "https://avatars.githubusercontent.com/u/6752317?v=3", + "gravatar_id": "", + "url": "https://api.github.com/users/baxterthehacker", + "html_url": "https://github.com/baxterthehacker", + "followers_url": "https://api.github.com/users/baxterthehacker/followers", + "following_url": "https://api.github.com/users/baxterthehacker/following{/other_user}", + "gists_url": "https://api.github.com/users/baxterthehacker/gists{/gist_id}", + "starred_url": "https://api.github.com/users/baxterthehacker/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/baxterthehacker/subscriptions", + "organizations_url": "https://api.github.com/users/baxterthehacker/orgs", + "repos_url": "https://api.github.com/users/baxterthehacker/repos", + "events_url": "https://api.github.com/users/baxterthehacker/events{/privacy}", + "received_events_url": "https://api.github.com/users/baxterthehacker/received_events", + "type": "User", + "site_admin": false + }, + "private": false, + "html_url": "https://github.com/baxterthehacker/public-repo", + "description": "", + "fork": false, + "url": "https://api.github.com/repos/baxterthehacker/public-repo", + "forks_url": "https://api.github.com/repos/baxterthehacker/public-repo/forks", + "keys_url": "https://api.github.com/repos/baxterthehacker/public-repo/keys{/key_id}", + "collaborators_url": "https://api.github.com/repos/baxterthehacker/public-repo/collaborators{/collaborator}", + "teams_url": "https://api.github.com/repos/baxterthehacker/public-repo/teams", + "hooks_url": "https://api.github.com/repos/baxterthehacker/public-repo/hooks", + "issue_events_url": "https://api.github.com/repos/baxterthehacker/public-repo/issues/events{/number}", + "events_url": "https://api.github.com/repos/baxterthehacker/public-repo/events", + "assignees_url": "https://api.github.com/repos/baxterthehacker/public-repo/assignees{/user}", + "branches_url": "https://api.github.com/repos/baxterthehacker/public-repo/branches{/branch}", + "tags_url": "https://api.github.com/repos/baxterthehacker/public-repo/tags", + "blobs_url": "https://api.github.com/repos/baxterthehacker/public-repo/git/blobs{/sha}", + "git_tags_url": "https://api.github.com/repos/baxterthehacker/public-repo/git/tags{/sha}", + "git_refs_url": "https://api.github.com/repos/baxterthehacker/public-repo/git/refs{/sha}", + "trees_url": "https://api.github.com/repos/baxterthehacker/public-repo/git/trees{/sha}", + "statuses_url": "https://api.github.com/repos/baxterthehacker/public-repo/statuses/{sha}", + "languages_url": "https://api.github.com/repos/baxterthehacker/public-repo/languages", + "stargazers_url": "https://api.github.com/repos/baxterthehacker/public-repo/stargazers", + "contributors_url": "https://api.github.com/repos/baxterthehacker/public-repo/contributors", + "subscribers_url": "https://api.github.com/repos/baxterthehacker/public-repo/subscribers", + "subscription_url": "https://api.github.com/repos/baxterthehacker/public-repo/subscription", + "commits_url": "https://api.github.com/repos/baxterthehacker/public-repo/commits{/sha}", + "git_commits_url": "https://api.github.com/repos/baxterthehacker/public-repo/git/commits{/sha}", + "comments_url": "https://api.github.com/repos/baxterthehacker/public-repo/comments{/number}", + "issue_comment_url": "https://api.github.com/repos/baxterthehacker/public-repo/issues/comments{/number}", + "contents_url": "https://api.github.com/repos/baxterthehacker/public-repo/contents/{+path}", + "compare_url": "https://api.github.com/repos/baxterthehacker/public-repo/compare/{base}...{head}", + "merges_url": "https://api.github.com/repos/baxterthehacker/public-repo/merges", + "archive_url": "https://api.github.com/repos/baxterthehacker/public-repo/{archive_format}{/ref}", + "downloads_url": "https://api.github.com/repos/baxterthehacker/public-repo/downloads", + "issues_url": "https://api.github.com/repos/baxterthehacker/public-repo/issues{/number}", + "pulls_url": "https://api.github.com/repos/baxterthehacker/public-repo/pulls{/number}", + "milestones_url": "https://api.github.com/repos/baxterthehacker/public-repo/milestones{/number}", + "notifications_url": "https://api.github.com/repos/baxterthehacker/public-repo/notifications{?since,all,participating}", + "labels_url": "https://api.github.com/repos/baxterthehacker/public-repo/labels{/name}", + "releases_url": "https://api.github.com/repos/baxterthehacker/public-repo/releases{/id}", + "deployments_url": "https://api.github.com/repos/baxterthehacker/public-repo/deployments", + "created_at": "2015-05-05T23:40:12Z", + "updated_at": "2016-08-15T17:19:01Z", + "pushed_at": "2016-10-03T23:37:43Z", + "git_url": "git://github.com/baxterthehacker/public-repo.git", + "ssh_url": "git@github.com:baxterthehacker/public-repo.git", + "clone_url": "https://github.com/baxterthehacker/public-repo.git", + "svn_url": "https://github.com/baxterthehacker/public-repo", + "homepage": null, + "size": 233, + "stargazers_count": 2, + "watchers_count": 2, + "language": null, + "has_issues": true, + "has_downloads": true, + "has_wiki": true, + "has_pages": true, + "forks_count": 2, + "mirror_url": null, + "open_issues_count": 5, + "forks": 2, + "open_issues": 5, + "watchers": 2, + "default_branch": "master" + } + }, + "_links": { + "self": { + "href": "https://api.github.com/repos/baxterthehacker/public-repo/pulls/8" + }, + "html": { + "href": "https://github.com/baxterthehacker/public-repo/pull/8" + }, + "issue": { + "href": "https://api.github.com/repos/baxterthehacker/public-repo/issues/8" + }, + "comments": { + "href": "https://api.github.com/repos/baxterthehacker/public-repo/issues/8/comments" + }, + "review_comments": { + "href": "https://api.github.com/repos/baxterthehacker/public-repo/pulls/8/comments" + }, + "review_comment": { + "href": "https://api.github.com/repos/baxterthehacker/public-repo/pulls/comments{/number}" + }, + "commits": { + "href": "https://api.github.com/repos/baxterthehacker/public-repo/pulls/8/commits" + }, + "statuses": { + "href": "https://api.github.com/repos/baxterthehacker/public-repo/statuses/b7a1f9c27caa4e03c14a88feb56e2d4f7500aa63" + } + } + }, + "repository": { + "id": 35129377, + "node_id": "MDg6Q2hlY2tSdW4xMjg2MjAyMjg=", + "name": "public-repo", + "full_name": "baxterthehacker/public-repo", + "owner": { + "login": "baxterthehacker", + "id": 6752317, + "node_id": "MDg6Q2hlY2tSdW4xMjg2MjAyMjg=", + "avatar_url": "https://avatars.githubusercontent.com/u/6752317?v=3", + "gravatar_id": "", + "url": "https://api.github.com/users/baxterthehacker", + "html_url": "https://github.com/baxterthehacker", + "followers_url": "https://api.github.com/users/baxterthehacker/followers", + "following_url": "https://api.github.com/users/baxterthehacker/following{/other_user}", + "gists_url": "https://api.github.com/users/baxterthehacker/gists{/gist_id}", + "starred_url": "https://api.github.com/users/baxterthehacker/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/baxterthehacker/subscriptions", + "organizations_url": "https://api.github.com/users/baxterthehacker/orgs", + "repos_url": "https://api.github.com/users/baxterthehacker/repos", + "events_url": "https://api.github.com/users/baxterthehacker/events{/privacy}", + "received_events_url": "https://api.github.com/users/baxterthehacker/received_events", + "type": "User", + "site_admin": false + }, + "private": false, + "html_url": "https://github.com/baxterthehacker/public-repo", + "description": "", + "fork": false, + "url": "https://api.github.com/repos/baxterthehacker/public-repo", + "forks_url": "https://api.github.com/repos/baxterthehacker/public-repo/forks", + "keys_url": "https://api.github.com/repos/baxterthehacker/public-repo/keys{/key_id}", + "collaborators_url": "https://api.github.com/repos/baxterthehacker/public-repo/collaborators{/collaborator}", + "teams_url": "https://api.github.com/repos/baxterthehacker/public-repo/teams", + "hooks_url": "https://api.github.com/repos/baxterthehacker/public-repo/hooks", + "issue_events_url": "https://api.github.com/repos/baxterthehacker/public-repo/issues/events{/number}", + "events_url": "https://api.github.com/repos/baxterthehacker/public-repo/events", + "assignees_url": "https://api.github.com/repos/baxterthehacker/public-repo/assignees{/user}", + "branches_url": "https://api.github.com/repos/baxterthehacker/public-repo/branches{/branch}", + "tags_url": "https://api.github.com/repos/baxterthehacker/public-repo/tags", + "blobs_url": "https://api.github.com/repos/baxterthehacker/public-repo/git/blobs{/sha}", + "git_tags_url": "https://api.github.com/repos/baxterthehacker/public-repo/git/tags{/sha}", + "git_refs_url": "https://api.github.com/repos/baxterthehacker/public-repo/git/refs{/sha}", + "trees_url": "https://api.github.com/repos/baxterthehacker/public-repo/git/trees{/sha}", + "statuses_url": "https://api.github.com/repos/baxterthehacker/public-repo/statuses/{sha}", + "languages_url": "https://api.github.com/repos/baxterthehacker/public-repo/languages", + "stargazers_url": "https://api.github.com/repos/baxterthehacker/public-repo/stargazers", + "contributors_url": "https://api.github.com/repos/baxterthehacker/public-repo/contributors", + "subscribers_url": "https://api.github.com/repos/baxterthehacker/public-repo/subscribers", + "subscription_url": "https://api.github.com/repos/baxterthehacker/public-repo/subscription", + "commits_url": "https://api.github.com/repos/baxterthehacker/public-repo/commits{/sha}", + "git_commits_url": "https://api.github.com/repos/baxterthehacker/public-repo/git/commits{/sha}", + "comments_url": "https://api.github.com/repos/baxterthehacker/public-repo/comments{/number}", + "issue_comment_url": "https://api.github.com/repos/baxterthehacker/public-repo/issues/comments{/number}", + "contents_url": "https://api.github.com/repos/baxterthehacker/public-repo/contents/{+path}", + "compare_url": "https://api.github.com/repos/baxterthehacker/public-repo/compare/{base}...{head}", + "merges_url": "https://api.github.com/repos/baxterthehacker/public-repo/merges", + "archive_url": "https://api.github.com/repos/baxterthehacker/public-repo/{archive_format}{/ref}", + "downloads_url": "https://api.github.com/repos/baxterthehacker/public-repo/downloads", + "issues_url": "https://api.github.com/repos/baxterthehacker/public-repo/issues{/number}", + "pulls_url": "https://api.github.com/repos/baxterthehacker/public-repo/pulls{/number}", + "milestones_url": "https://api.github.com/repos/baxterthehacker/public-repo/milestones{/number}", + "notifications_url": "https://api.github.com/repos/baxterthehacker/public-repo/notifications{?since,all,participating}", + "labels_url": "https://api.github.com/repos/baxterthehacker/public-repo/labels{/name}", + "releases_url": "https://api.github.com/repos/baxterthehacker/public-repo/releases{/id}", + "deployments_url": "https://api.github.com/repos/baxterthehacker/public-repo/deployments", + "created_at": "2015-05-05T23:40:12Z", + "updated_at": "2016-08-15T17:19:01Z", + "pushed_at": "2016-10-03T23:37:43Z", + "git_url": "git://github.com/baxterthehacker/public-repo.git", + "ssh_url": "git@github.com:baxterthehacker/public-repo.git", + "clone_url": "https://github.com/baxterthehacker/public-repo.git", + "svn_url": "https://github.com/baxterthehacker/public-repo", + "homepage": null, + "size": 233, + "stargazers_count": 2, + "watchers_count": 2, + "language": null, + "has_issues": true, + "has_downloads": true, + "has_wiki": true, + "has_pages": true, + "forks_count": 2, + "mirror_url": null, + "open_issues_count": 5, + "forks": 2, + "open_issues": 5, + "watchers": 2, + "default_branch": "master" + }, + "sender": { + "login": "baxterthehacker", + "id": 6752317, + "node_id": "MDg6Q2hlY2tSdW4xMjg2MjAyMjg=", + "avatar_url": "https://avatars.githubusercontent.com/u/6752317?v=3", + "gravatar_id": "", + "url": "https://api.github.com/users/baxterthehacker", + "html_url": "https://github.com/baxterthehacker", + "followers_url": "https://api.github.com/users/baxterthehacker/followers", + "following_url": "https://api.github.com/users/baxterthehacker/following{/other_user}", + "gists_url": "https://api.github.com/users/baxterthehacker/gists{/gist_id}", + "starred_url": "https://api.github.com/users/baxterthehacker/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/baxterthehacker/subscriptions", + "organizations_url": "https://api.github.com/users/baxterthehacker/orgs", + "repos_url": "https://api.github.com/users/baxterthehacker/repos", + "events_url": "https://api.github.com/users/baxterthehacker/events{/privacy}", + "received_events_url": "https://api.github.com/users/baxterthehacker/received_events", + "type": "User", + "site_admin": false + } +}
fixtures/push-event.json view
@@ -1,166 +1,166 @@-{- "ref": "refs/heads/changes",- "before": "9049f1265b7d61be4a8904a9a27120d2064dab3b",- "after": "0d1a26e67d8f5eaf1f6ba5c57fc3c7d91ac0fd1c",- "created": false,- "deleted": false,- "forced": false,- "base_ref": null,- "compare": "https://github.com/baxterthehacker/public-repo/compare/9049f1265b7d...0d1a26e67d8f",- "commits": [- {- "id": "0d1a26e67d8f5eaf1f6ba5c57fc3c7d91ac0fd1c",- "tree_id": "f9d2a07e9488b91af2641b26b9407fe22a451433",- "distinct": true,- "message": "Update README.md",- "timestamp": "2015-05-05T19:40:15-04:00",- "url": "https://github.com/baxterthehacker/public-repo/commit/0d1a26e67d8f5eaf1f6ba5c57fc3c7d91ac0fd1c",- "author": {- "name": "baxterthehacker",- "email": "baxterthehacker@users.noreply.github.com",- "username": "baxterthehacker"- },- "committer": {- "name": "baxterthehacker",- "email": "baxterthehacker@users.noreply.github.com",- "username": "baxterthehacker"- },- "added": [-- ],- "removed": [-- ],- "modified": [- "README.md"- ]- }- ],- "head_commit": {- "id": "0d1a26e67d8f5eaf1f6ba5c57fc3c7d91ac0fd1c",- "tree_id": "f9d2a07e9488b91af2641b26b9407fe22a451433",- "distinct": true,- "message": "Update README.md",- "timestamp": "2015-05-05T19:40:15-04:00",- "url": "https://github.com/baxterthehacker/public-repo/commit/0d1a26e67d8f5eaf1f6ba5c57fc3c7d91ac0fd1c",- "author": {- "name": "baxterthehacker",- "email": "baxterthehacker@users.noreply.github.com",- "username": "baxterthehacker"- },- "committer": {- "name": "baxterthehacker",- "email": "baxterthehacker@users.noreply.github.com",- "username": "baxterthehacker"- },- "added": [-- ],- "removed": [-- ],- "modified": [- "README.md"- ]- },- "repository": {- "id": 35129377,- "node_id": "MDg6Q2hlY2tSdW4xMjg2MjAyMjg=",- "name": "public-repo",- "full_name": "baxterthehacker/public-repo",- "owner": {- "node_id": "MDg6Q2hlY2tSdW4xMjg2MjAyMjg=",- "name": "baxterthehacker",- "email": "baxterthehacker@users.noreply.github.com"- },- "private": false,- "html_url": "https://github.com/baxterthehacker/public-repo",- "description": "",- "fork": false,- "url": "https://github.com/baxterthehacker/public-repo",- "forks_url": "https://api.github.com/repos/baxterthehacker/public-repo/forks",- "keys_url": "https://api.github.com/repos/baxterthehacker/public-repo/keys{/key_id}",- "collaborators_url": "https://api.github.com/repos/baxterthehacker/public-repo/collaborators{/collaborator}",- "teams_url": "https://api.github.com/repos/baxterthehacker/public-repo/teams",- "hooks_url": "https://api.github.com/repos/baxterthehacker/public-repo/hooks",- "issue_events_url": "https://api.github.com/repos/baxterthehacker/public-repo/issues/events{/number}",- "events_url": "https://api.github.com/repos/baxterthehacker/public-repo/events",- "assignees_url": "https://api.github.com/repos/baxterthehacker/public-repo/assignees{/user}",- "branches_url": "https://api.github.com/repos/baxterthehacker/public-repo/branches{/branch}",- "tags_url": "https://api.github.com/repos/baxterthehacker/public-repo/tags",- "blobs_url": "https://api.github.com/repos/baxterthehacker/public-repo/git/blobs{/sha}",- "git_tags_url": "https://api.github.com/repos/baxterthehacker/public-repo/git/tags{/sha}",- "git_refs_url": "https://api.github.com/repos/baxterthehacker/public-repo/git/refs{/sha}",- "trees_url": "https://api.github.com/repos/baxterthehacker/public-repo/git/trees{/sha}",- "statuses_url": "https://api.github.com/repos/baxterthehacker/public-repo/statuses/{sha}",- "languages_url": "https://api.github.com/repos/baxterthehacker/public-repo/languages",- "stargazers_url": "https://api.github.com/repos/baxterthehacker/public-repo/stargazers",- "contributors_url": "https://api.github.com/repos/baxterthehacker/public-repo/contributors",- "subscribers_url": "https://api.github.com/repos/baxterthehacker/public-repo/subscribers",- "subscription_url": "https://api.github.com/repos/baxterthehacker/public-repo/subscription",- "commits_url": "https://api.github.com/repos/baxterthehacker/public-repo/commits{/sha}",- "git_commits_url": "https://api.github.com/repos/baxterthehacker/public-repo/git/commits{/sha}",- "comments_url": "https://api.github.com/repos/baxterthehacker/public-repo/comments{/number}",- "issue_comment_url": "https://api.github.com/repos/baxterthehacker/public-repo/issues/comments{/number}",- "contents_url": "https://api.github.com/repos/baxterthehacker/public-repo/contents/{+path}",- "compare_url": "https://api.github.com/repos/baxterthehacker/public-repo/compare/{base}...{head}",- "merges_url": "https://api.github.com/repos/baxterthehacker/public-repo/merges",- "archive_url": "https://api.github.com/repos/baxterthehacker/public-repo/{archive_format}{/ref}",- "downloads_url": "https://api.github.com/repos/baxterthehacker/public-repo/downloads",- "issues_url": "https://api.github.com/repos/baxterthehacker/public-repo/issues{/number}",- "pulls_url": "https://api.github.com/repos/baxterthehacker/public-repo/pulls{/number}",- "milestones_url": "https://api.github.com/repos/baxterthehacker/public-repo/milestones{/number}",- "notifications_url": "https://api.github.com/repos/baxterthehacker/public-repo/notifications{?since,all,participating}",- "labels_url": "https://api.github.com/repos/baxterthehacker/public-repo/labels{/name}",- "releases_url": "https://api.github.com/repos/baxterthehacker/public-repo/releases{/id}",- "created_at": 1430869212,- "updated_at": "2015-05-05T23:40:12Z",- "pushed_at": 1430869217,- "git_url": "git://github.com/baxterthehacker/public-repo.git",- "ssh_url": "git@github.com:baxterthehacker/public-repo.git",- "clone_url": "https://github.com/baxterthehacker/public-repo.git",- "svn_url": "https://github.com/baxterthehacker/public-repo",- "homepage": null,- "size": 0,- "stargazers_count": 0,- "watchers_count": 0,- "language": null,- "has_issues": true,- "has_downloads": true,- "has_wiki": true,- "has_pages": true,- "forks_count": 0,- "mirror_url": null,- "open_issues_count": 0,- "forks": 0,- "open_issues": 0,- "watchers": 0,- "default_branch": "master",- "stargazers": 0,- "master_branch": "master"- },- "pusher": {- "name": "baxterthehacker",- "email": "baxterthehacker@users.noreply.github.com"- },- "sender": {- "login": "baxterthehacker",- "id": 6752317,- "node_id": "MDg6Q2hlY2tSdW4xMjg2MjAyMjg=",- "avatar_url": "https://avatars.githubusercontent.com/u/6752317?v=3",- "gravatar_id": "",- "url": "https://api.github.com/users/baxterthehacker",- "html_url": "https://github.com/baxterthehacker",- "followers_url": "https://api.github.com/users/baxterthehacker/followers",- "following_url": "https://api.github.com/users/baxterthehacker/following{/other_user}",- "gists_url": "https://api.github.com/users/baxterthehacker/gists{/gist_id}",- "starred_url": "https://api.github.com/users/baxterthehacker/starred{/owner}{/repo}",- "subscriptions_url": "https://api.github.com/users/baxterthehacker/subscriptions",- "organizations_url": "https://api.github.com/users/baxterthehacker/orgs",- "repos_url": "https://api.github.com/users/baxterthehacker/repos",- "events_url": "https://api.github.com/users/baxterthehacker/events{/privacy}",- "received_events_url": "https://api.github.com/users/baxterthehacker/received_events",- "type": "User",- "site_admin": false- }-}+{ + "ref": "refs/heads/changes", + "before": "9049f1265b7d61be4a8904a9a27120d2064dab3b", + "after": "0d1a26e67d8f5eaf1f6ba5c57fc3c7d91ac0fd1c", + "created": false, + "deleted": false, + "forced": false, + "base_ref": null, + "compare": "https://github.com/baxterthehacker/public-repo/compare/9049f1265b7d...0d1a26e67d8f", + "commits": [ + { + "id": "0d1a26e67d8f5eaf1f6ba5c57fc3c7d91ac0fd1c", + "tree_id": "f9d2a07e9488b91af2641b26b9407fe22a451433", + "distinct": true, + "message": "Update README.md", + "timestamp": "2015-05-05T19:40:15-04:00", + "url": "https://github.com/baxterthehacker/public-repo/commit/0d1a26e67d8f5eaf1f6ba5c57fc3c7d91ac0fd1c", + "author": { + "name": "baxterthehacker", + "email": "baxterthehacker@users.noreply.github.com", + "username": "baxterthehacker" + }, + "committer": { + "name": "baxterthehacker", + "email": "baxterthehacker@users.noreply.github.com", + "username": "baxterthehacker" + }, + "added": [ + + ], + "removed": [ + + ], + "modified": [ + "README.md" + ] + } + ], + "head_commit": { + "id": "0d1a26e67d8f5eaf1f6ba5c57fc3c7d91ac0fd1c", + "tree_id": "f9d2a07e9488b91af2641b26b9407fe22a451433", + "distinct": true, + "message": "Update README.md", + "timestamp": "2015-05-05T19:40:15-04:00", + "url": "https://github.com/baxterthehacker/public-repo/commit/0d1a26e67d8f5eaf1f6ba5c57fc3c7d91ac0fd1c", + "author": { + "name": "baxterthehacker", + "email": "baxterthehacker@users.noreply.github.com", + "username": "baxterthehacker" + }, + "committer": { + "name": "baxterthehacker", + "email": "baxterthehacker@users.noreply.github.com", + "username": "baxterthehacker" + }, + "added": [ + + ], + "removed": [ + + ], + "modified": [ + "README.md" + ] + }, + "repository": { + "id": 35129377, + "node_id": "MDg6Q2hlY2tSdW4xMjg2MjAyMjg=", + "name": "public-repo", + "full_name": "baxterthehacker/public-repo", + "owner": { + "node_id": "MDg6Q2hlY2tSdW4xMjg2MjAyMjg=", + "name": "baxterthehacker", + "email": "baxterthehacker@users.noreply.github.com" + }, + "private": false, + "html_url": "https://github.com/baxterthehacker/public-repo", + "description": "", + "fork": false, + "url": "https://github.com/baxterthehacker/public-repo", + "forks_url": "https://api.github.com/repos/baxterthehacker/public-repo/forks", + "keys_url": "https://api.github.com/repos/baxterthehacker/public-repo/keys{/key_id}", + "collaborators_url": "https://api.github.com/repos/baxterthehacker/public-repo/collaborators{/collaborator}", + "teams_url": "https://api.github.com/repos/baxterthehacker/public-repo/teams", + "hooks_url": "https://api.github.com/repos/baxterthehacker/public-repo/hooks", + "issue_events_url": "https://api.github.com/repos/baxterthehacker/public-repo/issues/events{/number}", + "events_url": "https://api.github.com/repos/baxterthehacker/public-repo/events", + "assignees_url": "https://api.github.com/repos/baxterthehacker/public-repo/assignees{/user}", + "branches_url": "https://api.github.com/repos/baxterthehacker/public-repo/branches{/branch}", + "tags_url": "https://api.github.com/repos/baxterthehacker/public-repo/tags", + "blobs_url": "https://api.github.com/repos/baxterthehacker/public-repo/git/blobs{/sha}", + "git_tags_url": "https://api.github.com/repos/baxterthehacker/public-repo/git/tags{/sha}", + "git_refs_url": "https://api.github.com/repos/baxterthehacker/public-repo/git/refs{/sha}", + "trees_url": "https://api.github.com/repos/baxterthehacker/public-repo/git/trees{/sha}", + "statuses_url": "https://api.github.com/repos/baxterthehacker/public-repo/statuses/{sha}", + "languages_url": "https://api.github.com/repos/baxterthehacker/public-repo/languages", + "stargazers_url": "https://api.github.com/repos/baxterthehacker/public-repo/stargazers", + "contributors_url": "https://api.github.com/repos/baxterthehacker/public-repo/contributors", + "subscribers_url": "https://api.github.com/repos/baxterthehacker/public-repo/subscribers", + "subscription_url": "https://api.github.com/repos/baxterthehacker/public-repo/subscription", + "commits_url": "https://api.github.com/repos/baxterthehacker/public-repo/commits{/sha}", + "git_commits_url": "https://api.github.com/repos/baxterthehacker/public-repo/git/commits{/sha}", + "comments_url": "https://api.github.com/repos/baxterthehacker/public-repo/comments{/number}", + "issue_comment_url": "https://api.github.com/repos/baxterthehacker/public-repo/issues/comments{/number}", + "contents_url": "https://api.github.com/repos/baxterthehacker/public-repo/contents/{+path}", + "compare_url": "https://api.github.com/repos/baxterthehacker/public-repo/compare/{base}...{head}", + "merges_url": "https://api.github.com/repos/baxterthehacker/public-repo/merges", + "archive_url": "https://api.github.com/repos/baxterthehacker/public-repo/{archive_format}{/ref}", + "downloads_url": "https://api.github.com/repos/baxterthehacker/public-repo/downloads", + "issues_url": "https://api.github.com/repos/baxterthehacker/public-repo/issues{/number}", + "pulls_url": "https://api.github.com/repos/baxterthehacker/public-repo/pulls{/number}", + "milestones_url": "https://api.github.com/repos/baxterthehacker/public-repo/milestones{/number}", + "notifications_url": "https://api.github.com/repos/baxterthehacker/public-repo/notifications{?since,all,participating}", + "labels_url": "https://api.github.com/repos/baxterthehacker/public-repo/labels{/name}", + "releases_url": "https://api.github.com/repos/baxterthehacker/public-repo/releases{/id}", + "created_at": 1430869212, + "updated_at": "2015-05-05T23:40:12Z", + "pushed_at": 1430869217, + "git_url": "git://github.com/baxterthehacker/public-repo.git", + "ssh_url": "git@github.com:baxterthehacker/public-repo.git", + "clone_url": "https://github.com/baxterthehacker/public-repo.git", + "svn_url": "https://github.com/baxterthehacker/public-repo", + "homepage": null, + "size": 0, + "stargazers_count": 0, + "watchers_count": 0, + "language": null, + "has_issues": true, + "has_downloads": true, + "has_wiki": true, + "has_pages": true, + "forks_count": 0, + "mirror_url": null, + "open_issues_count": 0, + "forks": 0, + "open_issues": 0, + "watchers": 0, + "default_branch": "master", + "stargazers": 0, + "master_branch": "master" + }, + "pusher": { + "name": "baxterthehacker", + "email": "baxterthehacker@users.noreply.github.com" + }, + "sender": { + "login": "baxterthehacker", + "id": 6752317, + "node_id": "MDg6Q2hlY2tSdW4xMjg2MjAyMjg=", + "avatar_url": "https://avatars.githubusercontent.com/u/6752317?v=3", + "gravatar_id": "", + "url": "https://api.github.com/users/baxterthehacker", + "html_url": "https://github.com/baxterthehacker", + "followers_url": "https://api.github.com/users/baxterthehacker/followers", + "following_url": "https://api.github.com/users/baxterthehacker/following{/other_user}", + "gists_url": "https://api.github.com/users/baxterthehacker/gists{/gist_id}", + "starred_url": "https://api.github.com/users/baxterthehacker/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/baxterthehacker/subscriptions", + "organizations_url": "https://api.github.com/users/baxterthehacker/orgs", + "repos_url": "https://api.github.com/users/baxterthehacker/repos", + "events_url": "https://api.github.com/users/baxterthehacker/events{/privacy}", + "received_events_url": "https://api.github.com/users/baxterthehacker/received_events", + "type": "User", + "site_admin": false + } +}
fixtures/release-event.json view
@@ -1,153 +1,153 @@-{- "action": "published",- "release": {- "url": "https://api.github.com/repos/baxterthehacker/public-repo/releases/1261438",- "assets_url": "https://api.github.com/repos/baxterthehacker/public-repo/releases/1261438/assets",- "upload_url": "https://uploads.github.com/repos/baxterthehacker/public-repo/releases/1261438/assets{?name}",- "html_url": "https://github.com/baxterthehacker/public-repo/releases/tag/0.0.1",- "id": 1261438,- "node_id": "MDg6Q2hlY2tSdW4xMjg2MjAyMjg=",- "tag_name": "0.0.1",- "target_commitish": "master",- "name": null,- "draft": false,- "author": {- "login": "baxterthehacker",- "id": 6752317,- "node_id": "MDg6Q2hlY2tSdW4xMjg2MjAyMjg=",- "avatar_url": "https://avatars.githubusercontent.com/u/6752317?v=3",- "gravatar_id": "",- "url": "https://api.github.com/users/baxterthehacker",- "html_url": "https://github.com/baxterthehacker",- "followers_url": "https://api.github.com/users/baxterthehacker/followers",- "following_url": "https://api.github.com/users/baxterthehacker/following{/other_user}",- "gists_url": "https://api.github.com/users/baxterthehacker/gists{/gist_id}",- "starred_url": "https://api.github.com/users/baxterthehacker/starred{/owner}{/repo}",- "subscriptions_url": "https://api.github.com/users/baxterthehacker/subscriptions",- "organizations_url": "https://api.github.com/users/baxterthehacker/orgs",- "repos_url": "https://api.github.com/users/baxterthehacker/repos",- "events_url": "https://api.github.com/users/baxterthehacker/events{/privacy}",- "received_events_url": "https://api.github.com/users/baxterthehacker/received_events",- "type": "User",- "site_admin": false- },- "prerelease": false,- "created_at": "2015-05-05T23:40:12Z",- "published_at": "2015-05-05T23:40:38Z",- "assets": [-- ],- "tarball_url": "https://api.github.com/repos/baxterthehacker/public-repo/tarball/0.0.1",- "zipball_url": "https://api.github.com/repos/baxterthehacker/public-repo/zipball/0.0.1",- "body": null- },- "repository": {- "id": 35129377,- "node_id": "MDg6Q2hlY2tSdW4xMjg2MjAyMjg=",- "name": "public-repo",- "full_name": "baxterthehacker/public-repo",- "owner": {- "login": "baxterthehacker",- "id": 6752317,- "node_id": "MDg6Q2hlY2tSdW4xMjg2MjAyMjg=",- "avatar_url": "https://avatars.githubusercontent.com/u/6752317?v=3",- "gravatar_id": "",- "url": "https://api.github.com/users/baxterthehacker",- "html_url": "https://github.com/baxterthehacker",- "followers_url": "https://api.github.com/users/baxterthehacker/followers",- "following_url": "https://api.github.com/users/baxterthehacker/following{/other_user}",- "gists_url": "https://api.github.com/users/baxterthehacker/gists{/gist_id}",- "starred_url": "https://api.github.com/users/baxterthehacker/starred{/owner}{/repo}",- "subscriptions_url": "https://api.github.com/users/baxterthehacker/subscriptions",- "organizations_url": "https://api.github.com/users/baxterthehacker/orgs",- "repos_url": "https://api.github.com/users/baxterthehacker/repos",- "events_url": "https://api.github.com/users/baxterthehacker/events{/privacy}",- "received_events_url": "https://api.github.com/users/baxterthehacker/received_events",- "type": "User",- "site_admin": false- },- "private": false,- "html_url": "https://github.com/baxterthehacker/public-repo",- "description": "",- "fork": false,- "url": "https://api.github.com/repos/baxterthehacker/public-repo",- "forks_url": "https://api.github.com/repos/baxterthehacker/public-repo/forks",- "keys_url": "https://api.github.com/repos/baxterthehacker/public-repo/keys{/key_id}",- "collaborators_url": "https://api.github.com/repos/baxterthehacker/public-repo/collaborators{/collaborator}",- "teams_url": "https://api.github.com/repos/baxterthehacker/public-repo/teams",- "hooks_url": "https://api.github.com/repos/baxterthehacker/public-repo/hooks",- "issue_events_url": "https://api.github.com/repos/baxterthehacker/public-repo/issues/events{/number}",- "events_url": "https://api.github.com/repos/baxterthehacker/public-repo/events",- "assignees_url": "https://api.github.com/repos/baxterthehacker/public-repo/assignees{/user}",- "branches_url": "https://api.github.com/repos/baxterthehacker/public-repo/branches{/branch}",- "tags_url": "https://api.github.com/repos/baxterthehacker/public-repo/tags",- "blobs_url": "https://api.github.com/repos/baxterthehacker/public-repo/git/blobs{/sha}",- "git_tags_url": "https://api.github.com/repos/baxterthehacker/public-repo/git/tags{/sha}",- "git_refs_url": "https://api.github.com/repos/baxterthehacker/public-repo/git/refs{/sha}",- "trees_url": "https://api.github.com/repos/baxterthehacker/public-repo/git/trees{/sha}",- "statuses_url": "https://api.github.com/repos/baxterthehacker/public-repo/statuses/{sha}",- "languages_url": "https://api.github.com/repos/baxterthehacker/public-repo/languages",- "stargazers_url": "https://api.github.com/repos/baxterthehacker/public-repo/stargazers",- "contributors_url": "https://api.github.com/repos/baxterthehacker/public-repo/contributors",- "subscribers_url": "https://api.github.com/repos/baxterthehacker/public-repo/subscribers",- "subscription_url": "https://api.github.com/repos/baxterthehacker/public-repo/subscription",- "commits_url": "https://api.github.com/repos/baxterthehacker/public-repo/commits{/sha}",- "git_commits_url": "https://api.github.com/repos/baxterthehacker/public-repo/git/commits{/sha}",- "comments_url": "https://api.github.com/repos/baxterthehacker/public-repo/comments{/number}",- "issue_comment_url": "https://api.github.com/repos/baxterthehacker/public-repo/issues/comments{/number}",- "contents_url": "https://api.github.com/repos/baxterthehacker/public-repo/contents/{+path}",- "compare_url": "https://api.github.com/repos/baxterthehacker/public-repo/compare/{base}...{head}",- "merges_url": "https://api.github.com/repos/baxterthehacker/public-repo/merges",- "archive_url": "https://api.github.com/repos/baxterthehacker/public-repo/{archive_format}{/ref}",- "downloads_url": "https://api.github.com/repos/baxterthehacker/public-repo/downloads",- "issues_url": "https://api.github.com/repos/baxterthehacker/public-repo/issues{/number}",- "pulls_url": "https://api.github.com/repos/baxterthehacker/public-repo/pulls{/number}",- "milestones_url": "https://api.github.com/repos/baxterthehacker/public-repo/milestones{/number}",- "notifications_url": "https://api.github.com/repos/baxterthehacker/public-repo/notifications{?since,all,participating}",- "labels_url": "https://api.github.com/repos/baxterthehacker/public-repo/labels{/name}",- "releases_url": "https://api.github.com/repos/baxterthehacker/public-repo/releases{/id}",- "created_at": "2015-05-05T23:40:12Z",- "updated_at": "2015-05-05T23:40:30Z",- "pushed_at": "2015-05-05T23:40:38Z",- "git_url": "git://github.com/baxterthehacker/public-repo.git",- "ssh_url": "git@github.com:baxterthehacker/public-repo.git",- "clone_url": "https://github.com/baxterthehacker/public-repo.git",- "svn_url": "https://github.com/baxterthehacker/public-repo",- "homepage": null,- "size": 0,- "stargazers_count": 0,- "watchers_count": 0,- "language": null,- "has_issues": true,- "has_downloads": true,- "has_wiki": true,- "has_pages": true,- "forks_count": 0,- "mirror_url": null,- "open_issues_count": 2,- "forks": 0,- "open_issues": 2,- "watchers": 0,- "default_branch": "master"- },- "sender": {- "login": "baxterthehacker",- "id": 6752317,- "node_id": "MDg6Q2hlY2tSdW4xMjg2MjAyMjg=",- "avatar_url": "https://avatars.githubusercontent.com/u/6752317?v=3",- "gravatar_id": "",- "url": "https://api.github.com/users/baxterthehacker",- "html_url": "https://github.com/baxterthehacker",- "followers_url": "https://api.github.com/users/baxterthehacker/followers",- "following_url": "https://api.github.com/users/baxterthehacker/following{/other_user}",- "gists_url": "https://api.github.com/users/baxterthehacker/gists{/gist_id}",- "starred_url": "https://api.github.com/users/baxterthehacker/starred{/owner}{/repo}",- "subscriptions_url": "https://api.github.com/users/baxterthehacker/subscriptions",- "organizations_url": "https://api.github.com/users/baxterthehacker/orgs",- "repos_url": "https://api.github.com/users/baxterthehacker/repos",- "events_url": "https://api.github.com/users/baxterthehacker/events{/privacy}",- "received_events_url": "https://api.github.com/users/baxterthehacker/received_events",- "type": "User",- "site_admin": false- }-}+{ + "action": "published", + "release": { + "url": "https://api.github.com/repos/baxterthehacker/public-repo/releases/1261438", + "assets_url": "https://api.github.com/repos/baxterthehacker/public-repo/releases/1261438/assets", + "upload_url": "https://uploads.github.com/repos/baxterthehacker/public-repo/releases/1261438/assets{?name}", + "html_url": "https://github.com/baxterthehacker/public-repo/releases/tag/0.0.1", + "id": 1261438, + "node_id": "MDg6Q2hlY2tSdW4xMjg2MjAyMjg=", + "tag_name": "0.0.1", + "target_commitish": "master", + "name": null, + "draft": false, + "author": { + "login": "baxterthehacker", + "id": 6752317, + "node_id": "MDg6Q2hlY2tSdW4xMjg2MjAyMjg=", + "avatar_url": "https://avatars.githubusercontent.com/u/6752317?v=3", + "gravatar_id": "", + "url": "https://api.github.com/users/baxterthehacker", + "html_url": "https://github.com/baxterthehacker", + "followers_url": "https://api.github.com/users/baxterthehacker/followers", + "following_url": "https://api.github.com/users/baxterthehacker/following{/other_user}", + "gists_url": "https://api.github.com/users/baxterthehacker/gists{/gist_id}", + "starred_url": "https://api.github.com/users/baxterthehacker/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/baxterthehacker/subscriptions", + "organizations_url": "https://api.github.com/users/baxterthehacker/orgs", + "repos_url": "https://api.github.com/users/baxterthehacker/repos", + "events_url": "https://api.github.com/users/baxterthehacker/events{/privacy}", + "received_events_url": "https://api.github.com/users/baxterthehacker/received_events", + "type": "User", + "site_admin": false + }, + "prerelease": false, + "created_at": "2015-05-05T23:40:12Z", + "published_at": "2015-05-05T23:40:38Z", + "assets": [ + + ], + "tarball_url": "https://api.github.com/repos/baxterthehacker/public-repo/tarball/0.0.1", + "zipball_url": "https://api.github.com/repos/baxterthehacker/public-repo/zipball/0.0.1", + "body": null + }, + "repository": { + "id": 35129377, + "node_id": "MDg6Q2hlY2tSdW4xMjg2MjAyMjg=", + "name": "public-repo", + "full_name": "baxterthehacker/public-repo", + "owner": { + "login": "baxterthehacker", + "id": 6752317, + "node_id": "MDg6Q2hlY2tSdW4xMjg2MjAyMjg=", + "avatar_url": "https://avatars.githubusercontent.com/u/6752317?v=3", + "gravatar_id": "", + "url": "https://api.github.com/users/baxterthehacker", + "html_url": "https://github.com/baxterthehacker", + "followers_url": "https://api.github.com/users/baxterthehacker/followers", + "following_url": "https://api.github.com/users/baxterthehacker/following{/other_user}", + "gists_url": "https://api.github.com/users/baxterthehacker/gists{/gist_id}", + "starred_url": "https://api.github.com/users/baxterthehacker/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/baxterthehacker/subscriptions", + "organizations_url": "https://api.github.com/users/baxterthehacker/orgs", + "repos_url": "https://api.github.com/users/baxterthehacker/repos", + "events_url": "https://api.github.com/users/baxterthehacker/events{/privacy}", + "received_events_url": "https://api.github.com/users/baxterthehacker/received_events", + "type": "User", + "site_admin": false + }, + "private": false, + "html_url": "https://github.com/baxterthehacker/public-repo", + "description": "", + "fork": false, + "url": "https://api.github.com/repos/baxterthehacker/public-repo", + "forks_url": "https://api.github.com/repos/baxterthehacker/public-repo/forks", + "keys_url": "https://api.github.com/repos/baxterthehacker/public-repo/keys{/key_id}", + "collaborators_url": "https://api.github.com/repos/baxterthehacker/public-repo/collaborators{/collaborator}", + "teams_url": "https://api.github.com/repos/baxterthehacker/public-repo/teams", + "hooks_url": "https://api.github.com/repos/baxterthehacker/public-repo/hooks", + "issue_events_url": "https://api.github.com/repos/baxterthehacker/public-repo/issues/events{/number}", + "events_url": "https://api.github.com/repos/baxterthehacker/public-repo/events", + "assignees_url": "https://api.github.com/repos/baxterthehacker/public-repo/assignees{/user}", + "branches_url": "https://api.github.com/repos/baxterthehacker/public-repo/branches{/branch}", + "tags_url": "https://api.github.com/repos/baxterthehacker/public-repo/tags", + "blobs_url": "https://api.github.com/repos/baxterthehacker/public-repo/git/blobs{/sha}", + "git_tags_url": "https://api.github.com/repos/baxterthehacker/public-repo/git/tags{/sha}", + "git_refs_url": "https://api.github.com/repos/baxterthehacker/public-repo/git/refs{/sha}", + "trees_url": "https://api.github.com/repos/baxterthehacker/public-repo/git/trees{/sha}", + "statuses_url": "https://api.github.com/repos/baxterthehacker/public-repo/statuses/{sha}", + "languages_url": "https://api.github.com/repos/baxterthehacker/public-repo/languages", + "stargazers_url": "https://api.github.com/repos/baxterthehacker/public-repo/stargazers", + "contributors_url": "https://api.github.com/repos/baxterthehacker/public-repo/contributors", + "subscribers_url": "https://api.github.com/repos/baxterthehacker/public-repo/subscribers", + "subscription_url": "https://api.github.com/repos/baxterthehacker/public-repo/subscription", + "commits_url": "https://api.github.com/repos/baxterthehacker/public-repo/commits{/sha}", + "git_commits_url": "https://api.github.com/repos/baxterthehacker/public-repo/git/commits{/sha}", + "comments_url": "https://api.github.com/repos/baxterthehacker/public-repo/comments{/number}", + "issue_comment_url": "https://api.github.com/repos/baxterthehacker/public-repo/issues/comments{/number}", + "contents_url": "https://api.github.com/repos/baxterthehacker/public-repo/contents/{+path}", + "compare_url": "https://api.github.com/repos/baxterthehacker/public-repo/compare/{base}...{head}", + "merges_url": "https://api.github.com/repos/baxterthehacker/public-repo/merges", + "archive_url": "https://api.github.com/repos/baxterthehacker/public-repo/{archive_format}{/ref}", + "downloads_url": "https://api.github.com/repos/baxterthehacker/public-repo/downloads", + "issues_url": "https://api.github.com/repos/baxterthehacker/public-repo/issues{/number}", + "pulls_url": "https://api.github.com/repos/baxterthehacker/public-repo/pulls{/number}", + "milestones_url": "https://api.github.com/repos/baxterthehacker/public-repo/milestones{/number}", + "notifications_url": "https://api.github.com/repos/baxterthehacker/public-repo/notifications{?since,all,participating}", + "labels_url": "https://api.github.com/repos/baxterthehacker/public-repo/labels{/name}", + "releases_url": "https://api.github.com/repos/baxterthehacker/public-repo/releases{/id}", + "created_at": "2015-05-05T23:40:12Z", + "updated_at": "2015-05-05T23:40:30Z", + "pushed_at": "2015-05-05T23:40:38Z", + "git_url": "git://github.com/baxterthehacker/public-repo.git", + "ssh_url": "git@github.com:baxterthehacker/public-repo.git", + "clone_url": "https://github.com/baxterthehacker/public-repo.git", + "svn_url": "https://github.com/baxterthehacker/public-repo", + "homepage": null, + "size": 0, + "stargazers_count": 0, + "watchers_count": 0, + "language": null, + "has_issues": true, + "has_downloads": true, + "has_wiki": true, + "has_pages": true, + "forks_count": 0, + "mirror_url": null, + "open_issues_count": 2, + "forks": 0, + "open_issues": 2, + "watchers": 0, + "default_branch": "master" + }, + "sender": { + "login": "baxterthehacker", + "id": 6752317, + "node_id": "MDg6Q2hlY2tSdW4xMjg2MjAyMjg=", + "avatar_url": "https://avatars.githubusercontent.com/u/6752317?v=3", + "gravatar_id": "", + "url": "https://api.github.com/users/baxterthehacker", + "html_url": "https://github.com/baxterthehacker", + "followers_url": "https://api.github.com/users/baxterthehacker/followers", + "following_url": "https://api.github.com/users/baxterthehacker/following{/other_user}", + "gists_url": "https://api.github.com/users/baxterthehacker/gists{/gist_id}", + "starred_url": "https://api.github.com/users/baxterthehacker/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/baxterthehacker/subscriptions", + "organizations_url": "https://api.github.com/users/baxterthehacker/orgs", + "repos_url": "https://api.github.com/users/baxterthehacker/repos", + "events_url": "https://api.github.com/users/baxterthehacker/events{/privacy}", + "received_events_url": "https://api.github.com/users/baxterthehacker/received_events", + "type": "User", + "site_admin": false + } +}
fixtures/repository-event.json view
@@ -1,123 +1,123 @@-{- "action": "created",- "repository": {- "id": 27496774,- "node_id": "MDg6Q2hlY2tSdW4xMjg2MjAyMjg=",- "name": "new-repository",- "full_name": "baxterandthehackers/new-repository",- "owner": {- "login": "baxterandthehackers",- "id": 7649605,- "node_id": "MDg6Q2hlY2tSdW4xMjg2MjAyMjg=",- "avatar_url": "https://avatars.githubusercontent.com/u/7649605?v=3",- "gravatar_id": "",- "url": "https://api.github.com/users/baxterandthehackers",- "html_url": "https://github.com/baxterandthehackers",- "followers_url": "https://api.github.com/users/baxterandthehackers/followers",- "following_url": "https://api.github.com/users/baxterandthehackers/following{/other_user}",- "gists_url": "https://api.github.com/users/baxterandthehackers/gists{/gist_id}",- "starred_url": "https://api.github.com/users/baxterandthehackers/starred{/owner}{/repo}",- "subscriptions_url": "https://api.github.com/users/baxterandthehackers/subscriptions",- "organizations_url": "https://api.github.com/users/baxterandthehackers/orgs",- "repos_url": "https://api.github.com/users/baxterandthehackers/repos",- "events_url": "https://api.github.com/users/baxterandthehackers/events{/privacy}",- "received_events_url": "https://api.github.com/users/baxterandthehackers/received_events",- "type": "Organization",- "site_admin": false- },- "private": true,- "html_url": "https://github.com/baxterandthehackers/new-repository",- "description": "",- "fork": false,- "url": "https://api.github.com/repos/baxterandthehackers/new-repository",- "forks_url": "https://api.github.com/repos/baxterandthehackers/new-repository/forks",- "keys_url": "https://api.github.com/repos/baxterandthehackers/new-repository/keys{/key_id}",- "collaborators_url": "https://api.github.com/repos/baxterandthehackers/new-repository/collaborators{/collaborator}",- "teams_url": "https://api.github.com/repos/baxterandthehackers/new-repository/teams",- "hooks_url": "https://api.github.com/repos/baxterandthehackers/new-repository/hooks",- "issue_events_url": "https://api.github.com/repos/baxterandthehackers/new-repository/issues/events{/number}",- "events_url": "https://api.github.com/repos/baxterandthehackers/new-repository/events",- "assignees_url": "https://api.github.com/repos/baxterandthehackers/new-repository/assignees{/user}",- "branches_url": "https://api.github.com/repos/baxterandthehackers/new-repository/branches{/branch}",- "tags_url": "https://api.github.com/repos/baxterandthehackers/new-repository/tags",- "blobs_url": "https://api.github.com/repos/baxterandthehackers/new-repository/git/blobs{/sha}",- "git_tags_url": "https://api.github.com/repos/baxterandthehackers/new-repository/git/tags{/sha}",- "git_refs_url": "https://api.github.com/repos/baxterandthehackers/new-repository/git/refs{/sha}",- "trees_url": "https://api.github.com/repos/baxterandthehackers/new-repository/git/trees{/sha}",- "statuses_url": "https://api.github.com/repos/baxterandthehackers/new-repository/statuses/{sha}",- "languages_url": "https://api.github.com/repos/baxterandthehackers/new-repository/languages",- "stargazers_url": "https://api.github.com/repos/baxterandthehackers/new-repository/stargazers",- "contributors_url": "https://api.github.com/repos/baxterandthehackers/new-repository/contributors",- "subscribers_url": "https://api.github.com/repos/baxterandthehackers/new-repository/subscribers",- "subscription_url": "https://api.github.com/repos/baxterandthehackers/new-repository/subscription",- "commits_url": "https://api.github.com/repos/baxterandthehackers/new-repository/commits{/sha}",- "git_commits_url": "https://api.github.com/repos/baxterandthehackers/new-repository/git/commits{/sha}",- "comments_url": "https://api.github.com/repos/baxterandthehackers/new-repository/comments{/number}",- "issue_comment_url": "https://api.github.com/repos/baxterandthehackers/new-repository/issues/comments/{number}",- "contents_url": "https://api.github.com/repos/baxterandthehackers/new-repository/contents/{+path}",- "compare_url": "https://api.github.com/repos/baxterandthehackers/new-repository/compare/{base}...{head}",- "merges_url": "https://api.github.com/repos/baxterandthehackers/new-repository/merges",- "archive_url": "https://api.github.com/repos/baxterandthehackers/new-repository/{archive_format}{/ref}",- "downloads_url": "https://api.github.com/repos/baxterandthehackers/new-repository/downloads",- "issues_url": "https://api.github.com/repos/baxterandthehackers/new-repository/issues{/number}",- "pulls_url": "https://api.github.com/repos/baxterandthehackers/new-repository/pulls{/number}",- "milestones_url": "https://api.github.com/repos/baxterandthehackers/new-repository/milestones{/number}",- "notifications_url": "https://api.github.com/repos/baxterandthehackers/new-repository/notifications{?since,all,participating}",- "labels_url": "https://api.github.com/repos/baxterandthehackers/new-repository/labels{/name}",- "releases_url": "https://api.github.com/repos/baxterandthehackers/new-repository/releases{/id}",- "created_at": "2014-12-03T16:39:25Z",- "updated_at": "2014-12-03T16:39:25Z",- "pushed_at": "2014-12-03T16:39:25Z",- "git_url": "git://github.com/baxterandthehackers/new-repository.git",- "ssh_url": "git@github.com:baxterandthehackers/new-repository.git",- "clone_url": "https://github.com/baxterandthehackers/new-repository.git",- "svn_url": "https://github.com/baxterandthehackers/new-repository",- "homepage": null,- "size": 0,- "stargazers_count": 0,- "watchers_count": 0,- "language": null,- "has_issues": true,- "has_downloads": true,- "has_wiki": true,- "has_pages": false,- "forks_count": 0,- "mirror_url": null,- "open_issues_count": 0,- "forks": 0,- "open_issues": 0,- "watchers": 0,- "default_branch": "master"- },- "organization": {- "login": "baxterandthehackers",- "id": 7649605,- "node_id": "MDg6Q2hlY2tSdW4xMjg2MjAyMjg=",- "url": "https://api.github.com/orgs/baxterandthehackers",- "repos_url": "https://api.github.com/orgs/baxterandthehackers/repos",- "events_url": "https://api.github.com/orgs/baxterandthehackers/events",- "members_url": "https://api.github.com/orgs/baxterandthehackers/members{/member}",- "public_members_url": "https://api.github.com/orgs/baxterandthehackers/public_members{/member}",- "avatar_url": "https://avatars.githubusercontent.com/u/7649605?v=2"- },- "sender": {- "login": "baxterthehacker",- "id": 6752317,- "node_id": "MDg6Q2hlY2tSdW4xMjg2MjAyMjg=",- "avatar_url": "https://avatars.githubusercontent.com/u/6752317?v=2",- "gravatar_id": "",- "url": "https://api.github.com/users/baxterthehacker",- "html_url": "https://github.com/baxterthehacker",- "followers_url": "https://api.github.com/users/baxterthehacker/followers",- "following_url": "https://api.github.com/users/baxterthehacker/following{/other_user}",- "gists_url": "https://api.github.com/users/baxterthehacker/gists{/gist_id}",- "starred_url": "https://api.github.com/users/baxterthehacker/starred{/owner}{/repo}",- "subscriptions_url": "https://api.github.com/users/baxterthehacker/subscriptions",- "organizations_url": "https://api.github.com/users/baxterthehacker/orgs",- "repos_url": "https://api.github.com/users/baxterthehacker/repos",- "events_url": "https://api.github.com/users/baxterthehacker/events{/privacy}",- "received_events_url": "https://api.github.com/users/baxterthehacker/received_events",- "type": "User",- "site_admin": false- }-}+{ + "action": "created", + "repository": { + "id": 27496774, + "node_id": "MDg6Q2hlY2tSdW4xMjg2MjAyMjg=", + "name": "new-repository", + "full_name": "baxterandthehackers/new-repository", + "owner": { + "login": "baxterandthehackers", + "id": 7649605, + "node_id": "MDg6Q2hlY2tSdW4xMjg2MjAyMjg=", + "avatar_url": "https://avatars.githubusercontent.com/u/7649605?v=3", + "gravatar_id": "", + "url": "https://api.github.com/users/baxterandthehackers", + "html_url": "https://github.com/baxterandthehackers", + "followers_url": "https://api.github.com/users/baxterandthehackers/followers", + "following_url": "https://api.github.com/users/baxterandthehackers/following{/other_user}", + "gists_url": "https://api.github.com/users/baxterandthehackers/gists{/gist_id}", + "starred_url": "https://api.github.com/users/baxterandthehackers/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/baxterandthehackers/subscriptions", + "organizations_url": "https://api.github.com/users/baxterandthehackers/orgs", + "repos_url": "https://api.github.com/users/baxterandthehackers/repos", + "events_url": "https://api.github.com/users/baxterandthehackers/events{/privacy}", + "received_events_url": "https://api.github.com/users/baxterandthehackers/received_events", + "type": "Organization", + "site_admin": false + }, + "private": true, + "html_url": "https://github.com/baxterandthehackers/new-repository", + "description": "", + "fork": false, + "url": "https://api.github.com/repos/baxterandthehackers/new-repository", + "forks_url": "https://api.github.com/repos/baxterandthehackers/new-repository/forks", + "keys_url": "https://api.github.com/repos/baxterandthehackers/new-repository/keys{/key_id}", + "collaborators_url": "https://api.github.com/repos/baxterandthehackers/new-repository/collaborators{/collaborator}", + "teams_url": "https://api.github.com/repos/baxterandthehackers/new-repository/teams", + "hooks_url": "https://api.github.com/repos/baxterandthehackers/new-repository/hooks", + "issue_events_url": "https://api.github.com/repos/baxterandthehackers/new-repository/issues/events{/number}", + "events_url": "https://api.github.com/repos/baxterandthehackers/new-repository/events", + "assignees_url": "https://api.github.com/repos/baxterandthehackers/new-repository/assignees{/user}", + "branches_url": "https://api.github.com/repos/baxterandthehackers/new-repository/branches{/branch}", + "tags_url": "https://api.github.com/repos/baxterandthehackers/new-repository/tags", + "blobs_url": "https://api.github.com/repos/baxterandthehackers/new-repository/git/blobs{/sha}", + "git_tags_url": "https://api.github.com/repos/baxterandthehackers/new-repository/git/tags{/sha}", + "git_refs_url": "https://api.github.com/repos/baxterandthehackers/new-repository/git/refs{/sha}", + "trees_url": "https://api.github.com/repos/baxterandthehackers/new-repository/git/trees{/sha}", + "statuses_url": "https://api.github.com/repos/baxterandthehackers/new-repository/statuses/{sha}", + "languages_url": "https://api.github.com/repos/baxterandthehackers/new-repository/languages", + "stargazers_url": "https://api.github.com/repos/baxterandthehackers/new-repository/stargazers", + "contributors_url": "https://api.github.com/repos/baxterandthehackers/new-repository/contributors", + "subscribers_url": "https://api.github.com/repos/baxterandthehackers/new-repository/subscribers", + "subscription_url": "https://api.github.com/repos/baxterandthehackers/new-repository/subscription", + "commits_url": "https://api.github.com/repos/baxterandthehackers/new-repository/commits{/sha}", + "git_commits_url": "https://api.github.com/repos/baxterandthehackers/new-repository/git/commits{/sha}", + "comments_url": "https://api.github.com/repos/baxterandthehackers/new-repository/comments{/number}", + "issue_comment_url": "https://api.github.com/repos/baxterandthehackers/new-repository/issues/comments/{number}", + "contents_url": "https://api.github.com/repos/baxterandthehackers/new-repository/contents/{+path}", + "compare_url": "https://api.github.com/repos/baxterandthehackers/new-repository/compare/{base}...{head}", + "merges_url": "https://api.github.com/repos/baxterandthehackers/new-repository/merges", + "archive_url": "https://api.github.com/repos/baxterandthehackers/new-repository/{archive_format}{/ref}", + "downloads_url": "https://api.github.com/repos/baxterandthehackers/new-repository/downloads", + "issues_url": "https://api.github.com/repos/baxterandthehackers/new-repository/issues{/number}", + "pulls_url": "https://api.github.com/repos/baxterandthehackers/new-repository/pulls{/number}", + "milestones_url": "https://api.github.com/repos/baxterandthehackers/new-repository/milestones{/number}", + "notifications_url": "https://api.github.com/repos/baxterandthehackers/new-repository/notifications{?since,all,participating}", + "labels_url": "https://api.github.com/repos/baxterandthehackers/new-repository/labels{/name}", + "releases_url": "https://api.github.com/repos/baxterandthehackers/new-repository/releases{/id}", + "created_at": "2014-12-03T16:39:25Z", + "updated_at": "2014-12-03T16:39:25Z", + "pushed_at": "2014-12-03T16:39:25Z", + "git_url": "git://github.com/baxterandthehackers/new-repository.git", + "ssh_url": "git@github.com:baxterandthehackers/new-repository.git", + "clone_url": "https://github.com/baxterandthehackers/new-repository.git", + "svn_url": "https://github.com/baxterandthehackers/new-repository", + "homepage": null, + "size": 0, + "stargazers_count": 0, + "watchers_count": 0, + "language": null, + "has_issues": true, + "has_downloads": true, + "has_wiki": true, + "has_pages": false, + "forks_count": 0, + "mirror_url": null, + "open_issues_count": 0, + "forks": 0, + "open_issues": 0, + "watchers": 0, + "default_branch": "master" + }, + "organization": { + "login": "baxterandthehackers", + "id": 7649605, + "node_id": "MDg6Q2hlY2tSdW4xMjg2MjAyMjg=", + "url": "https://api.github.com/orgs/baxterandthehackers", + "repos_url": "https://api.github.com/orgs/baxterandthehackers/repos", + "events_url": "https://api.github.com/orgs/baxterandthehackers/events", + "members_url": "https://api.github.com/orgs/baxterandthehackers/members{/member}", + "public_members_url": "https://api.github.com/orgs/baxterandthehackers/public_members{/member}", + "avatar_url": "https://avatars.githubusercontent.com/u/7649605?v=2" + }, + "sender": { + "login": "baxterthehacker", + "id": 6752317, + "node_id": "MDg6Q2hlY2tSdW4xMjg2MjAyMjg=", + "avatar_url": "https://avatars.githubusercontent.com/u/6752317?v=2", + "gravatar_id": "", + "url": "https://api.github.com/users/baxterthehacker", + "html_url": "https://github.com/baxterthehacker", + "followers_url": "https://api.github.com/users/baxterthehacker/followers", + "following_url": "https://api.github.com/users/baxterthehacker/following{/other_user}", + "gists_url": "https://api.github.com/users/baxterthehacker/gists{/gist_id}", + "starred_url": "https://api.github.com/users/baxterthehacker/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/baxterthehacker/subscriptions", + "organizations_url": "https://api.github.com/users/baxterthehacker/orgs", + "repos_url": "https://api.github.com/users/baxterthehacker/repos", + "events_url": "https://api.github.com/users/baxterthehacker/events{/privacy}", + "received_events_url": "https://api.github.com/users/baxterthehacker/received_events", + "type": "User", + "site_admin": false + } +}
fixtures/status-event.json view
@@ -1,212 +1,212 @@-{- "id": 214015194,- "sha": "9049f1265b7d61be4a8904a9a27120d2064dab3b",- "name": "baxterthehacker/public-repo",- "target_url": null,- "context": "default",- "description": null,- "state": "success",- "commit": {- "sha": "9049f1265b7d61be4a8904a9a27120d2064dab3b",- "node_id": "MDg6Q2hlY2tSdW4xMjg2MjAyMjg=",- "commit": {- "author": {- "name": "baxterthehacker",- "email": "baxterthehacker@users.noreply.github.com",- "date": "2015-05-05T23:40:12Z"- },- "committer": {- "name": "baxterthehacker",- "email": "baxterthehacker@users.noreply.github.com",- "date": "2015-05-05T23:40:12Z"- },- "message": "Initial commit",- "tree": {- "sha": "02b49ad0ba4f1acd9f06531b21e16a4ac5d341d0",- "url": "https://api.github.com/repos/baxterthehacker/public-repo/git/trees/02b49ad0ba4f1acd9f06531b21e16a4ac5d341d0"- },- "url": "https://api.github.com/repos/baxterthehacker/public-repo/git/commits/9049f1265b7d61be4a8904a9a27120d2064dab3b",- "comment_count": 1- },- "url": "https://api.github.com/repos/baxterthehacker/public-repo/commits/9049f1265b7d61be4a8904a9a27120d2064dab3b",- "html_url": "https://github.com/baxterthehacker/public-repo/commit/9049f1265b7d61be4a8904a9a27120d2064dab3b",- "comments_url": "https://api.github.com/repos/baxterthehacker/public-repo/commits/9049f1265b7d61be4a8904a9a27120d2064dab3b/comments",- "author": {- "login": "baxterthehacker",- "id": 6752317,- "node_id": "MDg6Q2hlY2tSdW4xMjg2MjAyMjg=",- "avatar_url": "https://avatars.githubusercontent.com/u/6752317?v=3",- "gravatar_id": "",- "url": "https://api.github.com/users/baxterthehacker",- "html_url": "https://github.com/baxterthehacker",- "followers_url": "https://api.github.com/users/baxterthehacker/followers",- "following_url": "https://api.github.com/users/baxterthehacker/following{/other_user}",- "gists_url": "https://api.github.com/users/baxterthehacker/gists{/gist_id}",- "starred_url": "https://api.github.com/users/baxterthehacker/starred{/owner}{/repo}",- "subscriptions_url": "https://api.github.com/users/baxterthehacker/subscriptions",- "organizations_url": "https://api.github.com/users/baxterthehacker/orgs",- "repos_url": "https://api.github.com/users/baxterthehacker/repos",- "events_url": "https://api.github.com/users/baxterthehacker/events{/privacy}",- "received_events_url": "https://api.github.com/users/baxterthehacker/received_events",- "type": "User",- "site_admin": false- },- "committer": {- "login": "baxterthehacker",- "id": 6752317,- "node_id": "MDg6Q2hlY2tSdW4xMjg2MjAyMjg=",- "avatar_url": "https://avatars.githubusercontent.com/u/6752317?v=3",- "gravatar_id": "",- "url": "https://api.github.com/users/baxterthehacker",- "html_url": "https://github.com/baxterthehacker",- "followers_url": "https://api.github.com/users/baxterthehacker/followers",- "following_url": "https://api.github.com/users/baxterthehacker/following{/other_user}",- "gists_url": "https://api.github.com/users/baxterthehacker/gists{/gist_id}",- "starred_url": "https://api.github.com/users/baxterthehacker/starred{/owner}{/repo}",- "subscriptions_url": "https://api.github.com/users/baxterthehacker/subscriptions",- "organizations_url": "https://api.github.com/users/baxterthehacker/orgs",- "repos_url": "https://api.github.com/users/baxterthehacker/repos",- "events_url": "https://api.github.com/users/baxterthehacker/events{/privacy}",- "received_events_url": "https://api.github.com/users/baxterthehacker/received_events",- "type": "User",- "site_admin": false- },- "parents": [-- ]- },- "branches": [- {- "name": "master",- "commit": {- "sha": "9049f1265b7d61be4a8904a9a27120d2064dab3b",- "url": "https://api.github.com/repos/baxterthehacker/public-repo/commits/9049f1265b7d61be4a8904a9a27120d2064dab3b"- }- },- {- "name": "changes",- "commit": {- "sha": "0d1a26e67d8f5eaf1f6ba5c57fc3c7d91ac0fd1c",- "url": "https://api.github.com/repos/baxterthehacker/public-repo/commits/0d1a26e67d8f5eaf1f6ba5c57fc3c7d91ac0fd1c"- }- },- {- "name": "gh-pages",- "commit": {- "sha": "b11bb7545ac14abafc6191a0481b0d961e7793c6",- "url": "https://api.github.com/repos/baxterthehacker/public-repo/commits/b11bb7545ac14abafc6191a0481b0d961e7793c6"- }- }- ],- "created_at": "2015-05-05T23:40:39Z",- "updated_at": "2015-05-05T23:40:39Z",- "repository": {- "id": 35129377,- "node_id": "MDg6Q2hlY2tSdW4xMjg2MjAyMjg=",- "name": "public-repo",- "full_name": "baxterthehacker/public-repo",- "owner": {- "login": "baxterthehacker",- "id": 6752317,- "node_id": "MDg6Q2hlY2tSdW4xMjg2MjAyMjg=",- "avatar_url": "https://avatars.githubusercontent.com/u/6752317?v=3",- "gravatar_id": "",- "url": "https://api.github.com/users/baxterthehacker",- "html_url": "https://github.com/baxterthehacker",- "followers_url": "https://api.github.com/users/baxterthehacker/followers",- "following_url": "https://api.github.com/users/baxterthehacker/following{/other_user}",- "gists_url": "https://api.github.com/users/baxterthehacker/gists{/gist_id}",- "starred_url": "https://api.github.com/users/baxterthehacker/starred{/owner}{/repo}",- "subscriptions_url": "https://api.github.com/users/baxterthehacker/subscriptions",- "organizations_url": "https://api.github.com/users/baxterthehacker/orgs",- "repos_url": "https://api.github.com/users/baxterthehacker/repos",- "events_url": "https://api.github.com/users/baxterthehacker/events{/privacy}",- "received_events_url": "https://api.github.com/users/baxterthehacker/received_events",- "type": "User",- "site_admin": false- },- "private": false,- "html_url": "https://github.com/baxterthehacker/public-repo",- "description": "",- "fork": false,- "url": "https://api.github.com/repos/baxterthehacker/public-repo",- "forks_url": "https://api.github.com/repos/baxterthehacker/public-repo/forks",- "keys_url": "https://api.github.com/repos/baxterthehacker/public-repo/keys{/key_id}",- "collaborators_url": "https://api.github.com/repos/baxterthehacker/public-repo/collaborators{/collaborator}",- "teams_url": "https://api.github.com/repos/baxterthehacker/public-repo/teams",- "hooks_url": "https://api.github.com/repos/baxterthehacker/public-repo/hooks",- "issue_events_url": "https://api.github.com/repos/baxterthehacker/public-repo/issues/events{/number}",- "events_url": "https://api.github.com/repos/baxterthehacker/public-repo/events",- "assignees_url": "https://api.github.com/repos/baxterthehacker/public-repo/assignees{/user}",- "branches_url": "https://api.github.com/repos/baxterthehacker/public-repo/branches{/branch}",- "tags_url": "https://api.github.com/repos/baxterthehacker/public-repo/tags",- "blobs_url": "https://api.github.com/repos/baxterthehacker/public-repo/git/blobs{/sha}",- "git_tags_url": "https://api.github.com/repos/baxterthehacker/public-repo/git/tags{/sha}",- "git_refs_url": "https://api.github.com/repos/baxterthehacker/public-repo/git/refs{/sha}",- "trees_url": "https://api.github.com/repos/baxterthehacker/public-repo/git/trees{/sha}",- "statuses_url": "https://api.github.com/repos/baxterthehacker/public-repo/statuses/{sha}",- "languages_url": "https://api.github.com/repos/baxterthehacker/public-repo/languages",- "stargazers_url": "https://api.github.com/repos/baxterthehacker/public-repo/stargazers",- "contributors_url": "https://api.github.com/repos/baxterthehacker/public-repo/contributors",- "subscribers_url": "https://api.github.com/repos/baxterthehacker/public-repo/subscribers",- "subscription_url": "https://api.github.com/repos/baxterthehacker/public-repo/subscription",- "commits_url": "https://api.github.com/repos/baxterthehacker/public-repo/commits{/sha}",- "git_commits_url": "https://api.github.com/repos/baxterthehacker/public-repo/git/commits{/sha}",- "comments_url": "https://api.github.com/repos/baxterthehacker/public-repo/comments{/number}",- "issue_comment_url": "https://api.github.com/repos/baxterthehacker/public-repo/issues/comments{/number}",- "contents_url": "https://api.github.com/repos/baxterthehacker/public-repo/contents/{+path}",- "compare_url": "https://api.github.com/repos/baxterthehacker/public-repo/compare/{base}...{head}",- "merges_url": "https://api.github.com/repos/baxterthehacker/public-repo/merges",- "archive_url": "https://api.github.com/repos/baxterthehacker/public-repo/{archive_format}{/ref}",- "downloads_url": "https://api.github.com/repos/baxterthehacker/public-repo/downloads",- "issues_url": "https://api.github.com/repos/baxterthehacker/public-repo/issues{/number}",- "pulls_url": "https://api.github.com/repos/baxterthehacker/public-repo/pulls{/number}",- "milestones_url": "https://api.github.com/repos/baxterthehacker/public-repo/milestones{/number}",- "notifications_url": "https://api.github.com/repos/baxterthehacker/public-repo/notifications{?since,all,participating}",- "labels_url": "https://api.github.com/repos/baxterthehacker/public-repo/labels{/name}",- "releases_url": "https://api.github.com/repos/baxterthehacker/public-repo/releases{/id}",- "created_at": "2015-05-05T23:40:12Z",- "updated_at": "2015-05-05T23:40:30Z",- "pushed_at": "2015-05-05T23:40:39Z",- "git_url": "git://github.com/baxterthehacker/public-repo.git",- "ssh_url": "git@github.com:baxterthehacker/public-repo.git",- "clone_url": "https://github.com/baxterthehacker/public-repo.git",- "svn_url": "https://github.com/baxterthehacker/public-repo",- "homepage": null,- "size": 0,- "stargazers_count": 0,- "watchers_count": 0,- "language": null,- "has_issues": true,- "has_downloads": true,- "has_wiki": true,- "has_pages": true,- "forks_count": 0,- "mirror_url": null,- "open_issues_count": 2,- "forks": 0,- "open_issues": 2,- "watchers": 0,- "default_branch": "master"- },- "sender": {- "login": "baxterthehacker",- "id": 6752317,- "node_id": "MDg6Q2hlY2tSdW4xMjg2MjAyMjg=",- "avatar_url": "https://avatars.githubusercontent.com/u/6752317?v=3",- "gravatar_id": "",- "url": "https://api.github.com/users/baxterthehacker",- "html_url": "https://github.com/baxterthehacker",- "followers_url": "https://api.github.com/users/baxterthehacker/followers",- "following_url": "https://api.github.com/users/baxterthehacker/following{/other_user}",- "gists_url": "https://api.github.com/users/baxterthehacker/gists{/gist_id}",- "starred_url": "https://api.github.com/users/baxterthehacker/starred{/owner}{/repo}",- "subscriptions_url": "https://api.github.com/users/baxterthehacker/subscriptions",- "organizations_url": "https://api.github.com/users/baxterthehacker/orgs",- "repos_url": "https://api.github.com/users/baxterthehacker/repos",- "events_url": "https://api.github.com/users/baxterthehacker/events{/privacy}",- "received_events_url": "https://api.github.com/users/baxterthehacker/received_events",- "type": "User",- "site_admin": false- }-}+{ + "id": 214015194, + "sha": "9049f1265b7d61be4a8904a9a27120d2064dab3b", + "name": "baxterthehacker/public-repo", + "target_url": null, + "context": "default", + "description": null, + "state": "success", + "commit": { + "sha": "9049f1265b7d61be4a8904a9a27120d2064dab3b", + "node_id": "MDg6Q2hlY2tSdW4xMjg2MjAyMjg=", + "commit": { + "author": { + "name": "baxterthehacker", + "email": "baxterthehacker@users.noreply.github.com", + "date": "2015-05-05T23:40:12Z" + }, + "committer": { + "name": "baxterthehacker", + "email": "baxterthehacker@users.noreply.github.com", + "date": "2015-05-05T23:40:12Z" + }, + "message": "Initial commit", + "tree": { + "sha": "02b49ad0ba4f1acd9f06531b21e16a4ac5d341d0", + "url": "https://api.github.com/repos/baxterthehacker/public-repo/git/trees/02b49ad0ba4f1acd9f06531b21e16a4ac5d341d0" + }, + "url": "https://api.github.com/repos/baxterthehacker/public-repo/git/commits/9049f1265b7d61be4a8904a9a27120d2064dab3b", + "comment_count": 1 + }, + "url": "https://api.github.com/repos/baxterthehacker/public-repo/commits/9049f1265b7d61be4a8904a9a27120d2064dab3b", + "html_url": "https://github.com/baxterthehacker/public-repo/commit/9049f1265b7d61be4a8904a9a27120d2064dab3b", + "comments_url": "https://api.github.com/repos/baxterthehacker/public-repo/commits/9049f1265b7d61be4a8904a9a27120d2064dab3b/comments", + "author": { + "login": "baxterthehacker", + "id": 6752317, + "node_id": "MDg6Q2hlY2tSdW4xMjg2MjAyMjg=", + "avatar_url": "https://avatars.githubusercontent.com/u/6752317?v=3", + "gravatar_id": "", + "url": "https://api.github.com/users/baxterthehacker", + "html_url": "https://github.com/baxterthehacker", + "followers_url": "https://api.github.com/users/baxterthehacker/followers", + "following_url": "https://api.github.com/users/baxterthehacker/following{/other_user}", + "gists_url": "https://api.github.com/users/baxterthehacker/gists{/gist_id}", + "starred_url": "https://api.github.com/users/baxterthehacker/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/baxterthehacker/subscriptions", + "organizations_url": "https://api.github.com/users/baxterthehacker/orgs", + "repos_url": "https://api.github.com/users/baxterthehacker/repos", + "events_url": "https://api.github.com/users/baxterthehacker/events{/privacy}", + "received_events_url": "https://api.github.com/users/baxterthehacker/received_events", + "type": "User", + "site_admin": false + }, + "committer": { + "login": "baxterthehacker", + "id": 6752317, + "node_id": "MDg6Q2hlY2tSdW4xMjg2MjAyMjg=", + "avatar_url": "https://avatars.githubusercontent.com/u/6752317?v=3", + "gravatar_id": "", + "url": "https://api.github.com/users/baxterthehacker", + "html_url": "https://github.com/baxterthehacker", + "followers_url": "https://api.github.com/users/baxterthehacker/followers", + "following_url": "https://api.github.com/users/baxterthehacker/following{/other_user}", + "gists_url": "https://api.github.com/users/baxterthehacker/gists{/gist_id}", + "starred_url": "https://api.github.com/users/baxterthehacker/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/baxterthehacker/subscriptions", + "organizations_url": "https://api.github.com/users/baxterthehacker/orgs", + "repos_url": "https://api.github.com/users/baxterthehacker/repos", + "events_url": "https://api.github.com/users/baxterthehacker/events{/privacy}", + "received_events_url": "https://api.github.com/users/baxterthehacker/received_events", + "type": "User", + "site_admin": false + }, + "parents": [ + + ] + }, + "branches": [ + { + "name": "master", + "commit": { + "sha": "9049f1265b7d61be4a8904a9a27120d2064dab3b", + "url": "https://api.github.com/repos/baxterthehacker/public-repo/commits/9049f1265b7d61be4a8904a9a27120d2064dab3b" + } + }, + { + "name": "changes", + "commit": { + "sha": "0d1a26e67d8f5eaf1f6ba5c57fc3c7d91ac0fd1c", + "url": "https://api.github.com/repos/baxterthehacker/public-repo/commits/0d1a26e67d8f5eaf1f6ba5c57fc3c7d91ac0fd1c" + } + }, + { + "name": "gh-pages", + "commit": { + "sha": "b11bb7545ac14abafc6191a0481b0d961e7793c6", + "url": "https://api.github.com/repos/baxterthehacker/public-repo/commits/b11bb7545ac14abafc6191a0481b0d961e7793c6" + } + } + ], + "created_at": "2015-05-05T23:40:39Z", + "updated_at": "2015-05-05T23:40:39Z", + "repository": { + "id": 35129377, + "node_id": "MDg6Q2hlY2tSdW4xMjg2MjAyMjg=", + "name": "public-repo", + "full_name": "baxterthehacker/public-repo", + "owner": { + "login": "baxterthehacker", + "id": 6752317, + "node_id": "MDg6Q2hlY2tSdW4xMjg2MjAyMjg=", + "avatar_url": "https://avatars.githubusercontent.com/u/6752317?v=3", + "gravatar_id": "", + "url": "https://api.github.com/users/baxterthehacker", + "html_url": "https://github.com/baxterthehacker", + "followers_url": "https://api.github.com/users/baxterthehacker/followers", + "following_url": "https://api.github.com/users/baxterthehacker/following{/other_user}", + "gists_url": "https://api.github.com/users/baxterthehacker/gists{/gist_id}", + "starred_url": "https://api.github.com/users/baxterthehacker/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/baxterthehacker/subscriptions", + "organizations_url": "https://api.github.com/users/baxterthehacker/orgs", + "repos_url": "https://api.github.com/users/baxterthehacker/repos", + "events_url": "https://api.github.com/users/baxterthehacker/events{/privacy}", + "received_events_url": "https://api.github.com/users/baxterthehacker/received_events", + "type": "User", + "site_admin": false + }, + "private": false, + "html_url": "https://github.com/baxterthehacker/public-repo", + "description": "", + "fork": false, + "url": "https://api.github.com/repos/baxterthehacker/public-repo", + "forks_url": "https://api.github.com/repos/baxterthehacker/public-repo/forks", + "keys_url": "https://api.github.com/repos/baxterthehacker/public-repo/keys{/key_id}", + "collaborators_url": "https://api.github.com/repos/baxterthehacker/public-repo/collaborators{/collaborator}", + "teams_url": "https://api.github.com/repos/baxterthehacker/public-repo/teams", + "hooks_url": "https://api.github.com/repos/baxterthehacker/public-repo/hooks", + "issue_events_url": "https://api.github.com/repos/baxterthehacker/public-repo/issues/events{/number}", + "events_url": "https://api.github.com/repos/baxterthehacker/public-repo/events", + "assignees_url": "https://api.github.com/repos/baxterthehacker/public-repo/assignees{/user}", + "branches_url": "https://api.github.com/repos/baxterthehacker/public-repo/branches{/branch}", + "tags_url": "https://api.github.com/repos/baxterthehacker/public-repo/tags", + "blobs_url": "https://api.github.com/repos/baxterthehacker/public-repo/git/blobs{/sha}", + "git_tags_url": "https://api.github.com/repos/baxterthehacker/public-repo/git/tags{/sha}", + "git_refs_url": "https://api.github.com/repos/baxterthehacker/public-repo/git/refs{/sha}", + "trees_url": "https://api.github.com/repos/baxterthehacker/public-repo/git/trees{/sha}", + "statuses_url": "https://api.github.com/repos/baxterthehacker/public-repo/statuses/{sha}", + "languages_url": "https://api.github.com/repos/baxterthehacker/public-repo/languages", + "stargazers_url": "https://api.github.com/repos/baxterthehacker/public-repo/stargazers", + "contributors_url": "https://api.github.com/repos/baxterthehacker/public-repo/contributors", + "subscribers_url": "https://api.github.com/repos/baxterthehacker/public-repo/subscribers", + "subscription_url": "https://api.github.com/repos/baxterthehacker/public-repo/subscription", + "commits_url": "https://api.github.com/repos/baxterthehacker/public-repo/commits{/sha}", + "git_commits_url": "https://api.github.com/repos/baxterthehacker/public-repo/git/commits{/sha}", + "comments_url": "https://api.github.com/repos/baxterthehacker/public-repo/comments{/number}", + "issue_comment_url": "https://api.github.com/repos/baxterthehacker/public-repo/issues/comments{/number}", + "contents_url": "https://api.github.com/repos/baxterthehacker/public-repo/contents/{+path}", + "compare_url": "https://api.github.com/repos/baxterthehacker/public-repo/compare/{base}...{head}", + "merges_url": "https://api.github.com/repos/baxterthehacker/public-repo/merges", + "archive_url": "https://api.github.com/repos/baxterthehacker/public-repo/{archive_format}{/ref}", + "downloads_url": "https://api.github.com/repos/baxterthehacker/public-repo/downloads", + "issues_url": "https://api.github.com/repos/baxterthehacker/public-repo/issues{/number}", + "pulls_url": "https://api.github.com/repos/baxterthehacker/public-repo/pulls{/number}", + "milestones_url": "https://api.github.com/repos/baxterthehacker/public-repo/milestones{/number}", + "notifications_url": "https://api.github.com/repos/baxterthehacker/public-repo/notifications{?since,all,participating}", + "labels_url": "https://api.github.com/repos/baxterthehacker/public-repo/labels{/name}", + "releases_url": "https://api.github.com/repos/baxterthehacker/public-repo/releases{/id}", + "created_at": "2015-05-05T23:40:12Z", + "updated_at": "2015-05-05T23:40:30Z", + "pushed_at": "2015-05-05T23:40:39Z", + "git_url": "git://github.com/baxterthehacker/public-repo.git", + "ssh_url": "git@github.com:baxterthehacker/public-repo.git", + "clone_url": "https://github.com/baxterthehacker/public-repo.git", + "svn_url": "https://github.com/baxterthehacker/public-repo", + "homepage": null, + "size": 0, + "stargazers_count": 0, + "watchers_count": 0, + "language": null, + "has_issues": true, + "has_downloads": true, + "has_wiki": true, + "has_pages": true, + "forks_count": 0, + "mirror_url": null, + "open_issues_count": 2, + "forks": 0, + "open_issues": 2, + "watchers": 0, + "default_branch": "master" + }, + "sender": { + "login": "baxterthehacker", + "id": 6752317, + "node_id": "MDg6Q2hlY2tSdW4xMjg2MjAyMjg=", + "avatar_url": "https://avatars.githubusercontent.com/u/6752317?v=3", + "gravatar_id": "", + "url": "https://api.github.com/users/baxterthehacker", + "html_url": "https://github.com/baxterthehacker", + "followers_url": "https://api.github.com/users/baxterthehacker/followers", + "following_url": "https://api.github.com/users/baxterthehacker/following{/other_user}", + "gists_url": "https://api.github.com/users/baxterthehacker/gists{/gist_id}", + "starred_url": "https://api.github.com/users/baxterthehacker/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/baxterthehacker/subscriptions", + "organizations_url": "https://api.github.com/users/baxterthehacker/orgs", + "repos_url": "https://api.github.com/users/baxterthehacker/repos", + "events_url": "https://api.github.com/users/baxterthehacker/events{/privacy}", + "received_events_url": "https://api.github.com/users/baxterthehacker/received_events", + "type": "User", + "site_admin": false + } +}
fixtures/team-add-event.json view
@@ -1,134 +1,134 @@-{- "team": {- "name": "github",- "id": 836012,- "node_id": "MDg6Q2hlY2tSdW4xMjg2MjAyMjg=",- "slug": "github",- "description": "",- "permission": "pull",- "url": "https://api.github.com/teams/836012",- "members_url": "https://api.github.com/teams/836012/members{/member}",- "repositories_url": "https://api.github.com/teams/836012/repos"- },- "repository": {- "id": 35129393,- "node_id": "MDg6Q2hlY2tSdW4xMjg2MjAyMjg=",- "name": "public-repo",- "full_name": "baxterandthehackers/public-repo",- "owner": {- "login": "baxterandthehackers",- "id": 7649605,- "node_id": "MDg6Q2hlY2tSdW4xMjg2MjAyMjg=",- "avatar_url": "https://avatars.githubusercontent.com/u/7649605?v=3",- "gravatar_id": "",- "url": "https://api.github.com/users/baxterandthehackers",- "html_url": "https://github.com/baxterandthehackers",- "followers_url": "https://api.github.com/users/baxterandthehackers/followers",- "following_url": "https://api.github.com/users/baxterandthehackers/following{/other_user}",- "gists_url": "https://api.github.com/users/baxterandthehackers/gists{/gist_id}",- "starred_url": "https://api.github.com/users/baxterandthehackers/starred{/owner}{/repo}",- "subscriptions_url": "https://api.github.com/users/baxterandthehackers/subscriptions",- "organizations_url": "https://api.github.com/users/baxterandthehackers/orgs",- "repos_url": "https://api.github.com/users/baxterandthehackers/repos",- "events_url": "https://api.github.com/users/baxterandthehackers/events{/privacy}",- "received_events_url": "https://api.github.com/users/baxterandthehackers/received_events",- "type": "Organization",- "site_admin": false- },- "private": false,- "html_url": "https://github.com/baxterandthehackers/public-repo",- "description": "",- "fork": true,- "url": "https://api.github.com/repos/baxterandthehackers/public-repo",- "forks_url": "https://api.github.com/repos/baxterandthehackers/public-repo/forks",- "keys_url": "https://api.github.com/repos/baxterandthehackers/public-repo/keys{/key_id}",- "collaborators_url": "https://api.github.com/repos/baxterandthehackers/public-repo/collaborators{/collaborator}",- "teams_url": "https://api.github.com/repos/baxterandthehackers/public-repo/teams",- "hooks_url": "https://api.github.com/repos/baxterandthehackers/public-repo/hooks",- "issue_events_url": "https://api.github.com/repos/baxterandthehackers/public-repo/issues/events{/number}",- "events_url": "https://api.github.com/repos/baxterandthehackers/public-repo/events",- "assignees_url": "https://api.github.com/repos/baxterandthehackers/public-repo/assignees{/user}",- "branches_url": "https://api.github.com/repos/baxterandthehackers/public-repo/branches{/branch}",- "tags_url": "https://api.github.com/repos/baxterandthehackers/public-repo/tags",- "blobs_url": "https://api.github.com/repos/baxterandthehackers/public-repo/git/blobs{/sha}",- "git_tags_url": "https://api.github.com/repos/baxterandthehackers/public-repo/git/tags{/sha}",- "git_refs_url": "https://api.github.com/repos/baxterandthehackers/public-repo/git/refs{/sha}",- "trees_url": "https://api.github.com/repos/baxterandthehackers/public-repo/git/trees{/sha}",- "statuses_url": "https://api.github.com/repos/baxterandthehackers/public-repo/statuses/{sha}",- "languages_url": "https://api.github.com/repos/baxterandthehackers/public-repo/languages",- "stargazers_url": "https://api.github.com/repos/baxterandthehackers/public-repo/stargazers",- "contributors_url": "https://api.github.com/repos/baxterandthehackers/public-repo/contributors",- "subscribers_url": "https://api.github.com/repos/baxterandthehackers/public-repo/subscribers",- "subscription_url": "https://api.github.com/repos/baxterandthehackers/public-repo/subscription",- "commits_url": "https://api.github.com/repos/baxterandthehackers/public-repo/commits{/sha}",- "git_commits_url": "https://api.github.com/repos/baxterandthehackers/public-repo/git/commits{/sha}",- "comments_url": "https://api.github.com/repos/baxterandthehackers/public-repo/comments{/number}",- "issue_comment_url": "https://api.github.com/repos/baxterandthehackers/public-repo/issues/comments{/number}",- "contents_url": "https://api.github.com/repos/baxterandthehackers/public-repo/contents/{+path}",- "compare_url": "https://api.github.com/repos/baxterandthehackers/public-repo/compare/{base}...{head}",- "merges_url": "https://api.github.com/repos/baxterandthehackers/public-repo/merges",- "archive_url": "https://api.github.com/repos/baxterandthehackers/public-repo/{archive_format}{/ref}",- "downloads_url": "https://api.github.com/repos/baxterandthehackers/public-repo/downloads",- "issues_url": "https://api.github.com/repos/baxterandthehackers/public-repo/issues{/number}",- "pulls_url": "https://api.github.com/repos/baxterandthehackers/public-repo/pulls{/number}",- "milestones_url": "https://api.github.com/repos/baxterandthehackers/public-repo/milestones{/number}",- "notifications_url": "https://api.github.com/repos/baxterandthehackers/public-repo/notifications{?since,all,participating}",- "labels_url": "https://api.github.com/repos/baxterandthehackers/public-repo/labels{/name}",- "releases_url": "https://api.github.com/repos/baxterandthehackers/public-repo/releases{/id}",- "created_at": "2015-05-05T23:40:30Z",- "updated_at": "2015-05-05T23:40:30Z",- "pushed_at": "2015-05-05T23:40:27Z",- "git_url": "git://github.com/baxterandthehackers/public-repo.git",- "ssh_url": "git@github.com:baxterandthehackers/public-repo.git",- "clone_url": "https://github.com/baxterandthehackers/public-repo.git",- "svn_url": "https://github.com/baxterandthehackers/public-repo",- "homepage": null,- "size": 0,- "stargazers_count": 0,- "watchers_count": 0,- "language": null,- "has_issues": false,- "has_downloads": true,- "has_wiki": true,- "has_pages": true,- "forks_count": 0,- "mirror_url": null,- "open_issues_count": 0,- "forks": 0,- "open_issues": 0,- "watchers": 0,- "default_branch": "master"- },- "organization": {- "login": "baxterandthehackers",- "id": 7649605,- "node_id": "MDg6Q2hlY2tSdW4xMjg2MjAyMjg=",- "url": "https://api.github.com/orgs/baxterandthehackers",- "repos_url": "https://api.github.com/orgs/baxterandthehackers/repos",- "events_url": "https://api.github.com/orgs/baxterandthehackers/events",- "members_url": "https://api.github.com/orgs/baxterandthehackers/members{/member}",- "public_members_url": "https://api.github.com/orgs/baxterandthehackers/public_members{/member}",- "avatar_url": "https://avatars.githubusercontent.com/u/7649605?v=3",- "description": null- },- "sender": {- "login": "baxterandthehackers",- "id": 7649605,- "node_id": "MDg6Q2hlY2tSdW4xMjg2MjAyMjg=",- "avatar_url": "https://avatars.githubusercontent.com/u/7649605?v=3",- "gravatar_id": "",- "url": "https://api.github.com/users/baxterandthehackers",- "html_url": "https://github.com/baxterandthehackers",- "followers_url": "https://api.github.com/users/baxterandthehackers/followers",- "following_url": "https://api.github.com/users/baxterandthehackers/following{/other_user}",- "gists_url": "https://api.github.com/users/baxterandthehackers/gists{/gist_id}",- "starred_url": "https://api.github.com/users/baxterandthehackers/starred{/owner}{/repo}",- "subscriptions_url": "https://api.github.com/users/baxterandthehackers/subscriptions",- "organizations_url": "https://api.github.com/users/baxterandthehackers/orgs",- "repos_url": "https://api.github.com/users/baxterandthehackers/repos",- "events_url": "https://api.github.com/users/baxterandthehackers/events{/privacy}",- "received_events_url": "https://api.github.com/users/baxterandthehackers/received_events",- "type": "Organization",- "site_admin": false- }-}+{ + "team": { + "name": "github", + "id": 836012, + "node_id": "MDg6Q2hlY2tSdW4xMjg2MjAyMjg=", + "slug": "github", + "description": "", + "permission": "pull", + "url": "https://api.github.com/teams/836012", + "members_url": "https://api.github.com/teams/836012/members{/member}", + "repositories_url": "https://api.github.com/teams/836012/repos" + }, + "repository": { + "id": 35129393, + "node_id": "MDg6Q2hlY2tSdW4xMjg2MjAyMjg=", + "name": "public-repo", + "full_name": "baxterandthehackers/public-repo", + "owner": { + "login": "baxterandthehackers", + "id": 7649605, + "node_id": "MDg6Q2hlY2tSdW4xMjg2MjAyMjg=", + "avatar_url": "https://avatars.githubusercontent.com/u/7649605?v=3", + "gravatar_id": "", + "url": "https://api.github.com/users/baxterandthehackers", + "html_url": "https://github.com/baxterandthehackers", + "followers_url": "https://api.github.com/users/baxterandthehackers/followers", + "following_url": "https://api.github.com/users/baxterandthehackers/following{/other_user}", + "gists_url": "https://api.github.com/users/baxterandthehackers/gists{/gist_id}", + "starred_url": "https://api.github.com/users/baxterandthehackers/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/baxterandthehackers/subscriptions", + "organizations_url": "https://api.github.com/users/baxterandthehackers/orgs", + "repos_url": "https://api.github.com/users/baxterandthehackers/repos", + "events_url": "https://api.github.com/users/baxterandthehackers/events{/privacy}", + "received_events_url": "https://api.github.com/users/baxterandthehackers/received_events", + "type": "Organization", + "site_admin": false + }, + "private": false, + "html_url": "https://github.com/baxterandthehackers/public-repo", + "description": "", + "fork": true, + "url": "https://api.github.com/repos/baxterandthehackers/public-repo", + "forks_url": "https://api.github.com/repos/baxterandthehackers/public-repo/forks", + "keys_url": "https://api.github.com/repos/baxterandthehackers/public-repo/keys{/key_id}", + "collaborators_url": "https://api.github.com/repos/baxterandthehackers/public-repo/collaborators{/collaborator}", + "teams_url": "https://api.github.com/repos/baxterandthehackers/public-repo/teams", + "hooks_url": "https://api.github.com/repos/baxterandthehackers/public-repo/hooks", + "issue_events_url": "https://api.github.com/repos/baxterandthehackers/public-repo/issues/events{/number}", + "events_url": "https://api.github.com/repos/baxterandthehackers/public-repo/events", + "assignees_url": "https://api.github.com/repos/baxterandthehackers/public-repo/assignees{/user}", + "branches_url": "https://api.github.com/repos/baxterandthehackers/public-repo/branches{/branch}", + "tags_url": "https://api.github.com/repos/baxterandthehackers/public-repo/tags", + "blobs_url": "https://api.github.com/repos/baxterandthehackers/public-repo/git/blobs{/sha}", + "git_tags_url": "https://api.github.com/repos/baxterandthehackers/public-repo/git/tags{/sha}", + "git_refs_url": "https://api.github.com/repos/baxterandthehackers/public-repo/git/refs{/sha}", + "trees_url": "https://api.github.com/repos/baxterandthehackers/public-repo/git/trees{/sha}", + "statuses_url": "https://api.github.com/repos/baxterandthehackers/public-repo/statuses/{sha}", + "languages_url": "https://api.github.com/repos/baxterandthehackers/public-repo/languages", + "stargazers_url": "https://api.github.com/repos/baxterandthehackers/public-repo/stargazers", + "contributors_url": "https://api.github.com/repos/baxterandthehackers/public-repo/contributors", + "subscribers_url": "https://api.github.com/repos/baxterandthehackers/public-repo/subscribers", + "subscription_url": "https://api.github.com/repos/baxterandthehackers/public-repo/subscription", + "commits_url": "https://api.github.com/repos/baxterandthehackers/public-repo/commits{/sha}", + "git_commits_url": "https://api.github.com/repos/baxterandthehackers/public-repo/git/commits{/sha}", + "comments_url": "https://api.github.com/repos/baxterandthehackers/public-repo/comments{/number}", + "issue_comment_url": "https://api.github.com/repos/baxterandthehackers/public-repo/issues/comments{/number}", + "contents_url": "https://api.github.com/repos/baxterandthehackers/public-repo/contents/{+path}", + "compare_url": "https://api.github.com/repos/baxterandthehackers/public-repo/compare/{base}...{head}", + "merges_url": "https://api.github.com/repos/baxterandthehackers/public-repo/merges", + "archive_url": "https://api.github.com/repos/baxterandthehackers/public-repo/{archive_format}{/ref}", + "downloads_url": "https://api.github.com/repos/baxterandthehackers/public-repo/downloads", + "issues_url": "https://api.github.com/repos/baxterandthehackers/public-repo/issues{/number}", + "pulls_url": "https://api.github.com/repos/baxterandthehackers/public-repo/pulls{/number}", + "milestones_url": "https://api.github.com/repos/baxterandthehackers/public-repo/milestones{/number}", + "notifications_url": "https://api.github.com/repos/baxterandthehackers/public-repo/notifications{?since,all,participating}", + "labels_url": "https://api.github.com/repos/baxterandthehackers/public-repo/labels{/name}", + "releases_url": "https://api.github.com/repos/baxterandthehackers/public-repo/releases{/id}", + "created_at": "2015-05-05T23:40:30Z", + "updated_at": "2015-05-05T23:40:30Z", + "pushed_at": "2015-05-05T23:40:27Z", + "git_url": "git://github.com/baxterandthehackers/public-repo.git", + "ssh_url": "git@github.com:baxterandthehackers/public-repo.git", + "clone_url": "https://github.com/baxterandthehackers/public-repo.git", + "svn_url": "https://github.com/baxterandthehackers/public-repo", + "homepage": null, + "size": 0, + "stargazers_count": 0, + "watchers_count": 0, + "language": null, + "has_issues": false, + "has_downloads": true, + "has_wiki": true, + "has_pages": true, + "forks_count": 0, + "mirror_url": null, + "open_issues_count": 0, + "forks": 0, + "open_issues": 0, + "watchers": 0, + "default_branch": "master" + }, + "organization": { + "login": "baxterandthehackers", + "id": 7649605, + "node_id": "MDg6Q2hlY2tSdW4xMjg2MjAyMjg=", + "url": "https://api.github.com/orgs/baxterandthehackers", + "repos_url": "https://api.github.com/orgs/baxterandthehackers/repos", + "events_url": "https://api.github.com/orgs/baxterandthehackers/events", + "members_url": "https://api.github.com/orgs/baxterandthehackers/members{/member}", + "public_members_url": "https://api.github.com/orgs/baxterandthehackers/public_members{/member}", + "avatar_url": "https://avatars.githubusercontent.com/u/7649605?v=3", + "description": null + }, + "sender": { + "login": "baxterandthehackers", + "id": 7649605, + "node_id": "MDg6Q2hlY2tSdW4xMjg2MjAyMjg=", + "avatar_url": "https://avatars.githubusercontent.com/u/7649605?v=3", + "gravatar_id": "", + "url": "https://api.github.com/users/baxterandthehackers", + "html_url": "https://github.com/baxterandthehackers", + "followers_url": "https://api.github.com/users/baxterandthehackers/followers", + "following_url": "https://api.github.com/users/baxterandthehackers/following{/other_user}", + "gists_url": "https://api.github.com/users/baxterandthehackers/gists{/gist_id}", + "starred_url": "https://api.github.com/users/baxterandthehackers/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/baxterandthehackers/subscriptions", + "organizations_url": "https://api.github.com/users/baxterandthehackers/orgs", + "repos_url": "https://api.github.com/users/baxterandthehackers/repos", + "events_url": "https://api.github.com/users/baxterandthehackers/events{/privacy}", + "received_events_url": "https://api.github.com/users/baxterandthehackers/received_events", + "type": "Organization", + "site_admin": false + } +}
fixtures/team-event.json view
@@ -1,49 +1,49 @@-{- "action":"created",- "team":{- "name":"team baxter",- "id":2175394,- "node_id": "MDg6Q2hlY2tSdW4xMjg2MjAyMjg=",- "slug":"team-baxter",- "description":"",- "privacy":"secret",- "url":"https:/api.github.com/teams/2175394",- "members_url":"https:/api.github.com/teams/2175394/members{/member}",- "repositories_url":"https:/api.github.com/teams/2175394/repos",- "permission":"pull"- },- "organization":{- "login":"baxterandthehackers",- "id":4312013,- "node_id": "MDg6Q2hlY2tSdW4xMjg2MjAyMjg=",- "url":"https://api.github.com/orgs/baxterandthehackers",- "repos_url":"https://api.github.com/orgs/baxterandthehackers/repos",- "events_url":"https://api.github.com/orgs/baxterandthehackers/events",- "hooks_url":"https://api.github.com/orgs/baxterandthehackers/hooks",- "issues_url":"https://api.github.com/orgs/baxterandthehackers/issues",- "members_url":"https://api.github.com/orgs/baxterandthehackers/members{/member}",- "public_members_url":"https://api.github.com/orgs/baxterandthehackers/public_members{/member}",- "avatar_url":"https://avatars.githubusercontent.com/u/4312013?v=3",- "description":""- },- "sender": {- "login": "baxterthehacker",- "id": 6752317,- "node_id": "MDg6Q2hlY2tSdW4xMjg2MjAyMjg=",- "avatar_url": "https://avatars.githubusercontent.com/u/6752317?v=3",- "gravatar_id": "",- "url": "https://api.github.com/users/baxterthehacker",- "html_url": "https://github.com/baxterthehacker",- "followers_url": "https://api.github.com/users/baxterthehacker/followers",- "following_url": "https://api.github.com/users/baxterthehacker/following{/other_user}",- "gists_url": "https://api.github.com/users/baxterthehacker/gists{/gist_id}",- "starred_url": "https://api.github.com/users/baxterthehacker/starred{/owner}{/repo}",- "subscriptions_url": "https://api.github.com/users/baxterthehacker/subscriptions",- "organizations_url": "https://api.github.com/users/baxterthehacker/orgs",- "repos_url": "https://api.github.com/users/baxterthehacker/repos",- "events_url": "https://api.github.com/users/baxterthehacker/events{/privacy}",- "received_events_url": "https://api.github.com/users/baxterthehacker/received_events",- "type": "User",- "site_admin": false- }-}+{ + "action":"created", + "team":{ + "name":"team baxter", + "id":2175394, + "node_id": "MDg6Q2hlY2tSdW4xMjg2MjAyMjg=", + "slug":"team-baxter", + "description":"", + "privacy":"secret", + "url":"https:/api.github.com/teams/2175394", + "members_url":"https:/api.github.com/teams/2175394/members{/member}", + "repositories_url":"https:/api.github.com/teams/2175394/repos", + "permission":"pull" + }, + "organization":{ + "login":"baxterandthehackers", + "id":4312013, + "node_id": "MDg6Q2hlY2tSdW4xMjg2MjAyMjg=", + "url":"https://api.github.com/orgs/baxterandthehackers", + "repos_url":"https://api.github.com/orgs/baxterandthehackers/repos", + "events_url":"https://api.github.com/orgs/baxterandthehackers/events", + "hooks_url":"https://api.github.com/orgs/baxterandthehackers/hooks", + "issues_url":"https://api.github.com/orgs/baxterandthehackers/issues", + "members_url":"https://api.github.com/orgs/baxterandthehackers/members{/member}", + "public_members_url":"https://api.github.com/orgs/baxterandthehackers/public_members{/member}", + "avatar_url":"https://avatars.githubusercontent.com/u/4312013?v=3", + "description":"" + }, + "sender": { + "login": "baxterthehacker", + "id": 6752317, + "node_id": "MDg6Q2hlY2tSdW4xMjg2MjAyMjg=", + "avatar_url": "https://avatars.githubusercontent.com/u/6752317?v=3", + "gravatar_id": "", + "url": "https://api.github.com/users/baxterthehacker", + "html_url": "https://github.com/baxterthehacker", + "followers_url": "https://api.github.com/users/baxterthehacker/followers", + "following_url": "https://api.github.com/users/baxterthehacker/following{/other_user}", + "gists_url": "https://api.github.com/users/baxterthehacker/gists{/gist_id}", + "starred_url": "https://api.github.com/users/baxterthehacker/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/baxterthehacker/subscriptions", + "organizations_url": "https://api.github.com/users/baxterthehacker/orgs", + "repos_url": "https://api.github.com/users/baxterthehacker/repos", + "events_url": "https://api.github.com/users/baxterthehacker/events{/privacy}", + "received_events_url": "https://api.github.com/users/baxterthehacker/received_events", + "type": "User", + "site_admin": false + } +}
fixtures/watch-event.json view
@@ -1,112 +1,112 @@-{- "action": "started",- "repository": {- "id": 35129377,- "node_id": "MDg6Q2hlY2tSdW4xMjg2MjAyMjg=",- "name": "public-repo",- "full_name": "baxterthehacker/public-repo",- "owner": {- "login": "baxterthehacker",- "id": 6752317,- "node_id": "MDg6Q2hlY2tSdW4xMjg2MjAyMjg=",- "avatar_url": "https://avatars.githubusercontent.com/u/6752317?v=3",- "gravatar_id": "",- "url": "https://api.github.com/users/baxterthehacker",- "html_url": "https://github.com/baxterthehacker",- "followers_url": "https://api.github.com/users/baxterthehacker/followers",- "following_url": "https://api.github.com/users/baxterthehacker/following{/other_user}",- "gists_url": "https://api.github.com/users/baxterthehacker/gists{/gist_id}",- "starred_url": "https://api.github.com/users/baxterthehacker/starred{/owner}{/repo}",- "subscriptions_url": "https://api.github.com/users/baxterthehacker/subscriptions",- "organizations_url": "https://api.github.com/users/baxterthehacker/orgs",- "repos_url": "https://api.github.com/users/baxterthehacker/repos",- "events_url": "https://api.github.com/users/baxterthehacker/events{/privacy}",- "received_events_url": "https://api.github.com/users/baxterthehacker/received_events",- "type": "User",- "site_admin": false- },- "private": false,- "html_url": "https://github.com/baxterthehacker/public-repo",- "description": "",- "fork": false,- "url": "https://api.github.com/repos/baxterthehacker/public-repo",- "forks_url": "https://api.github.com/repos/baxterthehacker/public-repo/forks",- "keys_url": "https://api.github.com/repos/baxterthehacker/public-repo/keys{/key_id}",- "collaborators_url": "https://api.github.com/repos/baxterthehacker/public-repo/collaborators{/collaborator}",- "teams_url": "https://api.github.com/repos/baxterthehacker/public-repo/teams",- "hooks_url": "https://api.github.com/repos/baxterthehacker/public-repo/hooks",- "issue_events_url": "https://api.github.com/repos/baxterthehacker/public-repo/issues/events{/number}",- "events_url": "https://api.github.com/repos/baxterthehacker/public-repo/events",- "assignees_url": "https://api.github.com/repos/baxterthehacker/public-repo/assignees{/user}",- "branches_url": "https://api.github.com/repos/baxterthehacker/public-repo/branches{/branch}",- "tags_url": "https://api.github.com/repos/baxterthehacker/public-repo/tags",- "blobs_url": "https://api.github.com/repos/baxterthehacker/public-repo/git/blobs{/sha}",- "git_tags_url": "https://api.github.com/repos/baxterthehacker/public-repo/git/tags{/sha}",- "git_refs_url": "https://api.github.com/repos/baxterthehacker/public-repo/git/refs{/sha}",- "trees_url": "https://api.github.com/repos/baxterthehacker/public-repo/git/trees{/sha}",- "statuses_url": "https://api.github.com/repos/baxterthehacker/public-repo/statuses/{sha}",- "languages_url": "https://api.github.com/repos/baxterthehacker/public-repo/languages",- "stargazers_url": "https://api.github.com/repos/baxterthehacker/public-repo/stargazers",- "contributors_url": "https://api.github.com/repos/baxterthehacker/public-repo/contributors",- "subscribers_url": "https://api.github.com/repos/baxterthehacker/public-repo/subscribers",- "subscription_url": "https://api.github.com/repos/baxterthehacker/public-repo/subscription",- "commits_url": "https://api.github.com/repos/baxterthehacker/public-repo/commits{/sha}",- "git_commits_url": "https://api.github.com/repos/baxterthehacker/public-repo/git/commits{/sha}",- "comments_url": "https://api.github.com/repos/baxterthehacker/public-repo/comments{/number}",- "issue_comment_url": "https://api.github.com/repos/baxterthehacker/public-repo/issues/comments{/number}",- "contents_url": "https://api.github.com/repos/baxterthehacker/public-repo/contents/{+path}",- "compare_url": "https://api.github.com/repos/baxterthehacker/public-repo/compare/{base}...{head}",- "merges_url": "https://api.github.com/repos/baxterthehacker/public-repo/merges",- "archive_url": "https://api.github.com/repos/baxterthehacker/public-repo/{archive_format}{/ref}",- "downloads_url": "https://api.github.com/repos/baxterthehacker/public-repo/downloads",- "issues_url": "https://api.github.com/repos/baxterthehacker/public-repo/issues{/number}",- "pulls_url": "https://api.github.com/repos/baxterthehacker/public-repo/pulls{/number}",- "milestones_url": "https://api.github.com/repos/baxterthehacker/public-repo/milestones{/number}",- "notifications_url": "https://api.github.com/repos/baxterthehacker/public-repo/notifications{?since,all,participating}",- "labels_url": "https://api.github.com/repos/baxterthehacker/public-repo/labels{/name}",- "releases_url": "https://api.github.com/repos/baxterthehacker/public-repo/releases{/id}",- "created_at": "2015-05-05T23:40:12Z",- "updated_at": "2015-05-05T23:40:30Z",- "pushed_at": "2015-05-05T23:40:27Z",- "git_url": "git://github.com/baxterthehacker/public-repo.git",- "ssh_url": "git@github.com:baxterthehacker/public-repo.git",- "clone_url": "https://github.com/baxterthehacker/public-repo.git",- "svn_url": "https://github.com/baxterthehacker/public-repo",- "homepage": null,- "size": 0,- "stargazers_count": 0,- "watchers_count": 0,- "language": null,- "has_issues": true,- "has_downloads": true,- "has_wiki": true,- "has_pages": true,- "forks_count": 0,- "mirror_url": null,- "open_issues_count": 2,- "forks": 0,- "open_issues": 2,- "watchers": 0,- "default_branch": "master"- },- "sender": {- "login": "baxterthehacker",- "id": 6752317,- "node_id": "MDg6Q2hlY2tSdW4xMjg2MjAyMjg=",- "avatar_url": "https://avatars.githubusercontent.com/u/6752317?v=3",- "gravatar_id": "",- "url": "https://api.github.com/users/baxterthehacker",- "html_url": "https://github.com/baxterthehacker",- "followers_url": "https://api.github.com/users/baxterthehacker/followers",- "following_url": "https://api.github.com/users/baxterthehacker/following{/other_user}",- "gists_url": "https://api.github.com/users/baxterthehacker/gists{/gist_id}",- "starred_url": "https://api.github.com/users/baxterthehacker/starred{/owner}{/repo}",- "subscriptions_url": "https://api.github.com/users/baxterthehacker/subscriptions",- "organizations_url": "https://api.github.com/users/baxterthehacker/orgs",- "repos_url": "https://api.github.com/users/baxterthehacker/repos",- "events_url": "https://api.github.com/users/baxterthehacker/events{/privacy}",- "received_events_url": "https://api.github.com/users/baxterthehacker/received_events",- "type": "User",- "site_admin": false- }-}+{ + "action": "started", + "repository": { + "id": 35129377, + "node_id": "MDg6Q2hlY2tSdW4xMjg2MjAyMjg=", + "name": "public-repo", + "full_name": "baxterthehacker/public-repo", + "owner": { + "login": "baxterthehacker", + "id": 6752317, + "node_id": "MDg6Q2hlY2tSdW4xMjg2MjAyMjg=", + "avatar_url": "https://avatars.githubusercontent.com/u/6752317?v=3", + "gravatar_id": "", + "url": "https://api.github.com/users/baxterthehacker", + "html_url": "https://github.com/baxterthehacker", + "followers_url": "https://api.github.com/users/baxterthehacker/followers", + "following_url": "https://api.github.com/users/baxterthehacker/following{/other_user}", + "gists_url": "https://api.github.com/users/baxterthehacker/gists{/gist_id}", + "starred_url": "https://api.github.com/users/baxterthehacker/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/baxterthehacker/subscriptions", + "organizations_url": "https://api.github.com/users/baxterthehacker/orgs", + "repos_url": "https://api.github.com/users/baxterthehacker/repos", + "events_url": "https://api.github.com/users/baxterthehacker/events{/privacy}", + "received_events_url": "https://api.github.com/users/baxterthehacker/received_events", + "type": "User", + "site_admin": false + }, + "private": false, + "html_url": "https://github.com/baxterthehacker/public-repo", + "description": "", + "fork": false, + "url": "https://api.github.com/repos/baxterthehacker/public-repo", + "forks_url": "https://api.github.com/repos/baxterthehacker/public-repo/forks", + "keys_url": "https://api.github.com/repos/baxterthehacker/public-repo/keys{/key_id}", + "collaborators_url": "https://api.github.com/repos/baxterthehacker/public-repo/collaborators{/collaborator}", + "teams_url": "https://api.github.com/repos/baxterthehacker/public-repo/teams", + "hooks_url": "https://api.github.com/repos/baxterthehacker/public-repo/hooks", + "issue_events_url": "https://api.github.com/repos/baxterthehacker/public-repo/issues/events{/number}", + "events_url": "https://api.github.com/repos/baxterthehacker/public-repo/events", + "assignees_url": "https://api.github.com/repos/baxterthehacker/public-repo/assignees{/user}", + "branches_url": "https://api.github.com/repos/baxterthehacker/public-repo/branches{/branch}", + "tags_url": "https://api.github.com/repos/baxterthehacker/public-repo/tags", + "blobs_url": "https://api.github.com/repos/baxterthehacker/public-repo/git/blobs{/sha}", + "git_tags_url": "https://api.github.com/repos/baxterthehacker/public-repo/git/tags{/sha}", + "git_refs_url": "https://api.github.com/repos/baxterthehacker/public-repo/git/refs{/sha}", + "trees_url": "https://api.github.com/repos/baxterthehacker/public-repo/git/trees{/sha}", + "statuses_url": "https://api.github.com/repos/baxterthehacker/public-repo/statuses/{sha}", + "languages_url": "https://api.github.com/repos/baxterthehacker/public-repo/languages", + "stargazers_url": "https://api.github.com/repos/baxterthehacker/public-repo/stargazers", + "contributors_url": "https://api.github.com/repos/baxterthehacker/public-repo/contributors", + "subscribers_url": "https://api.github.com/repos/baxterthehacker/public-repo/subscribers", + "subscription_url": "https://api.github.com/repos/baxterthehacker/public-repo/subscription", + "commits_url": "https://api.github.com/repos/baxterthehacker/public-repo/commits{/sha}", + "git_commits_url": "https://api.github.com/repos/baxterthehacker/public-repo/git/commits{/sha}", + "comments_url": "https://api.github.com/repos/baxterthehacker/public-repo/comments{/number}", + "issue_comment_url": "https://api.github.com/repos/baxterthehacker/public-repo/issues/comments{/number}", + "contents_url": "https://api.github.com/repos/baxterthehacker/public-repo/contents/{+path}", + "compare_url": "https://api.github.com/repos/baxterthehacker/public-repo/compare/{base}...{head}", + "merges_url": "https://api.github.com/repos/baxterthehacker/public-repo/merges", + "archive_url": "https://api.github.com/repos/baxterthehacker/public-repo/{archive_format}{/ref}", + "downloads_url": "https://api.github.com/repos/baxterthehacker/public-repo/downloads", + "issues_url": "https://api.github.com/repos/baxterthehacker/public-repo/issues{/number}", + "pulls_url": "https://api.github.com/repos/baxterthehacker/public-repo/pulls{/number}", + "milestones_url": "https://api.github.com/repos/baxterthehacker/public-repo/milestones{/number}", + "notifications_url": "https://api.github.com/repos/baxterthehacker/public-repo/notifications{?since,all,participating}", + "labels_url": "https://api.github.com/repos/baxterthehacker/public-repo/labels{/name}", + "releases_url": "https://api.github.com/repos/baxterthehacker/public-repo/releases{/id}", + "created_at": "2015-05-05T23:40:12Z", + "updated_at": "2015-05-05T23:40:30Z", + "pushed_at": "2015-05-05T23:40:27Z", + "git_url": "git://github.com/baxterthehacker/public-repo.git", + "ssh_url": "git@github.com:baxterthehacker/public-repo.git", + "clone_url": "https://github.com/baxterthehacker/public-repo.git", + "svn_url": "https://github.com/baxterthehacker/public-repo", + "homepage": null, + "size": 0, + "stargazers_count": 0, + "watchers_count": 0, + "language": null, + "has_issues": true, + "has_downloads": true, + "has_wiki": true, + "has_pages": true, + "forks_count": 0, + "mirror_url": null, + "open_issues_count": 2, + "forks": 0, + "open_issues": 2, + "watchers": 0, + "default_branch": "master" + }, + "sender": { + "login": "baxterthehacker", + "id": 6752317, + "node_id": "MDg6Q2hlY2tSdW4xMjg2MjAyMjg=", + "avatar_url": "https://avatars.githubusercontent.com/u/6752317?v=3", + "gravatar_id": "", + "url": "https://api.github.com/users/baxterthehacker", + "html_url": "https://github.com/baxterthehacker", + "followers_url": "https://api.github.com/users/baxterthehacker/followers", + "following_url": "https://api.github.com/users/baxterthehacker/following{/other_user}", + "gists_url": "https://api.github.com/users/baxterthehacker/gists{/gist_id}", + "starred_url": "https://api.github.com/users/baxterthehacker/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/baxterthehacker/subscriptions", + "organizations_url": "https://api.github.com/users/baxterthehacker/orgs", + "repos_url": "https://api.github.com/users/baxterthehacker/repos", + "events_url": "https://api.github.com/users/baxterthehacker/events{/privacy}", + "received_events_url": "https://api.github.com/users/baxterthehacker/received_events", + "type": "User", + "site_admin": false + } +}
github-webhooks.cabal view
@@ -1,132 +1,141 @@-cabal-version: 1.12---- This file has been generated from package.yaml by hpack version 0.31.2.------ see: https://github.com/sol/hpack------ hash: fc4ab955c62cdd181b1557e931d1c790d5b28eb4ca7c837d32a3c0749f8d412d--name: github-webhooks-version: 0.15.0-synopsis: Aeson instances for GitHub Webhook payloads.-description: Complete instances for decoding GitHub Webhook payloads (using @aeson@). See the README at <https://github.com/onrock-eng/github-webhooks#readme> for examples.-category: GitHub-homepage: https://github.com/onrock-eng/github-webhooks#readme-bug-reports: https://github.com/onrock-eng/github-webhooks/issues-author: Kyle Van Berendonck <kyle.vanberendonck@onrock.online>,- Christian Sakai <christianmsakai@gmail.com>,- Thomas DuBuisson <thomas.dubuisson@gmail.com>,- Rob Berry,- Domen Kozar <domen@dev.si>,- Alistair Burrowes,- Matthew Bauer,- Julien Debon-maintainer: Kyle Van Berendonck <foss@onrock.online>-copyright: (c) 2017-2020 ONROCK-license: MIT-license-file: LICENSE-build-type: Simple-extra-source-files:- package.yaml- stack.yaml- stack-examples.yaml- stack-ghc-7.10.yaml- stack-ghc-7.8.yaml- stack-ghc-8.0.yaml- stack-ghc-8.2.yaml- stack-ghc-8.4.yaml- stack-ghc-8.6.yaml- stack-ghc-8.8.yaml- stack-nightly.yaml- CHANGELOG.md- fixtures/check-run-event.json- fixtures/check-suite-event.json- fixtures/commit-comment-event.json- fixtures/create-event.json- fixtures/delete-event.json- fixtures/deployment-event.json- fixtures/deployment-status-event.json- fixtures/fork-event.json- fixtures/gollum-event.json- fixtures/installation-event.json- fixtures/installation-repo-event.json- fixtures/issue-comment-event.json- fixtures/issues-event.json- fixtures/label-event.json- fixtures/member-event.json- fixtures/membership-event.json- fixtures/milestone-event.json- fixtures/org-block-event.json- fixtures/organization-event.json- fixtures/page-build-event.json- fixtures/project-card-event.json- fixtures/project-column-event.json- fixtures/project-event.json- fixtures/public-event.json- fixtures/pull-request-event-null-body.json- fixtures/pull-request-event.json- fixtures/pull-request-review-comment-event.json- fixtures/pull-request-review-event.json- fixtures/push-event.json- fixtures/release-event.json- fixtures/repository-event.json- fixtures/status-event.json- fixtures/team-add-event.json- fixtures/team-event.json- fixtures/watch-event.json--source-repository head- type: git- location: https://github.com/onrock-eng/github-webhooks--flag ci- description: A stricter build designed for continuous integration.- manual: True- default: False--library- hs-source-dirs:- src- default-extensions: DeriveDataTypeable DeriveGeneric OverloadedStrings- build-depends:- aeson- , base ==4.*- , base16-bytestring- , bytestring- , cryptonite- , deepseq- , deepseq-generics- , memory- , text- , time- , vector- if flag(ci)- ghc-options: -Wall -fwarn-incomplete-uni-patterns -fwarn-incomplete-record-updates -ddump-to-file -ddump-hi- exposed-modules:- GitHub.Data.Webhooks.Events- GitHub.Data.Webhooks.Payload- GitHub.Data.Webhooks.Secure- other-modules:- Paths_github_webhooks- default-language: Haskell2010--test-suite spec- type: exitcode-stdio-1.0- main-is: Spec.hs- hs-source-dirs:- spec- default-extensions: DeriveDataTypeable DeriveGeneric OverloadedStrings ScopedTypeVariables- build-depends:- aeson- , base ==4.*- , bytestring- , github-webhooks- , hspec ==2.*- , text- , vector- if flag(ci)- ghc-options: -Wall -fwarn-incomplete-uni-patterns -fwarn-incomplete-record-updates -ddump-to-file -ddump-hi- other-modules:- DecodeEventsSpec- Paths_github_webhooks- default-language: Haskell2010+cabal-version: 1.12 + +-- This file has been generated from package.yaml by hpack version 0.34.4. +-- +-- see: https://github.com/sol/hpack + +name: github-webhooks +version: 0.16.0 +synopsis: Aeson instances for GitHub Webhook payloads. +description: Complete instances for decoding GitHub Webhook payloads (using @aeson@). See the README at <https://github.com/cuedo/github-webhooks#readme> for examples. Sponsored by <https://cuedo.com.au>. +category: GitHub +homepage: https://github.com/cuedo/github-webhooks#readme +bug-reports: https://github.com/cuedo/github-webhooks/issues +author: Kyle Van Berendonck <kyle.vanberendonck@cuedo.com.au>, + Christian Sakai <christianmsakai@gmail.com>, + Thomas DuBuisson <thomas.dubuisson@gmail.com>, + Rob Berry, + Domen Kozar <domen@dev.si>, + Alistair Burrowes, + Matthew Bauer, + Julien Debon, + Robert Hensing +maintainer: Kyle Van Berendonck <foss@cuedo.com.au> +copyright: (c) 2017-2022 Cuedo Control Engineering +license: MIT +license-file: LICENSE +build-type: Simple +extra-source-files: + package.yaml + stack.yaml + stack-examples.yaml + stack-ghc-7.10.yaml + stack-ghc-7.8.yaml + stack-ghc-8.0.yaml + stack-ghc-8.10.yaml + stack-ghc-8.2.yaml + stack-ghc-8.4.yaml + stack-ghc-8.6.yaml + stack-ghc-8.8.yaml + stack-nightly.yaml + CHANGELOG.md + fixtures/check-run-event.json + fixtures/check-suite-event.json + fixtures/commit-comment-event.json + fixtures/create-event.json + fixtures/delete-event.json + fixtures/deployment-event.json + fixtures/deployment-status-event.json + fixtures/fork-event.json + fixtures/gollum-event.json + fixtures/installation-event.json + fixtures/installation-repo-event.json + fixtures/issue-comment-event.json + fixtures/issues-event.json + fixtures/label-event.json + fixtures/marketplace-purchase-event.json + fixtures/member-event.json + fixtures/membership-event.json + fixtures/milestone-event.json + fixtures/org-block-event.json + fixtures/organization-event.json + fixtures/page-build-event.json + fixtures/project-card-event.json + fixtures/project-column-event.json + fixtures/project-event.json + fixtures/public-event.json + fixtures/pull-request-delete-null-head-repo-anomaly.json + fixtures/pull-request-event-null-body.json + fixtures/pull-request-event.json + fixtures/pull-request-review-comment-event.json + fixtures/pull-request-review-event.json + fixtures/push-event.json + fixtures/release-event.json + fixtures/repository-event.json + fixtures/status-event.json + fixtures/team-add-event.json + fixtures/team-event.json + fixtures/watch-event.json + +source-repository head + type: git + location: https://github.com/cuedo/github-webhooks + +flag ci + description: A stricter build designed for continuous integration. + manual: True + default: False + +library + exposed-modules: + GitHub.Data.Webhooks.Events + GitHub.Data.Webhooks.Payload + GitHub.Data.Webhooks.Secure + other-modules: + Paths_github_webhooks + hs-source-dirs: + src + default-extensions: + DeriveDataTypeable + DeriveGeneric + OverloadedStrings + build-depends: + aeson + , base ==4.* + , base16-bytestring + , bytestring + , cryptonite + , deepseq + , deepseq-generics + , memory + , text + , time + , vector + if flag(ci) + ghc-options: -Wall -fwarn-incomplete-uni-patterns -fwarn-incomplete-record-updates -ddump-to-file -ddump-hi + default-language: Haskell2010 + +test-suite spec + type: exitcode-stdio-1.0 + main-is: Spec.hs + other-modules: + DecodeEventsSpec + Paths_github_webhooks + hs-source-dirs: + spec + default-extensions: + DeriveDataTypeable + DeriveGeneric + OverloadedStrings + ScopedTypeVariables + build-depends: + aeson + , base ==4.* + , bytestring + , github-webhooks + , hspec ==2.* + , text + , vector + if flag(ci) + ghc-options: -Wall -fwarn-incomplete-uni-patterns -fwarn-incomplete-record-updates -ddump-to-file -ddump-hi + default-language: Haskell2010
package.yaml view
@@ -1,69 +1,71 @@-name: github-webhooks-version: 0.15.0--category: GitHub-license: MIT-extra-source-files:- - package.yaml- - stack.yaml- - stack-*.yaml- - CHANGELOG.md- - fixtures/*.json-synopsis: Aeson instances for GitHub Webhook payloads.-copyright: (c) 2017-2020 ONROCK-author:- - Kyle Van Berendonck <kyle.vanberendonck@onrock.online>- - Christian Sakai <christianmsakai@gmail.com>- - Thomas DuBuisson <thomas.dubuisson@gmail.com>- - Rob Berry- - Domen Kozar <domen@dev.si>- - Alistair Burrowes- - Matthew Bauer- - Julien Debon-maintainer: Kyle Van Berendonck <foss@onrock.online>-github: onrock-eng/github-webhooks-description:- Complete instances for decoding GitHub Webhook payloads (using @aeson@).- See the README at <https://github.com/onrock-eng/github-webhooks#readme> for examples.-flags:- ci:- description: A stricter build designed for continuous integration.- default: false- manual: true---when:- - condition: flag(ci)- ghc-options: -Wall -fwarn-incomplete-uni-patterns -fwarn-incomplete-record-updates -ddump-to-file -ddump-hi--default-extensions:- - DeriveDataTypeable- - DeriveGeneric- - OverloadedStrings--dependencies:- - base == 4.*- - aeson- - bytestring- - text- - vector--library:- source-dirs: src- dependencies:- - base16-bytestring- - cryptonite- - deepseq- - deepseq-generics- - memory- - time--tests:- spec:- source-dirs: spec- main: Spec.hs- dependencies:- - github-webhooks- - hspec == 2.*- default-extensions:- - ScopedTypeVariables+name: github-webhooks +version: 0.16.0 + +category: GitHub +license: MIT +extra-source-files: + - package.yaml + - stack.yaml + - stack-*.yaml + - CHANGELOG.md + - fixtures/*.json +synopsis: Aeson instances for GitHub Webhook payloads. +copyright: (c) 2017-2022 Cuedo Control Engineering +author: + - Kyle Van Berendonck <kyle.vanberendonck@cuedo.com.au> + - Christian Sakai <christianmsakai@gmail.com> + - Thomas DuBuisson <thomas.dubuisson@gmail.com> + - Rob Berry + - Domen Kozar <domen@dev.si> + - Alistair Burrowes + - Matthew Bauer + - Julien Debon + - Robert Hensing +maintainer: Kyle Van Berendonck <foss@cuedo.com.au> +github: cuedo/github-webhooks +description: + Complete instances for decoding GitHub Webhook payloads (using @aeson@). + See the README at <https://github.com/cuedo/github-webhooks#readme> for examples. + Sponsored by <https://cuedo.com.au>. +flags: + ci: + description: A stricter build designed for continuous integration. + default: false + manual: true + + +when: + - condition: flag(ci) + ghc-options: -Wall -fwarn-incomplete-uni-patterns -fwarn-incomplete-record-updates -ddump-to-file -ddump-hi + +default-extensions: + - DeriveDataTypeable + - DeriveGeneric + - OverloadedStrings + +dependencies: + - base == 4.* + - aeson + - bytestring + - text + - vector + +library: + source-dirs: src + dependencies: + - base16-bytestring + - cryptonite + - deepseq + - deepseq-generics + - memory + - time + +tests: + spec: + source-dirs: spec + main: Spec.hs + dependencies: + - github-webhooks + - hspec == 2.* + default-extensions: + - ScopedTypeVariables
spec/DecodeEventsSpec.hs view
@@ -1,6009 +1,6417 @@--- | Smoke tests to make sure that the Aeson FromJSON instances work as expected.-module DecodeEventsSpec- ( spec- ) where--import Test.Hspec-import Control.Monad ( void )-import Data.Aeson ( FromJSON, eitherDecode' )-import qualified Data.Text as T-import qualified Data.ByteString.Lazy as BSL-import qualified Data.Vector as V--import GitHub.Data.Webhooks.Events-import GitHub.Data.Webhooks.Payload----- Run GHCi:--- $ stack install pretty-show--- $ stack ghci --test pretty-show---- Paste:-{--import Data.Aeson-import qualified Data.ByteString.Lazy as BSL-import GitHub.Data.Webhooks.Events-import Text.Show.Pretty-import Text.PrettyPrint.HughesPJ--}---- Use:--- do { x <- BSL.readFile "fixtures/watch-event.json";--- putStrLn $ renderStyle (style {lineLength=200}) . ppDoc $ either error id (eitherDecode' x :: Either String WatchEvent) }--fixtureShouldMatch :: (FromJSON a, Show a, Eq a) => String -> a -> IO ()-fixtureShouldMatch path expected = do- str <- BSL.readFile path- let output = eitherDecode' str- void $ output `shouldBe` Right expected--spec :: Spec-spec = do- it "can decode CheckSuiteEvent" $ fixtureShouldMatch "fixtures/check-suite-event.json" checkSuiteEventFixture- it "can decode CheckRunEvent" $ fixtureShouldMatch "fixtures/check-run-event.json" checkRunEventFixture- it "can decode CommitCommentEvent" $ fixtureShouldMatch "fixtures/commit-comment-event.json" commitCommentEventFixture- it "can decode CreateEvent" $ fixtureShouldMatch "fixtures/create-event.json" createEventFixture- it "can decode DeleteEvent" $ fixtureShouldMatch "fixtures/delete-event.json" deleteEventFixture- it "can decode DeploymentEvent" $ fixtureShouldMatch "fixtures/deployment-event.json" deploymentEventFixture- it "can decode DeploymentStatusEvent" $ fixtureShouldMatch "fixtures/deployment-status-event.json" deploymentStatusEventFixture- it "can decode ForkEvent" $ fixtureShouldMatch "fixtures/fork-event.json" forkEventFixture- it "can decode GollumEvent" $ fixtureShouldMatch "fixtures/gollum-event.json" gollumEventFixture- it "can decode InstallationEvent" $ fixtureShouldMatch "fixtures/installation-event.json" installationEventFixture- it "can decode InstallationRepositoriesEvent" $ fixtureShouldMatch "fixtures/installation-repo-event.json" installationRepoEventFixture- it "can decode IssueCommentEvent" $ fixtureShouldMatch "fixtures/issue-comment-event.json" issueCommentEventFixture- it "can decode IssuesEvent" $ fixtureShouldMatch "fixtures/issues-event.json" issuesEventFixture- it "can decode LabelEvent" $ fixtureShouldMatch "fixtures/label-event.json" labelEventFixture- it "can decode MemberEvent" $ fixtureShouldMatch "fixtures/member-event.json" memberEventFixture- it "can decode MembershipEvent" $ fixtureShouldMatch "fixtures/membership-event.json" membershipEventFixture- it "can decode MilestoneEvent" $ fixtureShouldMatch "fixtures/milestone-event.json" milestoneEventFixture- it "can decode OrgBlockEvent" $ fixtureShouldMatch "fixtures/org-block-event.json" orgBlockEventFixture- it "can decode OrganizationEvent" $ fixtureShouldMatch "fixtures/organization-event.json" organizationEventFixture- it "can decode PageBuildEvent" $ fixtureShouldMatch "fixtures/page-build-event.json" pageBuildEventFixture- it "can decode ProjectCardEvent" $ fixtureShouldMatch "fixtures/project-card-event.json" projectCardEventFixture- it "can decode ProjectColumnEvent" $ fixtureShouldMatch "fixtures/project-column-event.json" projectColumnEventFixture- it "can decode ProjectEvent" $ fixtureShouldMatch "fixtures/project-event.json" projectEventFixture- it "can decode PublicEvent" $ fixtureShouldMatch "fixtures/public-event.json" publicEventFixture- it "can decode PullRequestEvent" $ fixtureShouldMatch "fixtures/pull-request-event.json" pullRequestEventFixture- it "can decode PullRequestEvent when body is null" $ fixtureShouldMatch "fixtures/pull-request-event-null-body.json" pullRequestEventNullBodyFixture- it "can decode PullRequestReviewCommentEvent" $ fixtureShouldMatch "fixtures/pull-request-review-comment-event.json" pullRequestReviewCommentEventFixture- it "can decode PullRequestReviewEvent" $ fixtureShouldMatch "fixtures/pull-request-review-event.json" pullRequestReviewEventFixture- it "can decode PushEvent" $ fixtureShouldMatch "fixtures/push-event.json" pushEventFixture- it "can decode ReleaseEvent" $ fixtureShouldMatch "fixtures/release-event.json" releaseEventFixture- it "can decode RepositoryEvent" $ fixtureShouldMatch "fixtures/repository-event.json" repositoryEventFixture- it "can decode StatusEvent" $ fixtureShouldMatch "fixtures/status-event.json" statusEventFixture- it "can decode TeamAddEvent" $ fixtureShouldMatch "fixtures/team-add-event.json" teamAddEventFixture- it "can decode TeamEvent" $ fixtureShouldMatch "fixtures/team-event.json" teamEventFixture- it "can decode WatchEvent" $ fixtureShouldMatch "fixtures/watch-event.json" watchEventFixture----- Fixtures--- These correspond to the expected decoded output of the above JSON files.--checkSuiteEventFixture :: CheckSuiteEvent-checkSuiteEventFixture = CheckSuiteEvent- { evCheckSuiteAction = CheckSuiteEventActionCompleted- , evCheckSuiteCheckSuite =- HookCheckSuite- { whCheckSuiteId = 12341234111- , whCheckSuiteNodeId = "MDg6Q2hlY2tSdW4xMjg2MjAyMjg="- , whCheckSuiteHeadBranch = Just "test-pr"- , whCheckSuiteHeadSha = "45deaf5013c757e58e2665849c3fd3add3edfa59"- , whCheckSuiteStatus = HookCheckSuiteStatusCompleted- , whCheckSuiteConclusion = Just HookCheckSuiteConclusionActionRequired- , whCheckSuiteUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/check-suites/123451234"- , whCheckSuiteBeforeSha = Just "15c99c3e0b9d840d8465be47813cf39686815f2e"- , whCheckSuiteAfterSha = "45deaf5013c757e58e2665849c3fd3add3edfa59"- , whCheckSuitePullRequests =- V.fromList [- HookChecksPullRequest- { whChecksPullRequestUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/pulls/1"- , whChecksPullRequestId = 12345123222- , whChecksPullRequestNumber = 1- , whChecksPullRequestHead =- HookChecksPullRequestTarget- { whChecksPullRequestTargetSha = "a68c473cf629b651f6e615c7d0eea95811d2db3d"- , whChecksPullRequestTargetRef = "test-pr"- , whChecksPullRequestTargetRepo =- HookChecksPullRequestRepository- { whChecksPullRequestRepositoryId = 12345123333- , whChecksPullRequestRepositoryUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo"- , whChecksPullRequestRepositoryName = "public-repo"- }- }- , whChecksPullRequestBase =- HookChecksPullRequestTarget- { whChecksPullRequestTargetSha = "45deaf5013c757e58e2665849c3fd3add3edfa59"- , whChecksPullRequestTargetRef = "master"- , whChecksPullRequestTargetRepo =- HookChecksPullRequestRepository- { whChecksPullRequestRepositoryId = 123451234444- , whChecksPullRequestRepositoryUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo"- , whChecksPullRequestRepositoryName = "public-repo"- }- }- }- ]- , whCheckSuiteCreatedAt = read "2020-02-18 00:54:04Z"- , whCheckSuiteUpdatedAt = read "2020-02-18 00:54:04Z"- , whCheckSuiteLatestCheckRunsCount = Just 0- , whCheckSuiteCheckRunsUrl = Just (URL "https://api.github.com/repos/baxterthehacker/public-repo/check-suites/12341234111/check-runs")- , whCheckSuiteHeadCommit =- Just- HookCheckSuiteCommit- { whCheckSuiteCommitSha = "45deaf5013c757e58e2665849c3fd3add3edfa59"- , whCheckSuiteCommitAuthor =- HookSimpleUser- { whSimplUserName = "baxterthehacker"- , whSimplUserEmail = "baxterthehacker@users.noreply.github.com"- , whSimplUserLogin = Nothing- }- , whCheckSuiteCommitCommitter =- HookSimpleUser- { whSimplUserName = "baxterthehacker"- , whSimplUserEmail = "baxterthehacker@users.noreply.github.com"- , whSimplUserLogin = Nothing- }- }- }- , evCheckSuiteRepository =- HookRepository- { whRepoId = 35129377- , whRepoNodeId = "MDg6Q2hlY2tSdW4xMjg2MjAyMjg="- , whRepoName = "public-repo"- , whRepoFullName = "baxterthehacker/public-repo"- , whRepoOwner =- Right HookUser- { whUserLogin = "baxterthehacker"- , whUserId = 6752317- , whUserNodeId = "MDg6Q2hlY2tSdW4xMjg2MjAyMjg="- , whUserAvatarUrl = URL "https://avatars.githubusercontent.com/u/6752317?v=3"- , whUserGravatarId = URL ""- , whUserUrl = URL "https://api.github.com/users/baxterthehacker"- , whUserHtmlUrl = URL "https://github.com/baxterthehacker"- , whUserFollowersUrl = URL "https://api.github.com/users/baxterthehacker/followers"- , whUserFollowingUrl = URL "https://api.github.com/users/baxterthehacker/following{/other_user}"- , whUserGistsUrl = URL "https://api.github.com/users/baxterthehacker/gists{/gist_id}"- , whUserStarredUrl = URL "https://api.github.com/users/baxterthehacker/starred{/owner}{/repo}"- , whUserSubscriptionsUrl = URL "https://api.github.com/users/baxterthehacker/subscriptions"- , whUserOrganizationsUrl = URL "https://api.github.com/users/baxterthehacker/orgs"- , whUserReposUrl = URL "https://api.github.com/users/baxterthehacker/repos"- , whUserEventsUrl = URL "https://api.github.com/users/baxterthehacker/events{/privacy}"- , whUserReceivedEventsUrl = URL "https://api.github.com/users/baxterthehacker/received_events"- , whUserType = OwnerOrganization- , whUserIsAdminOfSite = False- }- , whRepoIsPrivate = False- , whRepoHtmlUrl = URL "https://github.com/baxterthehacker/public-repo"- , whRepoDescription = ""- , whRepoIsAFork = False- , whRepoUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo"- , whRepoForksUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/forks"- , whRepoKeysUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/keys{/key_id}"- , whRepoCollaboratorsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/collaborators{/collaborator}"- , whRepoTeamsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/teams"- , whRepoHooksUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/hooks"- , whRepoIssueEventsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/issues/events{/number}"- , whRepoEventsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/events"- , whRepoAssigneesUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/assignees{/user}"- , whRepoBranchesUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/branches{/branch}"- , whRepoTagsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/tags"- , whRepoBlobsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/git/blobs{/sha}"- , whRepoGitTagsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/git/tags{/sha}"- , whRepoGitRefsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/git/refs{/sha}"- , whRepoTreesUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/git/trees{/sha}"- , whRepoStatusesUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/statuses/{sha}"- , whRepoLanguagesUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/languages"- , whRepoStargazersUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/stargazers"- , whRepoContributorsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/contributors"- , whRepoSubscribersUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/subscribers"- , whRepoSubscriptionUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/subscription"- , whRepoCommitsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/commits{/sha}"- , whRepoGitCommitsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/git/commits{/sha}"- , whRepoCommentsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/comments{/number}"- , whRepoIssueCommentsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/issues/comments{/number}"- , whRepoContentsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/contents/{+path}"- , whRepoCompareUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/compare/{base}...{head}"- , whRepoMergesUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/merges"- , whRepoArchiveUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/{archive_format}{/ref}"- , whRepoDownloadsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/downloads"- , whRepoIssuesUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/issues{/number}"- , whRepoPullsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/pulls{/number}"- , whRepoMilestonesUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/milestones{/number}"- , whRepoNotificationsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/notifications{?since,all,participating}"- , whRepoLabelsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/labels{/name}"- , whRepoReleasesUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/releases{/id}"- , whRepoCreatedAt = read "2015-05-05 23:40:12Z"- , whRepoUpdatedAt = read "2015-05-05 23:40:12Z"- , whRepoPushedAt = read "2015-05-05 23:40:27Z"- , whRepoGitUrl = URL "git://github.com/baxterthehacker/public-repo.git"- , whRepoSshUrl = URL "git@github.com:baxterthehacker/public-repo.git"- , whRepoCloneUrl = URL "https://github.com/baxterthehacker/public-repo.git"- , whRepoSvnUrl = URL "https://github.com/baxterthehacker/public-repo"- , whRepoHomepage = Nothing- , whRepoSize = 0- , whRepoStargazersCount = 0- , whRepoWatchersCount = 0- , whRepoLanguage = Nothing- , whRepoHasIssues = True- , whRepoHasDownloads = True- , whRepoHasWiki = True- , whRepoHasPages = True- , whRepoForkCount = 0- , whRepoMirrorUrl = Nothing- , whRepoOpenIssuesCount = 2- , whRepoDefaultBranchName = "master"- }- , evCheckSuiteOrganization =- Just- HookOrganization- { whOrgLogin = "baxterandthehackers"- , whOrgId = 4312013- , whOrgNodeId = "MDg6Q2hlY2tSdW4xMjg2MjAyMjg="- , whOrgUrl = URL "https://api.github.com/orgs/baxterandthehackers"- , whOrgReposUrl = URL "https://api.github.com/orgs/baxterandthehackers/repos"- , whOrgEventsUrl = URL "https://api.github.com/orgs/baxterandthehackers/events"- , whOrgHooksUrl = Just (URL "https://api.github.com/orgs/baxterandthehackers/hooks")- , whOrgIssuesUrl = Just (URL "https://api.github.com/orgs/baxterandthehackers/issues")- , whOrgMembersUrl = URL "https://api.github.com/orgs/baxterandthehackers/members{/member}"- , whOrgPublicMembersUrl = URL "https://api.github.com/orgs/baxterandthehackers/public_members{/member}"- , whOrgAvatarUrl = URL "https://avatars.githubusercontent.com/u/4312013?v=3"- , whOrgDescription = T.empty- }- , evCheckSuiteSender =- HookUser- { whUserLogin = "baxterthehacker"- , whUserId = 6752317- , whUserNodeId = "MDg6Q2hlY2tSdW4xMjg2MjAyMjg="- , whUserAvatarUrl = URL "https://avatars.githubusercontent.com/u/6752317?v=3"- , whUserGravatarId = URL ""- , whUserUrl = URL "https://api.github.com/users/baxterthehacker"- , whUserHtmlUrl = URL "https://github.com/baxterthehacker"- , whUserFollowersUrl = URL "https://api.github.com/users/baxterthehacker/followers"- , whUserFollowingUrl = URL "https://api.github.com/users/baxterthehacker/following{/other_user}"- , whUserGistsUrl = URL "https://api.github.com/users/baxterthehacker/gists{/gist_id}"- , whUserStarredUrl = URL "https://api.github.com/users/baxterthehacker/starred{/owner}{/repo}"- , whUserSubscriptionsUrl = URL "https://api.github.com/users/baxterthehacker/subscriptions"- , whUserOrganizationsUrl = URL "https://api.github.com/users/baxterthehacker/orgs"- , whUserReposUrl = URL "https://api.github.com/users/baxterthehacker/repos"- , whUserEventsUrl = URL "https://api.github.com/users/baxterthehacker/events{/privacy}"- , whUserReceivedEventsUrl = URL "https://api.github.com/users/baxterthehacker/received_events"- , whUserType = OwnerUser- , whUserIsAdminOfSite = False- }- , evCheckSuiteInstallation =- Just- HookChecksInstallation- { whChecksInstallationId = 1234123- , whChecksInstallationNodeId = "MDg6Q2hlY2tSdW4xMjg2MjAyMjg="- }- }--checkRunEventFixture :: CheckRunEvent-checkRunEventFixture = CheckRunEvent- { evCheckRunAction = CheckRunEventActionRequestedAction- , evCheckRunCheckRun =- HookCheckRun- { whCheckRunId = 123412411- , whCheckRunNodeId = "MDg6Q2hlY2tSdW4xMjg2MjAyMjg="- , whCheckRunHeadSha = "45deaf5013c757e58e2665849c3fd3add3edfa59"- , whCheckRunExternalId = ""- , whCheckRunUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/check-runs/454339238"- , whCheckRunHtmlUrl = URL"https://github.com/baxterthehacker/public-repo/runs/454339238"- , whCheckRunDetailsUrl = URL "https://www.baxterthehacker.com"- , whCheckRunStatus = HookCheckRunStatusCompleted- , whCheckRunConclusion = Just HookCheckRunConclusionStale- , whCheckRunStartedAt = read "2020-02-19 02:44:54Z"- , whCheckRunCompletedAt = Nothing- , whCheckRunOutput =- HookCheckRunOutput- { whCheckRunOutputTitle = Nothing- , whCheckRunOutputSummary = Nothing- , whCheckRunOutputText = Nothing- , whCheckRunOutputAnnotationsCount = 0- , whCheckRunOutputAnnotationsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/check-runs/454339238/annotations"- }- , whCheckRunName = "Test Check Run"- , whCheckRunCheckSuite =- HookCheckSuite- { whCheckSuiteId = 12341234111- , whCheckSuiteNodeId = "MDg6Q2hlY2tSdW4xMjg2MjAyMjg="- , whCheckSuiteHeadBranch = Just "test-pr"- , whCheckSuiteHeadSha = "45deaf5013c757e58e2665849c3fd3add3edfa59"- , whCheckSuiteStatus = HookCheckSuiteStatusQueued- , whCheckSuiteConclusion = Nothing- , whCheckSuiteUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/check-suites/123451234"- , whCheckSuiteBeforeSha = Just "15c99c3e0b9d840d8465be47813cf39686815f2e"- , whCheckSuiteAfterSha = "45deaf5013c757e58e2665849c3fd3add3edfa59"- , whCheckSuitePullRequests =- V.fromList [- HookChecksPullRequest- { whChecksPullRequestUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/pulls/1"- , whChecksPullRequestId = 12345123222- , whChecksPullRequestNumber = 1- , whChecksPullRequestHead =- HookChecksPullRequestTarget- { whChecksPullRequestTargetSha = "a68c473cf629b651f6e615c7d0eea95811d2db3d"- , whChecksPullRequestTargetRef = "test-pr"- , whChecksPullRequestTargetRepo =- HookChecksPullRequestRepository- { whChecksPullRequestRepositoryId = 12345123333- , whChecksPullRequestRepositoryUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo"- , whChecksPullRequestRepositoryName = "public-repo"- }- }- , whChecksPullRequestBase =- HookChecksPullRequestTarget- { whChecksPullRequestTargetSha = "45deaf5013c757e58e2665849c3fd3add3edfa59"- , whChecksPullRequestTargetRef = "master"- , whChecksPullRequestTargetRepo =- HookChecksPullRequestRepository- { whChecksPullRequestRepositoryId = 123451234444- , whChecksPullRequestRepositoryUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo"- , whChecksPullRequestRepositoryName = "public-repo"- }- }- }- ]- , whCheckSuiteCreatedAt = read "2020-02-18 00:54:04Z"- , whCheckSuiteUpdatedAt = read "2020-02-18 00:54:04Z"- , whCheckSuiteLatestCheckRunsCount = Nothing- , whCheckSuiteCheckRunsUrl = Nothing- , whCheckSuiteHeadCommit = Nothing- }- , whCheckRunPullRequests =- V.fromList [- HookChecksPullRequest- { whChecksPullRequestUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/pulls/1"- , whChecksPullRequestId = 12345123222- , whChecksPullRequestNumber = 1- , whChecksPullRequestHead =- HookChecksPullRequestTarget- { whChecksPullRequestTargetSha = "a68c473cf629b651f6e615c7d0eea95811d2db3d"- , whChecksPullRequestTargetRef = "test-pr"- , whChecksPullRequestTargetRepo =- HookChecksPullRequestRepository- { whChecksPullRequestRepositoryId = 12345123333- , whChecksPullRequestRepositoryUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo"- , whChecksPullRequestRepositoryName = "public-repo"- }- }- , whChecksPullRequestBase =- HookChecksPullRequestTarget- { whChecksPullRequestTargetSha = "45deaf5013c757e58e2665849c3fd3add3edfa59"- , whChecksPullRequestTargetRef = "master"- , whChecksPullRequestTargetRepo =- HookChecksPullRequestRepository- { whChecksPullRequestRepositoryId = 123451234444- , whChecksPullRequestRepositoryUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo"- , whChecksPullRequestRepositoryName = "public-repo"- }- }- }- ]- }- , evCheckRunRequestedAction =- Just- HookCheckRunRequestedAction- { whCheckRunRequestedActionIdentifier = "fix_errors"- }- , evCheckRunRepository =- HookRepository- { whRepoId = 35129377- , whRepoNodeId = "MDg6Q2hlY2tSdW4xMjg2MjAyMjg="- , whRepoName = "public-repo"- , whRepoFullName = "baxterthehacker/public-repo"- , whRepoOwner =- Right HookUser- { whUserLogin = "baxterthehacker"- , whUserId = 6752317- , whUserNodeId = "MDg6Q2hlY2tSdW4xMjg2MjAyMjg="- , whUserAvatarUrl = URL "https://avatars.githubusercontent.com/u/6752317?v=3"- , whUserGravatarId = URL ""- , whUserUrl = URL "https://api.github.com/users/baxterthehacker"- , whUserHtmlUrl = URL "https://github.com/baxterthehacker"- , whUserFollowersUrl = URL "https://api.github.com/users/baxterthehacker/followers"- , whUserFollowingUrl = URL "https://api.github.com/users/baxterthehacker/following{/other_user}"- , whUserGistsUrl = URL "https://api.github.com/users/baxterthehacker/gists{/gist_id}"- , whUserStarredUrl = URL "https://api.github.com/users/baxterthehacker/starred{/owner}{/repo}"- , whUserSubscriptionsUrl = URL "https://api.github.com/users/baxterthehacker/subscriptions"- , whUserOrganizationsUrl = URL "https://api.github.com/users/baxterthehacker/orgs"- , whUserReposUrl = URL "https://api.github.com/users/baxterthehacker/repos"- , whUserEventsUrl = URL "https://api.github.com/users/baxterthehacker/events{/privacy}"- , whUserReceivedEventsUrl = URL "https://api.github.com/users/baxterthehacker/received_events"- , whUserType = OwnerOrganization- , whUserIsAdminOfSite = False- }- , whRepoIsPrivate = False- , whRepoHtmlUrl = URL "https://github.com/baxterthehacker/public-repo"- , whRepoDescription = ""- , whRepoIsAFork = False- , whRepoUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo"- , whRepoForksUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/forks"- , whRepoKeysUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/keys{/key_id}"- , whRepoCollaboratorsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/collaborators{/collaborator}"- , whRepoTeamsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/teams"- , whRepoHooksUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/hooks"- , whRepoIssueEventsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/issues/events{/number}"- , whRepoEventsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/events"- , whRepoAssigneesUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/assignees{/user}"- , whRepoBranchesUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/branches{/branch}"- , whRepoTagsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/tags"- , whRepoBlobsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/git/blobs{/sha}"- , whRepoGitTagsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/git/tags{/sha}"- , whRepoGitRefsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/git/refs{/sha}"- , whRepoTreesUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/git/trees{/sha}"- , whRepoStatusesUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/statuses/{sha}"- , whRepoLanguagesUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/languages"- , whRepoStargazersUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/stargazers"- , whRepoContributorsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/contributors"- , whRepoSubscribersUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/subscribers"- , whRepoSubscriptionUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/subscription"- , whRepoCommitsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/commits{/sha}"- , whRepoGitCommitsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/git/commits{/sha}"- , whRepoCommentsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/comments{/number}"- , whRepoIssueCommentsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/issues/comments{/number}"- , whRepoContentsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/contents/{+path}"- , whRepoCompareUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/compare/{base}...{head}"- , whRepoMergesUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/merges"- , whRepoArchiveUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/{archive_format}{/ref}"- , whRepoDownloadsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/downloads"- , whRepoIssuesUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/issues{/number}"- , whRepoPullsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/pulls{/number}"- , whRepoMilestonesUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/milestones{/number}"- , whRepoNotificationsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/notifications{?since,all,participating}"- , whRepoLabelsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/labels{/name}"- , whRepoReleasesUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/releases{/id}"- , whRepoCreatedAt = read "2015-05-05 23:40:12Z"- , whRepoUpdatedAt = read "2015-05-05 23:40:12Z"- , whRepoPushedAt = read "2015-05-05 23:40:27Z"- , whRepoGitUrl = URL "git://github.com/baxterthehacker/public-repo.git"- , whRepoSshUrl = URL "git@github.com:baxterthehacker/public-repo.git"- , whRepoCloneUrl = URL "https://github.com/baxterthehacker/public-repo.git"- , whRepoSvnUrl = URL "https://github.com/baxterthehacker/public-repo"- , whRepoHomepage = Nothing- , whRepoSize = 0- , whRepoStargazersCount = 0- , whRepoWatchersCount = 0- , whRepoLanguage = Nothing- , whRepoHasIssues = True- , whRepoHasDownloads = True- , whRepoHasWiki = True- , whRepoHasPages = True- , whRepoForkCount = 0- , whRepoMirrorUrl = Nothing- , whRepoOpenIssuesCount = 2- , whRepoDefaultBranchName = "master"- }- , evCheckRunOrganization =- Just- HookOrganization- { whOrgLogin = "baxterandthehackers"- , whOrgId = 4312013- , whOrgNodeId = "MDg6Q2hlY2tSdW4xMjg2MjAyMjg="- , whOrgUrl = URL "https://api.github.com/orgs/baxterandthehackers"- , whOrgReposUrl = URL "https://api.github.com/orgs/baxterandthehackers/repos"- , whOrgEventsUrl = URL "https://api.github.com/orgs/baxterandthehackers/events"- , whOrgHooksUrl = Just (URL "https://api.github.com/orgs/baxterandthehackers/hooks")- , whOrgIssuesUrl = Just (URL "https://api.github.com/orgs/baxterandthehackers/issues")- , whOrgMembersUrl = URL "https://api.github.com/orgs/baxterandthehackers/members{/member}"- , whOrgPublicMembersUrl = URL "https://api.github.com/orgs/baxterandthehackers/public_members{/member}"- , whOrgAvatarUrl = URL "https://avatars.githubusercontent.com/u/4312013?v=3"- , whOrgDescription = T.empty- }- , evCheckRunSender =- HookUser- { whUserLogin = "baxterthehacker"- , whUserId = 6752317- , whUserNodeId = "MDg6Q2hlY2tSdW4xMjg2MjAyMjg="- , whUserAvatarUrl = URL "https://avatars.githubusercontent.com/u/6752317?v=3"- , whUserGravatarId = URL ""- , whUserUrl = URL "https://api.github.com/users/baxterthehacker"- , whUserHtmlUrl = URL "https://github.com/baxterthehacker"- , whUserFollowersUrl = URL "https://api.github.com/users/baxterthehacker/followers"- , whUserFollowingUrl = URL "https://api.github.com/users/baxterthehacker/following{/other_user}"- , whUserGistsUrl = URL "https://api.github.com/users/baxterthehacker/gists{/gist_id}"- , whUserStarredUrl = URL "https://api.github.com/users/baxterthehacker/starred{/owner}{/repo}"- , whUserSubscriptionsUrl = URL "https://api.github.com/users/baxterthehacker/subscriptions"- , whUserOrganizationsUrl = URL "https://api.github.com/users/baxterthehacker/orgs"- , whUserReposUrl = URL "https://api.github.com/users/baxterthehacker/repos"- , whUserEventsUrl = URL "https://api.github.com/users/baxterthehacker/events{/privacy}"- , whUserReceivedEventsUrl = URL "https://api.github.com/users/baxterthehacker/received_events"- , whUserType = OwnerUser- , whUserIsAdminOfSite = False- }- , evCheckRunInstallation =- Just- HookChecksInstallation- { whChecksInstallationId = 1234123- , whChecksInstallationNodeId = "MDg6Q2hlY2tSdW4xMjg2MjAyMjg="- }- }--commitCommentEventFixture :: CommitCommentEvent-commitCommentEventFixture = CommitCommentEvent- { evCommitCommentAction = CommitCommentActionCreated- , evCommitCommentPayload =- HookCommitComment- { whCommitCommentUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/comments/11056394"- , whCommitCommentHtmlUrl =- URL "https://github.com/baxterthehacker/public-repo/commit/9049f1265b7d61be4a8904a9a27120d2064dab3b#commitcomment-11056394"- , whCommitCommentId = 11056394- , whCommitCommentNodeId = "MDg6Q2hlY2tSdW4xMjg2MjAyMjg="- , whCommitCommentUser =- HookUser- { whUserLogin = "baxterthehacker"- , whUserId = 6752317- , whUserNodeId = "MDg6Q2hlY2tSdW4xMjg2MjAyMjg="- , whUserAvatarUrl = URL "https://avatars.githubusercontent.com/u/6752317?v=3"- , whUserGravatarId = URL ""- , whUserUrl = URL "https://api.github.com/users/baxterthehacker"- , whUserHtmlUrl = URL "https://github.com/baxterthehacker"- , whUserFollowersUrl = URL "https://api.github.com/users/baxterthehacker/followers"- , whUserFollowingUrl = URL "https://api.github.com/users/baxterthehacker/following{/other_user}"- , whUserGistsUrl = URL "https://api.github.com/users/baxterthehacker/gists{/gist_id}"- , whUserStarredUrl = URL "https://api.github.com/users/baxterthehacker/starred{/owner}{/repo}"- , whUserSubscriptionsUrl = URL "https://api.github.com/users/baxterthehacker/subscriptions"- , whUserOrganizationsUrl = URL "https://api.github.com/users/baxterthehacker/orgs"- , whUserReposUrl = URL "https://api.github.com/users/baxterthehacker/repos"- , whUserEventsUrl = URL "https://api.github.com/users/baxterthehacker/events{/privacy}"- , whUserReceivedEventsUrl = URL "https://api.github.com/users/baxterthehacker/received_events"- , whUserType = OwnerUser- , whUserIsAdminOfSite = False- }- , whCommitCommentPos = Nothing- , whCommitCommentLine = Nothing- , whCommitCommentPath = Nothing- , whCommitCommentCommitSha = "9049f1265b7d61be4a8904a9a27120d2064dab3b"- , whCommitCommentCreatedAt = read "2015-05-05 23:40:29Z"- , whCommitCommentUpdatedAt = read "2015-05-05 23:40:29Z"- , whCommitCommentBody = "This is a really good change! :+1:"- }- , evCommitCommentRepo =- HookRepository- { whRepoId = 35129377- , whRepoNodeId = "MDg6Q2hlY2tSdW4xMjg2MjAyMjg="- , whRepoName = "public-repo"- , whRepoFullName = "baxterthehacker/public-repo"- , whRepoOwner =- Right HookUser- { whUserLogin = "baxterthehacker"- , whUserId = 6752317- , whUserNodeId = "MDg6Q2hlY2tSdW4xMjg2MjAyMjg="- , whUserAvatarUrl = URL "https://avatars.githubusercontent.com/u/6752317?v=3"- , whUserGravatarId = URL ""- , whUserUrl = URL "https://api.github.com/users/baxterthehacker"- , whUserHtmlUrl = URL "https://github.com/baxterthehacker"- , whUserFollowersUrl = URL "https://api.github.com/users/baxterthehacker/followers"- , whUserFollowingUrl = URL "https://api.github.com/users/baxterthehacker/following{/other_user}"- , whUserGistsUrl = URL "https://api.github.com/users/baxterthehacker/gists{/gist_id}"- , whUserStarredUrl = URL "https://api.github.com/users/baxterthehacker/starred{/owner}{/repo}"- , whUserSubscriptionsUrl = URL "https://api.github.com/users/baxterthehacker/subscriptions"- , whUserOrganizationsUrl = URL "https://api.github.com/users/baxterthehacker/orgs"- , whUserReposUrl = URL "https://api.github.com/users/baxterthehacker/repos"- , whUserEventsUrl = URL "https://api.github.com/users/baxterthehacker/events{/privacy}"- , whUserReceivedEventsUrl = URL "https://api.github.com/users/baxterthehacker/received_events"- , whUserType = OwnerUser- , whUserIsAdminOfSite = False- }- , whRepoIsPrivate = False- , whRepoHtmlUrl = URL "https://github.com/baxterthehacker/public-repo"- , whRepoDescription = ""- , whRepoIsAFork = False- , whRepoUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo"- , whRepoForksUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/forks"- , whRepoKeysUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/keys{/key_id}"- , whRepoCollaboratorsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/collaborators{/collaborator}"- , whRepoTeamsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/teams"- , whRepoHooksUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/hooks"- , whRepoIssueEventsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/issues/events{/number}"- , whRepoEventsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/events"- , whRepoAssigneesUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/assignees{/user}"- , whRepoBranchesUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/branches{/branch}"- , whRepoTagsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/tags"- , whRepoBlobsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/git/blobs{/sha}"- , whRepoGitTagsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/git/tags{/sha}"- , whRepoGitRefsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/git/refs{/sha}"- , whRepoTreesUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/git/trees{/sha}"- , whRepoStatusesUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/statuses/{sha}"- , whRepoLanguagesUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/languages"- , whRepoStargazersUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/stargazers"- , whRepoContributorsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/contributors"- , whRepoSubscribersUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/subscribers"- , whRepoSubscriptionUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/subscription"- , whRepoCommitsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/commits{/sha}"- , whRepoGitCommitsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/git/commits{/sha}"- , whRepoCommentsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/comments{/number}"- , whRepoIssueCommentsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/issues/comments{/number}"- , whRepoContentsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/contents/{+path}"- , whRepoCompareUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/compare/{base}...{head}"- , whRepoMergesUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/merges"- , whRepoArchiveUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/{archive_format}{/ref}"- , whRepoDownloadsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/downloads"- , whRepoIssuesUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/issues{/number}"- , whRepoPullsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/pulls{/number}"- , whRepoMilestonesUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/milestones{/number}"- , whRepoNotificationsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/notifications{?since,all,participating}"- , whRepoLabelsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/labels{/name}"- , whRepoReleasesUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/releases{/id}"- , whRepoCreatedAt = read "2015-05-05 23:40:12Z"- , whRepoUpdatedAt = read "2015-05-05 23:40:12Z"- , whRepoPushedAt = read "2015-05-05 23:40:27Z"- , whRepoGitUrl = URL "git://github.com/baxterthehacker/public-repo.git"- , whRepoSshUrl = URL "git@github.com:baxterthehacker/public-repo.git"- , whRepoCloneUrl = URL "https://github.com/baxterthehacker/public-repo.git"- , whRepoSvnUrl = URL "https://github.com/baxterthehacker/public-repo"- , whRepoHomepage = Nothing- , whRepoSize = 0- , whRepoStargazersCount = 0- , whRepoWatchersCount = 0- , whRepoLanguage = Nothing- , whRepoHasIssues = True- , whRepoHasDownloads = True- , whRepoHasWiki = True- , whRepoHasPages = True- , whRepoForkCount = 0- , whRepoMirrorUrl = Nothing- , whRepoOpenIssuesCount = 2- , whRepoDefaultBranchName = "master"- }- , evCommitCommentSender =- HookUser- { whUserLogin = "baxterthehacker"- , whUserId = 6752317- , whUserNodeId = "MDg6Q2hlY2tSdW4xMjg2MjAyMjg="- , whUserAvatarUrl = URL "https://avatars.githubusercontent.com/u/6752317?v=3"- , whUserGravatarId = URL ""- , whUserUrl = URL "https://api.github.com/users/baxterthehacker"- , whUserHtmlUrl = URL "https://github.com/baxterthehacker"- , whUserFollowersUrl = URL "https://api.github.com/users/baxterthehacker/followers"- , whUserFollowingUrl = URL "https://api.github.com/users/baxterthehacker/following{/other_user}"- , whUserGistsUrl = URL "https://api.github.com/users/baxterthehacker/gists{/gist_id}"- , whUserStarredUrl = URL "https://api.github.com/users/baxterthehacker/starred{/owner}{/repo}"- , whUserSubscriptionsUrl = URL "https://api.github.com/users/baxterthehacker/subscriptions"- , whUserOrganizationsUrl = URL "https://api.github.com/users/baxterthehacker/orgs"- , whUserReposUrl = URL "https://api.github.com/users/baxterthehacker/repos"- , whUserEventsUrl = URL "https://api.github.com/users/baxterthehacker/events{/privacy}"- , whUserReceivedEventsUrl = URL "https://api.github.com/users/baxterthehacker/received_events"- , whUserType = OwnerUser- , whUserIsAdminOfSite = False- }- }--createEventFixture :: CreateEvent-createEventFixture = CreateEvent- { evCreateRef = "0.0.1"- , evCreateRefType = "tag"- , evCreateMasterBranch = "master"- , evCreateDescription = ""- , evCreatePusherType = OwnerUser- , evCreateRepo =- HookRepository- { whRepoId = 35129377- , whRepoNodeId = "MDg6Q2hlY2tSdW4xMjg2MjAyMjg="- , whRepoName = "public-repo"- , whRepoFullName = "baxterthehacker/public-repo"- , whRepoOwner =- Right HookUser- { whUserLogin = "baxterthehacker"- , whUserId = 6752317- , whUserNodeId = "MDg6Q2hlY2tSdW4xMjg2MjAyMjg="- , whUserAvatarUrl = URL "https://avatars.githubusercontent.com/u/6752317?v=3"- , whUserGravatarId = URL ""- , whUserUrl = URL "https://api.github.com/users/baxterthehacker"- , whUserHtmlUrl = URL "https://github.com/baxterthehacker"- , whUserFollowersUrl = URL "https://api.github.com/users/baxterthehacker/followers"- , whUserFollowingUrl = URL "https://api.github.com/users/baxterthehacker/following{/other_user}"- , whUserGistsUrl = URL "https://api.github.com/users/baxterthehacker/gists{/gist_id}"- , whUserStarredUrl = URL "https://api.github.com/users/baxterthehacker/starred{/owner}{/repo}"- , whUserSubscriptionsUrl = URL "https://api.github.com/users/baxterthehacker/subscriptions"- , whUserOrganizationsUrl = URL "https://api.github.com/users/baxterthehacker/orgs"- , whUserReposUrl = URL "https://api.github.com/users/baxterthehacker/repos"- , whUserEventsUrl = URL "https://api.github.com/users/baxterthehacker/events{/privacy}"- , whUserReceivedEventsUrl = URL "https://api.github.com/users/baxterthehacker/received_events"- , whUserType = OwnerUser- , whUserIsAdminOfSite = False- }- , whRepoIsPrivate = False- , whRepoHtmlUrl = URL "https://github.com/baxterthehacker/public-repo"- , whRepoDescription = ""- , whRepoIsAFork = False- , whRepoUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo"- , whRepoForksUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/forks"- , whRepoKeysUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/keys{/key_id}"- , whRepoCollaboratorsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/collaborators{/collaborator}"- , whRepoTeamsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/teams"- , whRepoHooksUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/hooks"- , whRepoIssueEventsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/issues/events{/number}"- , whRepoEventsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/events"- , whRepoAssigneesUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/assignees{/user}"- , whRepoBranchesUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/branches{/branch}"- , whRepoTagsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/tags"- , whRepoBlobsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/git/blobs{/sha}"- , whRepoGitTagsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/git/tags{/sha}"- , whRepoGitRefsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/git/refs{/sha}"- , whRepoTreesUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/git/trees{/sha}"- , whRepoStatusesUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/statuses/{sha}"- , whRepoLanguagesUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/languages"- , whRepoStargazersUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/stargazers"- , whRepoContributorsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/contributors"- , whRepoSubscribersUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/subscribers"- , whRepoSubscriptionUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/subscription"- , whRepoCommitsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/commits{/sha}"- , whRepoGitCommitsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/git/commits{/sha}"- , whRepoCommentsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/comments{/number}"- , whRepoIssueCommentsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/issues/comments{/number}"- , whRepoContentsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/contents/{+path}"- , whRepoCompareUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/compare/{base}...{head}"- , whRepoMergesUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/merges"- , whRepoArchiveUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/{archive_format}{/ref}"- , whRepoDownloadsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/downloads"- , whRepoIssuesUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/issues{/number}"- , whRepoPullsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/pulls{/number}"- , whRepoMilestonesUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/milestones{/number}"- , whRepoNotificationsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/notifications{?since,all,participating}"- , whRepoLabelsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/labels{/name}"- , whRepoReleasesUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/releases{/id}"- , whRepoCreatedAt = read "2015-05-05 23:40:12Z"- , whRepoUpdatedAt = read "2015-05-05 23:40:30Z"- , whRepoPushedAt = read "2015-05-05 23:40:38Z"- , whRepoGitUrl = URL "git://github.com/baxterthehacker/public-repo.git"- , whRepoSshUrl = URL "git@github.com:baxterthehacker/public-repo.git"- , whRepoCloneUrl = URL "https://github.com/baxterthehacker/public-repo.git"- , whRepoSvnUrl = URL "https://github.com/baxterthehacker/public-repo"- , whRepoHomepage = Nothing- , whRepoSize = 0- , whRepoStargazersCount = 0- , whRepoWatchersCount = 0- , whRepoLanguage = Nothing- , whRepoHasIssues = True- , whRepoHasDownloads = True- , whRepoHasWiki = True- , whRepoHasPages = True- , whRepoForkCount = 0- , whRepoMirrorUrl = Nothing- , whRepoOpenIssuesCount = 2- , whRepoDefaultBranchName = "master"- }- , evCreateSender =- HookUser- { whUserLogin = "baxterthehacker"- , whUserId = 6752317- , whUserNodeId = "MDg6Q2hlY2tSdW4xMjg2MjAyMjg="- , whUserAvatarUrl = URL "https://avatars.githubusercontent.com/u/6752317?v=3"- , whUserGravatarId = URL ""- , whUserUrl = URL "https://api.github.com/users/baxterthehacker"- , whUserHtmlUrl = URL "https://github.com/baxterthehacker"- , whUserFollowersUrl = URL "https://api.github.com/users/baxterthehacker/followers"- , whUserFollowingUrl = URL "https://api.github.com/users/baxterthehacker/following{/other_user}"- , whUserGistsUrl = URL "https://api.github.com/users/baxterthehacker/gists{/gist_id}"- , whUserStarredUrl = URL "https://api.github.com/users/baxterthehacker/starred{/owner}{/repo}"- , whUserSubscriptionsUrl = URL "https://api.github.com/users/baxterthehacker/subscriptions"- , whUserOrganizationsUrl = URL "https://api.github.com/users/baxterthehacker/orgs"- , whUserReposUrl = URL "https://api.github.com/users/baxterthehacker/repos"- , whUserEventsUrl = URL "https://api.github.com/users/baxterthehacker/events{/privacy}"- , whUserReceivedEventsUrl = URL "https://api.github.com/users/baxterthehacker/received_events"- , whUserType = OwnerUser- , whUserIsAdminOfSite = False- }- }--deleteEventFixture :: DeleteEvent-deleteEventFixture = DeleteEvent- { evDeleteRef = "simple-tag"- , evDeleteRefType = "tag"- , evDeletePusherType = OwnerUser- , evDeleteRepo =- HookRepository- { whRepoId = 35129377- , whRepoNodeId = "MDg6Q2hlY2tSdW4xMjg2MjAyMjg="- , whRepoName = "public-repo"- , whRepoFullName = "baxterthehacker/public-repo"- , whRepoOwner =- Right HookUser- { whUserLogin = "baxterthehacker"- , whUserId = 6752317- , whUserNodeId = "MDg6Q2hlY2tSdW4xMjg2MjAyMjg="- , whUserAvatarUrl = URL "https://avatars.githubusercontent.com/u/6752317?v=3"- , whUserGravatarId = URL ""- , whUserUrl = URL "https://api.github.com/users/baxterthehacker"- , whUserHtmlUrl = URL "https://github.com/baxterthehacker"- , whUserFollowersUrl = URL "https://api.github.com/users/baxterthehacker/followers"- , whUserFollowingUrl = URL "https://api.github.com/users/baxterthehacker/following{/other_user}"- , whUserGistsUrl = URL "https://api.github.com/users/baxterthehacker/gists{/gist_id}"- , whUserStarredUrl = URL "https://api.github.com/users/baxterthehacker/starred{/owner}{/repo}"- , whUserSubscriptionsUrl = URL "https://api.github.com/users/baxterthehacker/subscriptions"- , whUserOrganizationsUrl = URL "https://api.github.com/users/baxterthehacker/orgs"- , whUserReposUrl = URL "https://api.github.com/users/baxterthehacker/repos"- , whUserEventsUrl = URL "https://api.github.com/users/baxterthehacker/events{/privacy}"- , whUserReceivedEventsUrl = URL "https://api.github.com/users/baxterthehacker/received_events"- , whUserType = OwnerUser- , whUserIsAdminOfSite = False- }- , whRepoIsPrivate = False- , whRepoHtmlUrl = URL "https://github.com/baxterthehacker/public-repo"- , whRepoDescription = ""- , whRepoIsAFork = False- , whRepoUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo"- , whRepoForksUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/forks"- , whRepoKeysUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/keys{/key_id}"- , whRepoCollaboratorsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/collaborators{/collaborator}"- , whRepoTeamsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/teams"- , whRepoHooksUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/hooks"- , whRepoIssueEventsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/issues/events{/number}"- , whRepoEventsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/events"- , whRepoAssigneesUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/assignees{/user}"- , whRepoBranchesUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/branches{/branch}"- , whRepoTagsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/tags"- , whRepoBlobsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/git/blobs{/sha}"- , whRepoGitTagsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/git/tags{/sha}"- , whRepoGitRefsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/git/refs{/sha}"- , whRepoTreesUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/git/trees{/sha}"- , whRepoStatusesUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/statuses/{sha}"- , whRepoLanguagesUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/languages"- , whRepoStargazersUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/stargazers"- , whRepoContributorsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/contributors"- , whRepoSubscribersUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/subscribers"- , whRepoSubscriptionUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/subscription"- , whRepoCommitsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/commits{/sha}"- , whRepoGitCommitsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/git/commits{/sha}"- , whRepoCommentsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/comments{/number}"- , whRepoIssueCommentsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/issues/comments{/number}"- , whRepoContentsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/contents/{+path}"- , whRepoCompareUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/compare/{base}...{head}"- , whRepoMergesUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/merges"- , whRepoArchiveUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/{archive_format}{/ref}"- , whRepoDownloadsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/downloads"- , whRepoIssuesUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/issues{/number}"- , whRepoPullsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/pulls{/number}"- , whRepoMilestonesUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/milestones{/number}"- , whRepoNotificationsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/notifications{?since,all,participating}"- , whRepoLabelsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/labels{/name}"- , whRepoReleasesUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/releases{/id}"- , whRepoCreatedAt = read "2015-05-05 23:40:12Z"- , whRepoUpdatedAt = read "2015-05-05 23:40:30Z"- , whRepoPushedAt = read "2015-05-05 23:40:40Z"- , whRepoGitUrl = URL "git://github.com/baxterthehacker/public-repo.git"- , whRepoSshUrl = URL "git@github.com:baxterthehacker/public-repo.git"- , whRepoCloneUrl = URL "https://github.com/baxterthehacker/public-repo.git"- , whRepoSvnUrl = URL "https://github.com/baxterthehacker/public-repo"- , whRepoHomepage = Nothing- , whRepoSize = 0- , whRepoStargazersCount = 0- , whRepoWatchersCount = 0- , whRepoLanguage = Nothing- , whRepoHasIssues = True- , whRepoHasDownloads = True- , whRepoHasWiki = True- , whRepoHasPages = True- , whRepoForkCount = 0- , whRepoMirrorUrl = Nothing- , whRepoOpenIssuesCount = 2- , whRepoDefaultBranchName = "master"- }- , evDeleteSender =- HookUser- { whUserLogin = "baxterthehacker"- , whUserId = 6752317- , whUserNodeId = "MDg6Q2hlY2tSdW4xMjg2MjAyMjg="- , whUserAvatarUrl = URL "https://avatars.githubusercontent.com/u/6752317?v=3"- , whUserGravatarId = URL ""- , whUserUrl = URL "https://api.github.com/users/baxterthehacker"- , whUserHtmlUrl = URL "https://github.com/baxterthehacker"- , whUserFollowersUrl = URL "https://api.github.com/users/baxterthehacker/followers"- , whUserFollowingUrl = URL "https://api.github.com/users/baxterthehacker/following{/other_user}"- , whUserGistsUrl = URL "https://api.github.com/users/baxterthehacker/gists{/gist_id}"- , whUserStarredUrl = URL "https://api.github.com/users/baxterthehacker/starred{/owner}{/repo}"- , whUserSubscriptionsUrl = URL "https://api.github.com/users/baxterthehacker/subscriptions"- , whUserOrganizationsUrl = URL "https://api.github.com/users/baxterthehacker/orgs"- , whUserReposUrl = URL "https://api.github.com/users/baxterthehacker/repos"- , whUserEventsUrl = URL "https://api.github.com/users/baxterthehacker/events{/privacy}"- , whUserReceivedEventsUrl = URL "https://api.github.com/users/baxterthehacker/received_events"- , whUserType = OwnerUser- , whUserIsAdminOfSite = False- }- }--deploymentEventFixture :: DeploymentEvent-deploymentEventFixture = DeploymentEvent- { evDeploymentInfo =- HookDeployment- { whDeploymentUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/deployments/710692"- , whDeploymentId = 710692- , whDeploymentNodeId = "MDg6Q2hlY2tSdW4xMjg2MjAyMjg="- , whDeploymentSha = "9049f1265b7d61be4a8904a9a27120d2064dab3b"- , whDeploymentRef = "master"- , whDeploymentTask = "deploy"- , whDeploymentEnv = "production"- , whDeploymentDescription = Nothing- , whDeploymentCreator =- HookUser- { whUserLogin = "baxterthehacker"- , whUserId = 6752317- , whUserNodeId = "MDg6Q2hlY2tSdW4xMjg2MjAyMjg="- , whUserAvatarUrl = URL "https://avatars.githubusercontent.com/u/6752317?v=3"- , whUserGravatarId = URL ""- , whUserUrl = URL "https://api.github.com/users/baxterthehacker"- , whUserHtmlUrl = URL "https://github.com/baxterthehacker"- , whUserFollowersUrl = URL "https://api.github.com/users/baxterthehacker/followers"- , whUserFollowingUrl = URL "https://api.github.com/users/baxterthehacker/following{/other_user}"- , whUserGistsUrl = URL "https://api.github.com/users/baxterthehacker/gists{/gist_id}"- , whUserStarredUrl = URL "https://api.github.com/users/baxterthehacker/starred{/owner}{/repo}"- , whUserSubscriptionsUrl = URL "https://api.github.com/users/baxterthehacker/subscriptions"- , whUserOrganizationsUrl = URL "https://api.github.com/users/baxterthehacker/orgs"- , whUserReposUrl = URL "https://api.github.com/users/baxterthehacker/repos"- , whUserEventsUrl = URL "https://api.github.com/users/baxterthehacker/events{/privacy}"- , whUserReceivedEventsUrl = URL "https://api.github.com/users/baxterthehacker/received_events"- , whUserType = OwnerUser- , whUserIsAdminOfSite = False- }- , whDeploymentCreatedAt = read "2015-05-05 23:40:38Z"- , whDeploymentUpdatedAt = read "2015-05-05 23:40:38Z"- , whDeploymentStatusesUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/deployments/710692/statuses"- , whDeploymentRepoUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo"- }- , evDeploymentRepo =- HookRepository- { whRepoId = 35129377- , whRepoNodeId = "MDg6Q2hlY2tSdW4xMjg2MjAyMjg="- , whRepoName = "public-repo"- , whRepoFullName = "baxterthehacker/public-repo"- , whRepoOwner =- Right HookUser- { whUserLogin = "baxterthehacker"- , whUserId = 6752317- , whUserNodeId = "MDg6Q2hlY2tSdW4xMjg2MjAyMjg="- , whUserAvatarUrl = URL "https://avatars.githubusercontent.com/u/6752317?v=3"- , whUserGravatarId = URL ""- , whUserUrl = URL "https://api.github.com/users/baxterthehacker"- , whUserHtmlUrl = URL "https://github.com/baxterthehacker"- , whUserFollowersUrl = URL "https://api.github.com/users/baxterthehacker/followers"- , whUserFollowingUrl = URL "https://api.github.com/users/baxterthehacker/following{/other_user}"- , whUserGistsUrl = URL "https://api.github.com/users/baxterthehacker/gists{/gist_id}"- , whUserStarredUrl = URL "https://api.github.com/users/baxterthehacker/starred{/owner}{/repo}"- , whUserSubscriptionsUrl = URL "https://api.github.com/users/baxterthehacker/subscriptions"- , whUserOrganizationsUrl = URL "https://api.github.com/users/baxterthehacker/orgs"- , whUserReposUrl = URL "https://api.github.com/users/baxterthehacker/repos"- , whUserEventsUrl = URL "https://api.github.com/users/baxterthehacker/events{/privacy}"- , whUserReceivedEventsUrl = URL "https://api.github.com/users/baxterthehacker/received_events"- , whUserType = OwnerUser- , whUserIsAdminOfSite = False- }- , whRepoIsPrivate = False- , whRepoHtmlUrl = URL "https://github.com/baxterthehacker/public-repo"- , whRepoDescription = ""- , whRepoIsAFork = False- , whRepoUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo"- , whRepoForksUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/forks"- , whRepoKeysUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/keys{/key_id}"- , whRepoCollaboratorsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/collaborators{/collaborator}"- , whRepoTeamsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/teams"- , whRepoHooksUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/hooks"- , whRepoIssueEventsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/issues/events{/number}"- , whRepoEventsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/events"- , whRepoAssigneesUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/assignees{/user}"- , whRepoBranchesUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/branches{/branch}"- , whRepoTagsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/tags"- , whRepoBlobsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/git/blobs{/sha}"- , whRepoGitTagsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/git/tags{/sha}"- , whRepoGitRefsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/git/refs{/sha}"- , whRepoTreesUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/git/trees{/sha}"- , whRepoStatusesUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/statuses/{sha}"- , whRepoLanguagesUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/languages"- , whRepoStargazersUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/stargazers"- , whRepoContributorsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/contributors"- , whRepoSubscribersUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/subscribers"- , whRepoSubscriptionUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/subscription"- , whRepoCommitsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/commits{/sha}"- , whRepoGitCommitsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/git/commits{/sha}"- , whRepoCommentsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/comments{/number}"- , whRepoIssueCommentsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/issues/comments{/number}"- , whRepoContentsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/contents/{+path}"- , whRepoCompareUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/compare/{base}...{head}"- , whRepoMergesUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/merges"- , whRepoArchiveUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/{archive_format}{/ref}"- , whRepoDownloadsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/downloads"- , whRepoIssuesUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/issues{/number}"- , whRepoPullsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/pulls{/number}"- , whRepoMilestonesUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/milestones{/number}"- , whRepoNotificationsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/notifications{?since,all,participating}"- , whRepoLabelsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/labels{/name}"- , whRepoReleasesUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/releases{/id}"- , whRepoCreatedAt = read "2015-05-05 23:40:12Z"- , whRepoUpdatedAt = read "2015-05-05 23:40:30Z"- , whRepoPushedAt = read "2015-05-05 23:40:38Z"- , whRepoGitUrl = URL "git://github.com/baxterthehacker/public-repo.git"- , whRepoSshUrl = URL "git@github.com:baxterthehacker/public-repo.git"- , whRepoCloneUrl = URL "https://github.com/baxterthehacker/public-repo.git"- , whRepoSvnUrl = URL "https://github.com/baxterthehacker/public-repo"- , whRepoHomepage = Nothing- , whRepoSize = 0- , whRepoStargazersCount = 0- , whRepoWatchersCount = 0- , whRepoLanguage = Nothing- , whRepoHasIssues = True- , whRepoHasDownloads = True- , whRepoHasWiki = True- , whRepoHasPages = True- , whRepoForkCount = 0- , whRepoMirrorUrl = Nothing- , whRepoOpenIssuesCount = 2- , whRepoDefaultBranchName = "master"- }- , evDeploymentSender =- HookUser- { whUserLogin = "baxterthehacker"- , whUserId = 6752317- , whUserNodeId = "MDg6Q2hlY2tSdW4xMjg2MjAyMjg="- , whUserAvatarUrl = URL "https://avatars.githubusercontent.com/u/6752317?v=3"- , whUserGravatarId = URL ""- , whUserUrl = URL "https://api.github.com/users/baxterthehacker"- , whUserHtmlUrl = URL "https://github.com/baxterthehacker"- , whUserFollowersUrl = URL "https://api.github.com/users/baxterthehacker/followers"- , whUserFollowingUrl = URL "https://api.github.com/users/baxterthehacker/following{/other_user}"- , whUserGistsUrl = URL "https://api.github.com/users/baxterthehacker/gists{/gist_id}"- , whUserStarredUrl = URL "https://api.github.com/users/baxterthehacker/starred{/owner}{/repo}"- , whUserSubscriptionsUrl = URL "https://api.github.com/users/baxterthehacker/subscriptions"- , whUserOrganizationsUrl = URL "https://api.github.com/users/baxterthehacker/orgs"- , whUserReposUrl = URL "https://api.github.com/users/baxterthehacker/repos"- , whUserEventsUrl = URL "https://api.github.com/users/baxterthehacker/events{/privacy}"- , whUserReceivedEventsUrl = URL "https://api.github.com/users/baxterthehacker/received_events"- , whUserType = OwnerUser- , whUserIsAdminOfSite = False- }- }--deploymentStatusEventFixture :: DeploymentStatusEvent-deploymentStatusEventFixture = DeploymentStatusEvent- { evDeplStatusInfo =- HookDeploymentStatus- { whDeploymentStatusUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/deployments/710692/statuses/1115122"- , whDeploymentStatusId = 1115122- , whDeploymentStatusNodeId = "MDg6Q2hlY2tSdW4xMjg2MjAyMjg="- , whDeploymentStatusState = "success"- , whDeploymentStatusCreator =- HookUser- { whUserLogin = "baxterthehacker"- , whUserId = 6752317- , whUserNodeId = "MDg6Q2hlY2tSdW4xMjg2MjAyMjg="- , whUserAvatarUrl = URL "https://avatars.githubusercontent.com/u/6752317?v=3"- , whUserGravatarId = URL ""- , whUserUrl = URL "https://api.github.com/users/baxterthehacker"- , whUserHtmlUrl = URL "https://github.com/baxterthehacker"- , whUserFollowersUrl = URL "https://api.github.com/users/baxterthehacker/followers"- , whUserFollowingUrl = URL "https://api.github.com/users/baxterthehacker/following{/other_user}"- , whUserGistsUrl = URL "https://api.github.com/users/baxterthehacker/gists{/gist_id}"- , whUserStarredUrl = URL "https://api.github.com/users/baxterthehacker/starred{/owner}{/repo}"- , whUserSubscriptionsUrl = URL "https://api.github.com/users/baxterthehacker/subscriptions"- , whUserOrganizationsUrl = URL "https://api.github.com/users/baxterthehacker/orgs"- , whUserReposUrl = URL "https://api.github.com/users/baxterthehacker/repos"- , whUserEventsUrl = URL "https://api.github.com/users/baxterthehacker/events{/privacy}"- , whUserReceivedEventsUrl = URL "https://api.github.com/users/baxterthehacker/received_events"- , whUserType = OwnerUser- , whUserIsAdminOfSite = False- }- , whDeploymentStatusDesc = Nothing- , whDeploymentStatusTargetUrl = Nothing- , whDeploymentStatusCreatedAt = read "2015-05-05 23:40:39Z"- , whDeploymentStatusUpdatedAt = read "2015-05-05 23:40:39Z"- , whDeploymentStatusDeplUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/deployments/710692"- , whDeploymentStatusRepoUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo"- }- , evDeplStatusDeployment =- HookDeployment- { whDeploymentUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/deployments/710692"- , whDeploymentId = 710692- , whDeploymentNodeId = "MDg6Q2hlY2tSdW4xMjg2MjAyMjg="- , whDeploymentSha = "9049f1265b7d61be4a8904a9a27120d2064dab3b"- , whDeploymentRef = "master"- , whDeploymentTask = "deploy"- , whDeploymentEnv = "production"- , whDeploymentDescription = Nothing- , whDeploymentCreator =- HookUser- { whUserLogin = "baxterthehacker"- , whUserId = 6752317- , whUserNodeId = "MDg6Q2hlY2tSdW4xMjg2MjAyMjg="- , whUserAvatarUrl = URL "https://avatars.githubusercontent.com/u/6752317?v=3"- , whUserGravatarId = URL ""- , whUserUrl = URL "https://api.github.com/users/baxterthehacker"- , whUserHtmlUrl = URL "https://github.com/baxterthehacker"- , whUserFollowersUrl = URL "https://api.github.com/users/baxterthehacker/followers"- , whUserFollowingUrl = URL "https://api.github.com/users/baxterthehacker/following{/other_user}"- , whUserGistsUrl = URL "https://api.github.com/users/baxterthehacker/gists{/gist_id}"- , whUserStarredUrl = URL "https://api.github.com/users/baxterthehacker/starred{/owner}{/repo}"- , whUserSubscriptionsUrl = URL "https://api.github.com/users/baxterthehacker/subscriptions"- , whUserOrganizationsUrl = URL "https://api.github.com/users/baxterthehacker/orgs"- , whUserReposUrl = URL "https://api.github.com/users/baxterthehacker/repos"- , whUserEventsUrl = URL "https://api.github.com/users/baxterthehacker/events{/privacy}"- , whUserReceivedEventsUrl = URL "https://api.github.com/users/baxterthehacker/received_events"- , whUserType = OwnerUser- , whUserIsAdminOfSite = False- }- , whDeploymentCreatedAt = read "2015-05-05 23:40:38Z"- , whDeploymentUpdatedAt = read "2015-05-05 23:40:38Z"- , whDeploymentStatusesUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/deployments/710692/statuses"- , whDeploymentRepoUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo"- }- , evDeplStatusRepo =- HookRepository- { whRepoId = 35129377- , whRepoNodeId = "MDg6Q2hlY2tSdW4xMjg2MjAyMjg="- , whRepoName = "public-repo"- , whRepoFullName = "baxterthehacker/public-repo"- , whRepoOwner =- Right HookUser- { whUserLogin = "baxterthehacker"- , whUserId = 6752317- , whUserNodeId = "MDg6Q2hlY2tSdW4xMjg2MjAyMjg="- , whUserAvatarUrl = URL "https://avatars.githubusercontent.com/u/6752317?v=3"- , whUserGravatarId = URL ""- , whUserUrl = URL "https://api.github.com/users/baxterthehacker"- , whUserHtmlUrl = URL "https://github.com/baxterthehacker"- , whUserFollowersUrl = URL "https://api.github.com/users/baxterthehacker/followers"- , whUserFollowingUrl = URL "https://api.github.com/users/baxterthehacker/following{/other_user}"- , whUserGistsUrl = URL "https://api.github.com/users/baxterthehacker/gists{/gist_id}"- , whUserStarredUrl = URL "https://api.github.com/users/baxterthehacker/starred{/owner}{/repo}"- , whUserSubscriptionsUrl = URL "https://api.github.com/users/baxterthehacker/subscriptions"- , whUserOrganizationsUrl = URL "https://api.github.com/users/baxterthehacker/orgs"- , whUserReposUrl = URL "https://api.github.com/users/baxterthehacker/repos"- , whUserEventsUrl = URL "https://api.github.com/users/baxterthehacker/events{/privacy}"- , whUserReceivedEventsUrl = URL "https://api.github.com/users/baxterthehacker/received_events"- , whUserType = OwnerUser- , whUserIsAdminOfSite = False- }- , whRepoIsPrivate = False- , whRepoHtmlUrl = URL "https://github.com/baxterthehacker/public-repo"- , whRepoDescription = ""- , whRepoIsAFork = False- , whRepoUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo"- , whRepoForksUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/forks"- , whRepoKeysUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/keys{/key_id}"- , whRepoCollaboratorsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/collaborators{/collaborator}"- , whRepoTeamsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/teams"- , whRepoHooksUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/hooks"- , whRepoIssueEventsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/issues/events{/number}"- , whRepoEventsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/events"- , whRepoAssigneesUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/assignees{/user}"- , whRepoBranchesUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/branches{/branch}"- , whRepoTagsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/tags"- , whRepoBlobsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/git/blobs{/sha}"- , whRepoGitTagsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/git/tags{/sha}"- , whRepoGitRefsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/git/refs{/sha}"- , whRepoTreesUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/git/trees{/sha}"- , whRepoStatusesUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/statuses/{sha}"- , whRepoLanguagesUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/languages"- , whRepoStargazersUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/stargazers"- , whRepoContributorsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/contributors"- , whRepoSubscribersUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/subscribers"- , whRepoSubscriptionUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/subscription"- , whRepoCommitsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/commits{/sha}"- , whRepoGitCommitsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/git/commits{/sha}"- , whRepoCommentsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/comments{/number}"- , whRepoIssueCommentsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/issues/comments{/number}"- , whRepoContentsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/contents/{+path}"- , whRepoCompareUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/compare/{base}...{head}"- , whRepoMergesUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/merges"- , whRepoArchiveUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/{archive_format}{/ref}"- , whRepoDownloadsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/downloads"- , whRepoIssuesUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/issues{/number}"- , whRepoPullsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/pulls{/number}"- , whRepoMilestonesUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/milestones{/number}"- , whRepoNotificationsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/notifications{?since,all,participating}"- , whRepoLabelsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/labels{/name}"- , whRepoReleasesUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/releases{/id}"- , whRepoCreatedAt = read "2015-05-05 23:40:12Z"- , whRepoUpdatedAt = read "2015-05-05 23:40:30Z"- , whRepoPushedAt = read "2015-05-05 23:40:38Z"- , whRepoGitUrl = URL "git://github.com/baxterthehacker/public-repo.git"- , whRepoSshUrl = URL "git@github.com:baxterthehacker/public-repo.git"- , whRepoCloneUrl = URL "https://github.com/baxterthehacker/public-repo.git"- , whRepoSvnUrl = URL "https://github.com/baxterthehacker/public-repo"- , whRepoHomepage = Nothing- , whRepoSize = 0- , whRepoStargazersCount = 0- , whRepoWatchersCount = 0- , whRepoLanguage = Nothing- , whRepoHasIssues = True- , whRepoHasDownloads = True- , whRepoHasWiki = True- , whRepoHasPages = True- , whRepoForkCount = 0- , whRepoMirrorUrl = Nothing- , whRepoOpenIssuesCount = 2- , whRepoDefaultBranchName = "master"- }- , evDeplStatusSender =- HookUser- { whUserLogin = "baxterthehacker"- , whUserId = 6752317- , whUserNodeId = "MDg6Q2hlY2tSdW4xMjg2MjAyMjg="- , whUserAvatarUrl = URL "https://avatars.githubusercontent.com/u/6752317?v=3"- , whUserGravatarId = URL ""- , whUserUrl = URL "https://api.github.com/users/baxterthehacker"- , whUserHtmlUrl = URL "https://github.com/baxterthehacker"- , whUserFollowersUrl = URL "https://api.github.com/users/baxterthehacker/followers"- , whUserFollowingUrl = URL "https://api.github.com/users/baxterthehacker/following{/other_user}"- , whUserGistsUrl = URL "https://api.github.com/users/baxterthehacker/gists{/gist_id}"- , whUserStarredUrl = URL "https://api.github.com/users/baxterthehacker/starred{/owner}{/repo}"- , whUserSubscriptionsUrl = URL "https://api.github.com/users/baxterthehacker/subscriptions"- , whUserOrganizationsUrl = URL "https://api.github.com/users/baxterthehacker/orgs"- , whUserReposUrl = URL "https://api.github.com/users/baxterthehacker/repos"- , whUserEventsUrl = URL "https://api.github.com/users/baxterthehacker/events{/privacy}"- , whUserReceivedEventsUrl = URL "https://api.github.com/users/baxterthehacker/received_events"- , whUserType = OwnerUser- , whUserIsAdminOfSite = False- }- }--forkEventFixture :: ForkEvent-forkEventFixture = ForkEvent- { evForkDestination =- HookRepository- { whRepoId = 35129393- , whRepoNodeId = "MDg6Q2hlY2tSdW4xMjg2MjAyMjg="- , whRepoName = "public-repo"- , whRepoFullName = "baxterandthehackers/public-repo"- , whRepoOwner =- Right HookUser- { whUserLogin = "baxterandthehackers"- , whUserId = 7649605- , whUserNodeId = "MDg6Q2hlY2tSdW4xMjg2MjAyMjg="- , whUserAvatarUrl = URL "https://avatars.githubusercontent.com/u/7649605?v=3"- , whUserGravatarId = URL ""- , whUserUrl = URL "https://api.github.com/users/baxterandthehackers"- , whUserHtmlUrl = URL "https://github.com/baxterandthehackers"- , whUserFollowersUrl = URL "https://api.github.com/users/baxterandthehackers/followers"- , whUserFollowingUrl = URL "https://api.github.com/users/baxterandthehackers/following{/other_user}"- , whUserGistsUrl = URL "https://api.github.com/users/baxterandthehackers/gists{/gist_id}"- , whUserStarredUrl = URL "https://api.github.com/users/baxterandthehackers/starred{/owner}{/repo}"- , whUserSubscriptionsUrl = URL "https://api.github.com/users/baxterandthehackers/subscriptions"- , whUserOrganizationsUrl = URL "https://api.github.com/users/baxterandthehackers/orgs"- , whUserReposUrl = URL "https://api.github.com/users/baxterandthehackers/repos"- , whUserEventsUrl = URL "https://api.github.com/users/baxterandthehackers/events{/privacy}"- , whUserReceivedEventsUrl = URL "https://api.github.com/users/baxterandthehackers/received_events"- , whUserType = OwnerOrganization- , whUserIsAdminOfSite = False- }- , whRepoIsPrivate = False- , whRepoHtmlUrl = URL "https://github.com/baxterandthehackers/public-repo"- , whRepoDescription = ""- , whRepoIsAFork = True- , whRepoUrl = URL "https://api.github.com/repos/baxterandthehackers/public-repo"- , whRepoForksUrl = URL "https://api.github.com/repos/baxterandthehackers/public-repo/forks"- , whRepoKeysUrl = URL "https://api.github.com/repos/baxterandthehackers/public-repo/keys{/key_id}"- , whRepoCollaboratorsUrl = URL "https://api.github.com/repos/baxterandthehackers/public-repo/collaborators{/collaborator}"- , whRepoTeamsUrl = URL "https://api.github.com/repos/baxterandthehackers/public-repo/teams"- , whRepoHooksUrl = URL "https://api.github.com/repos/baxterandthehackers/public-repo/hooks"- , whRepoIssueEventsUrl = URL "https://api.github.com/repos/baxterandthehackers/public-repo/issues/events{/number}"- , whRepoEventsUrl = URL "https://api.github.com/repos/baxterandthehackers/public-repo/events"- , whRepoAssigneesUrl = URL "https://api.github.com/repos/baxterandthehackers/public-repo/assignees{/user}"- , whRepoBranchesUrl = URL "https://api.github.com/repos/baxterandthehackers/public-repo/branches{/branch}"- , whRepoTagsUrl = URL "https://api.github.com/repos/baxterandthehackers/public-repo/tags"- , whRepoBlobsUrl = URL "https://api.github.com/repos/baxterandthehackers/public-repo/git/blobs{/sha}"- , whRepoGitTagsUrl = URL "https://api.github.com/repos/baxterandthehackers/public-repo/git/tags{/sha}"- , whRepoGitRefsUrl = URL "https://api.github.com/repos/baxterandthehackers/public-repo/git/refs{/sha}"- , whRepoTreesUrl = URL "https://api.github.com/repos/baxterandthehackers/public-repo/git/trees{/sha}"- , whRepoStatusesUrl = URL "https://api.github.com/repos/baxterandthehackers/public-repo/statuses/{sha}"- , whRepoLanguagesUrl = URL "https://api.github.com/repos/baxterandthehackers/public-repo/languages"- , whRepoStargazersUrl = URL "https://api.github.com/repos/baxterandthehackers/public-repo/stargazers"- , whRepoContributorsUrl = URL "https://api.github.com/repos/baxterandthehackers/public-repo/contributors"- , whRepoSubscribersUrl = URL "https://api.github.com/repos/baxterandthehackers/public-repo/subscribers"- , whRepoSubscriptionUrl = URL "https://api.github.com/repos/baxterandthehackers/public-repo/subscription"- , whRepoCommitsUrl = URL "https://api.github.com/repos/baxterandthehackers/public-repo/commits{/sha}"- , whRepoGitCommitsUrl = URL "https://api.github.com/repos/baxterandthehackers/public-repo/git/commits{/sha}"- , whRepoCommentsUrl = URL "https://api.github.com/repos/baxterandthehackers/public-repo/comments{/number}"- , whRepoIssueCommentsUrl = URL "https://api.github.com/repos/baxterandthehackers/public-repo/issues/comments{/number}"- , whRepoContentsUrl = URL "https://api.github.com/repos/baxterandthehackers/public-repo/contents/{+path}"- , whRepoCompareUrl = URL "https://api.github.com/repos/baxterandthehackers/public-repo/compare/{base}...{head}"- , whRepoMergesUrl = URL "https://api.github.com/repos/baxterandthehackers/public-repo/merges"- , whRepoArchiveUrl = URL "https://api.github.com/repos/baxterandthehackers/public-repo/{archive_format}{/ref}"- , whRepoDownloadsUrl = URL "https://api.github.com/repos/baxterandthehackers/public-repo/downloads"- , whRepoIssuesUrl = URL "https://api.github.com/repos/baxterandthehackers/public-repo/issues{/number}"- , whRepoPullsUrl = URL "https://api.github.com/repos/baxterandthehackers/public-repo/pulls{/number}"- , whRepoMilestonesUrl = URL "https://api.github.com/repos/baxterandthehackers/public-repo/milestones{/number}"- , whRepoNotificationsUrl = URL "https://api.github.com/repos/baxterandthehackers/public-repo/notifications{?since,all,participating}"- , whRepoLabelsUrl = URL "https://api.github.com/repos/baxterandthehackers/public-repo/labels{/name}"- , whRepoReleasesUrl = URL "https://api.github.com/repos/baxterandthehackers/public-repo/releases{/id}"- , whRepoCreatedAt = read "2015-05-05 23:40:30Z"- , whRepoUpdatedAt = read "2015-05-05 23:40:30Z"- , whRepoPushedAt = read "2015-05-05 23:40:27Z"- , whRepoGitUrl = URL "git://github.com/baxterandthehackers/public-repo.git"- , whRepoSshUrl = URL "git@github.com:baxterandthehackers/public-repo.git"- , whRepoCloneUrl = URL "https://github.com/baxterandthehackers/public-repo.git"- , whRepoSvnUrl = URL "https://github.com/baxterandthehackers/public-repo"- , whRepoHomepage = Nothing- , whRepoSize = 0- , whRepoStargazersCount = 0- , whRepoWatchersCount = 0- , whRepoLanguage = Nothing- , whRepoHasIssues = False- , whRepoHasDownloads = True- , whRepoHasWiki = True- , whRepoHasPages = True- , whRepoForkCount = 0- , whRepoMirrorUrl = Nothing- , whRepoOpenIssuesCount = 0- , whRepoDefaultBranchName = "master"- }- , evForkSource =- HookRepository- { whRepoId = 35129377- , whRepoNodeId = "MDg6Q2hlY2tSdW4xMjg2MjAyMjg="- , whRepoName = "public-repo"- , whRepoFullName = "baxterthehacker/public-repo"- , whRepoOwner =- Right HookUser- { whUserLogin = "baxterthehacker"- , whUserId = 6752317- , whUserNodeId = "MDg6Q2hlY2tSdW4xMjg2MjAyMjg="- , whUserAvatarUrl = URL "https://avatars.githubusercontent.com/u/6752317?v=3"- , whUserGravatarId = URL ""- , whUserUrl = URL "https://api.github.com/users/baxterthehacker"- , whUserHtmlUrl = URL "https://github.com/baxterthehacker"- , whUserFollowersUrl = URL "https://api.github.com/users/baxterthehacker/followers"- , whUserFollowingUrl = URL "https://api.github.com/users/baxterthehacker/following{/other_user}"- , whUserGistsUrl = URL "https://api.github.com/users/baxterthehacker/gists{/gist_id}"- , whUserStarredUrl = URL "https://api.github.com/users/baxterthehacker/starred{/owner}{/repo}"- , whUserSubscriptionsUrl = URL "https://api.github.com/users/baxterthehacker/subscriptions"- , whUserOrganizationsUrl = URL "https://api.github.com/users/baxterthehacker/orgs"- , whUserReposUrl = URL "https://api.github.com/users/baxterthehacker/repos"- , whUserEventsUrl = URL "https://api.github.com/users/baxterthehacker/events{/privacy}"- , whUserReceivedEventsUrl = URL "https://api.github.com/users/baxterthehacker/received_events"- , whUserType = OwnerUser- , whUserIsAdminOfSite = False- }- , whRepoIsPrivate = False- , whRepoHtmlUrl = URL "https://github.com/baxterthehacker/public-repo"- , whRepoDescription = ""- , whRepoIsAFork = False- , whRepoUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo"- , whRepoForksUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/forks"- , whRepoKeysUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/keys{/key_id}"- , whRepoCollaboratorsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/collaborators{/collaborator}"- , whRepoTeamsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/teams"- , whRepoHooksUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/hooks"- , whRepoIssueEventsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/issues/events{/number}"- , whRepoEventsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/events"- , whRepoAssigneesUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/assignees{/user}"- , whRepoBranchesUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/branches{/branch}"- , whRepoTagsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/tags"- , whRepoBlobsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/git/blobs{/sha}"- , whRepoGitTagsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/git/tags{/sha}"- , whRepoGitRefsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/git/refs{/sha}"- , whRepoTreesUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/git/trees{/sha}"- , whRepoStatusesUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/statuses/{sha}"- , whRepoLanguagesUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/languages"- , whRepoStargazersUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/stargazers"- , whRepoContributorsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/contributors"- , whRepoSubscribersUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/subscribers"- , whRepoSubscriptionUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/subscription"- , whRepoCommitsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/commits{/sha}"- , whRepoGitCommitsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/git/commits{/sha}"- , whRepoCommentsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/comments{/number}"- , whRepoIssueCommentsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/issues/comments{/number}"- , whRepoContentsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/contents/{+path}"- , whRepoCompareUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/compare/{base}...{head}"- , whRepoMergesUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/merges"- , whRepoArchiveUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/{archive_format}{/ref}"- , whRepoDownloadsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/downloads"- , whRepoIssuesUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/issues{/number}"- , whRepoPullsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/pulls{/number}"- , whRepoMilestonesUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/milestones{/number}"- , whRepoNotificationsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/notifications{?since,all,participating}"- , whRepoLabelsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/labels{/name}"- , whRepoReleasesUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/releases{/id}"- , whRepoCreatedAt = read "2015-05-05 23:40:12Z"- , whRepoUpdatedAt = read "2015-05-05 23:40:30Z"- , whRepoPushedAt = read "2015-05-05 23:40:27Z"- , whRepoGitUrl = URL "git://github.com/baxterthehacker/public-repo.git"- , whRepoSshUrl = URL "git@github.com:baxterthehacker/public-repo.git"- , whRepoCloneUrl = URL "https://github.com/baxterthehacker/public-repo.git"- , whRepoSvnUrl = URL "https://github.com/baxterthehacker/public-repo"- , whRepoHomepage = Nothing- , whRepoSize = 0- , whRepoStargazersCount = 0- , whRepoWatchersCount = 0- , whRepoLanguage = Nothing- , whRepoHasIssues = True- , whRepoHasDownloads = True- , whRepoHasWiki = True- , whRepoHasPages = True- , whRepoForkCount = 1- , whRepoMirrorUrl = Nothing- , whRepoOpenIssuesCount = 2- , whRepoDefaultBranchName = "master"- }- , evForkSender =- HookUser- { whUserLogin = "baxterandthehackers"- , whUserId = 7649605- , whUserNodeId = "MDg6Q2hlY2tSdW4xMjg2MjAyMjg="- , whUserAvatarUrl = URL "https://avatars.githubusercontent.com/u/7649605?v=3"- , whUserGravatarId = URL ""- , whUserUrl = URL "https://api.github.com/users/baxterandthehackers"- , whUserHtmlUrl = URL "https://github.com/baxterandthehackers"- , whUserFollowersUrl = URL "https://api.github.com/users/baxterandthehackers/followers"- , whUserFollowingUrl = URL "https://api.github.com/users/baxterandthehackers/following{/other_user}"- , whUserGistsUrl = URL "https://api.github.com/users/baxterandthehackers/gists{/gist_id}"- , whUserStarredUrl = URL "https://api.github.com/users/baxterandthehackers/starred{/owner}{/repo}"- , whUserSubscriptionsUrl = URL "https://api.github.com/users/baxterandthehackers/subscriptions"- , whUserOrganizationsUrl = URL "https://api.github.com/users/baxterandthehackers/orgs"- , whUserReposUrl = URL "https://api.github.com/users/baxterandthehackers/repos"- , whUserEventsUrl = URL "https://api.github.com/users/baxterandthehackers/events{/privacy}"- , whUserReceivedEventsUrl = URL "https://api.github.com/users/baxterandthehackers/received_events"- , whUserType = OwnerOrganization- , whUserIsAdminOfSite = False- }- }--gollumEventFixture :: GollumEvent-gollumEventFixture = GollumEvent- { evGollumPages = V.fromList- [ HookWikiPage- { whWikiPageName = "Home"- , whWikiPageTitle = "Home"- , whWikiPageSummary = Nothing- , wkWikiPageAction = "created"- , whWikiPageSha = "91ea1bd42aa2ba166b86e8aefe049e9837214e67"- , whWikiPageHtmlUrl = URL "https://github.com/baxterthehacker/public-repo/wiki/Home"- }- ]- , evGollumRepo =- HookRepository- { whRepoId = 35129377- , whRepoNodeId = "MDg6Q2hlY2tSdW4xMjg2MjAyMjg="- , whRepoName = "public-repo"- , whRepoFullName = "baxterthehacker/public-repo"- , whRepoOwner =- Right HookUser- { whUserLogin = "baxterthehacker"- , whUserId = 6752317- , whUserNodeId = "MDg6Q2hlY2tSdW4xMjg2MjAyMjg="- , whUserAvatarUrl = URL "https://avatars.githubusercontent.com/u/6752317?v=3"- , whUserGravatarId = URL ""- , whUserUrl = URL "https://api.github.com/users/baxterthehacker"- , whUserHtmlUrl = URL "https://github.com/baxterthehacker"- , whUserFollowersUrl = URL "https://api.github.com/users/baxterthehacker/followers"- , whUserFollowingUrl = URL "https://api.github.com/users/baxterthehacker/following{/other_user}"- , whUserGistsUrl = URL "https://api.github.com/users/baxterthehacker/gists{/gist_id}"- , whUserStarredUrl = URL "https://api.github.com/users/baxterthehacker/starred{/owner}{/repo}"- , whUserSubscriptionsUrl = URL "https://api.github.com/users/baxterthehacker/subscriptions"- , whUserOrganizationsUrl = URL "https://api.github.com/users/baxterthehacker/orgs"- , whUserReposUrl = URL "https://api.github.com/users/baxterthehacker/repos"- , whUserEventsUrl = URL "https://api.github.com/users/baxterthehacker/events{/privacy}"- , whUserReceivedEventsUrl = URL "https://api.github.com/users/baxterthehacker/received_events"- , whUserType = OwnerUser- , whUserIsAdminOfSite = False- }- , whRepoIsPrivate = False- , whRepoHtmlUrl = URL "https://github.com/baxterthehacker/public-repo"- , whRepoDescription = ""- , whRepoIsAFork = False- , whRepoUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo"- , whRepoForksUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/forks"- , whRepoKeysUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/keys{/key_id}"- , whRepoCollaboratorsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/collaborators{/collaborator}"- , whRepoTeamsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/teams"- , whRepoHooksUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/hooks"- , whRepoIssueEventsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/issues/events{/number}"- , whRepoEventsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/events"- , whRepoAssigneesUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/assignees{/user}"- , whRepoBranchesUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/branches{/branch}"- , whRepoTagsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/tags"- , whRepoBlobsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/git/blobs{/sha}"- , whRepoGitTagsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/git/tags{/sha}"- , whRepoGitRefsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/git/refs{/sha}"- , whRepoTreesUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/git/trees{/sha}"- , whRepoStatusesUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/statuses/{sha}"- , whRepoLanguagesUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/languages"- , whRepoStargazersUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/stargazers"- , whRepoContributorsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/contributors"- , whRepoSubscribersUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/subscribers"- , whRepoSubscriptionUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/subscription"- , whRepoCommitsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/commits{/sha}"- , whRepoGitCommitsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/git/commits{/sha}"- , whRepoCommentsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/comments{/number}"- , whRepoIssueCommentsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/issues/comments{/number}"- , whRepoContentsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/contents/{+path}"- , whRepoCompareUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/compare/{base}...{head}"- , whRepoMergesUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/merges"- , whRepoArchiveUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/{archive_format}{/ref}"- , whRepoDownloadsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/downloads"- , whRepoIssuesUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/issues{/number}"- , whRepoPullsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/pulls{/number}"- , whRepoMilestonesUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/milestones{/number}"- , whRepoNotificationsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/notifications{?since,all,participating}"- , whRepoLabelsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/labels{/name}"- , whRepoReleasesUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/releases{/id}"- , whRepoCreatedAt = read "2015-05-05 23:40:12Z"- , whRepoUpdatedAt = read "2015-05-05 23:40:12Z"- , whRepoPushedAt = read "2015-05-05 23:40:17Z"- , whRepoGitUrl = URL "git://github.com/baxterthehacker/public-repo.git"- , whRepoSshUrl = URL "git@github.com:baxterthehacker/public-repo.git"- , whRepoCloneUrl = URL "https://github.com/baxterthehacker/public-repo.git"- , whRepoSvnUrl = URL "https://github.com/baxterthehacker/public-repo"- , whRepoHomepage = Nothing- , whRepoSize = 0- , whRepoStargazersCount = 0- , whRepoWatchersCount = 0- , whRepoLanguage = Nothing- , whRepoHasIssues = True- , whRepoHasDownloads = True- , whRepoHasWiki = True- , whRepoHasPages = True- , whRepoForkCount = 0- , whRepoMirrorUrl = Nothing- , whRepoOpenIssuesCount = 0- , whRepoDefaultBranchName = "master"- }- , evGollumSender =- HookUser- { whUserLogin = "jasonrudolph"- , whUserId = 2988- , whUserNodeId = "MDg6Q2hlY2tSdW4xMjg2MjAyMjg="- , whUserAvatarUrl = URL "https://avatars.githubusercontent.com/u/2988?v=3"- , whUserGravatarId = URL ""- , whUserUrl = URL "https://api.github.com/users/jasonrudolph"- , whUserHtmlUrl = URL "https://github.com/jasonrudolph"- , whUserFollowersUrl = URL "https://api.github.com/users/jasonrudolph/followers"- , whUserFollowingUrl = URL "https://api.github.com/users/jasonrudolph/following{/other_user}"- , whUserGistsUrl = URL "https://api.github.com/users/jasonrudolph/gists{/gist_id}"- , whUserStarredUrl = URL "https://api.github.com/users/jasonrudolph/starred{/owner}{/repo}"- , whUserSubscriptionsUrl = URL "https://api.github.com/users/jasonrudolph/subscriptions"- , whUserOrganizationsUrl = URL "https://api.github.com/users/jasonrudolph/orgs"- , whUserReposUrl = URL "https://api.github.com/users/jasonrudolph/repos"- , whUserEventsUrl = URL "https://api.github.com/users/jasonrudolph/events{/privacy}"- , whUserReceivedEventsUrl = URL "https://api.github.com/users/jasonrudolph/received_events"- , whUserType = OwnerUser- , whUserIsAdminOfSite = True- }- }--installationEventFixture :: InstallationEvent-installationEventFixture = InstallationEvent- { evInstallationAction = InstallationDeletedAction- , evInstallationInfo =- HookInstallation- { whInstallationId = 2- , whInstallationAccount =- HookUser- { whUserLogin = "octocat"- , whUserId = 1- , whUserNodeId = "MDg6Q2hlY2tSdW4xMjg2MjAyMjg="- , whUserAvatarUrl = URL "https://github.com/images/error/octocat_happy.gif"- , whUserGravatarId = URL ""- , whUserUrl = URL "https://api.github.com/users/octocat"- , whUserHtmlUrl = URL "https://github.com/octocat"- , whUserFollowersUrl = URL "https://api.github.com/users/octocat/followers"- , whUserFollowingUrl = URL "https://api.github.com/users/octocat/following{/other_user}"- , whUserGistsUrl = URL "https://api.github.com/users/octocat/gists{/gist_id}"- , whUserStarredUrl = URL "https://api.github.com/users/octocat/starred{/owner}{/repo}"- , whUserSubscriptionsUrl = URL "https://api.github.com/users/octocat/subscriptions"- , whUserOrganizationsUrl = URL "https://api.github.com/users/octocat/orgs"- , whUserReposUrl = URL "https://api.github.com/users/octocat/repos"- , whUserEventsUrl = URL "https://api.github.com/users/octocat/events{/privacy}"- , whUserReceivedEventsUrl = URL "https://api.github.com/users/octocat/received_events"- , whUserType = OwnerUser- , whUserIsAdminOfSite = False- }- , whInstallationRepoSel = "selected"- , whInstallationTokenUrl = URL "https://api.github.com/installations/2/access_tokens"- , whInstallationRepoUrl = URL "https://api.github.com/installation/repositories"- }- , evInstallationRepos = V.fromList- [ HookRepositorySimple { whSimplRepoId = 1296269 , whSimplRepoNodeId = "MDg6Q2hlY2tSdW4xMjg2MjAyMjg=" , whSimplRepoName = "Hello-World" , whSimplRepoFullName = "octocat/Hello-World", whSimplRepoIsPrivate = True } ]- , evInstallationSender =- HookUser- { whUserLogin = "octocat"- , whUserId = 1- , whUserNodeId = "MDg6Q2hlY2tSdW4xMjg2MjAyMjg="- , whUserAvatarUrl = URL "https://github.com/images/error/octocat_happy.gif"- , whUserGravatarId = URL ""- , whUserUrl = URL "https://api.github.com/users/octocat"- , whUserHtmlUrl = URL "https://github.com/octocat"- , whUserFollowersUrl = URL "https://api.github.com/users/octocat/followers"- , whUserFollowingUrl = URL "https://api.github.com/users/octocat/following{/other_user}"- , whUserGistsUrl = URL "https://api.github.com/users/octocat/gists{/gist_id}"- , whUserStarredUrl = URL "https://api.github.com/users/octocat/starred{/owner}{/repo}"- , whUserSubscriptionsUrl = URL "https://api.github.com/users/octocat/subscriptions"- , whUserOrganizationsUrl = URL "https://api.github.com/users/octocat/orgs"- , whUserReposUrl = URL "https://api.github.com/users/octocat/repos"- , whUserEventsUrl = URL "https://api.github.com/users/octocat/events{/privacy}"- , whUserReceivedEventsUrl = URL "https://api.github.com/users/octocat/received_events"- , whUserType = OwnerUser- , whUserIsAdminOfSite = False- }- }--installationRepoEventFixture :: InstallationRepositoriesEvent-installationRepoEventFixture = InstallationRepositoriesEvent- { evInstallationRepoAction = InstallationRepoRemovedAction- , evInstallationRepoInfo =- HookInstallation- { whInstallationId = 2- , whInstallationAccount =- HookUser- { whUserLogin = "octocat"- , whUserId = 1- , whUserNodeId = "MDg6Q2hlY2tSdW4xMjg2MjAyMjg="- , whUserAvatarUrl = URL "https://github.com/images/error/octocat_happy.gif"- , whUserGravatarId = URL ""- , whUserUrl = URL "https://api.github.com/users/octocat"- , whUserHtmlUrl = URL "https://github.com/octocat"- , whUserFollowersUrl = URL "https://api.github.com/users/octocat/followers"- , whUserFollowingUrl = URL "https://api.github.com/users/octocat/following{/other_user}"- , whUserGistsUrl = URL "https://api.github.com/users/octocat/gists{/gist_id}"- , whUserStarredUrl = URL "https://api.github.com/users/octocat/starred{/owner}{/repo}"- , whUserSubscriptionsUrl = URL "https://api.github.com/users/octocat/subscriptions"- , whUserOrganizationsUrl = URL "https://api.github.com/users/octocat/orgs"- , whUserReposUrl = URL "https://api.github.com/users/octocat/repos"- , whUserEventsUrl = URL "https://api.github.com/users/octocat/events{/privacy}"- , whUserReceivedEventsUrl = URL "https://api.github.com/users/octocat/received_events"- , whUserType = OwnerUser- , whUserIsAdminOfSite = False- }- , whInstallationRepoSel = "selected"- , whInstallationTokenUrl = URL "https://api.github.com/installations/2/access_tokens"- , whInstallationRepoUrl = URL "https://api.github.com/installation/repositories"- }- , evInstallationRepoSel = "selected"- , evInstallationReposAdd = V.empty- , evInstallationReposRemove = V.fromList- [ HookRepositorySimple { whSimplRepoId = 1296269 , whSimplRepoNodeId = "MDg6Q2hlY2tSdW4xMjg2MjAyMjg=" , whSimplRepoName = "Hello-World" , whSimplRepoFullName = "octocat/Hello-World", whSimplRepoIsPrivate = False } ]- , evInstallationReposSender =- HookUser- { whUserLogin = "octocat"- , whUserId = 1- , whUserNodeId = "MDg6Q2hlY2tSdW4xMjg2MjAyMjg="- , whUserAvatarUrl = URL "https://github.com/images/error/octocat_happy.gif"- , whUserGravatarId = URL ""- , whUserUrl = URL "https://api.github.com/users/octocat"- , whUserHtmlUrl = URL "https://github.com/octocat"- , whUserFollowersUrl = URL "https://api.github.com/users/octocat/followers"- , whUserFollowingUrl = URL "https://api.github.com/users/octocat/following{/other_user}"- , whUserGistsUrl = URL "https://api.github.com/users/octocat/gists{/gist_id}"- , whUserStarredUrl = URL "https://api.github.com/users/octocat/starred{/owner}{/repo}"- , whUserSubscriptionsUrl = URL "https://api.github.com/users/octocat/subscriptions"- , whUserOrganizationsUrl = URL "https://api.github.com/users/octocat/orgs"- , whUserReposUrl = URL "https://api.github.com/users/octocat/repos"- , whUserEventsUrl = URL "https://api.github.com/users/octocat/events{/privacy}"- , whUserReceivedEventsUrl = URL "https://api.github.com/users/octocat/received_events"- , whUserType = OwnerUser- , whUserIsAdminOfSite = False- }- }--issueCommentEventFixture :: IssueCommentEvent-issueCommentEventFixture = IssueCommentEvent- { evIssueCommentAction = IssueCommentCreatedAction- , evIssueCommentIssue =- HookIssue- { whIssueUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/issues/2"- , whIssueLabelsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/issues/2/labels{/name}"- , whIssueCommentsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/issues/2/comments"- , whIssueEventsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/issues/2/events"- , whIssueHtmlUrl = URL "https://github.com/baxterthehacker/public-repo/issues/2"- , whIssueId = 73464126- , whIssueNodeId = "MDg6Q2hlY2tSdW4xMjg2MjAyMjg="- , whIssueNumber = 2- , whIssueTitle = "Spelling error in the README file"- , whIssueUser =- HookUser- { whUserLogin = "baxterthehacker"- , whUserId = 6752317- , whUserNodeId = "MDg6Q2hlY2tSdW4xMjg2MjAyMjg="- , whUserAvatarUrl = URL "https://avatars.githubusercontent.com/u/6752317?v=3"- , whUserGravatarId = URL ""- , whUserUrl = URL "https://api.github.com/users/baxterthehacker"- , whUserHtmlUrl = URL "https://github.com/baxterthehacker"- , whUserFollowersUrl = URL "https://api.github.com/users/baxterthehacker/followers"- , whUserFollowingUrl = URL "https://api.github.com/users/baxterthehacker/following{/other_user}"- , whUserGistsUrl = URL "https://api.github.com/users/baxterthehacker/gists{/gist_id}"- , whUserStarredUrl = URL "https://api.github.com/users/baxterthehacker/starred{/owner}{/repo}"- , whUserSubscriptionsUrl = URL "https://api.github.com/users/baxterthehacker/subscriptions"- , whUserOrganizationsUrl = URL "https://api.github.com/users/baxterthehacker/orgs"- , whUserReposUrl = URL "https://api.github.com/users/baxterthehacker/repos"- , whUserEventsUrl = URL "https://api.github.com/users/baxterthehacker/events{/privacy}"- , whUserReceivedEventsUrl = URL "https://api.github.com/users/baxterthehacker/received_events"- , whUserType = OwnerUser- , whUserIsAdminOfSite = False- }- , whIssueLabels = V.fromList- [ HookIssueLabels- { whIssueLabelId = Nothing- , whIssueLabelNodeId = Just "MDg6Q2hlY2tSdW4xMjg2MjAyMjg="- , whIssueLabelUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/labels/bug"- , whIssueLabelName = "bug"- , whIssueLabelColor = "fc2929"- , whIssueLabelIsDefault = False- }- ]- , whIssueState = "open"- , whIssueIsLocked = False- , whIssueAssignee = Nothing- , whIssueMilestone = Nothing- , whIssueCommentCount = 1- , whIssueCreatedAt = read "2015-05-05 23:40:28Z"- , whIssueUpdatedAt = read "2015-05-05 23:40:28Z"- , whIssueClosedAt = Nothing- , whIssueBody = "It looks like you accidently spelled 'commit' with two 't's."- }- , evIssueCommentPayload =- HookIssueComment- { whIssueCommentUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/issues/comments/99262140"- , whIssueCommentHtmlUrl = URL "https://github.com/baxterthehacker/public-repo/issues/2#issuecomment-99262140"- , whIssueCommentIssueUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/issues/2"- , whIssueCommentId = 99262140- , whIssueCommentNodeId = "MDg6Q2hlY2tSdW4xMjg2MjAyMjg="- , whIssueCommentUser =- HookUser- { whUserLogin = "baxterthehacker"- , whUserId = 6752317- , whUserNodeId = "MDg6Q2hlY2tSdW4xMjg2MjAyMjg="- , whUserAvatarUrl = URL "https://avatars.githubusercontent.com/u/6752317?v=3"- , whUserGravatarId = URL ""- , whUserUrl = URL "https://api.github.com/users/baxterthehacker"- , whUserHtmlUrl = URL "https://github.com/baxterthehacker"- , whUserFollowersUrl = URL "https://api.github.com/users/baxterthehacker/followers"- , whUserFollowingUrl = URL "https://api.github.com/users/baxterthehacker/following{/other_user}"- , whUserGistsUrl = URL "https://api.github.com/users/baxterthehacker/gists{/gist_id}"- , whUserStarredUrl = URL "https://api.github.com/users/baxterthehacker/starred{/owner}{/repo}"- , whUserSubscriptionsUrl = URL "https://api.github.com/users/baxterthehacker/subscriptions"- , whUserOrganizationsUrl = URL "https://api.github.com/users/baxterthehacker/orgs"- , whUserReposUrl = URL "https://api.github.com/users/baxterthehacker/repos"- , whUserEventsUrl = URL "https://api.github.com/users/baxterthehacker/events{/privacy}"- , whUserReceivedEventsUrl = URL "https://api.github.com/users/baxterthehacker/received_events"- , whUserType = OwnerUser- , whUserIsAdminOfSite = False- }- , whIssueCommentCreatedAt = read "2015-05-05 23:40:28Z"- , whIssueCommentUpdatedAt = read "2015-05-05 23:40:28Z"- , whIssueCommentBody = "You are totally right! I'll get this fixed right away."- }- , evIssueCommentRepo =- HookRepository- { whRepoId = 35129377- , whRepoNodeId = "MDg6Q2hlY2tSdW4xMjg2MjAyMjg="- , whRepoName = "public-repo"- , whRepoFullName = "baxterthehacker/public-repo"- , whRepoOwner =- Right HookUser- { whUserLogin = "baxterthehacker"- , whUserId = 6752317- , whUserNodeId = "MDg6Q2hlY2tSdW4xMjg2MjAyMjg="- , whUserAvatarUrl = URL "https://avatars.githubusercontent.com/u/6752317?v=3"- , whUserGravatarId = URL ""- , whUserUrl = URL "https://api.github.com/users/baxterthehacker"- , whUserHtmlUrl = URL "https://github.com/baxterthehacker"- , whUserFollowersUrl = URL "https://api.github.com/users/baxterthehacker/followers"- , whUserFollowingUrl = URL "https://api.github.com/users/baxterthehacker/following{/other_user}"- , whUserGistsUrl = URL "https://api.github.com/users/baxterthehacker/gists{/gist_id}"- , whUserStarredUrl = URL "https://api.github.com/users/baxterthehacker/starred{/owner}{/repo}"- , whUserSubscriptionsUrl = URL "https://api.github.com/users/baxterthehacker/subscriptions"- , whUserOrganizationsUrl = URL "https://api.github.com/users/baxterthehacker/orgs"- , whUserReposUrl = URL "https://api.github.com/users/baxterthehacker/repos"- , whUserEventsUrl = URL "https://api.github.com/users/baxterthehacker/events{/privacy}"- , whUserReceivedEventsUrl = URL "https://api.github.com/users/baxterthehacker/received_events"- , whUserType = OwnerUser- , whUserIsAdminOfSite = False- }- , whRepoIsPrivate = False- , whRepoHtmlUrl = URL "https://github.com/baxterthehacker/public-repo"- , whRepoDescription = ""- , whRepoIsAFork = False- , whRepoUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo"- , whRepoForksUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/forks"- , whRepoKeysUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/keys{/key_id}"- , whRepoCollaboratorsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/collaborators{/collaborator}"- , whRepoTeamsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/teams"- , whRepoHooksUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/hooks"- , whRepoIssueEventsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/issues/events{/number}"- , whRepoEventsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/events"- , whRepoAssigneesUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/assignees{/user}"- , whRepoBranchesUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/branches{/branch}"- , whRepoTagsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/tags"- , whRepoBlobsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/git/blobs{/sha}"- , whRepoGitTagsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/git/tags{/sha}"- , whRepoGitRefsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/git/refs{/sha}"- , whRepoTreesUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/git/trees{/sha}"- , whRepoStatusesUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/statuses/{sha}"- , whRepoLanguagesUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/languages"- , whRepoStargazersUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/stargazers"- , whRepoContributorsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/contributors"- , whRepoSubscribersUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/subscribers"- , whRepoSubscriptionUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/subscription"- , whRepoCommitsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/commits{/sha}"- , whRepoGitCommitsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/git/commits{/sha}"- , whRepoCommentsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/comments{/number}"- , whRepoIssueCommentsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/issues/comments{/number}"- , whRepoContentsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/contents/{+path}"- , whRepoCompareUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/compare/{base}...{head}"- , whRepoMergesUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/merges"- , whRepoArchiveUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/{archive_format}{/ref}"- , whRepoDownloadsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/downloads"- , whRepoIssuesUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/issues{/number}"- , whRepoPullsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/pulls{/number}"- , whRepoMilestonesUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/milestones{/number}"- , whRepoNotificationsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/notifications{?since,all,participating}"- , whRepoLabelsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/labels{/name}"- , whRepoReleasesUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/releases{/id}"- , whRepoCreatedAt = read "2015-05-05 23:40:12Z"- , whRepoUpdatedAt = read "2015-05-05 23:40:12Z"- , whRepoPushedAt = read "2015-05-05 23:40:27Z"- , whRepoGitUrl = URL "git://github.com/baxterthehacker/public-repo.git"- , whRepoSshUrl = URL "git@github.com:baxterthehacker/public-repo.git"- , whRepoCloneUrl = URL "https://github.com/baxterthehacker/public-repo.git"- , whRepoSvnUrl = URL "https://github.com/baxterthehacker/public-repo"- , whRepoHomepage = Nothing- , whRepoSize = 0- , whRepoStargazersCount = 0- , whRepoWatchersCount = 0- , whRepoLanguage = Nothing- , whRepoHasIssues = True- , whRepoHasDownloads = True- , whRepoHasWiki = True- , whRepoHasPages = True- , whRepoForkCount = 0- , whRepoMirrorUrl = Nothing- , whRepoOpenIssuesCount = 2- , whRepoDefaultBranchName = "master"- }- , evIssueCommentSender =- HookUser- { whUserLogin = "baxterthehacker"- , whUserId = 6752317- , whUserNodeId = "MDg6Q2hlY2tSdW4xMjg2MjAyMjg="- , whUserAvatarUrl = URL "https://avatars.githubusercontent.com/u/6752317?v=3"- , whUserGravatarId = URL ""- , whUserUrl = URL "https://api.github.com/users/baxterthehacker"- , whUserHtmlUrl = URL "https://github.com/baxterthehacker"- , whUserFollowersUrl = URL "https://api.github.com/users/baxterthehacker/followers"- , whUserFollowingUrl = URL "https://api.github.com/users/baxterthehacker/following{/other_user}"- , whUserGistsUrl = URL "https://api.github.com/users/baxterthehacker/gists{/gist_id}"- , whUserStarredUrl = URL "https://api.github.com/users/baxterthehacker/starred{/owner}{/repo}"- , whUserSubscriptionsUrl = URL "https://api.github.com/users/baxterthehacker/subscriptions"- , whUserOrganizationsUrl = URL "https://api.github.com/users/baxterthehacker/orgs"- , whUserReposUrl = URL "https://api.github.com/users/baxterthehacker/repos"- , whUserEventsUrl = URL "https://api.github.com/users/baxterthehacker/events{/privacy}"- , whUserReceivedEventsUrl = URL "https://api.github.com/users/baxterthehacker/received_events"- , whUserType = OwnerUser- , whUserIsAdminOfSite = False- }- }--issuesEventFixture :: IssuesEvent-issuesEventFixture = IssuesEvent- { evIssuesEventAction = IssuesOpenedAction- , evIssuesEventIssue =- HookIssue- { whIssueUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/issues/2"- , whIssueLabelsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/issues/2/labels{/name}"- , whIssueCommentsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/issues/2/comments"- , whIssueEventsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/issues/2/events"- , whIssueHtmlUrl = URL "https://github.com/baxterthehacker/public-repo/issues/2"- , whIssueId = 73464126- , whIssueNodeId = "MDg6Q2hlY2tSdW4xMjg2MjAyMjg="- , whIssueNumber = 2- , whIssueTitle = "Spelling error in the README file"- , whIssueUser =- HookUser- { whUserLogin = "baxterthehacker"- , whUserId = 6752317- , whUserNodeId = "MDg6Q2hlY2tSdW4xMjg2MjAyMjg="- , whUserAvatarUrl = URL "https://avatars.githubusercontent.com/u/6752317?v=3"- , whUserGravatarId = URL ""- , whUserUrl = URL "https://api.github.com/users/baxterthehacker"- , whUserHtmlUrl = URL "https://github.com/baxterthehacker"- , whUserFollowersUrl = URL "https://api.github.com/users/baxterthehacker/followers"- , whUserFollowingUrl = URL "https://api.github.com/users/baxterthehacker/following{/other_user}"- , whUserGistsUrl = URL "https://api.github.com/users/baxterthehacker/gists{/gist_id}"- , whUserStarredUrl = URL "https://api.github.com/users/baxterthehacker/starred{/owner}{/repo}"- , whUserSubscriptionsUrl = URL "https://api.github.com/users/baxterthehacker/subscriptions"- , whUserOrganizationsUrl = URL "https://api.github.com/users/baxterthehacker/orgs"- , whUserReposUrl = URL "https://api.github.com/users/baxterthehacker/repos"- , whUserEventsUrl = URL "https://api.github.com/users/baxterthehacker/events{/privacy}"- , whUserReceivedEventsUrl = URL "https://api.github.com/users/baxterthehacker/received_events"- , whUserType = OwnerUser- , whUserIsAdminOfSite = False- }- , whIssueLabels = V.fromList- [ HookIssueLabels- { whIssueLabelId = Just 208045946- , whIssueLabelNodeId = Just "MDg6Q2hlY2tSdW4xMjg2MjAyMjg="- , whIssueLabelUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/labels/bug"- , whIssueLabelName = "bug"- , whIssueLabelColor = "fc2929"- , whIssueLabelIsDefault = True- }- ]- , whIssueState = "open"- , whIssueIsLocked = False- , whIssueAssignee = Nothing- , whIssueMilestone = Nothing- , whIssueCommentCount = 0- , whIssueCreatedAt = read "2015-05-05 23:40:28Z"- , whIssueUpdatedAt = read "2015-05-05 23:40:28Z"- , whIssueClosedAt = Nothing- , whIssueBody = "It looks like you accidently spelled 'commit' with two 't's."- }- , evIssuesEventRepo =- HookRepository- { whRepoId = 35129377- , whRepoNodeId = "MDg6Q2hlY2tSdW4xMjg2MjAyMjg="- , whRepoName = "public-repo"- , whRepoFullName = "baxterthehacker/public-repo"- , whRepoOwner =- Right HookUser- { whUserLogin = "baxterthehacker"- , whUserId = 6752317- , whUserNodeId = "MDg6Q2hlY2tSdW4xMjg2MjAyMjg="- , whUserAvatarUrl = URL "https://avatars.githubusercontent.com/u/6752317?v=3"- , whUserGravatarId = URL ""- , whUserUrl = URL "https://api.github.com/users/baxterthehacker"- , whUserHtmlUrl = URL "https://github.com/baxterthehacker"- , whUserFollowersUrl = URL "https://api.github.com/users/baxterthehacker/followers"- , whUserFollowingUrl = URL "https://api.github.com/users/baxterthehacker/following{/other_user}"- , whUserGistsUrl = URL "https://api.github.com/users/baxterthehacker/gists{/gist_id}"- , whUserStarredUrl = URL "https://api.github.com/users/baxterthehacker/starred{/owner}{/repo}"- , whUserSubscriptionsUrl = URL "https://api.github.com/users/baxterthehacker/subscriptions"- , whUserOrganizationsUrl = URL "https://api.github.com/users/baxterthehacker/orgs"- , whUserReposUrl = URL "https://api.github.com/users/baxterthehacker/repos"- , whUserEventsUrl = URL "https://api.github.com/users/baxterthehacker/events{/privacy}"- , whUserReceivedEventsUrl = URL "https://api.github.com/users/baxterthehacker/received_events"- , whUserType = OwnerUser- , whUserIsAdminOfSite = False- }- , whRepoIsPrivate = False- , whRepoHtmlUrl = URL "https://github.com/baxterthehacker/public-repo"- , whRepoDescription = ""- , whRepoIsAFork = False- , whRepoUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo"- , whRepoForksUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/forks"- , whRepoKeysUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/keys{/key_id}"- , whRepoCollaboratorsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/collaborators{/collaborator}"- , whRepoTeamsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/teams"- , whRepoHooksUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/hooks"- , whRepoIssueEventsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/issues/events{/number}"- , whRepoEventsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/events"- , whRepoAssigneesUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/assignees{/user}"- , whRepoBranchesUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/branches{/branch}"- , whRepoTagsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/tags"- , whRepoBlobsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/git/blobs{/sha}"- , whRepoGitTagsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/git/tags{/sha}"- , whRepoGitRefsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/git/refs{/sha}"- , whRepoTreesUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/git/trees{/sha}"- , whRepoStatusesUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/statuses/{sha}"- , whRepoLanguagesUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/languages"- , whRepoStargazersUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/stargazers"- , whRepoContributorsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/contributors"- , whRepoSubscribersUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/subscribers"- , whRepoSubscriptionUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/subscription"- , whRepoCommitsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/commits{/sha}"- , whRepoGitCommitsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/git/commits{/sha}"- , whRepoCommentsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/comments{/number}"- , whRepoIssueCommentsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/issues/comments{/number}"- , whRepoContentsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/contents/{+path}"- , whRepoCompareUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/compare/{base}...{head}"- , whRepoMergesUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/merges"- , whRepoArchiveUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/{archive_format}{/ref}"- , whRepoDownloadsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/downloads"- , whRepoIssuesUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/issues{/number}"- , whRepoPullsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/pulls{/number}"- , whRepoMilestonesUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/milestones{/number}"- , whRepoNotificationsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/notifications{?since,all,participating}"- , whRepoLabelsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/labels{/name}"- , whRepoReleasesUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/releases{/id}"- , whRepoCreatedAt = read "2015-05-05 23:40:12Z"- , whRepoUpdatedAt = read "2015-05-05 23:40:12Z"- , whRepoPushedAt = read "2015-05-05 23:40:27Z"- , whRepoGitUrl = URL "git://github.com/baxterthehacker/public-repo.git"- , whRepoSshUrl = URL "git@github.com:baxterthehacker/public-repo.git"- , whRepoCloneUrl = URL "https://github.com/baxterthehacker/public-repo.git"- , whRepoSvnUrl = URL "https://github.com/baxterthehacker/public-repo"- , whRepoHomepage = Nothing- , whRepoSize = 0- , whRepoStargazersCount = 0- , whRepoWatchersCount = 0- , whRepoLanguage = Nothing- , whRepoHasIssues = True- , whRepoHasDownloads = True- , whRepoHasWiki = True- , whRepoHasPages = True- , whRepoForkCount = 0- , whRepoMirrorUrl = Nothing- , whRepoOpenIssuesCount = 2- , whRepoDefaultBranchName = "master"- }- , evIssuesEventSender =- HookUser- { whUserLogin = "baxterthehacker"- , whUserId = 6752317- , whUserNodeId = "MDg6Q2hlY2tSdW4xMjg2MjAyMjg="- , whUserAvatarUrl = URL "https://avatars.githubusercontent.com/u/6752317?v=3"- , whUserGravatarId = URL ""- , whUserUrl = URL "https://api.github.com/users/baxterthehacker"- , whUserHtmlUrl = URL "https://github.com/baxterthehacker"- , whUserFollowersUrl = URL "https://api.github.com/users/baxterthehacker/followers"- , whUserFollowingUrl = URL "https://api.github.com/users/baxterthehacker/following{/other_user}"- , whUserGistsUrl = URL "https://api.github.com/users/baxterthehacker/gists{/gist_id}"- , whUserStarredUrl = URL "https://api.github.com/users/baxterthehacker/starred{/owner}{/repo}"- , whUserSubscriptionsUrl = URL "https://api.github.com/users/baxterthehacker/subscriptions"- , whUserOrganizationsUrl = URL "https://api.github.com/users/baxterthehacker/orgs"- , whUserReposUrl = URL "https://api.github.com/users/baxterthehacker/repos"- , whUserEventsUrl = URL "https://api.github.com/users/baxterthehacker/events{/privacy}"- , whUserReceivedEventsUrl = URL "https://api.github.com/users/baxterthehacker/received_events"- , whUserType = OwnerUser- , whUserIsAdminOfSite = False- }- }--labelEventFixture :: LabelEvent-labelEventFixture = LabelEvent- { evLabelEventAction = LabelCreatedAction- , evLabelEventPayload =- HookRepositoryLabel- { whRepoLabelNodeId = Just "MDg6Q2hlY2tSdW4xMjg2MjAyMjg="- , whRepoLabelUrl = URL "https://api.github.com/repos/baxterandthehackers/public-repo/labels/blocked"- , whRepoLabelName = "blocked"- , whRepoLabelColor = "ff0000"- }- , evLabelEventRepo =- HookRepository- { whRepoId = 67075329- , whRepoNodeId = "MDg6Q2hlY2tSdW4xMjg2MjAyMjg="- , whRepoName = "public-repo"- , whRepoFullName = "baxterandthehackers/public-repo"- , whRepoOwner =- Right HookUser- { whUserLogin = "baxterandthehackers"- , whUserId = 4312013- , whUserNodeId = "MDg6Q2hlY2tSdW4xMjg2MjAyMjg="- , whUserAvatarUrl = URL "https://avatars.githubusercontent.com/u/4312013?v=3"- , whUserGravatarId = URL ""- , whUserUrl = URL "https://api.github.com/users/baxterandthehackers"- , whUserHtmlUrl = URL "https://github.com/baxterandthehackers"- , whUserFollowersUrl = URL "https://api.github.com/users/baxterandthehackers/followers"- , whUserFollowingUrl = URL "https://api.github.com/users/baxterandthehackers/following{/other_user}"- , whUserGistsUrl = URL "https://api.github.com/users/baxterandthehackers/gists{/gist_id}"- , whUserStarredUrl = URL "https://api.github.com/users/baxterandthehackers/starred{/owner}{/repo}"- , whUserSubscriptionsUrl = URL "https://api.github.com/users/baxterandthehackers/subscriptions"- , whUserOrganizationsUrl = URL "https://api.github.com/users/baxterandthehackers/orgs"- , whUserReposUrl = URL "https://api.github.com/users/baxterandthehackers/repos"- , whUserEventsUrl = URL "https://api.github.com/users/baxterandthehackers/events{/privacy}"- , whUserReceivedEventsUrl = URL "https://api.github.com/users/baxterandthehackers/received_events"- , whUserType = OwnerOrganization- , whUserIsAdminOfSite = False- }- , whRepoIsPrivate = True- , whRepoHtmlUrl = URL "https://github.com/baxterandthehackers/public-repo"- , whRepoDescription = ""- , whRepoIsAFork = False- , whRepoUrl = URL "https://api.github.com/repos/baxterandthehackers/public-repo"- , whRepoForksUrl = URL "https://api.github.com/repos/baxterandthehackers/public-repo/forks"- , whRepoKeysUrl = URL "https://api.github.com/repos/baxterandthehackers/public-repo/keys{/key_id}"- , whRepoCollaboratorsUrl = URL "https://api.github.com/repos/baxterandthehackers/public-repo/collaborators{/collaborator}"- , whRepoTeamsUrl = URL "https://api.github.com/repos/baxterandthehackers/public-repo/teams"- , whRepoHooksUrl = URL "https://api.github.com/repos/baxterandthehackers/public-repo/hooks"- , whRepoIssueEventsUrl = URL "https://api.github.com/repos/baxterandthehackers/public-repo/issues/events{/number}"- , whRepoEventsUrl = URL "https://api.github.com/repos/baxterandthehackers/public-repo/events"- , whRepoAssigneesUrl = URL "https://api.github.com/repos/baxterandthehackers/public-repo/assignees{/user}"- , whRepoBranchesUrl = URL "https://api.github.com/repos/baxterandthehackers/public-repo/branches{/branch}"- , whRepoTagsUrl = URL "https://api.github.com/repos/baxterandthehackers/public-repo/tags"- , whRepoBlobsUrl = URL "https://api.github.com/repos/baxterandthehackers/public-repo/git/blobs{/sha}"- , whRepoGitTagsUrl = URL "https://api.github.com/repos/baxterandthehackers/public-repo/git/tags{/sha}"- , whRepoGitRefsUrl = URL "https://api.github.com/repos/baxterandthehackers/public-repo/git/refs{/sha}"- , whRepoTreesUrl = URL "https://api.github.com/repos/baxterandthehackers/public-repo/git/trees{/sha}"- , whRepoStatusesUrl = URL "https://api.github.com/repos/baxterandthehackers/public-repo/statuses/{sha}"- , whRepoLanguagesUrl = URL "https://api.github.com/repos/baxterandthehackers/public-repo/languages"- , whRepoStargazersUrl = URL "https://api.github.com/repos/baxterandthehackers/public-repo/stargazers"- , whRepoContributorsUrl = URL "https://api.github.com/repos/baxterandthehackers/public-repo/contributors"- , whRepoSubscribersUrl = URL "https://api.github.com/repos/baxterandthehackers/public-repo/subscribers"- , whRepoSubscriptionUrl = URL "https://api.github.com/repos/baxterandthehackers/public-repo/subscription"- , whRepoCommitsUrl = URL "https://api.github.com/repos/baxterandthehackers/public-repo/commits{/sha}"- , whRepoGitCommitsUrl = URL "https://api.github.com/repos/baxterandthehackers/public-repo/git/commits{/sha}"- , whRepoCommentsUrl = URL "https://api.github.com/repos/baxterandthehackers/public-repo/comments{/number}"- , whRepoIssueCommentsUrl = URL "https://api.github.com/repos/baxterandthehackers/public-repo/issues/comments{/number}"- , whRepoContentsUrl = URL "https://api.github.com/repos/baxterandthehackers/public-repo/contents/{+path}"- , whRepoCompareUrl = URL "https://api.github.com/repos/baxterandthehackers/public-repo/compare/{base}...{head}"- , whRepoMergesUrl = URL "https://api.github.com/repos/baxterandthehackers/public-repo/merges"- , whRepoArchiveUrl = URL "https://api.github.com/repos/baxterandthehackers/public-repo/{archive_format}{/ref}"- , whRepoDownloadsUrl = URL "https://api.github.com/repos/baxterandthehackers/public-repo/downloads"- , whRepoIssuesUrl = URL "https://api.github.com/repos/baxterandthehackers/public-repo/issues{/number}"- , whRepoPullsUrl = URL "https://api.github.com/repos/baxterandthehackers/public-repo/pulls{/number}"- , whRepoMilestonesUrl = URL "https://api.github.com/repos/baxterandthehackers/public-repo/milestones{/number}"- , whRepoNotificationsUrl = URL "https://api.github.com/repos/baxterandthehackers/public-repo/notifications{?since,all,participating}"- , whRepoLabelsUrl = URL "https://api.github.com/repos/baxterandthehackers/public-repo/labels{/name}"- , whRepoReleasesUrl = URL "https://api.github.com/repos/baxterandthehackers/public-repo/releases{/id}"- , whRepoCreatedAt = read "2016-08-31 21:38:51Z"- , whRepoUpdatedAt = read "2016-08-31 21:38:51Z"- , whRepoPushedAt = read "2016-08-31 21:38:51Z"- , whRepoGitUrl = URL "git://github.com/baxterandthehackers/public-repo.git"- , whRepoSshUrl = URL "git@github.com:baxterandthehackers/public-repo.git"- , whRepoCloneUrl = URL "https://github.com/baxterandthehackers/public-repo.git"- , whRepoSvnUrl = URL "https://github.com/baxterandthehackers/public-repo"- , whRepoHomepage = Nothing- , whRepoSize = 0- , whRepoStargazersCount = 0- , whRepoWatchersCount = 0- , whRepoLanguage = Nothing- , whRepoHasIssues = True- , whRepoHasDownloads = True- , whRepoHasWiki = True- , whRepoHasPages = False- , whRepoForkCount = 0- , whRepoMirrorUrl = Nothing- , whRepoOpenIssuesCount = 2- , whRepoDefaultBranchName = "master"- }- , evLabelEventOrganization =- Just- HookOrganization- { whOrgLogin = "baxterandthehackers"- , whOrgId = 4312013- , whOrgNodeId = "MDg6Q2hlY2tSdW4xMjg2MjAyMjg="- , whOrgUrl = URL "https://api.github.com/orgs/baxterandthehackers"- , whOrgReposUrl = URL "https://api.github.com/orgs/baxterandthehackers/repos"- , whOrgEventsUrl = URL "https://api.github.com/orgs/baxterandthehackers/events"- , whOrgHooksUrl = Just (URL "https://api.github.com/orgs/baxterandthehackers/hooks")- , whOrgIssuesUrl = Just (URL "https://api.github.com/orgs/baxterandthehackers/issues")- , whOrgMembersUrl = URL "https://api.github.com/orgs/baxterandthehackers/members{/member}"- , whOrgPublicMembersUrl = URL "https://api.github.com/orgs/baxterandthehackers/public_members{/member}"- , whOrgAvatarUrl = URL "https://avatars.githubusercontent.com/u/4312013?v=3"- , whOrgDescription = T.empty- }- , evLabelEventSender =- HookUser- { whUserLogin = "baxterthehacker"- , whUserId = 7649605- , whUserNodeId = "MDg6Q2hlY2tSdW4xMjg2MjAyMjg="- , whUserAvatarUrl = URL "https://avatars.githubusercontent.com/u/7649605?v=3"- , whUserGravatarId = URL ""- , whUserUrl = URL "https://api.github.com/users/baxterthehacker"- , whUserHtmlUrl = URL "https://github.com/baxterthehacker"- , whUserFollowersUrl = URL "https://api.github.com/users/baxterthehacker/followers"- , whUserFollowingUrl = URL "https://api.github.com/users/baxterthehacker/following{/other_user}"- , whUserGistsUrl = URL "https://api.github.com/users/baxterthehacker/gists{/gist_id}"- , whUserStarredUrl = URL "https://api.github.com/users/baxterthehacker/starred{/owner}{/repo}"- , whUserSubscriptionsUrl = URL "https://api.github.com/users/baxterthehacker/subscriptions"- , whUserOrganizationsUrl = URL "https://api.github.com/users/baxterthehacker/orgs"- , whUserReposUrl = URL "https://api.github.com/users/baxterthehacker/repos"- , whUserEventsUrl = URL "https://api.github.com/users/baxterthehacker/events{/privacy}"- , whUserReceivedEventsUrl = URL "https://api.github.com/users/baxterthehacker/received_events"- , whUserType = OwnerUser- , whUserIsAdminOfSite = True- }- }--memberEventFixture :: MemberEvent-memberEventFixture = MemberEvent- { evMemberAction = MemberAddedAction- , evMemberUser =- HookUser- { whUserLogin = "octocat"- , whUserId = 583231- , whUserNodeId = "MDg6Q2hlY2tSdW4xMjg2MjAyMjg="- , whUserAvatarUrl = URL "https://avatars.githubusercontent.com/u/583231?v=3"- , whUserGravatarId = URL ""- , whUserUrl = URL "https://api.github.com/users/octocat"- , whUserHtmlUrl = URL "https://github.com/octocat"- , whUserFollowersUrl = URL "https://api.github.com/users/octocat/followers"- , whUserFollowingUrl = URL "https://api.github.com/users/octocat/following{/other_user}"- , whUserGistsUrl = URL "https://api.github.com/users/octocat/gists{/gist_id}"- , whUserStarredUrl = URL "https://api.github.com/users/octocat/starred{/owner}{/repo}"- , whUserSubscriptionsUrl = URL "https://api.github.com/users/octocat/subscriptions"- , whUserOrganizationsUrl = URL "https://api.github.com/users/octocat/orgs"- , whUserReposUrl = URL "https://api.github.com/users/octocat/repos"- , whUserEventsUrl = URL "https://api.github.com/users/octocat/events{/privacy}"- , whUserReceivedEventsUrl = URL "https://api.github.com/users/octocat/received_events"- , whUserType = OwnerUser- , whUserIsAdminOfSite = False- }- , evMemberRepo =- HookRepository- { whRepoId = 35129377- , whRepoNodeId = "MDg6Q2hlY2tSdW4xMjg2MjAyMjg="- , whRepoName = "public-repo"- , whRepoFullName = "baxterthehacker/public-repo"- , whRepoOwner =- Right HookUser- { whUserLogin = "baxterthehacker"- , whUserId = 6752317- , whUserNodeId = "MDg6Q2hlY2tSdW4xMjg2MjAyMjg="- , whUserAvatarUrl = URL "https://avatars.githubusercontent.com/u/6752317?v=3"- , whUserGravatarId = URL ""- , whUserUrl = URL "https://api.github.com/users/baxterthehacker"- , whUserHtmlUrl = URL "https://github.com/baxterthehacker"- , whUserFollowersUrl = URL "https://api.github.com/users/baxterthehacker/followers"- , whUserFollowingUrl = URL "https://api.github.com/users/baxterthehacker/following{/other_user}"- , whUserGistsUrl = URL "https://api.github.com/users/baxterthehacker/gists{/gist_id}"- , whUserStarredUrl = URL "https://api.github.com/users/baxterthehacker/starred{/owner}{/repo}"- , whUserSubscriptionsUrl = URL "https://api.github.com/users/baxterthehacker/subscriptions"- , whUserOrganizationsUrl = URL "https://api.github.com/users/baxterthehacker/orgs"- , whUserReposUrl = URL "https://api.github.com/users/baxterthehacker/repos"- , whUserEventsUrl = URL "https://api.github.com/users/baxterthehacker/events{/privacy}"- , whUserReceivedEventsUrl = URL "https://api.github.com/users/baxterthehacker/received_events"- , whUserType = OwnerUser- , whUserIsAdminOfSite = False- }- , whRepoIsPrivate = False- , whRepoHtmlUrl = URL "https://github.com/baxterthehacker/public-repo"- , whRepoDescription = ""- , whRepoIsAFork = False- , whRepoUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo"- , whRepoForksUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/forks"- , whRepoKeysUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/keys{/key_id}"- , whRepoCollaboratorsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/collaborators{/collaborator}"- , whRepoTeamsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/teams"- , whRepoHooksUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/hooks"- , whRepoIssueEventsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/issues/events{/number}"- , whRepoEventsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/events"- , whRepoAssigneesUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/assignees{/user}"- , whRepoBranchesUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/branches{/branch}"- , whRepoTagsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/tags"- , whRepoBlobsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/git/blobs{/sha}"- , whRepoGitTagsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/git/tags{/sha}"- , whRepoGitRefsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/git/refs{/sha}"- , whRepoTreesUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/git/trees{/sha}"- , whRepoStatusesUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/statuses/{sha}"- , whRepoLanguagesUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/languages"- , whRepoStargazersUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/stargazers"- , whRepoContributorsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/contributors"- , whRepoSubscribersUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/subscribers"- , whRepoSubscriptionUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/subscription"- , whRepoCommitsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/commits{/sha}"- , whRepoGitCommitsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/git/commits{/sha}"- , whRepoCommentsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/comments{/number}"- , whRepoIssueCommentsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/issues/comments{/number}"- , whRepoContentsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/contents/{+path}"- , whRepoCompareUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/compare/{base}...{head}"- , whRepoMergesUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/merges"- , whRepoArchiveUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/{archive_format}{/ref}"- , whRepoDownloadsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/downloads"- , whRepoIssuesUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/issues{/number}"- , whRepoPullsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/pulls{/number}"- , whRepoMilestonesUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/milestones{/number}"- , whRepoNotificationsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/notifications{?since,all,participating}"- , whRepoLabelsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/labels{/name}"- , whRepoReleasesUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/releases{/id}"- , whRepoCreatedAt = read "2015-05-05 23:40:12Z"- , whRepoUpdatedAt = read "2015-05-05 23:40:30Z"- , whRepoPushedAt = read "2015-05-05 23:40:40Z"- , whRepoGitUrl = URL "git://github.com/baxterthehacker/public-repo.git"- , whRepoSshUrl = URL "git@github.com:baxterthehacker/public-repo.git"- , whRepoCloneUrl = URL "https://github.com/baxterthehacker/public-repo.git"- , whRepoSvnUrl = URL "https://github.com/baxterthehacker/public-repo"- , whRepoHomepage = Nothing- , whRepoSize = 0- , whRepoStargazersCount = 0- , whRepoWatchersCount = 0- , whRepoLanguage = Nothing- , whRepoHasIssues = True- , whRepoHasDownloads = True- , whRepoHasWiki = True- , whRepoHasPages = True- , whRepoForkCount = 0- , whRepoMirrorUrl = Nothing- , whRepoOpenIssuesCount = 2- , whRepoDefaultBranchName = "master"- }- , evMemberSender =- HookUser- { whUserLogin = "baxterthehacker"- , whUserId = 6752317- , whUserNodeId = "MDg6Q2hlY2tSdW4xMjg2MjAyMjg="- , whUserAvatarUrl = URL "https://avatars.githubusercontent.com/u/6752317?v=3"- , whUserGravatarId = URL ""- , whUserUrl = URL "https://api.github.com/users/baxterthehacker"- , whUserHtmlUrl = URL "https://github.com/baxterthehacker"- , whUserFollowersUrl = URL "https://api.github.com/users/baxterthehacker/followers"- , whUserFollowingUrl = URL "https://api.github.com/users/baxterthehacker/following{/other_user}"- , whUserGistsUrl = URL "https://api.github.com/users/baxterthehacker/gists{/gist_id}"- , whUserStarredUrl = URL "https://api.github.com/users/baxterthehacker/starred{/owner}{/repo}"- , whUserSubscriptionsUrl = URL "https://api.github.com/users/baxterthehacker/subscriptions"- , whUserOrganizationsUrl = URL "https://api.github.com/users/baxterthehacker/orgs"- , whUserReposUrl = URL "https://api.github.com/users/baxterthehacker/repos"- , whUserEventsUrl = URL "https://api.github.com/users/baxterthehacker/events{/privacy}"- , whUserReceivedEventsUrl = URL "https://api.github.com/users/baxterthehacker/received_events"- , whUserType = OwnerUser- , whUserIsAdminOfSite = False- }- }--membershipEventFixture :: MembershipEvent-membershipEventFixture = MembershipEvent- { evMembershipAction = MembershipAddedAction- , evMembershipScope = "team"- , evMembershipUser =- HookUser- { whUserLogin = "kdaigle"- , whUserId = 2501- , whUserNodeId = "MDg6Q2hlY2tSdW4xMjg2MjAyMjg="- , whUserAvatarUrl = URL "https://avatars.githubusercontent.com/u/2501?v=3"- , whUserGravatarId = URL ""- , whUserUrl = URL "https://api.github.com/users/kdaigle"- , whUserHtmlUrl = URL "https://github.com/kdaigle"- , whUserFollowersUrl = URL "https://api.github.com/users/kdaigle/followers"- , whUserFollowingUrl = URL "https://api.github.com/users/kdaigle/following{/other_user}"- , whUserGistsUrl = URL "https://api.github.com/users/kdaigle/gists{/gist_id}"- , whUserStarredUrl = URL "https://api.github.com/users/kdaigle/starred{/owner}{/repo}"- , whUserSubscriptionsUrl = URL "https://api.github.com/users/kdaigle/subscriptions"- , whUserOrganizationsUrl = URL "https://api.github.com/users/kdaigle/orgs"- , whUserReposUrl = URL "https://api.github.com/users/kdaigle/repos"- , whUserEventsUrl = URL "https://api.github.com/users/kdaigle/events{/privacy}"- , whUserReceivedEventsUrl = URL "https://api.github.com/users/kdaigle/received_events"- , whUserType = OwnerUser- , whUserIsAdminOfSite = True- }- , evMembershipTeam =- HookTeam- { whTeamName = "Contractors"- , whTeamId = 123456- , whTeamNodeId = "MDg6Q2hlY2tSdW4xMjg2MjAyMjg="- , whTeamSlug = "contractors"- , whTeamPermission = "admin"- , whTeamUrl = URL "https://api.github.com/teams/123456"- , whTeamMembersUrl = URL "https://api.github.com/teams/123456/members{/member}"- , whTeamRepositoriesUrl = URL "https://api.github.com/teams/123456/repos"- }- , evMembershipOrg =- HookOrganization- { whOrgLogin = "baxterandthehackers"- , whOrgId = 7649605- , whOrgNodeId = "MDg6Q2hlY2tSdW4xMjg2MjAyMjg="- , whOrgUrl = URL "https://api.github.com/orgs/baxterandthehackers"- , whOrgReposUrl = URL "https://api.github.com/orgs/baxterandthehackers/repos"- , whOrgEventsUrl = URL "https://api.github.com/orgs/baxterandthehackers/events"- , whOrgHooksUrl = Nothing- , whOrgIssuesUrl = Nothing- , whOrgMembersUrl = URL "https://api.github.com/orgs/baxterandthehackers/members{/member}"- , whOrgPublicMembersUrl = URL "https://api.github.com/orgs/baxterandthehackers/public_members{/member}"- , whOrgAvatarUrl = URL "https://avatars.githubusercontent.com/u/7649605?v=2"- , whOrgDescription = T.empty- }- , evMembershipSender =- HookUser- { whUserLogin = "baxterthehacker"- , whUserId = 6752317- , whUserNodeId = "MDg6Q2hlY2tSdW4xMjg2MjAyMjg="- , whUserAvatarUrl = URL "https://avatars.githubusercontent.com/u/6752317?v=2"- , whUserGravatarId = URL ""- , whUserUrl = URL "https://api.github.com/users/baxterthehacker"- , whUserHtmlUrl = URL "https://github.com/baxterthehacker"- , whUserFollowersUrl = URL "https://api.github.com/users/baxterthehacker/followers"- , whUserFollowingUrl = URL "https://api.github.com/users/baxterthehacker/following{/other_user}"- , whUserGistsUrl = URL "https://api.github.com/users/baxterthehacker/gists{/gist_id}"- , whUserStarredUrl = URL "https://api.github.com/users/baxterthehacker/starred{/owner}{/repo}"- , whUserSubscriptionsUrl = URL "https://api.github.com/users/baxterthehacker/subscriptions"- , whUserOrganizationsUrl = URL "https://api.github.com/users/baxterthehacker/orgs"- , whUserReposUrl = URL "https://api.github.com/users/baxterthehacker/repos"- , whUserEventsUrl = URL "https://api.github.com/users/baxterthehacker/events{/privacy}"- , whUserReceivedEventsUrl = URL "https://api.github.com/users/baxterthehacker/received_events"- , whUserType = OwnerUser- , whUserIsAdminOfSite = False- }- }--milestoneEventFixture :: MilestoneEvent-milestoneEventFixture = MilestoneEvent- { evMilestoneAction = MilestoneCreatedAction- , evMilestoenPayload =- HookMilestone- { whMilestoneUrl = URL "https://api.github.com/repos/baxterandthehackers/public-repo/milestones/3"- , whMilestoneHtmlUrl =- URL "https://github.com/baxterandthehackers/public-repo/milestones/Test%20milestone%20creation%20webhook%20from%20command%20line2"- , whMilestoneLabelsUrl = URL "https://api.github.com/repos/baxterandthehackers/public-repo/milestones/3/labels"- , whMilestoneId = 2055681- , whMilestoneNodeId = "MDg6Q2hlY2tSdW4xMjg2MjAyMjg="- , whMilestoneNumber = 3- , whMilestoneTitle = "I am a milestone"- , whMilestoneDescription = Nothing- , whMilestoneCreator =- HookUser- { whUserLogin = "baxterthehacker"- , whUserId = 7649605- , whUserNodeId = "MDg6Q2hlY2tSdW4xMjg2MjAyMjg="- , whUserAvatarUrl = URL "https://avatars.githubusercontent.com/u/7649605?v=3"- , whUserGravatarId = URL ""- , whUserUrl = URL "https://api.github.com/users/baxterthehacker"- , whUserHtmlUrl = URL "https://github.com/baxterthehacker"- , whUserFollowersUrl = URL "https://api.github.com/users/baxterthehacker/followers"- , whUserFollowingUrl = URL "https://api.github.com/users/baxterthehacker/following{/other_user}"- , whUserGistsUrl = URL "https://api.github.com/users/baxterthehacker/gists{/gist_id}"- , whUserStarredUrl = URL "https://api.github.com/users/baxterthehacker/starred{/owner}{/repo}"- , whUserSubscriptionsUrl = URL "https://api.github.com/users/baxterthehacker/subscriptions"- , whUserOrganizationsUrl = URL "https://api.github.com/users/baxterthehacker/orgs"- , whUserReposUrl = URL "https://api.github.com/users/baxterthehacker/repos"- , whUserEventsUrl = URL "https://api.github.com/users/baxterthehacker/events{/privacy}"- , whUserReceivedEventsUrl = URL "https://api.github.com/users/baxterthehacker/received_events"- , whUserType = OwnerUser- , whUserIsAdminOfSite = True- }- , whMilestoneOpenIssues = 0- , whMilestoneClosedIssues = 0- , whMilestoneState = "open"- , whMilestoneCreatedAt = read "2016-10-07 19:26:08Z"- , whMilestoneUpdatedAt = read "2016-10-07 19:26:08Z"- , whMilestoneDueOn = Nothing- , whMilestoneClosedAt = Nothing- }- , evMilestoneRepo =- HookRepository- { whRepoId = 70275481- , whRepoNodeId = "MDg6Q2hlY2tSdW4xMjg2MjAyMjg="- , whRepoName = "public-repo"- , whRepoFullName = "baxterandthehackers/public-repo"- , whRepoOwner =- Right HookUser- { whUserLogin = "baxterandthehackers"- , whUserId = 4312013- , whUserNodeId = "MDg6Q2hlY2tSdW4xMjg2MjAyMjg="- , whUserAvatarUrl = URL "https://avatars.githubusercontent.com/u/4312013?v=3"- , whUserGravatarId = URL ""- , whUserUrl = URL "https://api.github.com/users/baxterandthehackers"- , whUserHtmlUrl = URL "https://github.com/baxterandthehackers"- , whUserFollowersUrl = URL "https://api.github.com/users/baxterandthehackers/followers"- , whUserFollowingUrl = URL "https://api.github.com/users/baxterandthehackers/following{/other_user}"- , whUserGistsUrl = URL "https://api.github.com/users/baxterandthehackers/gists{/gist_id}"- , whUserStarredUrl = URL "https://api.github.com/users/baxterandthehackers/starred{/owner}{/repo}"- , whUserSubscriptionsUrl = URL "https://api.github.com/users/baxterandthehackers/subscriptions"- , whUserOrganizationsUrl = URL "https://api.github.com/users/baxterandthehackers/orgs"- , whUserReposUrl = URL "https://api.github.com/users/baxterandthehackers/repos"- , whUserEventsUrl = URL "https://api.github.com/users/baxterandthehackers/events{/privacy}"- , whUserReceivedEventsUrl = URL "https://api.github.com/users/baxterandthehackers/received_events"- , whUserType = OwnerOrganization- , whUserIsAdminOfSite = False- }- , whRepoIsPrivate = True- , whRepoHtmlUrl = URL "https://github.com/baxterandthehackers/public-repo"- , whRepoDescription = ""- , whRepoIsAFork = False- , whRepoUrl = URL "https://api.github.com/repos/baxterandthehackers/public-repo"- , whRepoForksUrl = URL "https://api.github.com/repos/baxterandthehackers/public-repo/forks"- , whRepoKeysUrl = URL "https://api.github.com/repos/baxterandthehackers/public-repo/keys{/key_id}"- , whRepoCollaboratorsUrl = URL "https://api.github.com/repos/baxterandthehackers/public-repo/collaborators{/collaborator}"- , whRepoTeamsUrl = URL "https://api.github.com/repos/baxterandthehackers/public-repo/teams"- , whRepoHooksUrl = URL "https://api.github.com/repos/baxterandthehackers/public-repo/hooks"- , whRepoIssueEventsUrl = URL "https://api.github.com/repos/baxterandthehackers/public-repo/issues/events{/number}"- , whRepoEventsUrl = URL "https://api.github.com/repos/baxterandthehackers/public-repo/events"- , whRepoAssigneesUrl = URL "https://api.github.com/repos/baxterandthehackers/public-repo/assignees{/user}"- , whRepoBranchesUrl = URL "https://api.github.com/repos/baxterandthehackers/public-repo/branches{/branch}"- , whRepoTagsUrl = URL "https://api.github.com/repos/baxterandthehackers/public-repo/tags"- , whRepoBlobsUrl = URL "https://api.github.com/repos/baxterandthehackers/public-repo/git/blobs{/sha}"- , whRepoGitTagsUrl = URL "https://api.github.com/repos/baxterandthehackers/public-repo/git/tags{/sha}"- , whRepoGitRefsUrl = URL "https://api.github.com/repos/baxterandthehackers/public-repo/git/refs{/sha}"- , whRepoTreesUrl = URL "https://api.github.com/repos/baxterandthehackers/public-repo/git/trees{/sha}"- , whRepoStatusesUrl = URL "https://api.github.com/repos/baxterandthehackers/public-repo/statuses/{sha}"- , whRepoLanguagesUrl = URL "https://api.github.com/repos/baxterandthehackers/public-repo/languages"- , whRepoStargazersUrl = URL "https://api.github.com/repos/baxterandthehackers/public-repo/stargazers"- , whRepoContributorsUrl = URL "https://api.github.com/repos/baxterandthehackers/public-repo/contributors"- , whRepoSubscribersUrl = URL "https://api.github.com/repos/baxterandthehackers/public-repo/subscribers"- , whRepoSubscriptionUrl = URL "https://api.github.com/repos/baxterandthehackers/public-repo/subscription"- , whRepoCommitsUrl = URL "https://api.github.com/repos/baxterandthehackers/public-repo/commits{/sha}"- , whRepoGitCommitsUrl = URL "https://api.github.com/repos/baxterandthehackers/public-repo/git/commits{/sha}"- , whRepoCommentsUrl = URL "https://api.github.com/repos/baxterandthehackers/public-repo/comments{/number}"- , whRepoIssueCommentsUrl = URL "https://api.github.com/repos/baxterandthehackers/public-repo/issues/comments{/number}"- , whRepoContentsUrl = URL "https://api.github.com/repos/baxterandthehackers/public-repo/contents/{+path}"- , whRepoCompareUrl = URL "https://api.github.com/repos/baxterandthehackers/public-repo/compare/{base}...{head}"- , whRepoMergesUrl = URL "https://api.github.com/repos/baxterandthehackers/public-repo/merges"- , whRepoArchiveUrl = URL "https://api.github.com/repos/baxterandthehackers/public-repo/{archive_format}{/ref}"- , whRepoDownloadsUrl = URL "https://api.github.com/repos/baxterandthehackers/public-repo/downloads"- , whRepoIssuesUrl = URL "https://api.github.com/repos/baxterandthehackers/public-repo/issues{/number}"- , whRepoPullsUrl = URL "https://api.github.com/repos/baxterandthehackers/public-repo/pulls{/number}"- , whRepoMilestonesUrl = URL "https://api.github.com/repos/baxterandthehackers/public-repo/milestones{/number}"- , whRepoNotificationsUrl = URL "https://api.github.com/repos/baxterandthehackers/public-repo/notifications{?since,all,participating}"- , whRepoLabelsUrl = URL "https://api.github.com/repos/baxterandthehackers/public-repo/labels{/name}"- , whRepoReleasesUrl = URL "https://api.github.com/repos/baxterandthehackers/public-repo/releases{/id}"- , whRepoCreatedAt = read "2016-10-07 19:10:12Z"- , whRepoUpdatedAt = read "2016-10-07 19:10:12Z"- , whRepoPushedAt = read "2016-10-07 19:10:13Z"- , whRepoGitUrl = URL "git://github.com/baxterandthehackers/public-repo.git"- , whRepoSshUrl = URL "git@github.com:baxterandthehackers/public-repo.git"- , whRepoCloneUrl = URL "https://github.com/baxterandthehackers/public-repo.git"- , whRepoSvnUrl = URL "https://github.com/baxterandthehackers/public-repo"- , whRepoHomepage = Nothing- , whRepoSize = 0- , whRepoStargazersCount = 0- , whRepoWatchersCount = 0- , whRepoLanguage = Nothing- , whRepoHasIssues = True- , whRepoHasDownloads = True- , whRepoHasWiki = True- , whRepoHasPages = False- , whRepoForkCount = 0- , whRepoMirrorUrl = Nothing- , whRepoOpenIssuesCount = 0- , whRepoDefaultBranchName = "master"- }- , evMilestoneOrg =- HookOrganization- { whOrgLogin = "baxterandthehackers"- , whOrgId = 4312013- , whOrgNodeId = "MDg6Q2hlY2tSdW4xMjg2MjAyMjg="- , whOrgUrl = URL "https://api.github.com/orgs/baxterandthehackers"- , whOrgReposUrl = URL "https://api.github.com/orgs/baxterandthehackers/repos"- , whOrgEventsUrl = URL "https://api.github.com/orgs/baxterandthehackers/events"- , whOrgHooksUrl = Just (URL "https://api.github.com/orgs/baxterandthehackers/hooks")- , whOrgIssuesUrl = Just (URL "https://api.github.com/orgs/baxterandthehackers/issues")- , whOrgMembersUrl = URL "https://api.github.com/orgs/baxterandthehackers/members{/member}"- , whOrgPublicMembersUrl = URL "https://api.github.com/orgs/baxterandthehackers/public_members{/member}"- , whOrgAvatarUrl = URL "https://avatars.githubusercontent.com/u/4312013?v=3"- , whOrgDescription = T.empty- }- , evMilestoneSender =- HookUser- { whUserLogin = "baxterthehacker"- , whUserId = 7649605- , whUserNodeId = "MDg6Q2hlY2tSdW4xMjg2MjAyMjg="- , whUserAvatarUrl = URL "https://avatars.githubusercontent.com/u/7649605?v=3"- , whUserGravatarId = URL ""- , whUserUrl = URL "https://api.github.com/users/baxterthehacker"- , whUserHtmlUrl = URL "https://github.com/baxterthehacker"- , whUserFollowersUrl = URL "https://api.github.com/users/baxterthehacker/followers"- , whUserFollowingUrl = URL "https://api.github.com/users/baxterthehacker/following{/other_user}"- , whUserGistsUrl = URL "https://api.github.com/users/baxterthehacker/gists{/gist_id}"- , whUserStarredUrl = URL "https://api.github.com/users/baxterthehacker/starred{/owner}{/repo}"- , whUserSubscriptionsUrl = URL "https://api.github.com/users/baxterthehacker/subscriptions"- , whUserOrganizationsUrl = URL "https://api.github.com/users/baxterthehacker/orgs"- , whUserReposUrl = URL "https://api.github.com/users/baxterthehacker/repos"- , whUserEventsUrl = URL "https://api.github.com/users/baxterthehacker/events{/privacy}"- , whUserReceivedEventsUrl = URL "https://api.github.com/users/baxterthehacker/received_events"- , whUserType = OwnerUser- , whUserIsAdminOfSite = True- }- }--orgBlockEventFixture :: OrgBlockEvent-orgBlockEventFixture = OrgBlockEvent- { evOrgBlockAction = OrgBlockBlockedAction- , evOrgBlockUser =- HookUser- { whUserLogin = "octocat"- , whUserId = 583231- , whUserNodeId = "MDg6Q2hlY2tSdW4xMjg2MjAyMjg="- , whUserAvatarUrl = URL "https://avatars.githubusercontent.com/u/583231?v=3"- , whUserGravatarId = URL ""- , whUserUrl = URL "https://api.github.com/users/octocat"- , whUserHtmlUrl = URL "https://github.com/octocat"- , whUserFollowersUrl = URL "https://api.github.com/users/octocat/followers"- , whUserFollowingUrl = URL "https://api.github.com/users/octocat/following{/other_user}"- , whUserGistsUrl = URL "https://api.github.com/users/octocat/gists{/gist_id}"- , whUserStarredUrl = URL "https://api.github.com/users/octocat/starred{/owner}{/repo}"- , whUserSubscriptionsUrl = URL "https://api.github.com/users/octocat/subscriptions"- , whUserOrganizationsUrl = URL "https://api.github.com/users/octocat/orgs"- , whUserReposUrl = URL "https://api.github.com/users/octocat/repos"- , whUserEventsUrl = URL "https://api.github.com/users/octocat/events{/privacy}"- , whUserReceivedEventsUrl = URL "https://api.github.com/users/octocat/received_events"- , whUserType = OwnerUser- , whUserIsAdminOfSite = False- }- , evOrgBlockOrg =- HookOrganization- { whOrgLogin = "github"- , whOrgId = 4366038- , whOrgNodeId = "MDg6Q2hlY2tSdW4xMjg2MjAyMjg="- , whOrgUrl = URL "https://api.github.com/orgs/github"- , whOrgReposUrl = URL "https://api.github.com/orgs/github/repos"- , whOrgEventsUrl = URL "https://api.github.com/orgs/github/events"- , whOrgHooksUrl = Just $ URL "https://api.github.com/orgs/github/hooks"- , whOrgIssuesUrl = Just $ URL "https://api.github.com/orgs/github/issues"- , whOrgMembersUrl = URL "https://api.github.com/orgs/github/members{/member}"- , whOrgPublicMembersUrl = URL "https://api.github.com/orgs/github/public_members{/member}"- , whOrgAvatarUrl = URL "https://avatars.githubusercontent.com/u/4366038?v=3"- , whOrgDescription = T.empty- }- , evOrgBlockSender =- HookUser- { whUserLogin = "octodocs"- , whUserId = 25781999- , whUserNodeId = "MDg6Q2hlY2tSdW4xMjg2MjAyMjg="- , whUserAvatarUrl = URL "https://avatars.githubusercontent.com/u/25781999?v=3"- , whUserGravatarId = URL ""- , whUserUrl = URL "https://api.github.com/users/octodocs"- , whUserHtmlUrl = URL "https://github.com/octodocs"- , whUserFollowersUrl = URL "https://api.github.com/users/octodocs/followers"- , whUserFollowingUrl = URL "https://api.github.com/users/octodocs/following{/other_user}"- , whUserGistsUrl = URL "https://api.github.com/users/octodocs/gists{/gist_id}"- , whUserStarredUrl = URL "https://api.github.com/users/octodocs/starred{/owner}{/repo}"- , whUserSubscriptionsUrl = URL "https://api.github.com/users/octodocs/subscriptions"- , whUserOrganizationsUrl = URL "https://api.github.com/users/octodocs/orgs"- , whUserReposUrl = URL "https://api.github.com/users/octodocs/repos"- , whUserEventsUrl = URL "https://api.github.com/users/octodocs/events{/privacy}"- , whUserReceivedEventsUrl = URL "https://api.github.com/users/octodocs/received_events"- , whUserType = OwnerUser- , whUserIsAdminOfSite = False- }- }--organizationEventFixture :: OrganizationEvent-organizationEventFixture = OrganizationEvent- { evOrganizationAction = OrgMemberInvitedAction- , evOrganizationInvitation =- HookOrganizationInvitation- { whOrgInvitationId = 3294302- , whOrgInvitationNodeId = "MDg6Q2hlY2tSdW4xMjg2MjAyMjg="- , whOrgInvitationLogin = "baxterthehacker"- , whOrgInvitationEmail = Nothing- , whOrgInvitationRole = "direct_member"- }- , evOrganizationMembership =- HookOrganizationMembership- { whOrgMembershipUrl = URL "https://api.github.com/orgs/baxterandthehackers/memberships/baxterthehacker"- , whOrgMembershipState = "active"- , whOrgMembershipRole = "member"- , whOrgMembershipOrgUrl = URL "https://api.github.com/orgs/baxterandthehackers"- , whOrgMembershipUser =- HookUser- { whUserLogin = "baxterthehacker"- , whUserId = 7649605- , whUserNodeId = "MDg6Q2hlY2tSdW4xMjg2MjAyMjg="- , whUserAvatarUrl = URL "https://avatars.githubusercontent.com/u/17085448?v=3"- , whUserGravatarId = URL ""- , whUserUrl = URL "https://api.github.com/users/baxterthehacker"- , whUserHtmlUrl = URL "https://github.com/baxterthehacker"- , whUserFollowersUrl = URL "https://api.github.com/users/baxterthehacker/followers"- , whUserFollowingUrl = URL "https://api.github.com/users/baxterthehacker/following{/other_user}"- , whUserGistsUrl = URL "https://api.github.com/users/baxterthehacker/gists{/gist_id}"- , whUserStarredUrl = URL "https://api.github.com/users/baxterthehacker/starred{/owner}{/repo}"- , whUserSubscriptionsUrl = URL "https://api.github.com/users/baxterthehacker/subscriptions"- , whUserOrganizationsUrl = URL "https://api.github.com/users/baxterthehacker/orgs"- , whUserReposUrl = URL "https://api.github.com/users/baxterthehacker/repos"- , whUserEventsUrl = URL "https://api.github.com/users/baxterthehacker/events{/privacy}"- , whUserReceivedEventsUrl = URL "https://api.github.com/users/baxterthehacker/received_events"- , whUserType = OwnerUser- , whUserIsAdminOfSite = False- }- }- , evOrganizationOrg =- HookOrganization- { whOrgLogin = "baxterandthehackers"- , whOrgId = 4312013- , whOrgNodeId = "MDg6Q2hlY2tSdW4xMjg2MjAyMjg="- , whOrgUrl = URL "https://api.github.com/orgs/baxterandthehackers"- , whOrgReposUrl = URL "https://api.github.com/orgs/baxterandthehackers/repos"- , whOrgEventsUrl = URL "https://api.github.com/orgs/baxterandthehackers/events"- , whOrgHooksUrl = Just $ URL "https://api.github.com/orgs/baxterandthehackers/hooks"- , whOrgIssuesUrl = Just $ URL "https://api.github.com/orgs/baxterandthehackers/issues"- , whOrgMembersUrl = URL "https://api.github.com/orgs/baxterandthehackers/members{/member}"- , whOrgPublicMembersUrl = URL "https://api.github.com/orgs/baxterandthehackers/public_members{/member}"- , whOrgAvatarUrl = URL "https://avatars.githubusercontent.com/u/4312013?v=3"- , whOrgDescription = T.empty- }- , evOrganizationSender =- HookUser- { whUserLogin = "baxterthehacker"- , whUserId = 7649605- , whUserNodeId = "MDg6Q2hlY2tSdW4xMjg2MjAyMjg="- , whUserAvatarUrl = URL "https://avatars.githubusercontent.com/u/7649605?v=3"- , whUserGravatarId = URL ""- , whUserUrl = URL "https://api.github.com/users/baxterthehacker"- , whUserHtmlUrl = URL "https://github.com/baxterthehacker"- , whUserFollowersUrl = URL "https://api.github.com/users/baxterthehacker/followers"- , whUserFollowingUrl = URL "https://api.github.com/users/baxterthehacker/following{/other_user}"- , whUserGistsUrl = URL "https://api.github.com/users/baxterthehacker/gists{/gist_id}"- , whUserStarredUrl = URL "https://api.github.com/users/baxterthehacker/starred{/owner}{/repo}"- , whUserSubscriptionsUrl = URL "https://api.github.com/users/baxterthehacker/subscriptions"- , whUserOrganizationsUrl = URL "https://api.github.com/users/baxterthehacker/orgs"- , whUserReposUrl = URL "https://api.github.com/users/baxterthehacker/repos"- , whUserEventsUrl = URL "https://api.github.com/users/baxterthehacker/events{/privacy}"- , whUserReceivedEventsUrl = URL "https://api.github.com/users/baxterthehacker/received_events"- , whUserType = OwnerUser- , whUserIsAdminOfSite = True- }- }--pageBuildEventFixture :: PageBuildEvent-pageBuildEventFixture = PageBuildEvent- { evPageBuildId = 15995382- , evPageBuildResult =- HookPageBuildResult- { whPageBuildUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/pages/builds/15995382"- , whPageBuildStatus = "built"- , whPageBuildError = Nothing- , whPageBuildPusher =- HookUser- { whUserLogin = "baxterthehacker"- , whUserId = 6752317- , whUserNodeId = "MDg6Q2hlY2tSdW4xMjg2MjAyMjg="- , whUserAvatarUrl = URL "https://avatars.githubusercontent.com/u/6752317?v=3"- , whUserGravatarId = URL ""- , whUserUrl = URL "https://api.github.com/users/baxterthehacker"- , whUserHtmlUrl = URL "https://github.com/baxterthehacker"- , whUserFollowersUrl = URL "https://api.github.com/users/baxterthehacker/followers"- , whUserFollowingUrl = URL "https://api.github.com/users/baxterthehacker/following{/other_user}"- , whUserGistsUrl = URL "https://api.github.com/users/baxterthehacker/gists{/gist_id}"- , whUserStarredUrl = URL "https://api.github.com/users/baxterthehacker/starred{/owner}{/repo}"- , whUserSubscriptionsUrl = URL "https://api.github.com/users/baxterthehacker/subscriptions"- , whUserOrganizationsUrl = URL "https://api.github.com/users/baxterthehacker/orgs"- , whUserReposUrl = URL "https://api.github.com/users/baxterthehacker/repos"- , whUserEventsUrl = URL "https://api.github.com/users/baxterthehacker/events{/privacy}"- , whUserReceivedEventsUrl = URL "https://api.github.com/users/baxterthehacker/received_events"- , whUserType = OwnerUser- , whUserIsAdminOfSite = False- }- , whPageBuildCommitSha = "053b99542c83021d6b202d1a1f5ecd5ef7084e55"- , whPageBuildDuration = 3790- , whPageBuildCreatedAt = read "2015-05-05 23:40:13Z"- , whPageBuildUpdatedAt = read "2015-05-05 23:40:17Z"- }- , evPageBuildRepo =- HookRepository- { whRepoId = 35129377- , whRepoNodeId = "MDg6Q2hlY2tSdW4xMjg2MjAyMjg="- , whRepoName = "public-repo"- , whRepoFullName = "baxterthehacker/public-repo"- , whRepoOwner =- Right HookUser- { whUserLogin = "baxterthehacker"- , whUserId = 6752317- , whUserNodeId = "MDg6Q2hlY2tSdW4xMjg2MjAyMjg="- , whUserAvatarUrl = URL "https://avatars.githubusercontent.com/u/6752317?v=3"- , whUserGravatarId = URL ""- , whUserUrl = URL "https://api.github.com/users/baxterthehacker"- , whUserHtmlUrl = URL "https://github.com/baxterthehacker"- , whUserFollowersUrl = URL "https://api.github.com/users/baxterthehacker/followers"- , whUserFollowingUrl = URL "https://api.github.com/users/baxterthehacker/following{/other_user}"- , whUserGistsUrl = URL "https://api.github.com/users/baxterthehacker/gists{/gist_id}"- , whUserStarredUrl = URL "https://api.github.com/users/baxterthehacker/starred{/owner}{/repo}"- , whUserSubscriptionsUrl = URL "https://api.github.com/users/baxterthehacker/subscriptions"- , whUserOrganizationsUrl = URL "https://api.github.com/users/baxterthehacker/orgs"- , whUserReposUrl = URL "https://api.github.com/users/baxterthehacker/repos"- , whUserEventsUrl = URL "https://api.github.com/users/baxterthehacker/events{/privacy}"- , whUserReceivedEventsUrl = URL "https://api.github.com/users/baxterthehacker/received_events"- , whUserType = OwnerUser- , whUserIsAdminOfSite = False- }- , whRepoIsPrivate = False- , whRepoHtmlUrl = URL "https://github.com/baxterthehacker/public-repo"- , whRepoDescription = ""- , whRepoIsAFork = False- , whRepoUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo"- , whRepoForksUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/forks"- , whRepoKeysUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/keys{/key_id}"- , whRepoCollaboratorsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/collaborators{/collaborator}"- , whRepoTeamsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/teams"- , whRepoHooksUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/hooks"- , whRepoIssueEventsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/issues/events{/number}"- , whRepoEventsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/events"- , whRepoAssigneesUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/assignees{/user}"- , whRepoBranchesUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/branches{/branch}"- , whRepoTagsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/tags"- , whRepoBlobsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/git/blobs{/sha}"- , whRepoGitTagsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/git/tags{/sha}"- , whRepoGitRefsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/git/refs{/sha}"- , whRepoTreesUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/git/trees{/sha}"- , whRepoStatusesUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/statuses/{sha}"- , whRepoLanguagesUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/languages"- , whRepoStargazersUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/stargazers"- , whRepoContributorsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/contributors"- , whRepoSubscribersUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/subscribers"- , whRepoSubscriptionUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/subscription"- , whRepoCommitsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/commits{/sha}"- , whRepoGitCommitsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/git/commits{/sha}"- , whRepoCommentsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/comments{/number}"- , whRepoIssueCommentsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/issues/comments{/number}"- , whRepoContentsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/contents/{+path}"- , whRepoCompareUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/compare/{base}...{head}"- , whRepoMergesUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/merges"- , whRepoArchiveUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/{archive_format}{/ref}"- , whRepoDownloadsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/downloads"- , whRepoIssuesUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/issues{/number}"- , whRepoPullsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/pulls{/number}"- , whRepoMilestonesUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/milestones{/number}"- , whRepoNotificationsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/notifications{?since,all,participating}"- , whRepoLabelsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/labels{/name}"- , whRepoReleasesUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/releases{/id}"- , whRepoCreatedAt = read "2015-05-05 23:40:12Z"- , whRepoUpdatedAt = read "2015-05-05 23:40:12Z"- , whRepoPushedAt = read "2015-05-05 23:40:17Z"- , whRepoGitUrl = URL "git://github.com/baxterthehacker/public-repo.git"- , whRepoSshUrl = URL "git@github.com:baxterthehacker/public-repo.git"- , whRepoCloneUrl = URL "https://github.com/baxterthehacker/public-repo.git"- , whRepoSvnUrl = URL "https://github.com/baxterthehacker/public-repo"- , whRepoHomepage = Nothing- , whRepoSize = 0- , whRepoStargazersCount = 0- , whRepoWatchersCount = 0- , whRepoLanguage = Nothing- , whRepoHasIssues = True- , whRepoHasDownloads = True- , whRepoHasWiki = True- , whRepoHasPages = True- , whRepoForkCount = 0- , whRepoMirrorUrl = Nothing- , whRepoOpenIssuesCount = 0- , whRepoDefaultBranchName = "master"- }- , evPageBuildSender =- HookUser- { whUserLogin = "baxterthehacker"- , whUserId = 6752317- , whUserNodeId = "MDg6Q2hlY2tSdW4xMjg2MjAyMjg="- , whUserAvatarUrl = URL "https://avatars.githubusercontent.com/u/6752317?v=3"- , whUserGravatarId = URL ""- , whUserUrl = URL "https://api.github.com/users/baxterthehacker"- , whUserHtmlUrl = URL "https://github.com/baxterthehacker"- , whUserFollowersUrl = URL "https://api.github.com/users/baxterthehacker/followers"- , whUserFollowingUrl = URL "https://api.github.com/users/baxterthehacker/following{/other_user}"- , whUserGistsUrl = URL "https://api.github.com/users/baxterthehacker/gists{/gist_id}"- , whUserStarredUrl = URL "https://api.github.com/users/baxterthehacker/starred{/owner}{/repo}"- , whUserSubscriptionsUrl = URL "https://api.github.com/users/baxterthehacker/subscriptions"- , whUserOrganizationsUrl = URL "https://api.github.com/users/baxterthehacker/orgs"- , whUserReposUrl = URL "https://api.github.com/users/baxterthehacker/repos"- , whUserEventsUrl = URL "https://api.github.com/users/baxterthehacker/events{/privacy}"- , whUserReceivedEventsUrl = URL "https://api.github.com/users/baxterthehacker/received_events"- , whUserType = OwnerUser- , whUserIsAdminOfSite = False- }- }--projectCardEventFixture :: ProjectCardEvent-projectCardEventFixture = ProjectCardEvent- { evProjectCardAction = ProjectCardCreatedAction- , evProjectCardPayload =- HookProjectCard- { whProjectCardUrl = URL "https://api.github.com/projects/columns/cards/1266091"- , whProjectCardColumnUrl = URL "https://api.github.com/projects/columns/515520"- , whProjectCardColumnId = 515520- , whProjectCardId = 1266091- , whProjectCardNodeId = "MDg6Q2hlY2tSdW4xMjg2MjAyMjg="- , whProjectCardNote = Nothing- , whProjectCardCreator =- HookUser- { whUserLogin = "baxterthehacker"- , whUserId = 6752317- , whUserNodeId = "MDg6Q2hlY2tSdW4xMjg2MjAyMjg="- , whUserAvatarUrl = URL "https://avatars.githubusercontent.com/u/6752317?v=2"- , whUserGravatarId = URL ""- , whUserUrl = URL "https://api.github.com/users/baxterthehacker"- , whUserHtmlUrl = URL "https://github.com/baxterthehacker"- , whUserFollowersUrl = URL "https://api.github.com/users/baxterthehacker/followers"- , whUserFollowingUrl = URL "https://api.github.com/users/baxterthehacker/following{/other_user}"- , whUserGistsUrl = URL "https://api.github.com/users/baxterthehacker/gists{/gist_id}"- , whUserStarredUrl = URL "https://api.github.com/users/baxterthehacker/starred{/owner}{/repo}"- , whUserSubscriptionsUrl = URL "https://api.github.com/users/baxterthehacker/subscriptions"- , whUserOrganizationsUrl = URL "https://api.github.com/users/baxterthehacker/orgs"- , whUserReposUrl = URL "https://api.github.com/users/baxterthehacker/repos"- , whUserEventsUrl = URL "https://api.github.com/users/baxterthehacker/events{/privacy}"- , whUserReceivedEventsUrl = URL "https://api.github.com/users/baxterthehacker/received_events"- , whUserType = OwnerUser- , whUserIsAdminOfSite = False- }- , whProjectCardCreatedAt = read "2017-09-27 23:37:43Z"- , whProjectCardUpdatedAt = read "2017-09-27 23:39:09Z"- , whProjectCardContentUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/issues/2"- }- , evProjectCardRepo =- HookRepository- { whRepoId = 35129377- , whRepoNodeId = "MDg6Q2hlY2tSdW4xMjg2MjAyMjg="- , whRepoName = "public-repo"- , whRepoFullName = "baxterthehacker/public-repo"- , whRepoOwner =- Right HookUser- { whUserLogin = "baxterthehacker"- , whUserId = 6752317- , whUserNodeId = "MDg6Q2hlY2tSdW4xMjg2MjAyMjg="- , whUserAvatarUrl = URL "https://avatars.githubusercontent.com/u/6752317?v=3"- , whUserGravatarId = URL ""- , whUserUrl = URL "https://api.github.com/users/baxterthehacker"- , whUserHtmlUrl = URL "https://github.com/baxterthehacker"- , whUserFollowersUrl = URL "https://api.github.com/users/baxterthehacker/followers"- , whUserFollowingUrl = URL "https://api.github.com/users/baxterthehacker/following{/other_user}"- , whUserGistsUrl = URL "https://api.github.com/users/baxterthehacker/gists{/gist_id}"- , whUserStarredUrl = URL "https://api.github.com/users/baxterthehacker/starred{/owner}{/repo}"- , whUserSubscriptionsUrl = URL "https://api.github.com/users/baxterthehacker/subscriptions"- , whUserOrganizationsUrl = URL "https://api.github.com/users/baxterthehacker/orgs"- , whUserReposUrl = URL "https://api.github.com/users/baxterthehacker/repos"- , whUserEventsUrl = URL "https://api.github.com/users/baxterthehacker/events{/privacy}"- , whUserReceivedEventsUrl = URL "https://api.github.com/users/baxterthehacker/received_events"- , whUserType = OwnerUser- , whUserIsAdminOfSite = False- }- , whRepoIsPrivate = False- , whRepoHtmlUrl = URL "https://github.com/baxterthehacker/public-repo"- , whRepoDescription = ""- , whRepoIsAFork = False- , whRepoUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo"- , whRepoForksUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/forks"- , whRepoKeysUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/keys{/key_id}"- , whRepoCollaboratorsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/collaborators{/collaborator}"- , whRepoTeamsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/teams"- , whRepoHooksUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/hooks"- , whRepoIssueEventsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/issues/events{/number}"- , whRepoEventsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/events"- , whRepoAssigneesUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/assignees{/user}"- , whRepoBranchesUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/branches{/branch}"- , whRepoTagsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/tags"- , whRepoBlobsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/git/blobs{/sha}"- , whRepoGitTagsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/git/tags{/sha}"- , whRepoGitRefsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/git/refs{/sha}"- , whRepoTreesUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/git/trees{/sha}"- , whRepoStatusesUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/statuses/{sha}"- , whRepoLanguagesUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/languages"- , whRepoStargazersUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/stargazers"- , whRepoContributorsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/contributors"- , whRepoSubscribersUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/subscribers"- , whRepoSubscriptionUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/subscription"- , whRepoCommitsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/commits{/sha}"- , whRepoGitCommitsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/git/commits{/sha}"- , whRepoCommentsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/comments{/number}"- , whRepoIssueCommentsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/issues/comments{/number}"- , whRepoContentsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/contents/{+path}"- , whRepoCompareUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/compare/{base}...{head}"- , whRepoMergesUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/merges"- , whRepoArchiveUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/{archive_format}{/ref}"- , whRepoDownloadsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/downloads"- , whRepoIssuesUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/issues{/number}"- , whRepoPullsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/pulls{/number}"- , whRepoMilestonesUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/milestones{/number}"- , whRepoNotificationsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/notifications{?since,all,participating}"- , whRepoLabelsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/labels{/name}"- , whRepoReleasesUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/releases{/id}"- , whRepoCreatedAt = read "2015-05-05 23:40:12Z"- , whRepoUpdatedAt = read "2015-05-05 23:40:12Z"- , whRepoPushedAt = read "2015-05-05 23:40:27Z"- , whRepoGitUrl = URL "git://github.com/baxterthehacker/public-repo.git"- , whRepoSshUrl = URL "git@github.com:baxterthehacker/public-repo.git"- , whRepoCloneUrl = URL "https://github.com/baxterthehacker/public-repo.git"- , whRepoSvnUrl = URL "https://github.com/baxterthehacker/public-repo"- , whRepoHomepage = Nothing- , whRepoSize = 0- , whRepoStargazersCount = 0- , whRepoWatchersCount = 0- , whRepoLanguage = Nothing- , whRepoHasIssues = True- , whRepoHasDownloads = True- , whRepoHasWiki = True- , whRepoHasPages = True- , whRepoForkCount = 0- , whRepoMirrorUrl = Nothing- , whRepoOpenIssuesCount = 2- , whRepoDefaultBranchName = "master"- }- , evProjectCardOrg =- HookOrganization- { whOrgLogin = "baxterandthehackers"- , whOrgId = 7649605- , whOrgNodeId = "MDg6Q2hlY2tSdW4xMjg2MjAyMjg="- , whOrgUrl = URL "https://api.github.com/orgs/baxterandthehackers"- , whOrgReposUrl = URL "https://api.github.com/orgs/baxterandthehackers/repos"- , whOrgEventsUrl = URL "https://api.github.com/orgs/baxterandthehackers/events"- , whOrgHooksUrl = Nothing- , whOrgIssuesUrl = Nothing- , whOrgMembersUrl = URL "https://api.github.com/orgs/baxterandthehackers/members{/member}"- , whOrgPublicMembersUrl = URL "https://api.github.com/orgs/baxterandthehackers/public_members{/member}"- , whOrgAvatarUrl = URL "https://avatars.githubusercontent.com/u/7649605?v=2"- , whOrgDescription = T.empty- }- , evProjectCardSender =- HookUser- { whUserLogin = "baxterthehacker"- , whUserId = 6752317- , whUserNodeId = "MDg6Q2hlY2tSdW4xMjg2MjAyMjg="- , whUserAvatarUrl = URL "https://avatars.githubusercontent.com/u/6752317?v=2"- , whUserGravatarId = URL ""- , whUserUrl = URL "https://api.github.com/users/baxterthehacker"- , whUserHtmlUrl = URL "https://github.com/baxterthehacker"- , whUserFollowersUrl = URL "https://api.github.com/users/baxterthehacker/followers"- , whUserFollowingUrl = URL "https://api.github.com/users/baxterthehacker/following{/other_user}"- , whUserGistsUrl = URL "https://api.github.com/users/baxterthehacker/gists{/gist_id}"- , whUserStarredUrl = URL "https://api.github.com/users/baxterthehacker/starred{/owner}{/repo}"- , whUserSubscriptionsUrl = URL "https://api.github.com/users/baxterthehacker/subscriptions"- , whUserOrganizationsUrl = URL "https://api.github.com/users/baxterthehacker/orgs"- , whUserReposUrl = URL "https://api.github.com/users/baxterthehacker/repos"- , whUserEventsUrl = URL "https://api.github.com/users/baxterthehacker/events{/privacy}"- , whUserReceivedEventsUrl = URL "https://api.github.com/users/baxterthehacker/received_events"- , whUserType = OwnerUser- , whUserIsAdminOfSite = False- }- }--projectColumnEventFixture :: ProjectColumnEvent-projectColumnEventFixture = ProjectColumnEvent- { evProjectColumnAction = ProjectColumnCreatedAction- , evProjectColumnPayload =- HookProjectColumn- { whProjectColumnUrl = URL "https://api.github.com/projects/columns/515520"- , whProjectColumnProjUrl = URL "https://api.github.com/projects/288065"- , whProjectColumnCardsUrl = URL "https://api.github.com/projects/columns/515520/cards"- , whProjectColumnId = 515520- , whProjectColumnNodeId = "MDg6Q2hlY2tSdW4xMjg2MjAyMjg="- , whProjectColumnName = "High Priority"- , whProjectColumnCreatedAt = read "2017-09-27 23:37:43Z"- , whProjectColumnUpdatedAt = read "2017-09-27 23:39:09Z"- }- , evProjectColumnRepo =- HookRepository- { whRepoId = 35129377- , whRepoNodeId = "MDg6Q2hlY2tSdW4xMjg2MjAyMjg="- , whRepoName = "public-repo"- , whRepoFullName = "baxterthehacker/public-repo"- , whRepoOwner =- Right HookUser- { whUserLogin = "baxterthehacker"- , whUserId = 6752317- , whUserNodeId = "MDg6Q2hlY2tSdW4xMjg2MjAyMjg="- , whUserAvatarUrl = URL "https://avatars.githubusercontent.com/u/6752317?v=3"- , whUserGravatarId = URL ""- , whUserUrl = URL "https://api.github.com/users/baxterthehacker"- , whUserHtmlUrl = URL "https://github.com/baxterthehacker"- , whUserFollowersUrl = URL "https://api.github.com/users/baxterthehacker/followers"- , whUserFollowingUrl = URL "https://api.github.com/users/baxterthehacker/following{/other_user}"- , whUserGistsUrl = URL "https://api.github.com/users/baxterthehacker/gists{/gist_id}"- , whUserStarredUrl = URL "https://api.github.com/users/baxterthehacker/starred{/owner}{/repo}"- , whUserSubscriptionsUrl = URL "https://api.github.com/users/baxterthehacker/subscriptions"- , whUserOrganizationsUrl = URL "https://api.github.com/users/baxterthehacker/orgs"- , whUserReposUrl = URL "https://api.github.com/users/baxterthehacker/repos"- , whUserEventsUrl = URL "https://api.github.com/users/baxterthehacker/events{/privacy}"- , whUserReceivedEventsUrl = URL "https://api.github.com/users/baxterthehacker/received_events"- , whUserType = OwnerUser- , whUserIsAdminOfSite = False- }- , whRepoIsPrivate = False- , whRepoHtmlUrl = URL "https://github.com/baxterthehacker/public-repo"- , whRepoDescription = ""- , whRepoIsAFork = False- , whRepoUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo"- , whRepoForksUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/forks"- , whRepoKeysUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/keys{/key_id}"- , whRepoCollaboratorsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/collaborators{/collaborator}"- , whRepoTeamsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/teams"- , whRepoHooksUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/hooks"- , whRepoIssueEventsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/issues/events{/number}"- , whRepoEventsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/events"- , whRepoAssigneesUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/assignees{/user}"- , whRepoBranchesUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/branches{/branch}"- , whRepoTagsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/tags"- , whRepoBlobsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/git/blobs{/sha}"- , whRepoGitTagsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/git/tags{/sha}"- , whRepoGitRefsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/git/refs{/sha}"- , whRepoTreesUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/git/trees{/sha}"- , whRepoStatusesUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/statuses/{sha}"- , whRepoLanguagesUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/languages"- , whRepoStargazersUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/stargazers"- , whRepoContributorsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/contributors"- , whRepoSubscribersUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/subscribers"- , whRepoSubscriptionUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/subscription"- , whRepoCommitsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/commits{/sha}"- , whRepoGitCommitsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/git/commits{/sha}"- , whRepoCommentsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/comments{/number}"- , whRepoIssueCommentsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/issues/comments{/number}"- , whRepoContentsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/contents/{+path}"- , whRepoCompareUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/compare/{base}...{head}"- , whRepoMergesUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/merges"- , whRepoArchiveUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/{archive_format}{/ref}"- , whRepoDownloadsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/downloads"- , whRepoIssuesUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/issues{/number}"- , whRepoPullsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/pulls{/number}"- , whRepoMilestonesUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/milestones{/number}"- , whRepoNotificationsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/notifications{?since,all,participating}"- , whRepoLabelsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/labels{/name}"- , whRepoReleasesUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/releases{/id}"- , whRepoCreatedAt = read "2015-05-05 23:40:12Z"- , whRepoUpdatedAt = read "2015-05-05 23:40:12Z"- , whRepoPushedAt = read "2015-05-05 23:40:27Z"- , whRepoGitUrl = URL "git://github.com/baxterthehacker/public-repo.git"- , whRepoSshUrl = URL "git@github.com:baxterthehacker/public-repo.git"- , whRepoCloneUrl = URL "https://github.com/baxterthehacker/public-repo.git"- , whRepoSvnUrl = URL "https://github.com/baxterthehacker/public-repo"- , whRepoHomepage = Nothing- , whRepoSize = 0- , whRepoStargazersCount = 0- , whRepoWatchersCount = 0- , whRepoLanguage = Nothing- , whRepoHasIssues = True- , whRepoHasDownloads = True- , whRepoHasWiki = True- , whRepoHasPages = True- , whRepoForkCount = 0- , whRepoMirrorUrl = Nothing- , whRepoOpenIssuesCount = 2- , whRepoDefaultBranchName = "master"- }- , evProjectColumnOrg =- HookOrganization- { whOrgLogin = "baxterandthehackers"- , whOrgId = 7649605- , whOrgNodeId = "MDg6Q2hlY2tSdW4xMjg2MjAyMjg="- , whOrgUrl = URL "https://api.github.com/orgs/baxterandthehackers"- , whOrgReposUrl = URL "https://api.github.com/orgs/baxterandthehackers/repos"- , whOrgEventsUrl = URL "https://api.github.com/orgs/baxterandthehackers/events"- , whOrgHooksUrl = Nothing- , whOrgIssuesUrl = Nothing- , whOrgMembersUrl = URL "https://api.github.com/orgs/baxterandthehackers/members{/member}"- , whOrgPublicMembersUrl = URL "https://api.github.com/orgs/baxterandthehackers/public_members{/member}"- , whOrgAvatarUrl = URL "https://avatars.githubusercontent.com/u/7649605?v=2"- , whOrgDescription = T.empty- }- , evProjectColumnSender =- HookUser- { whUserLogin = "baxterthehacker"- , whUserId = 6752317- , whUserNodeId = "MDg6Q2hlY2tSdW4xMjg2MjAyMjg="- , whUserAvatarUrl = URL "https://avatars.githubusercontent.com/u/6752317?v=2"- , whUserGravatarId = URL ""- , whUserUrl = URL "https://api.github.com/users/baxterthehacker"- , whUserHtmlUrl = URL "https://github.com/baxterthehacker"- , whUserFollowersUrl = URL "https://api.github.com/users/baxterthehacker/followers"- , whUserFollowingUrl = URL "https://api.github.com/users/baxterthehacker/following{/other_user}"- , whUserGistsUrl = URL "https://api.github.com/users/baxterthehacker/gists{/gist_id}"- , whUserStarredUrl = URL "https://api.github.com/users/baxterthehacker/starred{/owner}{/repo}"- , whUserSubscriptionsUrl = URL "https://api.github.com/users/baxterthehacker/subscriptions"- , whUserOrganizationsUrl = URL "https://api.github.com/users/baxterthehacker/orgs"- , whUserReposUrl = URL "https://api.github.com/users/baxterthehacker/repos"- , whUserEventsUrl = URL "https://api.github.com/users/baxterthehacker/events{/privacy}"- , whUserReceivedEventsUrl = URL "https://api.github.com/users/baxterthehacker/received_events"- , whUserType = OwnerUser- , whUserIsAdminOfSite = False- }- }--projectEventFixture :: ProjectEvent-projectEventFixture = ProjectEvent- { evProjectEventAction = ProjectCreatedAction- , evProjectPayload =- HookProject- { whProjectOwnerUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo"- , whProjectUrl = URL "https://api.github.com/projects/288065"- , whProjectColumnsUrl = URL "https://api.github.com/projects/288065/columns"- , whProjectId = 288065- , whProjectNodeId = "MDg6Q2hlY2tSdW4xMjg2MjAyMjg="- , whProjectName = "2017"- , whProjectBody = "Roadmap for work to be done in 2017"- , whProjectNumber = 10- , whProjectState = "open"- , whProjectCreator =- HookUser- { whUserLogin = "baxterthehacker"- , whUserId = 6752317- , whUserNodeId = "MDg6Q2hlY2tSdW4xMjg2MjAyMjg="- , whUserAvatarUrl = URL "https://avatars.githubusercontent.com/u/6752317?v=2"- , whUserGravatarId = URL ""- , whUserUrl = URL "https://api.github.com/users/baxterthehacker"- , whUserHtmlUrl = URL "https://github.com/baxterthehacker"- , whUserFollowersUrl = URL "https://api.github.com/users/baxterthehacker/followers"- , whUserFollowingUrl = URL "https://api.github.com/users/baxterthehacker/following{/other_user}"- , whUserGistsUrl = URL "https://api.github.com/users/baxterthehacker/gists{/gist_id}"- , whUserStarredUrl = URL "https://api.github.com/users/baxterthehacker/starred{/owner}{/repo}"- , whUserSubscriptionsUrl = URL "https://api.github.com/users/baxterthehacker/subscriptions"- , whUserOrganizationsUrl = URL "https://api.github.com/users/baxterthehacker/orgs"- , whUserReposUrl = URL "https://api.github.com/users/baxterthehacker/repos"- , whUserEventsUrl = URL "https://api.github.com/users/baxterthehacker/events{/privacy}"- , whUserReceivedEventsUrl = URL "https://api.github.com/users/baxterthehacker/received_events"- , whUserType = OwnerUser- , whUserIsAdminOfSite = False- }- , whProjectCreatedAt = read "2017-09-27 23:37:43Z"- , whProjectUpdatedAt = read "2017-09-27 23:39:09Z"- }- , evProjectRepo =- HookRepository- { whRepoId = 35129377- , whRepoNodeId = "MDg6Q2hlY2tSdW4xMjg2MjAyMjg="- , whRepoName = "public-repo"- , whRepoFullName = "baxterthehacker/public-repo"- , whRepoOwner =- Right HookUser- { whUserLogin = "baxterthehacker"- , whUserId = 6752317- , whUserNodeId = "MDg6Q2hlY2tSdW4xMjg2MjAyMjg="- , whUserAvatarUrl = URL "https://avatars.githubusercontent.com/u/6752317?v=3"- , whUserGravatarId = URL ""- , whUserUrl = URL "https://api.github.com/users/baxterthehacker"- , whUserHtmlUrl = URL "https://github.com/baxterthehacker"- , whUserFollowersUrl = URL "https://api.github.com/users/baxterthehacker/followers"- , whUserFollowingUrl = URL "https://api.github.com/users/baxterthehacker/following{/other_user}"- , whUserGistsUrl = URL "https://api.github.com/users/baxterthehacker/gists{/gist_id}"- , whUserStarredUrl = URL "https://api.github.com/users/baxterthehacker/starred{/owner}{/repo}"- , whUserSubscriptionsUrl = URL "https://api.github.com/users/baxterthehacker/subscriptions"- , whUserOrganizationsUrl = URL "https://api.github.com/users/baxterthehacker/orgs"- , whUserReposUrl = URL "https://api.github.com/users/baxterthehacker/repos"- , whUserEventsUrl = URL "https://api.github.com/users/baxterthehacker/events{/privacy}"- , whUserReceivedEventsUrl = URL "https://api.github.com/users/baxterthehacker/received_events"- , whUserType = OwnerUser- , whUserIsAdminOfSite = False- }- , whRepoIsPrivate = False- , whRepoHtmlUrl = URL "https://github.com/baxterthehacker/public-repo"- , whRepoDescription = ""- , whRepoIsAFork = False- , whRepoUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo"- , whRepoForksUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/forks"- , whRepoKeysUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/keys{/key_id}"- , whRepoCollaboratorsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/collaborators{/collaborator}"- , whRepoTeamsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/teams"- , whRepoHooksUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/hooks"- , whRepoIssueEventsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/issues/events{/number}"- , whRepoEventsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/events"- , whRepoAssigneesUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/assignees{/user}"- , whRepoBranchesUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/branches{/branch}"- , whRepoTagsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/tags"- , whRepoBlobsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/git/blobs{/sha}"- , whRepoGitTagsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/git/tags{/sha}"- , whRepoGitRefsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/git/refs{/sha}"- , whRepoTreesUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/git/trees{/sha}"- , whRepoStatusesUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/statuses/{sha}"- , whRepoLanguagesUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/languages"- , whRepoStargazersUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/stargazers"- , whRepoContributorsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/contributors"- , whRepoSubscribersUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/subscribers"- , whRepoSubscriptionUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/subscription"- , whRepoCommitsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/commits{/sha}"- , whRepoGitCommitsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/git/commits{/sha}"- , whRepoCommentsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/comments{/number}"- , whRepoIssueCommentsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/issues/comments{/number}"- , whRepoContentsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/contents/{+path}"- , whRepoCompareUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/compare/{base}...{head}"- , whRepoMergesUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/merges"- , whRepoArchiveUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/{archive_format}{/ref}"- , whRepoDownloadsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/downloads"- , whRepoIssuesUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/issues{/number}"- , whRepoPullsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/pulls{/number}"- , whRepoMilestonesUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/milestones{/number}"- , whRepoNotificationsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/notifications{?since,all,participating}"- , whRepoLabelsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/labels{/name}"- , whRepoReleasesUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/releases{/id}"- , whRepoCreatedAt = read "2015-05-05 23:40:12Z"- , whRepoUpdatedAt = read "2015-05-05 23:40:12Z"- , whRepoPushedAt = read "2015-05-05 23:40:27Z"- , whRepoGitUrl = URL "git://github.com/baxterthehacker/public-repo.git"- , whRepoSshUrl = URL "git@github.com:baxterthehacker/public-repo.git"- , whRepoCloneUrl = URL "https://github.com/baxterthehacker/public-repo.git"- , whRepoSvnUrl = URL "https://github.com/baxterthehacker/public-repo"- , whRepoHomepage = Nothing- , whRepoSize = 0- , whRepoStargazersCount = 0- , whRepoWatchersCount = 0- , whRepoLanguage = Nothing- , whRepoHasIssues = True- , whRepoHasDownloads = True- , whRepoHasWiki = True- , whRepoHasPages = True- , whRepoForkCount = 0- , whRepoMirrorUrl = Nothing- , whRepoOpenIssuesCount = 2- , whRepoDefaultBranchName = "master"- }- , evProjectOrganization =- HookOrganization- { whOrgLogin = "baxterandthehackers"- , whOrgId = 7649605- , whOrgNodeId = "MDg6Q2hlY2tSdW4xMjg2MjAyMjg="- , whOrgUrl = URL "https://api.github.com/orgs/baxterandthehackers"- , whOrgReposUrl = URL "https://api.github.com/orgs/baxterandthehackers/repos"- , whOrgEventsUrl = URL "https://api.github.com/orgs/baxterandthehackers/events"- , whOrgHooksUrl = Nothing- , whOrgIssuesUrl = Nothing- , whOrgMembersUrl = URL "https://api.github.com/orgs/baxterandthehackers/members{/member}"- , whOrgPublicMembersUrl = URL "https://api.github.com/orgs/baxterandthehackers/public_members{/member}"- , whOrgAvatarUrl = URL "https://avatars.githubusercontent.com/u/7649605?v=2"- , whOrgDescription = T.empty- }- , evProjectSender =- HookUser- { whUserLogin = "baxterthehacker"- , whUserId = 6752317- , whUserNodeId = "MDg6Q2hlY2tSdW4xMjg2MjAyMjg="- , whUserAvatarUrl = URL "https://avatars.githubusercontent.com/u/6752317?v=2"- , whUserGravatarId = URL ""- , whUserUrl = URL "https://api.github.com/users/baxterthehacker"- , whUserHtmlUrl = URL "https://github.com/baxterthehacker"- , whUserFollowersUrl = URL "https://api.github.com/users/baxterthehacker/followers"- , whUserFollowingUrl = URL "https://api.github.com/users/baxterthehacker/following{/other_user}"- , whUserGistsUrl = URL "https://api.github.com/users/baxterthehacker/gists{/gist_id}"- , whUserStarredUrl = URL "https://api.github.com/users/baxterthehacker/starred{/owner}{/repo}"- , whUserSubscriptionsUrl = URL "https://api.github.com/users/baxterthehacker/subscriptions"- , whUserOrganizationsUrl = URL "https://api.github.com/users/baxterthehacker/orgs"- , whUserReposUrl = URL "https://api.github.com/users/baxterthehacker/repos"- , whUserEventsUrl = URL "https://api.github.com/users/baxterthehacker/events{/privacy}"- , whUserReceivedEventsUrl = URL "https://api.github.com/users/baxterthehacker/received_events"- , whUserType = OwnerUser- , whUserIsAdminOfSite = False- }- }--publicEventFixture :: PublicEvent-publicEventFixture = PublicEvent- { evPublicEventRepo =- HookRepository- { whRepoId = 35129377- , whRepoNodeId = "MDg6Q2hlY2tSdW4xMjg2MjAyMjg="- , whRepoName = "public-repo"- , whRepoFullName = "baxterthehacker/public-repo"- , whRepoOwner =- Right HookUser- { whUserLogin = "baxterthehacker"- , whUserId = 6752317- , whUserNodeId = "MDg6Q2hlY2tSdW4xMjg2MjAyMjg="- , whUserAvatarUrl = URL "https://avatars.githubusercontent.com/u/6752317?v=3"- , whUserGravatarId = URL ""- , whUserUrl = URL "https://api.github.com/users/baxterthehacker"- , whUserHtmlUrl = URL "https://github.com/baxterthehacker"- , whUserFollowersUrl = URL "https://api.github.com/users/baxterthehacker/followers"- , whUserFollowingUrl = URL "https://api.github.com/users/baxterthehacker/following{/other_user}"- , whUserGistsUrl = URL "https://api.github.com/users/baxterthehacker/gists{/gist_id}"- , whUserStarredUrl = URL "https://api.github.com/users/baxterthehacker/starred{/owner}{/repo}"- , whUserSubscriptionsUrl = URL "https://api.github.com/users/baxterthehacker/subscriptions"- , whUserOrganizationsUrl = URL "https://api.github.com/users/baxterthehacker/orgs"- , whUserReposUrl = URL "https://api.github.com/users/baxterthehacker/repos"- , whUserEventsUrl = URL "https://api.github.com/users/baxterthehacker/events{/privacy}"- , whUserReceivedEventsUrl = URL "https://api.github.com/users/baxterthehacker/received_events"- , whUserType = OwnerUser- , whUserIsAdminOfSite = False- }- , whRepoIsPrivate = False- , whRepoHtmlUrl = URL "https://github.com/baxterthehacker/public-repo"- , whRepoDescription = ""- , whRepoIsAFork = False- , whRepoUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo"- , whRepoForksUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/forks"- , whRepoKeysUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/keys{/key_id}"- , whRepoCollaboratorsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/collaborators{/collaborator}"- , whRepoTeamsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/teams"- , whRepoHooksUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/hooks"- , whRepoIssueEventsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/issues/events{/number}"- , whRepoEventsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/events"- , whRepoAssigneesUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/assignees{/user}"- , whRepoBranchesUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/branches{/branch}"- , whRepoTagsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/tags"- , whRepoBlobsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/git/blobs{/sha}"- , whRepoGitTagsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/git/tags{/sha}"- , whRepoGitRefsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/git/refs{/sha}"- , whRepoTreesUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/git/trees{/sha}"- , whRepoStatusesUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/statuses/{sha}"- , whRepoLanguagesUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/languages"- , whRepoStargazersUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/stargazers"- , whRepoContributorsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/contributors"- , whRepoSubscribersUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/subscribers"- , whRepoSubscriptionUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/subscription"- , whRepoCommitsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/commits{/sha}"- , whRepoGitCommitsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/git/commits{/sha}"- , whRepoCommentsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/comments{/number}"- , whRepoIssueCommentsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/issues/comments{/number}"- , whRepoContentsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/contents/{+path}"- , whRepoCompareUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/compare/{base}...{head}"- , whRepoMergesUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/merges"- , whRepoArchiveUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/{archive_format}{/ref}"- , whRepoDownloadsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/downloads"- , whRepoIssuesUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/issues{/number}"- , whRepoPullsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/pulls{/number}"- , whRepoMilestonesUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/milestones{/number}"- , whRepoNotificationsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/notifications{?since,all,participating}"- , whRepoLabelsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/labels{/name}"- , whRepoReleasesUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/releases{/id}"- , whRepoCreatedAt = read "2015-05-05 23:40:12Z"- , whRepoUpdatedAt = read "2015-05-05 23:40:41Z"- , whRepoPushedAt = read "2015-05-05 23:40:40Z"- , whRepoGitUrl = URL "git://github.com/baxterthehacker/public-repo.git"- , whRepoSshUrl = URL "git@github.com:baxterthehacker/public-repo.git"- , whRepoCloneUrl = URL "https://github.com/baxterthehacker/public-repo.git"- , whRepoSvnUrl = URL "https://github.com/baxterthehacker/public-repo"- , whRepoHomepage = Nothing- , whRepoSize = 0- , whRepoStargazersCount = 0- , whRepoWatchersCount = 0- , whRepoLanguage = Nothing- , whRepoHasIssues = True- , whRepoHasDownloads = True- , whRepoHasWiki = True- , whRepoHasPages = True- , whRepoForkCount = 0- , whRepoMirrorUrl = Nothing- , whRepoOpenIssuesCount = 2- , whRepoDefaultBranchName = "master"- }- , evPublicEventSender =- HookUser- { whUserLogin = "baxterthehacker"- , whUserId = 6752317- , whUserNodeId = "MDg6Q2hlY2tSdW4xMjg2MjAyMjg="- , whUserAvatarUrl = URL "https://avatars.githubusercontent.com/u/6752317?v=3"- , whUserGravatarId = URL ""- , whUserUrl = URL "https://api.github.com/users/baxterthehacker"- , whUserHtmlUrl = URL "https://github.com/baxterthehacker"- , whUserFollowersUrl = URL "https://api.github.com/users/baxterthehacker/followers"- , whUserFollowingUrl = URL "https://api.github.com/users/baxterthehacker/following{/other_user}"- , whUserGistsUrl = URL "https://api.github.com/users/baxterthehacker/gists{/gist_id}"- , whUserStarredUrl = URL "https://api.github.com/users/baxterthehacker/starred{/owner}{/repo}"- , whUserSubscriptionsUrl = URL "https://api.github.com/users/baxterthehacker/subscriptions"- , whUserOrganizationsUrl = URL "https://api.github.com/users/baxterthehacker/orgs"- , whUserReposUrl = URL "https://api.github.com/users/baxterthehacker/repos"- , whUserEventsUrl = URL "https://api.github.com/users/baxterthehacker/events{/privacy}"- , whUserReceivedEventsUrl = URL "https://api.github.com/users/baxterthehacker/received_events"- , whUserType = OwnerUser- , whUserIsAdminOfSite = False- }- }--pullRequestEventFixture :: PullRequestEvent-pullRequestEventFixture = PullRequestEvent- { evPullReqAction = PullRequestOpenedAction- , evPullReqNumber = 1- , evPullReqPayload =- HookPullRequest- { whPullReqUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/pulls/1"- , whPullReqId = 34778301- , whPullReqNodeId = "MDg6Q2hlY2tSdW4xMjg2MjAyMjg="- , whPullReqHtmlUrl = URL "https://github.com/baxterthehacker/public-repo/pull/1"- , whPullReqDiffUrl = URL "https://github.com/baxterthehacker/public-repo/pull/1.diff"- , whPullReqPatchUrl = URL "https://github.com/baxterthehacker/public-repo/pull/1.patch"- , whPullReqIssueUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/issues/1"- , whPullReqNumber = 1- , whPullReqState = "open"- , whPullReqIsLocked = False- , whPullReqTitle = "Update the README with new information"- , whPullReqUser =- HookUser- { whUserLogin = "baxterthehacker"- , whUserId = 6752317- , whUserNodeId = "MDg6Q2hlY2tSdW4xMjg2MjAyMjg="- , whUserAvatarUrl = URL "https://avatars.githubusercontent.com/u/6752317?v=3"- , whUserGravatarId = URL ""- , whUserUrl = URL "https://api.github.com/users/baxterthehacker"- , whUserHtmlUrl = URL "https://github.com/baxterthehacker"- , whUserFollowersUrl = URL "https://api.github.com/users/baxterthehacker/followers"- , whUserFollowingUrl = URL "https://api.github.com/users/baxterthehacker/following{/other_user}"- , whUserGistsUrl = URL "https://api.github.com/users/baxterthehacker/gists{/gist_id}"- , whUserStarredUrl = URL "https://api.github.com/users/baxterthehacker/starred{/owner}{/repo}"- , whUserSubscriptionsUrl = URL "https://api.github.com/users/baxterthehacker/subscriptions"- , whUserOrganizationsUrl = URL "https://api.github.com/users/baxterthehacker/orgs"- , whUserReposUrl = URL "https://api.github.com/users/baxterthehacker/repos"- , whUserEventsUrl = URL "https://api.github.com/users/baxterthehacker/events{/privacy}"- , whUserReceivedEventsUrl = URL "https://api.github.com/users/baxterthehacker/received_events"- , whUserType = OwnerUser- , whUserIsAdminOfSite = False- }- , whPullReqBody = "This is a pretty simple change that we need to pull into master."- , whPullReqCreatedAt = read "2015-05-05 23:40:27Z"- , whPullReqUpdatedAt = read "2015-05-05 23:40:27Z"- , whPullReqClosedAt = Nothing- , whPullReqMergedAt = Nothing- , whPullReqMergeCommitSha = Nothing- , whPullReqAssignee = Nothing- , whPullReqMilestone = Nothing- , whPullReqCommitsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/pulls/1/commits"- , whPullReqRevCommentsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/pulls/1/comments"- , whPullReqRevCommentUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/pulls/comments{/number}"- , whPullReqCommentsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/issues/1/comments"- , whPullReqStatusesUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/statuses/0d1a26e67d8f5eaf1f6ba5c57fc3c7d91ac0fd1c"- , whPullReqBase =- PullRequestTarget- { whPullReqTargetSha = "9049f1265b7d61be4a8904a9a27120d2064dab3b"- , whPullReqTargetUser =- HookUser- { whUserLogin = "baxterthehacker"- , whUserId = 6752317- , whUserNodeId = "MDg6Q2hlY2tSdW4xMjg2MjAyMjg="- , whUserAvatarUrl = URL "https://avatars.githubusercontent.com/u/6752317?v=3"- , whUserGravatarId = URL ""- , whUserUrl = URL "https://api.github.com/users/baxterthehacker"- , whUserHtmlUrl = URL "https://github.com/baxterthehacker"- , whUserFollowersUrl = URL "https://api.github.com/users/baxterthehacker/followers"- , whUserFollowingUrl = URL "https://api.github.com/users/baxterthehacker/following{/other_user}"- , whUserGistsUrl = URL "https://api.github.com/users/baxterthehacker/gists{/gist_id}"- , whUserStarredUrl = URL "https://api.github.com/users/baxterthehacker/starred{/owner}{/repo}"- , whUserSubscriptionsUrl = URL "https://api.github.com/users/baxterthehacker/subscriptions"- , whUserOrganizationsUrl = URL "https://api.github.com/users/baxterthehacker/orgs"- , whUserReposUrl = URL "https://api.github.com/users/baxterthehacker/repos"- , whUserEventsUrl = URL "https://api.github.com/users/baxterthehacker/events{/privacy}"- , whUserReceivedEventsUrl = URL "https://api.github.com/users/baxterthehacker/received_events"- , whUserType = OwnerUser- , whUserIsAdminOfSite = False- }- , whPullReqTargetRepo =- HookRepository- { whRepoId = 35129377- , whRepoNodeId = "MDg6Q2hlY2tSdW4xMjg2MjAyMjg="- , whRepoName = "public-repo"- , whRepoFullName = "baxterthehacker/public-repo"- , whRepoOwner =- Right- HookUser- { whUserLogin = "baxterthehacker"- , whUserId = 6752317- , whUserNodeId = "MDg6Q2hlY2tSdW4xMjg2MjAyMjg="- , whUserAvatarUrl = URL "https://avatars.githubusercontent.com/u/6752317?v=3"- , whUserGravatarId = URL ""- , whUserUrl = URL "https://api.github.com/users/baxterthehacker"- , whUserHtmlUrl = URL "https://github.com/baxterthehacker"- , whUserFollowersUrl = URL "https://api.github.com/users/baxterthehacker/followers"- , whUserFollowingUrl = URL "https://api.github.com/users/baxterthehacker/following{/other_user}"- , whUserGistsUrl = URL "https://api.github.com/users/baxterthehacker/gists{/gist_id}"- , whUserStarredUrl = URL "https://api.github.com/users/baxterthehacker/starred{/owner}{/repo}"- , whUserSubscriptionsUrl = URL "https://api.github.com/users/baxterthehacker/subscriptions"- , whUserOrganizationsUrl = URL "https://api.github.com/users/baxterthehacker/orgs"- , whUserReposUrl = URL "https://api.github.com/users/baxterthehacker/repos"- , whUserEventsUrl = URL "https://api.github.com/users/baxterthehacker/events{/privacy}"- , whUserReceivedEventsUrl = URL "https://api.github.com/users/baxterthehacker/received_events"- , whUserType = OwnerUser- , whUserIsAdminOfSite = False- }- , whRepoIsPrivate = False- , whRepoHtmlUrl = URL "https://github.com/baxterthehacker/public-repo"- , whRepoDescription = ""- , whRepoIsAFork = False- , whRepoUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo"- , whRepoForksUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/forks"- , whRepoKeysUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/keys{/key_id}"- , whRepoCollaboratorsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/collaborators{/collaborator}"- , whRepoTeamsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/teams"- , whRepoHooksUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/hooks"- , whRepoIssueEventsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/issues/events{/number}"- , whRepoEventsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/events"- , whRepoAssigneesUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/assignees{/user}"- , whRepoBranchesUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/branches{/branch}"- , whRepoTagsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/tags"- , whRepoBlobsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/git/blobs{/sha}"- , whRepoGitTagsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/git/tags{/sha}"- , whRepoGitRefsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/git/refs{/sha}"- , whRepoTreesUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/git/trees{/sha}"- , whRepoStatusesUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/statuses/{sha}"- , whRepoLanguagesUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/languages"- , whRepoStargazersUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/stargazers"- , whRepoContributorsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/contributors"- , whRepoSubscribersUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/subscribers"- , whRepoSubscriptionUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/subscription"- , whRepoCommitsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/commits{/sha}"- , whRepoGitCommitsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/git/commits{/sha}"- , whRepoCommentsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/comments{/number}"- , whRepoIssueCommentsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/issues/comments{/number}"- , whRepoContentsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/contents/{+path}"- , whRepoCompareUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/compare/{base}...{head}"- , whRepoMergesUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/merges"- , whRepoArchiveUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/{archive_format}{/ref}"- , whRepoDownloadsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/downloads"- , whRepoIssuesUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/issues{/number}"- , whRepoPullsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/pulls{/number}"- , whRepoMilestonesUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/milestones{/number}"- , whRepoNotificationsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/notifications{?since,all,participating}"- , whRepoLabelsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/labels{/name}"- , whRepoReleasesUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/releases{/id}"- , whRepoCreatedAt = read "2015-05-05 23:40:12Z"- , whRepoUpdatedAt = read "2015-05-05 23:40:12Z"- , whRepoPushedAt = read "2015-05-05 23:40:26Z"- , whRepoGitUrl = URL "git://github.com/baxterthehacker/public-repo.git"- , whRepoSshUrl = URL "git@github.com:baxterthehacker/public-repo.git"- , whRepoCloneUrl = URL "https://github.com/baxterthehacker/public-repo.git"- , whRepoSvnUrl = URL "https://github.com/baxterthehacker/public-repo"- , whRepoHomepage = Nothing- , whRepoSize = 0- , whRepoStargazersCount = 0- , whRepoWatchersCount = 0- , whRepoLanguage = Nothing- , whRepoHasIssues = True- , whRepoHasDownloads = True- , whRepoHasWiki = True- , whRepoHasPages = True- , whRepoForkCount = 0- , whRepoMirrorUrl = Nothing- , whRepoOpenIssuesCount = 1- , whRepoDefaultBranchName = "master"- }- , whPullReqTargetLabel = "baxterthehacker:master"- , whPullReqTargetRef = "master"- }- , whPullReqHead =- PullRequestTarget- { whPullReqTargetSha = "0d1a26e67d8f5eaf1f6ba5c57fc3c7d91ac0fd1c"- , whPullReqTargetUser =- HookUser- { whUserLogin = "baxterthehacker"- , whUserId = 6752317- , whUserNodeId = "MDg6Q2hlY2tSdW4xMjg2MjAyMjg="- , whUserAvatarUrl = URL "https://avatars.githubusercontent.com/u/6752317?v=3"- , whUserGravatarId = URL ""- , whUserUrl = URL "https://api.github.com/users/baxterthehacker"- , whUserHtmlUrl = URL "https://github.com/baxterthehacker"- , whUserFollowersUrl = URL "https://api.github.com/users/baxterthehacker/followers"- , whUserFollowingUrl = URL "https://api.github.com/users/baxterthehacker/following{/other_user}"- , whUserGistsUrl = URL "https://api.github.com/users/baxterthehacker/gists{/gist_id}"- , whUserStarredUrl = URL "https://api.github.com/users/baxterthehacker/starred{/owner}{/repo}"- , whUserSubscriptionsUrl = URL "https://api.github.com/users/baxterthehacker/subscriptions"- , whUserOrganizationsUrl = URL "https://api.github.com/users/baxterthehacker/orgs"- , whUserReposUrl = URL "https://api.github.com/users/baxterthehacker/repos"- , whUserEventsUrl = URL "https://api.github.com/users/baxterthehacker/events{/privacy}"- , whUserReceivedEventsUrl = URL "https://api.github.com/users/baxterthehacker/received_events"- , whUserType = OwnerUser- , whUserIsAdminOfSite = False- }- , whPullReqTargetRepo =- HookRepository- { whRepoId = 35129377- , whRepoNodeId = "MDg6Q2hlY2tSdW4xMjg2MjAyMjg="- , whRepoName = "public-repo"- , whRepoFullName = "baxterthehacker/public-repo"- , whRepoOwner =- Right- HookUser- { whUserLogin = "baxterthehacker"- , whUserId = 6752317- , whUserNodeId = "MDg6Q2hlY2tSdW4xMjg2MjAyMjg="- , whUserAvatarUrl = URL "https://avatars.githubusercontent.com/u/6752317?v=3"- , whUserGravatarId = URL ""- , whUserUrl = URL "https://api.github.com/users/baxterthehacker"- , whUserHtmlUrl = URL "https://github.com/baxterthehacker"- , whUserFollowersUrl = URL "https://api.github.com/users/baxterthehacker/followers"- , whUserFollowingUrl = URL "https://api.github.com/users/baxterthehacker/following{/other_user}"- , whUserGistsUrl = URL "https://api.github.com/users/baxterthehacker/gists{/gist_id}"- , whUserStarredUrl = URL "https://api.github.com/users/baxterthehacker/starred{/owner}{/repo}"- , whUserSubscriptionsUrl = URL "https://api.github.com/users/baxterthehacker/subscriptions"- , whUserOrganizationsUrl = URL "https://api.github.com/users/baxterthehacker/orgs"- , whUserReposUrl = URL "https://api.github.com/users/baxterthehacker/repos"- , whUserEventsUrl = URL "https://api.github.com/users/baxterthehacker/events{/privacy}"- , whUserReceivedEventsUrl = URL "https://api.github.com/users/baxterthehacker/received_events"- , whUserType = OwnerUser- , whUserIsAdminOfSite = False- }- , whRepoIsPrivate = False- , whRepoHtmlUrl = URL "https://github.com/baxterthehacker/public-repo"- , whRepoDescription = ""- , whRepoIsAFork = False- , whRepoUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo"- , whRepoForksUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/forks"- , whRepoKeysUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/keys{/key_id}"- , whRepoCollaboratorsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/collaborators{/collaborator}"- , whRepoTeamsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/teams"- , whRepoHooksUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/hooks"- , whRepoIssueEventsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/issues/events{/number}"- , whRepoEventsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/events"- , whRepoAssigneesUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/assignees{/user}"- , whRepoBranchesUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/branches{/branch}"- , whRepoTagsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/tags"- , whRepoBlobsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/git/blobs{/sha}"- , whRepoGitTagsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/git/tags{/sha}"- , whRepoGitRefsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/git/refs{/sha}"- , whRepoTreesUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/git/trees{/sha}"- , whRepoStatusesUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/statuses/{sha}"- , whRepoLanguagesUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/languages"- , whRepoStargazersUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/stargazers"- , whRepoContributorsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/contributors"- , whRepoSubscribersUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/subscribers"- , whRepoSubscriptionUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/subscription"- , whRepoCommitsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/commits{/sha}"- , whRepoGitCommitsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/git/commits{/sha}"- , whRepoCommentsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/comments{/number}"- , whRepoIssueCommentsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/issues/comments{/number}"- , whRepoContentsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/contents/{+path}"- , whRepoCompareUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/compare/{base}...{head}"- , whRepoMergesUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/merges"- , whRepoArchiveUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/{archive_format}{/ref}"- , whRepoDownloadsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/downloads"- , whRepoIssuesUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/issues{/number}"- , whRepoPullsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/pulls{/number}"- , whRepoMilestonesUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/milestones{/number}"- , whRepoNotificationsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/notifications{?since,all,participating}"- , whRepoLabelsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/labels{/name}"- , whRepoReleasesUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/releases{/id}"- , whRepoCreatedAt = read "2015-05-05 23:40:12Z"- , whRepoUpdatedAt = read "2015-05-05 23:40:12Z"- , whRepoPushedAt = read "2015-05-05 23:40:26Z"- , whRepoGitUrl = URL "git://github.com/baxterthehacker/public-repo.git"- , whRepoSshUrl = URL "git@github.com:baxterthehacker/public-repo.git"- , whRepoCloneUrl = URL "https://github.com/baxterthehacker/public-repo.git"- , whRepoSvnUrl = URL "https://github.com/baxterthehacker/public-repo"- , whRepoHomepage = Nothing- , whRepoSize = 0- , whRepoStargazersCount = 0- , whRepoWatchersCount = 0- , whRepoLanguage = Nothing- , whRepoHasIssues = True- , whRepoHasDownloads = True- , whRepoHasWiki = True- , whRepoHasPages = True- , whRepoForkCount = 0- , whRepoMirrorUrl = Nothing- , whRepoOpenIssuesCount = 1- , whRepoDefaultBranchName = "master"- }- , whPullReqTargetLabel = "baxterthehacker:changes"- , whPullReqTargetRef = "changes"- }- , whPullReqMergeableState = Just "unknown"- , whPullReqCommentCount = Just 0- , whPullReqRevCommentCount = Just 0- , whPullReqCommitCount = Just 1- , whPullReqAdditionsCount = Just 1- , whPullReqDeletionsCount = Just 1- , whPullReqFileChangeCount = Just 1- }- , evPullReqRepo =- HookRepository- { whRepoId = 35129377- , whRepoNodeId = "MDg6Q2hlY2tSdW4xMjg2MjAyMjg="- , whRepoName = "public-repo"- , whRepoFullName = "baxterthehacker/public-repo"- , whRepoOwner =- Right HookUser- { whUserLogin = "baxterthehacker"- , whUserId = 6752317- , whUserNodeId = "MDg6Q2hlY2tSdW4xMjg2MjAyMjg="- , whUserAvatarUrl = URL "https://avatars.githubusercontent.com/u/6752317?v=3"- , whUserGravatarId = URL ""- , whUserUrl = URL "https://api.github.com/users/baxterthehacker"- , whUserHtmlUrl = URL "https://github.com/baxterthehacker"- , whUserFollowersUrl = URL "https://api.github.com/users/baxterthehacker/followers"- , whUserFollowingUrl = URL "https://api.github.com/users/baxterthehacker/following{/other_user}"- , whUserGistsUrl = URL "https://api.github.com/users/baxterthehacker/gists{/gist_id}"- , whUserStarredUrl = URL "https://api.github.com/users/baxterthehacker/starred{/owner}{/repo}"- , whUserSubscriptionsUrl = URL "https://api.github.com/users/baxterthehacker/subscriptions"- , whUserOrganizationsUrl = URL "https://api.github.com/users/baxterthehacker/orgs"- , whUserReposUrl = URL "https://api.github.com/users/baxterthehacker/repos"- , whUserEventsUrl = URL "https://api.github.com/users/baxterthehacker/events{/privacy}"- , whUserReceivedEventsUrl = URL "https://api.github.com/users/baxterthehacker/received_events"- , whUserType = OwnerUser- , whUserIsAdminOfSite = False- }- , whRepoIsPrivate = False- , whRepoHtmlUrl = URL "https://github.com/baxterthehacker/public-repo"- , whRepoDescription = ""- , whRepoIsAFork = False- , whRepoUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo"- , whRepoForksUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/forks"- , whRepoKeysUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/keys{/key_id}"- , whRepoCollaboratorsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/collaborators{/collaborator}"- , whRepoTeamsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/teams"- , whRepoHooksUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/hooks"- , whRepoIssueEventsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/issues/events{/number}"- , whRepoEventsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/events"- , whRepoAssigneesUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/assignees{/user}"- , whRepoBranchesUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/branches{/branch}"- , whRepoTagsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/tags"- , whRepoBlobsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/git/blobs{/sha}"- , whRepoGitTagsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/git/tags{/sha}"- , whRepoGitRefsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/git/refs{/sha}"- , whRepoTreesUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/git/trees{/sha}"- , whRepoStatusesUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/statuses/{sha}"- , whRepoLanguagesUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/languages"- , whRepoStargazersUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/stargazers"- , whRepoContributorsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/contributors"- , whRepoSubscribersUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/subscribers"- , whRepoSubscriptionUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/subscription"- , whRepoCommitsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/commits{/sha}"- , whRepoGitCommitsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/git/commits{/sha}"- , whRepoCommentsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/comments{/number}"- , whRepoIssueCommentsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/issues/comments{/number}"- , whRepoContentsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/contents/{+path}"- , whRepoCompareUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/compare/{base}...{head}"- , whRepoMergesUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/merges"- , whRepoArchiveUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/{archive_format}{/ref}"- , whRepoDownloadsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/downloads"- , whRepoIssuesUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/issues{/number}"- , whRepoPullsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/pulls{/number}"- , whRepoMilestonesUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/milestones{/number}"- , whRepoNotificationsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/notifications{?since,all,participating}"- , whRepoLabelsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/labels{/name}"- , whRepoReleasesUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/releases{/id}"- , whRepoCreatedAt = read "2015-05-05 23:40:12Z"- , whRepoUpdatedAt = read "2015-05-05 23:40:12Z"- , whRepoPushedAt = read "2015-05-05 23:40:26Z"- , whRepoGitUrl = URL "git://github.com/baxterthehacker/public-repo.git"- , whRepoSshUrl = URL "git@github.com:baxterthehacker/public-repo.git"- , whRepoCloneUrl = URL "https://github.com/baxterthehacker/public-repo.git"- , whRepoSvnUrl = URL "https://github.com/baxterthehacker/public-repo"- , whRepoHomepage = Nothing- , whRepoSize = 0- , whRepoStargazersCount = 0- , whRepoWatchersCount = 0- , whRepoLanguage = Nothing- , whRepoHasIssues = True- , whRepoHasDownloads = True- , whRepoHasWiki = True- , whRepoHasPages = True- , whRepoForkCount = 0- , whRepoMirrorUrl = Nothing- , whRepoOpenIssuesCount = 1- , whRepoDefaultBranchName = "master"- }- , evPullReqSender =- HookUser- { whUserLogin = "baxterthehacker"- , whUserId = 6752317- , whUserNodeId = "MDg6Q2hlY2tSdW4xMjg2MjAyMjg="- , whUserAvatarUrl = URL "https://avatars.githubusercontent.com/u/6752317?v=3"- , whUserGravatarId = URL ""- , whUserUrl = URL "https://api.github.com/users/baxterthehacker"- , whUserHtmlUrl = URL "https://github.com/baxterthehacker"- , whUserFollowersUrl = URL "https://api.github.com/users/baxterthehacker/followers"- , whUserFollowingUrl = URL "https://api.github.com/users/baxterthehacker/following{/other_user}"- , whUserGistsUrl = URL "https://api.github.com/users/baxterthehacker/gists{/gist_id}"- , whUserStarredUrl = URL "https://api.github.com/users/baxterthehacker/starred{/owner}{/repo}"- , whUserSubscriptionsUrl = URL "https://api.github.com/users/baxterthehacker/subscriptions"- , whUserOrganizationsUrl = URL "https://api.github.com/users/baxterthehacker/orgs"- , whUserReposUrl = URL "https://api.github.com/users/baxterthehacker/repos"- , whUserEventsUrl = URL "https://api.github.com/users/baxterthehacker/events{/privacy}"- , whUserReceivedEventsUrl = URL "https://api.github.com/users/baxterthehacker/received_events"- , whUserType = OwnerUser- , whUserIsAdminOfSite = False- }- , evPullReqInstallationId = Just 234- }--pullRequestEventNullBodyFixture :: PullRequestEvent-pullRequestEventNullBodyFixture = PullRequestEvent- { evPullReqAction = PullRequestOpenedAction- , evPullReqNumber = 1- , evPullReqPayload =- HookPullRequest- { whPullReqUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/pulls/1"- , whPullReqId = 34778301- , whPullReqNodeId = "MDg6Q2hlY2tSdW4xMjg2MjAyMjg="- , whPullReqHtmlUrl = URL "https://github.com/baxterthehacker/public-repo/pull/1"- , whPullReqDiffUrl = URL "https://github.com/baxterthehacker/public-repo/pull/1.diff"- , whPullReqPatchUrl = URL "https://github.com/baxterthehacker/public-repo/pull/1.patch"- , whPullReqIssueUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/issues/1"- , whPullReqNumber = 1- , whPullReqState = "open"- , whPullReqIsLocked = False- , whPullReqTitle = "Update the README with new information"- , whPullReqUser =- HookUser- { whUserLogin = "baxterthehacker"- , whUserId = 6752317- , whUserNodeId = "MDg6Q2hlY2tSdW4xMjg2MjAyMjg="- , whUserAvatarUrl = URL "https://avatars.githubusercontent.com/u/6752317?v=3"- , whUserGravatarId = URL ""- , whUserUrl = URL "https://api.github.com/users/baxterthehacker"- , whUserHtmlUrl = URL "https://github.com/baxterthehacker"- , whUserFollowersUrl = URL "https://api.github.com/users/baxterthehacker/followers"- , whUserFollowingUrl = URL "https://api.github.com/users/baxterthehacker/following{/other_user}"- , whUserGistsUrl = URL "https://api.github.com/users/baxterthehacker/gists{/gist_id}"- , whUserStarredUrl = URL "https://api.github.com/users/baxterthehacker/starred{/owner}{/repo}"- , whUserSubscriptionsUrl = URL "https://api.github.com/users/baxterthehacker/subscriptions"- , whUserOrganizationsUrl = URL "https://api.github.com/users/baxterthehacker/orgs"- , whUserReposUrl = URL "https://api.github.com/users/baxterthehacker/repos"- , whUserEventsUrl = URL "https://api.github.com/users/baxterthehacker/events{/privacy}"- , whUserReceivedEventsUrl = URL "https://api.github.com/users/baxterthehacker/received_events"- , whUserType = OwnerUser- , whUserIsAdminOfSite = False- }- , whPullReqBody = ""- , whPullReqCreatedAt = read "2015-05-05 23:40:27Z"- , whPullReqUpdatedAt = read "2015-05-05 23:40:27Z"- , whPullReqClosedAt = Nothing- , whPullReqMergedAt = Nothing- , whPullReqMergeCommitSha = Nothing- , whPullReqAssignee = Nothing- , whPullReqMilestone = Nothing- , whPullReqCommitsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/pulls/1/commits"- , whPullReqRevCommentsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/pulls/1/comments"- , whPullReqRevCommentUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/pulls/comments{/number}"- , whPullReqCommentsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/issues/1/comments"- , whPullReqStatusesUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/statuses/0d1a26e67d8f5eaf1f6ba5c57fc3c7d91ac0fd1c"- , whPullReqBase =- PullRequestTarget- { whPullReqTargetSha = "9049f1265b7d61be4a8904a9a27120d2064dab3b"- , whPullReqTargetUser =- HookUser- { whUserLogin = "baxterthehacker"- , whUserId = 6752317- , whUserNodeId = "MDg6Q2hlY2tSdW4xMjg2MjAyMjg="- , whUserAvatarUrl = URL "https://avatars.githubusercontent.com/u/6752317?v=3"- , whUserGravatarId = URL ""- , whUserUrl = URL "https://api.github.com/users/baxterthehacker"- , whUserHtmlUrl = URL "https://github.com/baxterthehacker"- , whUserFollowersUrl = URL "https://api.github.com/users/baxterthehacker/followers"- , whUserFollowingUrl = URL "https://api.github.com/users/baxterthehacker/following{/other_user}"- , whUserGistsUrl = URL "https://api.github.com/users/baxterthehacker/gists{/gist_id}"- , whUserStarredUrl = URL "https://api.github.com/users/baxterthehacker/starred{/owner}{/repo}"- , whUserSubscriptionsUrl = URL "https://api.github.com/users/baxterthehacker/subscriptions"- , whUserOrganizationsUrl = URL "https://api.github.com/users/baxterthehacker/orgs"- , whUserReposUrl = URL "https://api.github.com/users/baxterthehacker/repos"- , whUserEventsUrl = URL "https://api.github.com/users/baxterthehacker/events{/privacy}"- , whUserReceivedEventsUrl = URL "https://api.github.com/users/baxterthehacker/received_events"- , whUserType = OwnerUser- , whUserIsAdminOfSite = False- }- , whPullReqTargetRepo =- HookRepository- { whRepoId = 35129377- , whRepoNodeId = "MDg6Q2hlY2tSdW4xMjg2MjAyMjg="- , whRepoName = "public-repo"- , whRepoFullName = "baxterthehacker/public-repo"- , whRepoOwner =- Right- HookUser- { whUserLogin = "baxterthehacker"- , whUserId = 6752317- , whUserNodeId = "MDg6Q2hlY2tSdW4xMjg2MjAyMjg="- , whUserAvatarUrl = URL "https://avatars.githubusercontent.com/u/6752317?v=3"- , whUserGravatarId = URL ""- , whUserUrl = URL "https://api.github.com/users/baxterthehacker"- , whUserHtmlUrl = URL "https://github.com/baxterthehacker"- , whUserFollowersUrl = URL "https://api.github.com/users/baxterthehacker/followers"- , whUserFollowingUrl = URL "https://api.github.com/users/baxterthehacker/following{/other_user}"- , whUserGistsUrl = URL "https://api.github.com/users/baxterthehacker/gists{/gist_id}"- , whUserStarredUrl = URL "https://api.github.com/users/baxterthehacker/starred{/owner}{/repo}"- , whUserSubscriptionsUrl = URL "https://api.github.com/users/baxterthehacker/subscriptions"- , whUserOrganizationsUrl = URL "https://api.github.com/users/baxterthehacker/orgs"- , whUserReposUrl = URL "https://api.github.com/users/baxterthehacker/repos"- , whUserEventsUrl = URL "https://api.github.com/users/baxterthehacker/events{/privacy}"- , whUserReceivedEventsUrl = URL "https://api.github.com/users/baxterthehacker/received_events"- , whUserType = OwnerUser- , whUserIsAdminOfSite = False- }- , whRepoIsPrivate = False- , whRepoHtmlUrl = URL "https://github.com/baxterthehacker/public-repo"- , whRepoDescription = ""- , whRepoIsAFork = False- , whRepoUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo"- , whRepoForksUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/forks"- , whRepoKeysUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/keys{/key_id}"- , whRepoCollaboratorsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/collaborators{/collaborator}"- , whRepoTeamsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/teams"- , whRepoHooksUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/hooks"- , whRepoIssueEventsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/issues/events{/number}"- , whRepoEventsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/events"- , whRepoAssigneesUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/assignees{/user}"- , whRepoBranchesUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/branches{/branch}"- , whRepoTagsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/tags"- , whRepoBlobsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/git/blobs{/sha}"- , whRepoGitTagsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/git/tags{/sha}"- , whRepoGitRefsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/git/refs{/sha}"- , whRepoTreesUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/git/trees{/sha}"- , whRepoStatusesUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/statuses/{sha}"- , whRepoLanguagesUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/languages"- , whRepoStargazersUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/stargazers"- , whRepoContributorsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/contributors"- , whRepoSubscribersUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/subscribers"- , whRepoSubscriptionUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/subscription"- , whRepoCommitsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/commits{/sha}"- , whRepoGitCommitsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/git/commits{/sha}"- , whRepoCommentsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/comments{/number}"- , whRepoIssueCommentsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/issues/comments{/number}"- , whRepoContentsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/contents/{+path}"- , whRepoCompareUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/compare/{base}...{head}"- , whRepoMergesUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/merges"- , whRepoArchiveUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/{archive_format}{/ref}"- , whRepoDownloadsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/downloads"- , whRepoIssuesUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/issues{/number}"- , whRepoPullsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/pulls{/number}"- , whRepoMilestonesUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/milestones{/number}"- , whRepoNotificationsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/notifications{?since,all,participating}"- , whRepoLabelsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/labels{/name}"- , whRepoReleasesUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/releases{/id}"- , whRepoCreatedAt = read "2015-05-05 23:40:12Z"- , whRepoUpdatedAt = read "2015-05-05 23:40:12Z"- , whRepoPushedAt = read "2015-05-05 23:40:26Z"- , whRepoGitUrl = URL "git://github.com/baxterthehacker/public-repo.git"- , whRepoSshUrl = URL "git@github.com:baxterthehacker/public-repo.git"- , whRepoCloneUrl = URL "https://github.com/baxterthehacker/public-repo.git"- , whRepoSvnUrl = URL "https://github.com/baxterthehacker/public-repo"- , whRepoHomepage = Nothing- , whRepoSize = 0- , whRepoStargazersCount = 0- , whRepoWatchersCount = 0- , whRepoLanguage = Nothing- , whRepoHasIssues = True- , whRepoHasDownloads = True- , whRepoHasWiki = True- , whRepoHasPages = True- , whRepoForkCount = 0- , whRepoMirrorUrl = Nothing- , whRepoOpenIssuesCount = 1- , whRepoDefaultBranchName = "master"- }- , whPullReqTargetLabel = "baxterthehacker:master"- , whPullReqTargetRef = "master"- }- , whPullReqHead =- PullRequestTarget- { whPullReqTargetSha = "0d1a26e67d8f5eaf1f6ba5c57fc3c7d91ac0fd1c"- , whPullReqTargetUser =- HookUser- { whUserLogin = "baxterthehacker"- , whUserId = 6752317- , whUserNodeId = "MDg6Q2hlY2tSdW4xMjg2MjAyMjg="- , whUserAvatarUrl = URL "https://avatars.githubusercontent.com/u/6752317?v=3"- , whUserGravatarId = URL ""- , whUserUrl = URL "https://api.github.com/users/baxterthehacker"- , whUserHtmlUrl = URL "https://github.com/baxterthehacker"- , whUserFollowersUrl = URL "https://api.github.com/users/baxterthehacker/followers"- , whUserFollowingUrl = URL "https://api.github.com/users/baxterthehacker/following{/other_user}"- , whUserGistsUrl = URL "https://api.github.com/users/baxterthehacker/gists{/gist_id}"- , whUserStarredUrl = URL "https://api.github.com/users/baxterthehacker/starred{/owner}{/repo}"- , whUserSubscriptionsUrl = URL "https://api.github.com/users/baxterthehacker/subscriptions"- , whUserOrganizationsUrl = URL "https://api.github.com/users/baxterthehacker/orgs"- , whUserReposUrl = URL "https://api.github.com/users/baxterthehacker/repos"- , whUserEventsUrl = URL "https://api.github.com/users/baxterthehacker/events{/privacy}"- , whUserReceivedEventsUrl = URL "https://api.github.com/users/baxterthehacker/received_events"- , whUserType = OwnerUser- , whUserIsAdminOfSite = False- }- , whPullReqTargetRepo =- HookRepository- { whRepoId = 35129377- , whRepoNodeId = "MDg6Q2hlY2tSdW4xMjg2MjAyMjg="- , whRepoName = "public-repo"- , whRepoFullName = "baxterthehacker/public-repo"- , whRepoOwner =- Right- HookUser- { whUserLogin = "baxterthehacker"- , whUserId = 6752317- , whUserNodeId = "MDg6Q2hlY2tSdW4xMjg2MjAyMjg="- , whUserAvatarUrl = URL "https://avatars.githubusercontent.com/u/6752317?v=3"- , whUserGravatarId = URL ""- , whUserUrl = URL "https://api.github.com/users/baxterthehacker"- , whUserHtmlUrl = URL "https://github.com/baxterthehacker"- , whUserFollowersUrl = URL "https://api.github.com/users/baxterthehacker/followers"- , whUserFollowingUrl = URL "https://api.github.com/users/baxterthehacker/following{/other_user}"- , whUserGistsUrl = URL "https://api.github.com/users/baxterthehacker/gists{/gist_id}"- , whUserStarredUrl = URL "https://api.github.com/users/baxterthehacker/starred{/owner}{/repo}"- , whUserSubscriptionsUrl = URL "https://api.github.com/users/baxterthehacker/subscriptions"- , whUserOrganizationsUrl = URL "https://api.github.com/users/baxterthehacker/orgs"- , whUserReposUrl = URL "https://api.github.com/users/baxterthehacker/repos"- , whUserEventsUrl = URL "https://api.github.com/users/baxterthehacker/events{/privacy}"- , whUserReceivedEventsUrl = URL "https://api.github.com/users/baxterthehacker/received_events"- , whUserType = OwnerUser- , whUserIsAdminOfSite = False- }- , whRepoIsPrivate = False- , whRepoHtmlUrl = URL "https://github.com/baxterthehacker/public-repo"- , whRepoDescription = ""- , whRepoIsAFork = False- , whRepoUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo"- , whRepoForksUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/forks"- , whRepoKeysUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/keys{/key_id}"- , whRepoCollaboratorsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/collaborators{/collaborator}"- , whRepoTeamsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/teams"- , whRepoHooksUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/hooks"- , whRepoIssueEventsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/issues/events{/number}"- , whRepoEventsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/events"- , whRepoAssigneesUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/assignees{/user}"- , whRepoBranchesUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/branches{/branch}"- , whRepoTagsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/tags"- , whRepoBlobsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/git/blobs{/sha}"- , whRepoGitTagsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/git/tags{/sha}"- , whRepoGitRefsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/git/refs{/sha}"- , whRepoTreesUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/git/trees{/sha}"- , whRepoStatusesUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/statuses/{sha}"- , whRepoLanguagesUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/languages"- , whRepoStargazersUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/stargazers"- , whRepoContributorsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/contributors"- , whRepoSubscribersUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/subscribers"- , whRepoSubscriptionUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/subscription"- , whRepoCommitsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/commits{/sha}"- , whRepoGitCommitsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/git/commits{/sha}"- , whRepoCommentsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/comments{/number}"- , whRepoIssueCommentsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/issues/comments{/number}"- , whRepoContentsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/contents/{+path}"- , whRepoCompareUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/compare/{base}...{head}"- , whRepoMergesUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/merges"- , whRepoArchiveUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/{archive_format}{/ref}"- , whRepoDownloadsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/downloads"- , whRepoIssuesUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/issues{/number}"- , whRepoPullsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/pulls{/number}"- , whRepoMilestonesUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/milestones{/number}"- , whRepoNotificationsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/notifications{?since,all,participating}"- , whRepoLabelsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/labels{/name}"- , whRepoReleasesUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/releases{/id}"- , whRepoCreatedAt = read "2015-05-05 23:40:12Z"- , whRepoUpdatedAt = read "2015-05-05 23:40:12Z"- , whRepoPushedAt = read "2015-05-05 23:40:26Z"- , whRepoGitUrl = URL "git://github.com/baxterthehacker/public-repo.git"- , whRepoSshUrl = URL "git@github.com:baxterthehacker/public-repo.git"- , whRepoCloneUrl = URL "https://github.com/baxterthehacker/public-repo.git"- , whRepoSvnUrl = URL "https://github.com/baxterthehacker/public-repo"- , whRepoHomepage = Nothing- , whRepoSize = 0- , whRepoStargazersCount = 0- , whRepoWatchersCount = 0- , whRepoLanguage = Nothing- , whRepoHasIssues = True- , whRepoHasDownloads = True- , whRepoHasWiki = True- , whRepoHasPages = True- , whRepoForkCount = 0- , whRepoMirrorUrl = Nothing- , whRepoOpenIssuesCount = 1- , whRepoDefaultBranchName = "master"- }- , whPullReqTargetLabel = "baxterthehacker:changes"- , whPullReqTargetRef = "changes"- }- , whPullReqMergeableState = Just "unknown"- , whPullReqCommentCount = Just 0- , whPullReqRevCommentCount = Just 0- , whPullReqCommitCount = Just 1- , whPullReqAdditionsCount = Just 1- , whPullReqDeletionsCount = Just 1- , whPullReqFileChangeCount = Just 1- }- , evPullReqRepo =- HookRepository- { whRepoId = 35129377- , whRepoNodeId = "MDg6Q2hlY2tSdW4xMjg2MjAyMjg="- , whRepoName = "public-repo"- , whRepoFullName = "baxterthehacker/public-repo"- , whRepoOwner =- Right HookUser- { whUserLogin = "baxterthehacker"- , whUserId = 6752317- , whUserNodeId = "MDg6Q2hlY2tSdW4xMjg2MjAyMjg="- , whUserAvatarUrl = URL "https://avatars.githubusercontent.com/u/6752317?v=3"- , whUserGravatarId = URL ""- , whUserUrl = URL "https://api.github.com/users/baxterthehacker"- , whUserHtmlUrl = URL "https://github.com/baxterthehacker"- , whUserFollowersUrl = URL "https://api.github.com/users/baxterthehacker/followers"- , whUserFollowingUrl = URL "https://api.github.com/users/baxterthehacker/following{/other_user}"- , whUserGistsUrl = URL "https://api.github.com/users/baxterthehacker/gists{/gist_id}"- , whUserStarredUrl = URL "https://api.github.com/users/baxterthehacker/starred{/owner}{/repo}"- , whUserSubscriptionsUrl = URL "https://api.github.com/users/baxterthehacker/subscriptions"- , whUserOrganizationsUrl = URL "https://api.github.com/users/baxterthehacker/orgs"- , whUserReposUrl = URL "https://api.github.com/users/baxterthehacker/repos"- , whUserEventsUrl = URL "https://api.github.com/users/baxterthehacker/events{/privacy}"- , whUserReceivedEventsUrl = URL "https://api.github.com/users/baxterthehacker/received_events"- , whUserType = OwnerUser- , whUserIsAdminOfSite = False- }- , whRepoIsPrivate = False- , whRepoHtmlUrl = URL "https://github.com/baxterthehacker/public-repo"- , whRepoDescription = ""- , whRepoIsAFork = False- , whRepoUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo"- , whRepoForksUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/forks"- , whRepoKeysUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/keys{/key_id}"- , whRepoCollaboratorsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/collaborators{/collaborator}"- , whRepoTeamsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/teams"- , whRepoHooksUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/hooks"- , whRepoIssueEventsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/issues/events{/number}"- , whRepoEventsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/events"- , whRepoAssigneesUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/assignees{/user}"- , whRepoBranchesUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/branches{/branch}"- , whRepoTagsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/tags"- , whRepoBlobsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/git/blobs{/sha}"- , whRepoGitTagsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/git/tags{/sha}"- , whRepoGitRefsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/git/refs{/sha}"- , whRepoTreesUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/git/trees{/sha}"- , whRepoStatusesUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/statuses/{sha}"- , whRepoLanguagesUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/languages"- , whRepoStargazersUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/stargazers"- , whRepoContributorsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/contributors"- , whRepoSubscribersUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/subscribers"- , whRepoSubscriptionUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/subscription"- , whRepoCommitsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/commits{/sha}"- , whRepoGitCommitsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/git/commits{/sha}"- , whRepoCommentsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/comments{/number}"- , whRepoIssueCommentsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/issues/comments{/number}"- , whRepoContentsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/contents/{+path}"- , whRepoCompareUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/compare/{base}...{head}"- , whRepoMergesUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/merges"- , whRepoArchiveUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/{archive_format}{/ref}"- , whRepoDownloadsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/downloads"- , whRepoIssuesUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/issues{/number}"- , whRepoPullsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/pulls{/number}"- , whRepoMilestonesUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/milestones{/number}"- , whRepoNotificationsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/notifications{?since,all,participating}"- , whRepoLabelsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/labels{/name}"- , whRepoReleasesUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/releases{/id}"- , whRepoCreatedAt = read "2015-05-05 23:40:12Z"- , whRepoUpdatedAt = read "2015-05-05 23:40:12Z"- , whRepoPushedAt = read "2015-05-05 23:40:26Z"- , whRepoGitUrl = URL "git://github.com/baxterthehacker/public-repo.git"- , whRepoSshUrl = URL "git@github.com:baxterthehacker/public-repo.git"- , whRepoCloneUrl = URL "https://github.com/baxterthehacker/public-repo.git"- , whRepoSvnUrl = URL "https://github.com/baxterthehacker/public-repo"- , whRepoHomepage = Nothing- , whRepoSize = 0- , whRepoStargazersCount = 0- , whRepoWatchersCount = 0- , whRepoLanguage = Nothing- , whRepoHasIssues = True- , whRepoHasDownloads = True- , whRepoHasWiki = True- , whRepoHasPages = True- , whRepoForkCount = 0- , whRepoMirrorUrl = Nothing- , whRepoOpenIssuesCount = 1- , whRepoDefaultBranchName = "master"- }- , evPullReqSender =- HookUser- { whUserLogin = "baxterthehacker"- , whUserId = 6752317- , whUserNodeId = "MDg6Q2hlY2tSdW4xMjg2MjAyMjg="- , whUserAvatarUrl = URL "https://avatars.githubusercontent.com/u/6752317?v=3"- , whUserGravatarId = URL ""- , whUserUrl = URL "https://api.github.com/users/baxterthehacker"- , whUserHtmlUrl = URL "https://github.com/baxterthehacker"- , whUserFollowersUrl = URL "https://api.github.com/users/baxterthehacker/followers"- , whUserFollowingUrl = URL "https://api.github.com/users/baxterthehacker/following{/other_user}"- , whUserGistsUrl = URL "https://api.github.com/users/baxterthehacker/gists{/gist_id}"- , whUserStarredUrl = URL "https://api.github.com/users/baxterthehacker/starred{/owner}{/repo}"- , whUserSubscriptionsUrl = URL "https://api.github.com/users/baxterthehacker/subscriptions"- , whUserOrganizationsUrl = URL "https://api.github.com/users/baxterthehacker/orgs"- , whUserReposUrl = URL "https://api.github.com/users/baxterthehacker/repos"- , whUserEventsUrl = URL "https://api.github.com/users/baxterthehacker/events{/privacy}"- , whUserReceivedEventsUrl = URL "https://api.github.com/users/baxterthehacker/received_events"- , whUserType = OwnerUser- , whUserIsAdminOfSite = False- }- , evPullReqInstallationId = Just 234- }--pullRequestReviewCommentEventFixture :: PullRequestReviewCommentEvent-pullRequestReviewCommentEventFixture = PullRequestReviewCommentEvent- { evPullReqRevComAction = PullRequestReviewCommentCreatedAction- , evPullReqRevComment =- HookPullRequestReviewComment- { whPullReqRevComUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/pulls/comments/29724692"- , whPullReqRevComId = 29724692- , whPullReqRevComNodeId = "MDg6Q2hlY2tSdW4xMjg2MjAyMjg="- , whPullReqRevComDiffHunk = "@@ -1 +1 @@\n-# public-repo"- , whPullReqRevComPath = "README.md"- , whPullReqRevComPos = 1- , whPullReqRevComOrigPos = 1- , whPullReqRevComCommitSha = "0d1a26e67d8f5eaf1f6ba5c57fc3c7d91ac0fd1c"- , whPullReqRevComOrigSha = "0d1a26e67d8f5eaf1f6ba5c57fc3c7d91ac0fd1c"- , whPullReqRevComUser =- HookUser- { whUserLogin = "baxterthehacker"- , whUserId = 6752317- , whUserNodeId = "MDg6Q2hlY2tSdW4xMjg2MjAyMjg="- , whUserAvatarUrl = URL "https://avatars.githubusercontent.com/u/6752317?v=3"- , whUserGravatarId = URL ""- , whUserUrl = URL "https://api.github.com/users/baxterthehacker"- , whUserHtmlUrl = URL "https://github.com/baxterthehacker"- , whUserFollowersUrl = URL "https://api.github.com/users/baxterthehacker/followers"- , whUserFollowingUrl = URL "https://api.github.com/users/baxterthehacker/following{/other_user}"- , whUserGistsUrl = URL "https://api.github.com/users/baxterthehacker/gists{/gist_id}"- , whUserStarredUrl = URL "https://api.github.com/users/baxterthehacker/starred{/owner}{/repo}"- , whUserSubscriptionsUrl = URL "https://api.github.com/users/baxterthehacker/subscriptions"- , whUserOrganizationsUrl = URL "https://api.github.com/users/baxterthehacker/orgs"- , whUserReposUrl = URL "https://api.github.com/users/baxterthehacker/repos"- , whUserEventsUrl = URL "https://api.github.com/users/baxterthehacker/events{/privacy}"- , whUserReceivedEventsUrl = URL "https://api.github.com/users/baxterthehacker/received_events"- , whUserType = OwnerUser- , whUserIsAdminOfSite = False- }- , whPullReqRevComBody = "Maybe you should use more emojji on this line."- , whPullReqRevComCreatedAt = read "2015-05-05 23:40:27Z"- , whPullReqRevComUpdatedAt = read "2015-05-05 23:40:27Z"- , whPullReqRevComHtmlUrl = URL "https://github.com/baxterthehacker/public-repo/pull/1#discussion_r29724692"- , whPullReqRevComPullReqUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/pulls/1"- }- , evPullReqRevTarget =- HookPullRequest- { whPullReqUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/pulls/1"- , whPullReqId = 34778301- , whPullReqNodeId = "MDg6Q2hlY2tSdW4xMjg2MjAyMjg="- , whPullReqHtmlUrl = URL "https://github.com/baxterthehacker/public-repo/pull/1"- , whPullReqDiffUrl = URL "https://github.com/baxterthehacker/public-repo/pull/1.diff"- , whPullReqPatchUrl = URL "https://github.com/baxterthehacker/public-repo/pull/1.patch"- , whPullReqIssueUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/issues/1"- , whPullReqNumber = 1- , whPullReqState = "open"- , whPullReqIsLocked = False- , whPullReqTitle = "Update the README with new information"- , whPullReqUser =- HookUser- { whUserLogin = "baxterthehacker"- , whUserId = 6752317- , whUserNodeId = "MDg6Q2hlY2tSdW4xMjg2MjAyMjg="- , whUserAvatarUrl = URL "https://avatars.githubusercontent.com/u/6752317?v=3"- , whUserGravatarId = URL ""- , whUserUrl = URL "https://api.github.com/users/baxterthehacker"- , whUserHtmlUrl = URL "https://github.com/baxterthehacker"- , whUserFollowersUrl = URL "https://api.github.com/users/baxterthehacker/followers"- , whUserFollowingUrl = URL "https://api.github.com/users/baxterthehacker/following{/other_user}"- , whUserGistsUrl = URL "https://api.github.com/users/baxterthehacker/gists{/gist_id}"- , whUserStarredUrl = URL "https://api.github.com/users/baxterthehacker/starred{/owner}{/repo}"- , whUserSubscriptionsUrl = URL "https://api.github.com/users/baxterthehacker/subscriptions"- , whUserOrganizationsUrl = URL "https://api.github.com/users/baxterthehacker/orgs"- , whUserReposUrl = URL "https://api.github.com/users/baxterthehacker/repos"- , whUserEventsUrl = URL "https://api.github.com/users/baxterthehacker/events{/privacy}"- , whUserReceivedEventsUrl = URL "https://api.github.com/users/baxterthehacker/received_events"- , whUserType = OwnerUser- , whUserIsAdminOfSite = False- }- , whPullReqBody = "This is a pretty simple change that we need to pull into master."- , whPullReqCreatedAt = read "2015-05-05 23:40:27Z"- , whPullReqUpdatedAt = read "2015-05-05 23:40:27Z"- , whPullReqClosedAt = Nothing- , whPullReqMergedAt = Nothing- , whPullReqMergeCommitSha = Just "18721552ba489fb84e12958c1b5694b5475f7991"- , whPullReqAssignee = Nothing- , whPullReqMilestone = Nothing- , whPullReqCommitsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/pulls/1/commits"- , whPullReqRevCommentsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/pulls/1/comments"- , whPullReqRevCommentUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/pulls/comments{/number}"- , whPullReqCommentsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/issues/1/comments"- , whPullReqStatusesUrl =- URL "https://api.github.com/repos/baxterthehacker/public-repo/statuses/0d1a26e67d8f5eaf1f6ba5c57fc3c7d91ac0fd1c"- , whPullReqCommentCount = Nothing- , whPullReqRevCommentCount = Nothing- , whPullReqCommitCount = Nothing- , whPullReqAdditionsCount = Nothing- , whPullReqDeletionsCount = Nothing- , whPullReqFileChangeCount = Nothing- , whPullReqBase =- PullRequestTarget- { whPullReqTargetSha = "9049f1265b7d61be4a8904a9a27120d2064dab3b"- , whPullReqTargetUser =- HookUser- { whUserLogin = "baxterthehacker"- , whUserId = 6752317- , whUserNodeId = "MDg6Q2hlY2tSdW4xMjg2MjAyMjg="- , whUserAvatarUrl = URL "https://avatars.githubusercontent.com/u/6752317?v=3"- , whUserGravatarId = URL ""- , whUserUrl = URL "https://api.github.com/users/baxterthehacker"- , whUserHtmlUrl = URL "https://github.com/baxterthehacker"- , whUserFollowersUrl = URL "https://api.github.com/users/baxterthehacker/followers"- , whUserFollowingUrl = URL "https://api.github.com/users/baxterthehacker/following{/other_user}"- , whUserGistsUrl = URL "https://api.github.com/users/baxterthehacker/gists{/gist_id}"- , whUserStarredUrl = URL "https://api.github.com/users/baxterthehacker/starred{/owner}{/repo}"- , whUserSubscriptionsUrl = URL "https://api.github.com/users/baxterthehacker/subscriptions"- , whUserOrganizationsUrl = URL "https://api.github.com/users/baxterthehacker/orgs"- , whUserReposUrl = URL "https://api.github.com/users/baxterthehacker/repos"- , whUserEventsUrl = URL "https://api.github.com/users/baxterthehacker/events{/privacy}"- , whUserReceivedEventsUrl = URL "https://api.github.com/users/baxterthehacker/received_events"- , whUserType = OwnerUser- , whUserIsAdminOfSite = False- }- , whPullReqTargetRepo =- HookRepository- { whRepoId = 35129377- , whRepoNodeId = "MDg6Q2hlY2tSdW4xMjg2MjAyMjg="- , whRepoName = "public-repo"- , whRepoFullName = "baxterthehacker/public-repo"- , whRepoOwner =- Right- HookUser- { whUserLogin = "baxterthehacker"- , whUserId = 6752317- , whUserNodeId = "MDg6Q2hlY2tSdW4xMjg2MjAyMjg="- , whUserAvatarUrl = URL "https://avatars.githubusercontent.com/u/6752317?v=3"- , whUserGravatarId = URL ""- , whUserUrl = URL "https://api.github.com/users/baxterthehacker"- , whUserHtmlUrl = URL "https://github.com/baxterthehacker"- , whUserFollowersUrl = URL "https://api.github.com/users/baxterthehacker/followers"- , whUserFollowingUrl = URL "https://api.github.com/users/baxterthehacker/following{/other_user}"- , whUserGistsUrl = URL "https://api.github.com/users/baxterthehacker/gists{/gist_id}"- , whUserStarredUrl = URL "https://api.github.com/users/baxterthehacker/starred{/owner}{/repo}"- , whUserSubscriptionsUrl = URL "https://api.github.com/users/baxterthehacker/subscriptions"- , whUserOrganizationsUrl = URL "https://api.github.com/users/baxterthehacker/orgs"- , whUserReposUrl = URL "https://api.github.com/users/baxterthehacker/repos"- , whUserEventsUrl = URL "https://api.github.com/users/baxterthehacker/events{/privacy}"- , whUserReceivedEventsUrl = URL "https://api.github.com/users/baxterthehacker/received_events"- , whUserType = OwnerUser- , whUserIsAdminOfSite = False- }- , whRepoIsPrivate = False- , whRepoHtmlUrl = URL "https://github.com/baxterthehacker/public-repo"- , whRepoDescription = ""- , whRepoIsAFork = False- , whRepoUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo"- , whRepoForksUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/forks"- , whRepoKeysUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/keys{/key_id}"- , whRepoCollaboratorsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/collaborators{/collaborator}"- , whRepoTeamsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/teams"- , whRepoHooksUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/hooks"- , whRepoIssueEventsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/issues/events{/number}"- , whRepoEventsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/events"- , whRepoAssigneesUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/assignees{/user}"- , whRepoBranchesUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/branches{/branch}"- , whRepoTagsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/tags"- , whRepoBlobsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/git/blobs{/sha}"- , whRepoGitTagsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/git/tags{/sha}"- , whRepoGitRefsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/git/refs{/sha}"- , whRepoTreesUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/git/trees{/sha}"- , whRepoStatusesUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/statuses/{sha}"- , whRepoLanguagesUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/languages"- , whRepoStargazersUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/stargazers"- , whRepoContributorsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/contributors"- , whRepoSubscribersUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/subscribers"- , whRepoSubscriptionUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/subscription"- , whRepoCommitsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/commits{/sha}"- , whRepoGitCommitsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/git/commits{/sha}"- , whRepoCommentsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/comments{/number}"- , whRepoIssueCommentsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/issues/comments{/number}"- , whRepoContentsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/contents/{+path}"- , whRepoCompareUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/compare/{base}...{head}"- , whRepoMergesUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/merges"- , whRepoArchiveUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/{archive_format}{/ref}"- , whRepoDownloadsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/downloads"- , whRepoIssuesUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/issues{/number}"- , whRepoPullsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/pulls{/number}"- , whRepoMilestonesUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/milestones{/number}"- , whRepoNotificationsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/notifications{?since,all,participating}"- , whRepoLabelsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/labels{/name}"- , whRepoReleasesUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/releases{/id}"- , whRepoCreatedAt = read "2015-05-05 23:40:12Z"- , whRepoUpdatedAt = read "2015-05-05 23:40:12Z"- , whRepoPushedAt = read "2015-05-05 23:40:27Z"- , whRepoGitUrl = URL "git://github.com/baxterthehacker/public-repo.git"- , whRepoSshUrl = URL "git@github.com:baxterthehacker/public-repo.git"- , whRepoCloneUrl = URL "https://github.com/baxterthehacker/public-repo.git"- , whRepoSvnUrl = URL "https://github.com/baxterthehacker/public-repo"- , whRepoHomepage = Nothing- , whRepoSize = 0- , whRepoStargazersCount = 0- , whRepoWatchersCount = 0- , whRepoLanguage = Nothing- , whRepoHasIssues = True- , whRepoHasDownloads = True- , whRepoHasWiki = True- , whRepoHasPages = True- , whRepoForkCount = 0- , whRepoMirrorUrl = Nothing- , whRepoOpenIssuesCount = 1- , whRepoDefaultBranchName = "master"- }- , whPullReqTargetLabel = "baxterthehacker:master"- , whPullReqTargetRef = "master"- }- , whPullReqHead =- PullRequestTarget- { whPullReqTargetSha = "0d1a26e67d8f5eaf1f6ba5c57fc3c7d91ac0fd1c"- , whPullReqTargetUser =- HookUser- { whUserLogin = "baxterthehacker"- , whUserId = 6752317- , whUserNodeId = "MDg6Q2hlY2tSdW4xMjg2MjAyMjg="- , whUserAvatarUrl = URL "https://avatars.githubusercontent.com/u/6752317?v=3"- , whUserGravatarId = URL ""- , whUserUrl = URL "https://api.github.com/users/baxterthehacker"- , whUserHtmlUrl = URL "https://github.com/baxterthehacker"- , whUserFollowersUrl = URL "https://api.github.com/users/baxterthehacker/followers"- , whUserFollowingUrl = URL "https://api.github.com/users/baxterthehacker/following{/other_user}"- , whUserGistsUrl = URL "https://api.github.com/users/baxterthehacker/gists{/gist_id}"- , whUserStarredUrl = URL "https://api.github.com/users/baxterthehacker/starred{/owner}{/repo}"- , whUserSubscriptionsUrl = URL "https://api.github.com/users/baxterthehacker/subscriptions"- , whUserOrganizationsUrl = URL "https://api.github.com/users/baxterthehacker/orgs"- , whUserReposUrl = URL "https://api.github.com/users/baxterthehacker/repos"- , whUserEventsUrl = URL "https://api.github.com/users/baxterthehacker/events{/privacy}"- , whUserReceivedEventsUrl = URL "https://api.github.com/users/baxterthehacker/received_events"- , whUserType = OwnerUser- , whUserIsAdminOfSite = False- }- , whPullReqTargetRepo =- HookRepository- { whRepoId = 35129377- , whRepoNodeId = "MDg6Q2hlY2tSdW4xMjg2MjAyMjg="- , whRepoName = "public-repo"- , whRepoFullName = "baxterthehacker/public-repo"- , whRepoOwner =- Right- HookUser- { whUserLogin = "baxterthehacker"- , whUserId = 6752317- , whUserNodeId = "MDg6Q2hlY2tSdW4xMjg2MjAyMjg="- , whUserAvatarUrl = URL "https://avatars.githubusercontent.com/u/6752317?v=3"- , whUserGravatarId = URL ""- , whUserUrl = URL "https://api.github.com/users/baxterthehacker"- , whUserHtmlUrl = URL "https://github.com/baxterthehacker"- , whUserFollowersUrl = URL "https://api.github.com/users/baxterthehacker/followers"- , whUserFollowingUrl = URL "https://api.github.com/users/baxterthehacker/following{/other_user}"- , whUserGistsUrl = URL "https://api.github.com/users/baxterthehacker/gists{/gist_id}"- , whUserStarredUrl = URL "https://api.github.com/users/baxterthehacker/starred{/owner}{/repo}"- , whUserSubscriptionsUrl = URL "https://api.github.com/users/baxterthehacker/subscriptions"- , whUserOrganizationsUrl = URL "https://api.github.com/users/baxterthehacker/orgs"- , whUserReposUrl = URL "https://api.github.com/users/baxterthehacker/repos"- , whUserEventsUrl = URL "https://api.github.com/users/baxterthehacker/events{/privacy}"- , whUserReceivedEventsUrl = URL "https://api.github.com/users/baxterthehacker/received_events"- , whUserType = OwnerUser- , whUserIsAdminOfSite = False- }- , whRepoIsPrivate = False- , whRepoHtmlUrl = URL "https://github.com/baxterthehacker/public-repo"- , whRepoDescription = ""- , whRepoIsAFork = False- , whRepoUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo"- , whRepoForksUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/forks"- , whRepoKeysUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/keys{/key_id}"- , whRepoCollaboratorsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/collaborators{/collaborator}"- , whRepoTeamsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/teams"- , whRepoHooksUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/hooks"- , whRepoIssueEventsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/issues/events{/number}"- , whRepoEventsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/events"- , whRepoAssigneesUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/assignees{/user}"- , whRepoBranchesUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/branches{/branch}"- , whRepoTagsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/tags"- , whRepoBlobsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/git/blobs{/sha}"- , whRepoGitTagsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/git/tags{/sha}"- , whRepoGitRefsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/git/refs{/sha}"- , whRepoTreesUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/git/trees{/sha}"- , whRepoStatusesUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/statuses/{sha}"- , whRepoLanguagesUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/languages"- , whRepoStargazersUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/stargazers"- , whRepoContributorsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/contributors"- , whRepoSubscribersUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/subscribers"- , whRepoSubscriptionUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/subscription"- , whRepoCommitsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/commits{/sha}"- , whRepoGitCommitsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/git/commits{/sha}"- , whRepoCommentsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/comments{/number}"- , whRepoIssueCommentsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/issues/comments{/number}"- , whRepoContentsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/contents/{+path}"- , whRepoCompareUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/compare/{base}...{head}"- , whRepoMergesUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/merges"- , whRepoArchiveUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/{archive_format}{/ref}"- , whRepoDownloadsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/downloads"- , whRepoIssuesUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/issues{/number}"- , whRepoPullsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/pulls{/number}"- , whRepoMilestonesUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/milestones{/number}"- , whRepoNotificationsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/notifications{?since,all,participating}"- , whRepoLabelsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/labels{/name}"- , whRepoReleasesUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/releases{/id}"- , whRepoCreatedAt = read "2015-05-05 23:40:12Z"- , whRepoUpdatedAt = read "2015-05-05 23:40:12Z"- , whRepoPushedAt = read "2015-05-05 23:40:27Z"- , whRepoGitUrl = URL "git://github.com/baxterthehacker/public-repo.git"- , whRepoSshUrl = URL "git@github.com:baxterthehacker/public-repo.git"- , whRepoCloneUrl = URL "https://github.com/baxterthehacker/public-repo.git"- , whRepoSvnUrl = URL "https://github.com/baxterthehacker/public-repo"- , whRepoHomepage = Nothing- , whRepoSize = 0- , whRepoStargazersCount = 0- , whRepoWatchersCount = 0- , whRepoLanguage = Nothing- , whRepoHasIssues = True- , whRepoHasDownloads = True- , whRepoHasWiki = True- , whRepoHasPages = True- , whRepoForkCount = 0- , whRepoMirrorUrl = Nothing- , whRepoOpenIssuesCount = 1- , whRepoDefaultBranchName = "master"- }- , whPullReqTargetLabel = "baxterthehacker:changes"- , whPullReqTargetRef = "changes"- }- , whPullReqMergeableState = Nothing- }- , evPullReqRevRepo =- HookRepository- { whRepoId = 35129377- , whRepoNodeId = "MDg6Q2hlY2tSdW4xMjg2MjAyMjg="- , whRepoName = "public-repo"- , whRepoFullName = "baxterthehacker/public-repo"- , whRepoOwner =- Right HookUser- { whUserLogin = "baxterthehacker"- , whUserId = 6752317- , whUserNodeId = "MDg6Q2hlY2tSdW4xMjg2MjAyMjg="- , whUserAvatarUrl = URL "https://avatars.githubusercontent.com/u/6752317?v=3"- , whUserGravatarId = URL ""- , whUserUrl = URL "https://api.github.com/users/baxterthehacker"- , whUserHtmlUrl = URL "https://github.com/baxterthehacker"- , whUserFollowersUrl = URL "https://api.github.com/users/baxterthehacker/followers"- , whUserFollowingUrl = URL "https://api.github.com/users/baxterthehacker/following{/other_user}"- , whUserGistsUrl = URL "https://api.github.com/users/baxterthehacker/gists{/gist_id}"- , whUserStarredUrl = URL "https://api.github.com/users/baxterthehacker/starred{/owner}{/repo}"- , whUserSubscriptionsUrl = URL "https://api.github.com/users/baxterthehacker/subscriptions"- , whUserOrganizationsUrl = URL "https://api.github.com/users/baxterthehacker/orgs"- , whUserReposUrl = URL "https://api.github.com/users/baxterthehacker/repos"- , whUserEventsUrl = URL "https://api.github.com/users/baxterthehacker/events{/privacy}"- , whUserReceivedEventsUrl = URL "https://api.github.com/users/baxterthehacker/received_events"- , whUserType = OwnerUser- , whUserIsAdminOfSite = False- }- , whRepoIsPrivate = False- , whRepoHtmlUrl = URL "https://github.com/baxterthehacker/public-repo"- , whRepoDescription = ""- , whRepoIsAFork = False- , whRepoUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo"- , whRepoForksUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/forks"- , whRepoKeysUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/keys{/key_id}"- , whRepoCollaboratorsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/collaborators{/collaborator}"- , whRepoTeamsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/teams"- , whRepoHooksUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/hooks"- , whRepoIssueEventsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/issues/events{/number}"- , whRepoEventsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/events"- , whRepoAssigneesUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/assignees{/user}"- , whRepoBranchesUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/branches{/branch}"- , whRepoTagsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/tags"- , whRepoBlobsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/git/blobs{/sha}"- , whRepoGitTagsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/git/tags{/sha}"- , whRepoGitRefsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/git/refs{/sha}"- , whRepoTreesUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/git/trees{/sha}"- , whRepoStatusesUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/statuses/{sha}"- , whRepoLanguagesUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/languages"- , whRepoStargazersUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/stargazers"- , whRepoContributorsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/contributors"- , whRepoSubscribersUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/subscribers"- , whRepoSubscriptionUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/subscription"- , whRepoCommitsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/commits{/sha}"- , whRepoGitCommitsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/git/commits{/sha}"- , whRepoCommentsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/comments{/number}"- , whRepoIssueCommentsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/issues/comments{/number}"- , whRepoContentsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/contents/{+path}"- , whRepoCompareUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/compare/{base}...{head}"- , whRepoMergesUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/merges"- , whRepoArchiveUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/{archive_format}{/ref}"- , whRepoDownloadsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/downloads"- , whRepoIssuesUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/issues{/number}"- , whRepoPullsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/pulls{/number}"- , whRepoMilestonesUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/milestones{/number}"- , whRepoNotificationsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/notifications{?since,all,participating}"- , whRepoLabelsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/labels{/name}"- , whRepoReleasesUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/releases{/id}"- , whRepoCreatedAt = read "2015-05-05 23:40:12Z"- , whRepoUpdatedAt = read "2015-05-05 23:40:12Z"- , whRepoPushedAt = read "2015-05-05 23:40:27Z"- , whRepoGitUrl = URL "git://github.com/baxterthehacker/public-repo.git"- , whRepoSshUrl = URL "git@github.com:baxterthehacker/public-repo.git"- , whRepoCloneUrl = URL "https://github.com/baxterthehacker/public-repo.git"- , whRepoSvnUrl = URL "https://github.com/baxterthehacker/public-repo"- , whRepoHomepage = Nothing- , whRepoSize = 0- , whRepoStargazersCount = 0- , whRepoWatchersCount = 0- , whRepoLanguage = Nothing- , whRepoHasIssues = True- , whRepoHasDownloads = True- , whRepoHasWiki = True- , whRepoHasPages = True- , whRepoForkCount = 0- , whRepoMirrorUrl = Nothing- , whRepoOpenIssuesCount = 1- , whRepoDefaultBranchName = "master"- }- , evPullReqRevSender =- HookUser- { whUserLogin = "baxterthehacker"- , whUserId = 6752317- , whUserNodeId = "MDg6Q2hlY2tSdW4xMjg2MjAyMjg="- , whUserAvatarUrl = URL "https://avatars.githubusercontent.com/u/6752317?v=3"- , whUserGravatarId = URL ""- , whUserUrl = URL "https://api.github.com/users/baxterthehacker"- , whUserHtmlUrl = URL "https://github.com/baxterthehacker"- , whUserFollowersUrl = URL "https://api.github.com/users/baxterthehacker/followers"- , whUserFollowingUrl = URL "https://api.github.com/users/baxterthehacker/following{/other_user}"- , whUserGistsUrl = URL "https://api.github.com/users/baxterthehacker/gists{/gist_id}"- , whUserStarredUrl = URL "https://api.github.com/users/baxterthehacker/starred{/owner}{/repo}"- , whUserSubscriptionsUrl = URL "https://api.github.com/users/baxterthehacker/subscriptions"- , whUserOrganizationsUrl = URL "https://api.github.com/users/baxterthehacker/orgs"- , whUserReposUrl = URL "https://api.github.com/users/baxterthehacker/repos"- , whUserEventsUrl = URL "https://api.github.com/users/baxterthehacker/events{/privacy}"- , whUserReceivedEventsUrl = URL "https://api.github.com/users/baxterthehacker/received_events"- , whUserType = OwnerUser- , whUserIsAdminOfSite = False- }- }--pullRequestReviewEventFixture :: PullRequestReviewEvent-pullRequestReviewEventFixture = PullRequestReviewEvent- { evPullReqReviewAction = PullRequestReviewSubmittedAction- , evPullReqReviewPayload =- HookPullRequestReview- { whPullReqReviewId = 2626884- , whPullReqReviewNodeId = "MDg6Q2hlY2tSdW4xMjg2MjAyMjg="- , whPullReqReviewUser =- HookUser- { whUserLogin = "baxterthehacker"- , whUserId = 6752317- , whUserNodeId = "MDg6Q2hlY2tSdW4xMjg2MjAyMjg="- , whUserAvatarUrl = URL "https://avatars.githubusercontent.com/u/6752317?v=3"- , whUserGravatarId = URL ""- , whUserUrl = URL "https://api.github.com/users/baxterthehacker"- , whUserHtmlUrl = URL "https://github.com/baxterthehacker"- , whUserFollowersUrl = URL "https://api.github.com/users/baxterthehacker/followers"- , whUserFollowingUrl = URL "https://api.github.com/users/baxterthehacker/following{/other_user}"- , whUserGistsUrl = URL "https://api.github.com/users/baxterthehacker/gists{/gist_id}"- , whUserStarredUrl = URL "https://api.github.com/users/baxterthehacker/starred{/owner}{/repo}"- , whUserSubscriptionsUrl = URL "https://api.github.com/users/baxterthehacker/subscriptions"- , whUserOrganizationsUrl = URL "https://api.github.com/users/baxterthehacker/orgs"- , whUserReposUrl = URL "https://api.github.com/users/baxterthehacker/repos"- , whUserEventsUrl = URL "https://api.github.com/users/baxterthehacker/events{/privacy}"- , whUserReceivedEventsUrl = URL "https://api.github.com/users/baxterthehacker/received_events"- , whUserType = OwnerUser- , whUserIsAdminOfSite = False- }- , whPullReqReviewBody = "Looks great!"- , whPullReqReviewSubmittedAt = read "2016-10-03 23:39:09Z"- , whPullReqReviewState = "approved"- , whPullReqReviewHtmlUrl = URL "https://github.com/baxterthehacker/public-repo/pull/8#pullrequestreview-2626884"- , whPullReqReviewPullUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/pulls/8"- }- , evPullReqReviewTarget =- HookPullRequest- { whPullReqUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/pulls/8"- , whPullReqId = 87811438- , whPullReqNodeId = "MDg6Q2hlY2tSdW4xMjg2MjAyMjg="- , whPullReqHtmlUrl = URL "https://github.com/baxterthehacker/public-repo/pull/8"- , whPullReqDiffUrl = URL "https://github.com/baxterthehacker/public-repo/pull/8.diff"- , whPullReqPatchUrl = URL "https://github.com/baxterthehacker/public-repo/pull/8.patch"- , whPullReqIssueUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/issues/8"- , whPullReqNumber = 8- , whPullReqState = "open"- , whPullReqIsLocked = False- , whPullReqTitle = "Add a README description"- , whPullReqUser =- HookUser- { whUserLogin = "skalnik"- , whUserId = 2546- , whUserNodeId = "MDg6Q2hlY2tSdW4xMjg2MjAyMjg="- , whUserAvatarUrl = URL "https://avatars.githubusercontent.com/u/2546?v=3"- , whUserGravatarId = URL ""- , whUserUrl = URL "https://api.github.com/users/skalnik"- , whUserHtmlUrl = URL "https://github.com/skalnik"- , whUserFollowersUrl = URL "https://api.github.com/users/skalnik/followers"- , whUserFollowingUrl = URL "https://api.github.com/users/skalnik/following{/other_user}"- , whUserGistsUrl = URL "https://api.github.com/users/skalnik/gists{/gist_id}"- , whUserStarredUrl = URL "https://api.github.com/users/skalnik/starred{/owner}{/repo}"- , whUserSubscriptionsUrl = URL "https://api.github.com/users/skalnik/subscriptions"- , whUserOrganizationsUrl = URL "https://api.github.com/users/skalnik/orgs"- , whUserReposUrl = URL "https://api.github.com/users/skalnik/repos"- , whUserEventsUrl = URL "https://api.github.com/users/skalnik/events{/privacy}"- , whUserReceivedEventsUrl = URL "https://api.github.com/users/skalnik/received_events"- , whUserType = OwnerUser- , whUserIsAdminOfSite = True- }- , whPullReqBody = "Just a few more details"- , whPullReqCreatedAt = read "2016-10-03 23:37:43Z"- , whPullReqUpdatedAt = read "2016-10-03 23:39:09Z"- , whPullReqClosedAt = Nothing- , whPullReqMergedAt = Nothing- , whPullReqMergeCommitSha = Just "faea154a7decef6819754aab0f8c0e232e6c8b4f"- , whPullReqAssignee = Nothing- , whPullReqMilestone = Nothing- , whPullReqCommitsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/pulls/8/commits"- , whPullReqRevCommentsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/pulls/8/comments"- , whPullReqRevCommentUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/pulls/comments{/number}"- , whPullReqCommentsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/issues/8/comments"- , whPullReqStatusesUrl =- URL "https://api.github.com/repos/baxterthehacker/public-repo/statuses/b7a1f9c27caa4e03c14a88feb56e2d4f7500aa63"- , whPullReqBase =- PullRequestTarget- { whPullReqTargetSha = "9049f1265b7d61be4a8904a9a27120d2064dab3b"- , whPullReqTargetUser =- HookUser- { whUserLogin = "baxterthehacker"- , whUserId = 6752317- , whUserNodeId = "MDg6Q2hlY2tSdW4xMjg2MjAyMjg="- , whUserAvatarUrl = URL "https://avatars.githubusercontent.com/u/6752317?v=3"- , whUserGravatarId = URL ""- , whUserUrl = URL "https://api.github.com/users/baxterthehacker"- , whUserHtmlUrl = URL "https://github.com/baxterthehacker"- , whUserFollowersUrl = URL "https://api.github.com/users/baxterthehacker/followers"- , whUserFollowingUrl = URL "https://api.github.com/users/baxterthehacker/following{/other_user}"- , whUserGistsUrl = URL "https://api.github.com/users/baxterthehacker/gists{/gist_id}"- , whUserStarredUrl = URL "https://api.github.com/users/baxterthehacker/starred{/owner}{/repo}"- , whUserSubscriptionsUrl = URL "https://api.github.com/users/baxterthehacker/subscriptions"- , whUserOrganizationsUrl = URL "https://api.github.com/users/baxterthehacker/orgs"- , whUserReposUrl = URL "https://api.github.com/users/baxterthehacker/repos"- , whUserEventsUrl = URL "https://api.github.com/users/baxterthehacker/events{/privacy}"- , whUserReceivedEventsUrl = URL "https://api.github.com/users/baxterthehacker/received_events"- , whUserType = OwnerUser- , whUserIsAdminOfSite = False- }- , whPullReqTargetRepo =- HookRepository- { whRepoId = 35129377- , whRepoNodeId = "MDg6Q2hlY2tSdW4xMjg2MjAyMjg="- , whRepoName = "public-repo"- , whRepoFullName = "baxterthehacker/public-repo"- , whRepoOwner =- Right- HookUser- { whUserLogin = "baxterthehacker"- , whUserId = 6752317- , whUserNodeId = "MDg6Q2hlY2tSdW4xMjg2MjAyMjg="- , whUserAvatarUrl = URL "https://avatars.githubusercontent.com/u/6752317?v=3"- , whUserGravatarId = URL ""- , whUserUrl = URL "https://api.github.com/users/baxterthehacker"- , whUserHtmlUrl = URL "https://github.com/baxterthehacker"- , whUserFollowersUrl = URL "https://api.github.com/users/baxterthehacker/followers"- , whUserFollowingUrl = URL "https://api.github.com/users/baxterthehacker/following{/other_user}"- , whUserGistsUrl = URL "https://api.github.com/users/baxterthehacker/gists{/gist_id}"- , whUserStarredUrl = URL "https://api.github.com/users/baxterthehacker/starred{/owner}{/repo}"- , whUserSubscriptionsUrl = URL "https://api.github.com/users/baxterthehacker/subscriptions"- , whUserOrganizationsUrl = URL "https://api.github.com/users/baxterthehacker/orgs"- , whUserReposUrl = URL "https://api.github.com/users/baxterthehacker/repos"- , whUserEventsUrl = URL "https://api.github.com/users/baxterthehacker/events{/privacy}"- , whUserReceivedEventsUrl = URL "https://api.github.com/users/baxterthehacker/received_events"- , whUserType = OwnerUser- , whUserIsAdminOfSite = False- }- , whRepoIsPrivate = False- , whRepoHtmlUrl = URL "https://github.com/baxterthehacker/public-repo"- , whRepoDescription = ""- , whRepoIsAFork = False- , whRepoUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo"- , whRepoForksUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/forks"- , whRepoKeysUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/keys{/key_id}"- , whRepoCollaboratorsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/collaborators{/collaborator}"- , whRepoTeamsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/teams"- , whRepoHooksUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/hooks"- , whRepoIssueEventsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/issues/events{/number}"- , whRepoEventsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/events"- , whRepoAssigneesUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/assignees{/user}"- , whRepoBranchesUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/branches{/branch}"- , whRepoTagsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/tags"- , whRepoBlobsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/git/blobs{/sha}"- , whRepoGitTagsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/git/tags{/sha}"- , whRepoGitRefsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/git/refs{/sha}"- , whRepoTreesUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/git/trees{/sha}"- , whRepoStatusesUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/statuses/{sha}"- , whRepoLanguagesUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/languages"- , whRepoStargazersUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/stargazers"- , whRepoContributorsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/contributors"- , whRepoSubscribersUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/subscribers"- , whRepoSubscriptionUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/subscription"- , whRepoCommitsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/commits{/sha}"- , whRepoGitCommitsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/git/commits{/sha}"- , whRepoCommentsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/comments{/number}"- , whRepoIssueCommentsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/issues/comments{/number}"- , whRepoContentsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/contents/{+path}"- , whRepoCompareUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/compare/{base}...{head}"- , whRepoMergesUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/merges"- , whRepoArchiveUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/{archive_format}{/ref}"- , whRepoDownloadsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/downloads"- , whRepoIssuesUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/issues{/number}"- , whRepoPullsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/pulls{/number}"- , whRepoMilestonesUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/milestones{/number}"- , whRepoNotificationsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/notifications{?since,all,participating}"- , whRepoLabelsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/labels{/name}"- , whRepoReleasesUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/releases{/id}"- , whRepoCreatedAt = read "2015-05-05 23:40:12Z"- , whRepoUpdatedAt = read "2016-08-15 17:19:01Z"- , whRepoPushedAt = read "2016-10-03 23:37:43Z"- , whRepoGitUrl = URL "git://github.com/baxterthehacker/public-repo.git"- , whRepoSshUrl = URL "git@github.com:baxterthehacker/public-repo.git"- , whRepoCloneUrl = URL "https://github.com/baxterthehacker/public-repo.git"- , whRepoSvnUrl = URL "https://github.com/baxterthehacker/public-repo"- , whRepoHomepage = Nothing- , whRepoSize = 233- , whRepoStargazersCount = 2- , whRepoWatchersCount = 2- , whRepoLanguage = Nothing- , whRepoHasIssues = True- , whRepoHasDownloads = True- , whRepoHasWiki = True- , whRepoHasPages = True- , whRepoForkCount = 2- , whRepoMirrorUrl = Nothing- , whRepoOpenIssuesCount = 5- , whRepoDefaultBranchName = "master"- }- , whPullReqTargetLabel = "baxterthehacker:master"- , whPullReqTargetRef = "master"- }- , whPullReqHead =- PullRequestTarget- { whPullReqTargetSha = "b7a1f9c27caa4e03c14a88feb56e2d4f7500aa63"- , whPullReqTargetUser =- HookUser- { whUserLogin = "skalnik"- , whUserId = 2546- , whUserNodeId = "MDg6Q2hlY2tSdW4xMjg2MjAyMjg="- , whUserAvatarUrl = URL "https://avatars.githubusercontent.com/u/2546?v=3"- , whUserGravatarId = URL ""- , whUserUrl = URL "https://api.github.com/users/skalnik"- , whUserHtmlUrl = URL "https://github.com/skalnik"- , whUserFollowersUrl = URL "https://api.github.com/users/skalnik/followers"- , whUserFollowingUrl = URL "https://api.github.com/users/skalnik/following{/other_user}"- , whUserGistsUrl = URL "https://api.github.com/users/skalnik/gists{/gist_id}"- , whUserStarredUrl = URL "https://api.github.com/users/skalnik/starred{/owner}{/repo}"- , whUserSubscriptionsUrl = URL "https://api.github.com/users/skalnik/subscriptions"- , whUserOrganizationsUrl = URL "https://api.github.com/users/skalnik/orgs"- , whUserReposUrl = URL "https://api.github.com/users/skalnik/repos"- , whUserEventsUrl = URL "https://api.github.com/users/skalnik/events{/privacy}"- , whUserReceivedEventsUrl = URL "https://api.github.com/users/skalnik/received_events"- , whUserType = OwnerUser- , whUserIsAdminOfSite = True- }- , whPullReqTargetRepo =- HookRepository- { whRepoId = 69919152- , whRepoNodeId = "MDg6Q2hlY2tSdW4xMjg2MjAyMjg="- , whRepoName = "public-repo"- , whRepoFullName = "skalnik/public-repo"- , whRepoOwner =- Right- HookUser- { whUserLogin = "skalnik"- , whUserId = 2546- , whUserNodeId = "MDg6Q2hlY2tSdW4xMjg2MjAyMjg="- , whUserAvatarUrl = URL "https://avatars.githubusercontent.com/u/2546?v=3"- , whUserGravatarId = URL ""- , whUserUrl = URL "https://api.github.com/users/skalnik"- , whUserHtmlUrl = URL "https://github.com/skalnik"- , whUserFollowersUrl = URL "https://api.github.com/users/skalnik/followers"- , whUserFollowingUrl = URL "https://api.github.com/users/skalnik/following{/other_user}"- , whUserGistsUrl = URL "https://api.github.com/users/skalnik/gists{/gist_id}"- , whUserStarredUrl = URL "https://api.github.com/users/skalnik/starred{/owner}{/repo}"- , whUserSubscriptionsUrl = URL "https://api.github.com/users/skalnik/subscriptions"- , whUserOrganizationsUrl = URL "https://api.github.com/users/skalnik/orgs"- , whUserReposUrl = URL "https://api.github.com/users/skalnik/repos"- , whUserEventsUrl = URL "https://api.github.com/users/skalnik/events{/privacy}"- , whUserReceivedEventsUrl = URL "https://api.github.com/users/skalnik/received_events"- , whUserType = OwnerUser- , whUserIsAdminOfSite = True- }- , whRepoIsPrivate = False- , whRepoHtmlUrl = URL "https://github.com/skalnik/public-repo"- , whRepoDescription = ""- , whRepoIsAFork = True- , whRepoUrl = URL "https://api.github.com/repos/skalnik/public-repo"- , whRepoForksUrl = URL "https://api.github.com/repos/skalnik/public-repo/forks"- , whRepoKeysUrl = URL "https://api.github.com/repos/skalnik/public-repo/keys{/key_id}"- , whRepoCollaboratorsUrl = URL "https://api.github.com/repos/skalnik/public-repo/collaborators{/collaborator}"- , whRepoTeamsUrl = URL "https://api.github.com/repos/skalnik/public-repo/teams"- , whRepoHooksUrl = URL "https://api.github.com/repos/skalnik/public-repo/hooks"- , whRepoIssueEventsUrl = URL "https://api.github.com/repos/skalnik/public-repo/issues/events{/number}"- , whRepoEventsUrl = URL "https://api.github.com/repos/skalnik/public-repo/events"- , whRepoAssigneesUrl = URL "https://api.github.com/repos/skalnik/public-repo/assignees{/user}"- , whRepoBranchesUrl = URL "https://api.github.com/repos/skalnik/public-repo/branches{/branch}"- , whRepoTagsUrl = URL "https://api.github.com/repos/skalnik/public-repo/tags"- , whRepoBlobsUrl = URL "https://api.github.com/repos/skalnik/public-repo/git/blobs{/sha}"- , whRepoGitTagsUrl = URL "https://api.github.com/repos/skalnik/public-repo/git/tags{/sha}"- , whRepoGitRefsUrl = URL "https://api.github.com/repos/skalnik/public-repo/git/refs{/sha}"- , whRepoTreesUrl = URL "https://api.github.com/repos/skalnik/public-repo/git/trees{/sha}"- , whRepoStatusesUrl = URL "https://api.github.com/repos/skalnik/public-repo/statuses/{sha}"- , whRepoLanguagesUrl = URL "https://api.github.com/repos/skalnik/public-repo/languages"- , whRepoStargazersUrl = URL "https://api.github.com/repos/skalnik/public-repo/stargazers"- , whRepoContributorsUrl = URL "https://api.github.com/repos/skalnik/public-repo/contributors"- , whRepoSubscribersUrl = URL "https://api.github.com/repos/skalnik/public-repo/subscribers"- , whRepoSubscriptionUrl = URL "https://api.github.com/repos/skalnik/public-repo/subscription"- , whRepoCommitsUrl = URL "https://api.github.com/repos/skalnik/public-repo/commits{/sha}"- , whRepoGitCommitsUrl = URL "https://api.github.com/repos/skalnik/public-repo/git/commits{/sha}"- , whRepoCommentsUrl = URL "https://api.github.com/repos/skalnik/public-repo/comments{/number}"- , whRepoIssueCommentsUrl = URL "https://api.github.com/repos/skalnik/public-repo/issues/comments{/number}"- , whRepoContentsUrl = URL "https://api.github.com/repos/skalnik/public-repo/contents/{+path}"- , whRepoCompareUrl = URL "https://api.github.com/repos/skalnik/public-repo/compare/{base}...{head}"- , whRepoMergesUrl = URL "https://api.github.com/repos/skalnik/public-repo/merges"- , whRepoArchiveUrl = URL "https://api.github.com/repos/skalnik/public-repo/{archive_format}{/ref}"- , whRepoDownloadsUrl = URL "https://api.github.com/repos/skalnik/public-repo/downloads"- , whRepoIssuesUrl = URL "https://api.github.com/repos/skalnik/public-repo/issues{/number}"- , whRepoPullsUrl = URL "https://api.github.com/repos/skalnik/public-repo/pulls{/number}"- , whRepoMilestonesUrl = URL "https://api.github.com/repos/skalnik/public-repo/milestones{/number}"- , whRepoNotificationsUrl = URL "https://api.github.com/repos/skalnik/public-repo/notifications{?since,all,participating}"- , whRepoLabelsUrl = URL "https://api.github.com/repos/skalnik/public-repo/labels{/name}"- , whRepoReleasesUrl = URL "https://api.github.com/repos/skalnik/public-repo/releases{/id}"- , whRepoCreatedAt = read "2016-10-03 23:23:31Z"- , whRepoUpdatedAt = read "2016-08-15 17:19:01Z"- , whRepoPushedAt = read "2016-10-03 23:36:52Z"- , whRepoGitUrl = URL "git://github.com/skalnik/public-repo.git"- , whRepoSshUrl = URL "git@github.com:skalnik/public-repo.git"- , whRepoCloneUrl = URL "https://github.com/skalnik/public-repo.git"- , whRepoSvnUrl = URL "https://github.com/skalnik/public-repo"- , whRepoHomepage = Nothing- , whRepoSize = 233- , whRepoStargazersCount = 0- , whRepoWatchersCount = 0- , whRepoLanguage = Nothing- , whRepoHasIssues = False- , whRepoHasDownloads = True- , whRepoHasWiki = True- , whRepoHasPages = False- , whRepoForkCount = 0- , whRepoMirrorUrl = Nothing- , whRepoOpenIssuesCount = 0- , whRepoDefaultBranchName = "master"- }- , whPullReqTargetLabel = "skalnik:patch-2"- , whPullReqTargetRef = "patch-2"- }- , whPullReqMergeableState = Nothing- , whPullReqCommentCount = Nothing- , whPullReqRevCommentCount = Nothing- , whPullReqCommitCount = Nothing- , whPullReqAdditionsCount = Nothing- , whPullReqDeletionsCount = Nothing- , whPullReqFileChangeCount = Nothing- }- , evPullReqReviewRepo =- HookRepository- { whRepoId = 35129377- , whRepoNodeId = "MDg6Q2hlY2tSdW4xMjg2MjAyMjg="- , whRepoName = "public-repo"- , whRepoFullName = "baxterthehacker/public-repo"- , whRepoOwner =- Right- HookUser- { whUserLogin = "baxterthehacker"- , whUserId = 6752317- , whUserNodeId = "MDg6Q2hlY2tSdW4xMjg2MjAyMjg="- , whUserAvatarUrl = URL "https://avatars.githubusercontent.com/u/6752317?v=3"- , whUserGravatarId = URL ""- , whUserUrl = URL "https://api.github.com/users/baxterthehacker"- , whUserHtmlUrl = URL "https://github.com/baxterthehacker"- , whUserFollowersUrl = URL "https://api.github.com/users/baxterthehacker/followers"- , whUserFollowingUrl = URL "https://api.github.com/users/baxterthehacker/following{/other_user}"- , whUserGistsUrl = URL "https://api.github.com/users/baxterthehacker/gists{/gist_id}"- , whUserStarredUrl = URL "https://api.github.com/users/baxterthehacker/starred{/owner}{/repo}"- , whUserSubscriptionsUrl = URL "https://api.github.com/users/baxterthehacker/subscriptions"- , whUserOrganizationsUrl = URL "https://api.github.com/users/baxterthehacker/orgs"- , whUserReposUrl = URL "https://api.github.com/users/baxterthehacker/repos"- , whUserEventsUrl = URL "https://api.github.com/users/baxterthehacker/events{/privacy}"- , whUserReceivedEventsUrl = URL "https://api.github.com/users/baxterthehacker/received_events"- , whUserType = OwnerUser- , whUserIsAdminOfSite = False- }- , whRepoIsPrivate = False- , whRepoHtmlUrl = URL "https://github.com/baxterthehacker/public-repo"- , whRepoDescription = ""- , whRepoIsAFork = False- , whRepoUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo"- , whRepoForksUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/forks"- , whRepoKeysUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/keys{/key_id}"- , whRepoCollaboratorsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/collaborators{/collaborator}"- , whRepoTeamsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/teams"- , whRepoHooksUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/hooks"- , whRepoIssueEventsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/issues/events{/number}"- , whRepoEventsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/events"- , whRepoAssigneesUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/assignees{/user}"- , whRepoBranchesUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/branches{/branch}"- , whRepoTagsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/tags"- , whRepoBlobsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/git/blobs{/sha}"- , whRepoGitTagsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/git/tags{/sha}"- , whRepoGitRefsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/git/refs{/sha}"- , whRepoTreesUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/git/trees{/sha}"- , whRepoStatusesUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/statuses/{sha}"- , whRepoLanguagesUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/languages"- , whRepoStargazersUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/stargazers"- , whRepoContributorsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/contributors"- , whRepoSubscribersUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/subscribers"- , whRepoSubscriptionUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/subscription"- , whRepoCommitsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/commits{/sha}"- , whRepoGitCommitsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/git/commits{/sha}"- , whRepoCommentsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/comments{/number}"- , whRepoIssueCommentsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/issues/comments{/number}"- , whRepoContentsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/contents/{+path}"- , whRepoCompareUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/compare/{base}...{head}"- , whRepoMergesUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/merges"- , whRepoArchiveUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/{archive_format}{/ref}"- , whRepoDownloadsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/downloads"- , whRepoIssuesUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/issues{/number}"- , whRepoPullsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/pulls{/number}"- , whRepoMilestonesUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/milestones{/number}"- , whRepoNotificationsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/notifications{?since,all,participating}"- , whRepoLabelsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/labels{/name}"- , whRepoReleasesUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/releases{/id}"- , whRepoCreatedAt = read "2015-05-05 23:40:12Z"- , whRepoUpdatedAt = read "2016-08-15 17:19:01Z"- , whRepoPushedAt = read "2016-10-03 23:37:43Z"- , whRepoGitUrl = URL "git://github.com/baxterthehacker/public-repo.git"- , whRepoSshUrl = URL "git@github.com:baxterthehacker/public-repo.git"- , whRepoCloneUrl = URL "https://github.com/baxterthehacker/public-repo.git"- , whRepoSvnUrl = URL "https://github.com/baxterthehacker/public-repo"- , whRepoHomepage = Nothing- , whRepoSize = 233- , whRepoStargazersCount = 2- , whRepoWatchersCount = 2- , whRepoLanguage = Nothing- , whRepoHasIssues = True- , whRepoHasDownloads = True- , whRepoHasWiki = True- , whRepoHasPages = True- , whRepoForkCount = 2- , whRepoMirrorUrl = Nothing- , whRepoOpenIssuesCount = 5- , whRepoDefaultBranchName = "master"- }- , evPullReqReviewSender =- HookUser- { whUserLogin = "baxterthehacker"- , whUserId = 6752317- , whUserNodeId = "MDg6Q2hlY2tSdW4xMjg2MjAyMjg="- , whUserAvatarUrl = URL "https://avatars.githubusercontent.com/u/6752317?v=3"- , whUserGravatarId = URL ""- , whUserUrl = URL "https://api.github.com/users/baxterthehacker"- , whUserHtmlUrl = URL "https://github.com/baxterthehacker"- , whUserFollowersUrl = URL "https://api.github.com/users/baxterthehacker/followers"- , whUserFollowingUrl = URL "https://api.github.com/users/baxterthehacker/following{/other_user}"- , whUserGistsUrl = URL "https://api.github.com/users/baxterthehacker/gists{/gist_id}"- , whUserStarredUrl = URL "https://api.github.com/users/baxterthehacker/starred{/owner}{/repo}"- , whUserSubscriptionsUrl = URL "https://api.github.com/users/baxterthehacker/subscriptions"- , whUserOrganizationsUrl = URL "https://api.github.com/users/baxterthehacker/orgs"- , whUserReposUrl = URL "https://api.github.com/users/baxterthehacker/repos"- , whUserEventsUrl = URL "https://api.github.com/users/baxterthehacker/events{/privacy}"- , whUserReceivedEventsUrl = URL "https://api.github.com/users/baxterthehacker/received_events"- , whUserType = OwnerUser- , whUserIsAdminOfSite = False- }- }--pushEventFixture :: PushEvent-pushEventFixture = PushEvent- { evPushRef = "refs/heads/changes"- , evPushHeadSha = Just "0d1a26e67d8f5eaf1f6ba5c57fc3c7d91ac0fd1c"- , evPushBeforeSha = Just "9049f1265b7d61be4a8904a9a27120d2064dab3b"- , evPushCreated = False- , evPushDeleted = False- , evPushForced = False- , evPushBaseRef = Nothing- , evPushCompareUrl = URL "https://github.com/baxterthehacker/public-repo/compare/9049f1265b7d...0d1a26e67d8f"- , evPushCommits =- Just $ V.fromList- [ HookCommit- { whCommitSha = "0d1a26e67d8f5eaf1f6ba5c57fc3c7d91ac0fd1c"- , whCommitUrl = URL "https://github.com/baxterthehacker/public-repo/commit/0d1a26e67d8f5eaf1f6ba5c57fc3c7d91ac0fd1c"- , whCommitHtmlUrl = Nothing- , whCommitCommentsUrl = Nothing- , whCommitAuthor =- Left- HookSimpleUser- { whSimplUserName = "baxterthehacker"- , whSimplUserEmail = "baxterthehacker@users.noreply.github.com"- , whSimplUserLogin = Just "baxterthehacker"- }- , whCommitCommitter =- Left- HookSimpleUser- { whSimplUserName = "baxterthehacker"- , whSimplUserEmail = "baxterthehacker@users.noreply.github.com"- , whSimplUserLogin = Just "baxterthehacker"- }- }- ]- , evPushHeadCommit =- Just- HookCommit- { whCommitSha = "0d1a26e67d8f5eaf1f6ba5c57fc3c7d91ac0fd1c"- , whCommitUrl = URL "https://github.com/baxterthehacker/public-repo/commit/0d1a26e67d8f5eaf1f6ba5c57fc3c7d91ac0fd1c"- , whCommitHtmlUrl = Nothing- , whCommitCommentsUrl = Nothing- , whCommitAuthor =- Left- HookSimpleUser- { whSimplUserName = "baxterthehacker"- , whSimplUserEmail = "baxterthehacker@users.noreply.github.com"- , whSimplUserLogin = Just "baxterthehacker"- }- , whCommitCommitter =- Left- HookSimpleUser- { whSimplUserName = "baxterthehacker"- , whSimplUserEmail = "baxterthehacker@users.noreply.github.com"- , whSimplUserLogin = Just "baxterthehacker"- }- }- , evPushRepository =- HookRepository- { whRepoId = 35129377- , whRepoNodeId = "MDg6Q2hlY2tSdW4xMjg2MjAyMjg="- , whRepoName = "public-repo"- , whRepoFullName = "baxterthehacker/public-repo"- , whRepoOwner =- Left- HookSimpleUser- { whSimplUserName = "baxterthehacker" , whSimplUserEmail = "baxterthehacker@users.noreply.github.com" , whSimplUserLogin = Nothing }- , whRepoIsPrivate = False- , whRepoHtmlUrl = URL "https://github.com/baxterthehacker/public-repo"- , whRepoDescription = ""- , whRepoIsAFork = False- , whRepoUrl = URL "https://github.com/baxterthehacker/public-repo"- , whRepoForksUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/forks"- , whRepoKeysUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/keys{/key_id}"- , whRepoCollaboratorsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/collaborators{/collaborator}"- , whRepoTeamsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/teams"- , whRepoHooksUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/hooks"- , whRepoIssueEventsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/issues/events{/number}"- , whRepoEventsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/events"- , whRepoAssigneesUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/assignees{/user}"- , whRepoBranchesUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/branches{/branch}"- , whRepoTagsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/tags"- , whRepoBlobsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/git/blobs{/sha}"- , whRepoGitTagsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/git/tags{/sha}"- , whRepoGitRefsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/git/refs{/sha}"- , whRepoTreesUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/git/trees{/sha}"- , whRepoStatusesUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/statuses/{sha}"- , whRepoLanguagesUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/languages"- , whRepoStargazersUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/stargazers"- , whRepoContributorsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/contributors"- , whRepoSubscribersUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/subscribers"- , whRepoSubscriptionUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/subscription"- , whRepoCommitsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/commits{/sha}"- , whRepoGitCommitsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/git/commits{/sha}"- , whRepoCommentsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/comments{/number}"- , whRepoIssueCommentsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/issues/comments{/number}"- , whRepoContentsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/contents/{+path}"- , whRepoCompareUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/compare/{base}...{head}"- , whRepoMergesUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/merges"- , whRepoArchiveUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/{archive_format}{/ref}"- , whRepoDownloadsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/downloads"- , whRepoIssuesUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/issues{/number}"- , whRepoPullsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/pulls{/number}"- , whRepoMilestonesUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/milestones{/number}"- , whRepoNotificationsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/notifications{?since,all,participating}"- , whRepoLabelsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/labels{/name}"- , whRepoReleasesUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/releases{/id}"- , whRepoCreatedAt = read "2015-05-05 23:40:12Z"- , whRepoUpdatedAt = read "2015-05-05 23:40:12Z"- , whRepoPushedAt = read "2015-05-05 23:40:17Z"- , whRepoGitUrl = URL "git://github.com/baxterthehacker/public-repo.git"- , whRepoSshUrl = URL "git@github.com:baxterthehacker/public-repo.git"- , whRepoCloneUrl = URL "https://github.com/baxterthehacker/public-repo.git"- , whRepoSvnUrl = URL "https://github.com/baxterthehacker/public-repo"- , whRepoHomepage = Nothing- , whRepoSize = 0- , whRepoStargazersCount = 0- , whRepoWatchersCount = 0- , whRepoLanguage = Nothing- , whRepoHasIssues = True- , whRepoHasDownloads = True- , whRepoHasWiki = True- , whRepoHasPages = True- , whRepoForkCount = 0- , whRepoMirrorUrl = Nothing- , whRepoOpenIssuesCount = 0- , whRepoDefaultBranchName = "master"- }- , evPushOrganization = Nothing- , evPushSender =- HookUser- { whUserLogin = "baxterthehacker"- , whUserId = 6752317- , whUserNodeId = "MDg6Q2hlY2tSdW4xMjg2MjAyMjg="- , whUserAvatarUrl = URL "https://avatars.githubusercontent.com/u/6752317?v=3"- , whUserGravatarId = URL ""- , whUserUrl = URL "https://api.github.com/users/baxterthehacker"- , whUserHtmlUrl = URL "https://github.com/baxterthehacker"- , whUserFollowersUrl = URL "https://api.github.com/users/baxterthehacker/followers"- , whUserFollowingUrl = URL "https://api.github.com/users/baxterthehacker/following{/other_user}"- , whUserGistsUrl = URL "https://api.github.com/users/baxterthehacker/gists{/gist_id}"- , whUserStarredUrl = URL "https://api.github.com/users/baxterthehacker/starred{/owner}{/repo}"- , whUserSubscriptionsUrl = URL "https://api.github.com/users/baxterthehacker/subscriptions"- , whUserOrganizationsUrl = URL "https://api.github.com/users/baxterthehacker/orgs"- , whUserReposUrl = URL "https://api.github.com/users/baxterthehacker/repos"- , whUserEventsUrl = URL "https://api.github.com/users/baxterthehacker/events{/privacy}"- , whUserReceivedEventsUrl = URL "https://api.github.com/users/baxterthehacker/received_events"- , whUserType = OwnerUser- , whUserIsAdminOfSite = False- }- }--releaseEventFixture :: ReleaseEvent-releaseEventFixture = ReleaseEvent- { evReleaseEventAction = ReleasePublishedAction- , evReleaseEventPayload =- HookRelease- { whReleaseUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/releases/1261438"- , whReleaseAssetsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/releases/1261438/assets"- , whReleaseUploadUrl = URL "https://uploads.github.com/repos/baxterthehacker/public-repo/releases/1261438/assets{?name}"- , whReleaseHtmlUrl = URL "https://github.com/baxterthehacker/public-repo/releases/tag/0.0.1"- , whReleaseId = 1261438- , whReleaseNodeId = "MDg6Q2hlY2tSdW4xMjg2MjAyMjg="- , whReleaseTagName = "0.0.1"- , whReleaseTargetCommitish = "master"- , whReleaseName = Nothing- , whReleaseIsDraft = False- , whReleaseAuthor =- HookUser- { whUserLogin = "baxterthehacker"- , whUserId = 6752317- , whUserNodeId = "MDg6Q2hlY2tSdW4xMjg2MjAyMjg="- , whUserAvatarUrl = URL "https://avatars.githubusercontent.com/u/6752317?v=3"- , whUserGravatarId = URL ""- , whUserUrl = URL "https://api.github.com/users/baxterthehacker"- , whUserHtmlUrl = URL "https://github.com/baxterthehacker"- , whUserFollowersUrl = URL "https://api.github.com/users/baxterthehacker/followers"- , whUserFollowingUrl = URL "https://api.github.com/users/baxterthehacker/following{/other_user}"- , whUserGistsUrl = URL "https://api.github.com/users/baxterthehacker/gists{/gist_id}"- , whUserStarredUrl = URL "https://api.github.com/users/baxterthehacker/starred{/owner}{/repo}"- , whUserSubscriptionsUrl = URL "https://api.github.com/users/baxterthehacker/subscriptions"- , whUserOrganizationsUrl = URL "https://api.github.com/users/baxterthehacker/orgs"- , whUserReposUrl = URL "https://api.github.com/users/baxterthehacker/repos"- , whUserEventsUrl = URL "https://api.github.com/users/baxterthehacker/events{/privacy}"- , whUserReceivedEventsUrl = URL "https://api.github.com/users/baxterthehacker/received_events"- , whUserType = OwnerUser- , whUserIsAdminOfSite = False- }- , whReleaseIsPreRelease = False- , whReleaseCreatedAt = read "2015-05-05 23:40:12Z"- , whReleasePublishedAt = Just $ read "2015-05-05 23:40:38Z"- , whReleaseTarballUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/tarball/0.0.1"- , whReleaseZipballUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/zipball/0.0.1"- , whReleaseBody = Nothing- }- , evReleaseEventRepo =- HookRepository- { whRepoId = 35129377- , whRepoNodeId = "MDg6Q2hlY2tSdW4xMjg2MjAyMjg="- , whRepoName = "public-repo"- , whRepoFullName = "baxterthehacker/public-repo"- , whRepoOwner =- Right HookUser- { whUserLogin = "baxterthehacker"- , whUserId = 6752317- , whUserNodeId = "MDg6Q2hlY2tSdW4xMjg2MjAyMjg="- , whUserAvatarUrl = URL "https://avatars.githubusercontent.com/u/6752317?v=3"- , whUserGravatarId = URL ""- , whUserUrl = URL "https://api.github.com/users/baxterthehacker"- , whUserHtmlUrl = URL "https://github.com/baxterthehacker"- , whUserFollowersUrl = URL "https://api.github.com/users/baxterthehacker/followers"- , whUserFollowingUrl = URL "https://api.github.com/users/baxterthehacker/following{/other_user}"- , whUserGistsUrl = URL "https://api.github.com/users/baxterthehacker/gists{/gist_id}"- , whUserStarredUrl = URL "https://api.github.com/users/baxterthehacker/starred{/owner}{/repo}"- , whUserSubscriptionsUrl = URL "https://api.github.com/users/baxterthehacker/subscriptions"- , whUserOrganizationsUrl = URL "https://api.github.com/users/baxterthehacker/orgs"- , whUserReposUrl = URL "https://api.github.com/users/baxterthehacker/repos"- , whUserEventsUrl = URL "https://api.github.com/users/baxterthehacker/events{/privacy}"- , whUserReceivedEventsUrl = URL "https://api.github.com/users/baxterthehacker/received_events"- , whUserType = OwnerUser- , whUserIsAdminOfSite = False- }- , whRepoIsPrivate = False- , whRepoHtmlUrl = URL "https://github.com/baxterthehacker/public-repo"- , whRepoDescription = ""- , whRepoIsAFork = False- , whRepoUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo"- , whRepoForksUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/forks"- , whRepoKeysUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/keys{/key_id}"- , whRepoCollaboratorsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/collaborators{/collaborator}"- , whRepoTeamsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/teams"- , whRepoHooksUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/hooks"- , whRepoIssueEventsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/issues/events{/number}"- , whRepoEventsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/events"- , whRepoAssigneesUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/assignees{/user}"- , whRepoBranchesUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/branches{/branch}"- , whRepoTagsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/tags"- , whRepoBlobsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/git/blobs{/sha}"- , whRepoGitTagsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/git/tags{/sha}"- , whRepoGitRefsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/git/refs{/sha}"- , whRepoTreesUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/git/trees{/sha}"- , whRepoStatusesUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/statuses/{sha}"- , whRepoLanguagesUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/languages"- , whRepoStargazersUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/stargazers"- , whRepoContributorsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/contributors"- , whRepoSubscribersUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/subscribers"- , whRepoSubscriptionUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/subscription"- , whRepoCommitsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/commits{/sha}"- , whRepoGitCommitsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/git/commits{/sha}"- , whRepoCommentsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/comments{/number}"- , whRepoIssueCommentsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/issues/comments{/number}"- , whRepoContentsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/contents/{+path}"- , whRepoCompareUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/compare/{base}...{head}"- , whRepoMergesUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/merges"- , whRepoArchiveUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/{archive_format}{/ref}"- , whRepoDownloadsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/downloads"- , whRepoIssuesUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/issues{/number}"- , whRepoPullsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/pulls{/number}"- , whRepoMilestonesUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/milestones{/number}"- , whRepoNotificationsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/notifications{?since,all,participating}"- , whRepoLabelsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/labels{/name}"- , whRepoReleasesUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/releases{/id}"- , whRepoCreatedAt = read "2015-05-05 23:40:12Z"- , whRepoUpdatedAt = read "2015-05-05 23:40:30Z"- , whRepoPushedAt = read "2015-05-05 23:40:38Z"- , whRepoGitUrl = URL "git://github.com/baxterthehacker/public-repo.git"- , whRepoSshUrl = URL "git@github.com:baxterthehacker/public-repo.git"- , whRepoCloneUrl = URL "https://github.com/baxterthehacker/public-repo.git"- , whRepoSvnUrl = URL "https://github.com/baxterthehacker/public-repo"- , whRepoHomepage = Nothing- , whRepoSize = 0- , whRepoStargazersCount = 0- , whRepoWatchersCount = 0- , whRepoLanguage = Nothing- , whRepoHasIssues = True- , whRepoHasDownloads = True- , whRepoHasWiki = True- , whRepoHasPages = True- , whRepoForkCount = 0- , whRepoMirrorUrl = Nothing- , whRepoOpenIssuesCount = 2- , whRepoDefaultBranchName = "master"- }- , evReleaseEventSender =- HookUser- { whUserLogin = "baxterthehacker"- , whUserId = 6752317- , whUserNodeId = "MDg6Q2hlY2tSdW4xMjg2MjAyMjg="- , whUserAvatarUrl = URL "https://avatars.githubusercontent.com/u/6752317?v=3"- , whUserGravatarId = URL ""- , whUserUrl = URL "https://api.github.com/users/baxterthehacker"- , whUserHtmlUrl = URL "https://github.com/baxterthehacker"- , whUserFollowersUrl = URL "https://api.github.com/users/baxterthehacker/followers"- , whUserFollowingUrl = URL "https://api.github.com/users/baxterthehacker/following{/other_user}"- , whUserGistsUrl = URL "https://api.github.com/users/baxterthehacker/gists{/gist_id}"- , whUserStarredUrl = URL "https://api.github.com/users/baxterthehacker/starred{/owner}{/repo}"- , whUserSubscriptionsUrl = URL "https://api.github.com/users/baxterthehacker/subscriptions"- , whUserOrganizationsUrl = URL "https://api.github.com/users/baxterthehacker/orgs"- , whUserReposUrl = URL "https://api.github.com/users/baxterthehacker/repos"- , whUserEventsUrl = URL "https://api.github.com/users/baxterthehacker/events{/privacy}"- , whUserReceivedEventsUrl = URL "https://api.github.com/users/baxterthehacker/received_events"- , whUserType = OwnerUser- , whUserIsAdminOfSite = False- }- }--repositoryEventFixture :: RepositoryEvent-repositoryEventFixture = RepositoryEvent- { evRepositoryAction = RepositoryCreatedAction- , evRepositoryTarget =- HookRepository- { whRepoId = 27496774- , whRepoNodeId = "MDg6Q2hlY2tSdW4xMjg2MjAyMjg="- , whRepoName = "new-repository"- , whRepoFullName = "baxterandthehackers/new-repository"- , whRepoOwner =- Right HookUser- { whUserLogin = "baxterandthehackers"- , whUserId = 7649605- , whUserNodeId = "MDg6Q2hlY2tSdW4xMjg2MjAyMjg="- , whUserAvatarUrl = URL "https://avatars.githubusercontent.com/u/7649605?v=3"- , whUserGravatarId = URL ""- , whUserUrl = URL "https://api.github.com/users/baxterandthehackers"- , whUserHtmlUrl = URL "https://github.com/baxterandthehackers"- , whUserFollowersUrl = URL "https://api.github.com/users/baxterandthehackers/followers"- , whUserFollowingUrl = URL "https://api.github.com/users/baxterandthehackers/following{/other_user}"- , whUserGistsUrl = URL "https://api.github.com/users/baxterandthehackers/gists{/gist_id}"- , whUserStarredUrl = URL "https://api.github.com/users/baxterandthehackers/starred{/owner}{/repo}"- , whUserSubscriptionsUrl = URL "https://api.github.com/users/baxterandthehackers/subscriptions"- , whUserOrganizationsUrl = URL "https://api.github.com/users/baxterandthehackers/orgs"- , whUserReposUrl = URL "https://api.github.com/users/baxterandthehackers/repos"- , whUserEventsUrl = URL "https://api.github.com/users/baxterandthehackers/events{/privacy}"- , whUserReceivedEventsUrl = URL "https://api.github.com/users/baxterandthehackers/received_events"- , whUserType = OwnerOrganization- , whUserIsAdminOfSite = False- }- , whRepoIsPrivate = True- , whRepoHtmlUrl = URL "https://github.com/baxterandthehackers/new-repository"- , whRepoDescription = ""- , whRepoIsAFork = False- , whRepoUrl = URL "https://api.github.com/repos/baxterandthehackers/new-repository"- , whRepoForksUrl = URL "https://api.github.com/repos/baxterandthehackers/new-repository/forks"- , whRepoKeysUrl = URL "https://api.github.com/repos/baxterandthehackers/new-repository/keys{/key_id}"- , whRepoCollaboratorsUrl = URL "https://api.github.com/repos/baxterandthehackers/new-repository/collaborators{/collaborator}"- , whRepoTeamsUrl = URL "https://api.github.com/repos/baxterandthehackers/new-repository/teams"- , whRepoHooksUrl = URL "https://api.github.com/repos/baxterandthehackers/new-repository/hooks"- , whRepoIssueEventsUrl = URL "https://api.github.com/repos/baxterandthehackers/new-repository/issues/events{/number}"- , whRepoEventsUrl = URL "https://api.github.com/repos/baxterandthehackers/new-repository/events"- , whRepoAssigneesUrl = URL "https://api.github.com/repos/baxterandthehackers/new-repository/assignees{/user}"- , whRepoBranchesUrl = URL "https://api.github.com/repos/baxterandthehackers/new-repository/branches{/branch}"- , whRepoTagsUrl = URL "https://api.github.com/repos/baxterandthehackers/new-repository/tags"- , whRepoBlobsUrl = URL "https://api.github.com/repos/baxterandthehackers/new-repository/git/blobs{/sha}"- , whRepoGitTagsUrl = URL "https://api.github.com/repos/baxterandthehackers/new-repository/git/tags{/sha}"- , whRepoGitRefsUrl = URL "https://api.github.com/repos/baxterandthehackers/new-repository/git/refs{/sha}"- , whRepoTreesUrl = URL "https://api.github.com/repos/baxterandthehackers/new-repository/git/trees{/sha}"- , whRepoStatusesUrl = URL "https://api.github.com/repos/baxterandthehackers/new-repository/statuses/{sha}"- , whRepoLanguagesUrl = URL "https://api.github.com/repos/baxterandthehackers/new-repository/languages"- , whRepoStargazersUrl = URL "https://api.github.com/repos/baxterandthehackers/new-repository/stargazers"- , whRepoContributorsUrl = URL "https://api.github.com/repos/baxterandthehackers/new-repository/contributors"- , whRepoSubscribersUrl = URL "https://api.github.com/repos/baxterandthehackers/new-repository/subscribers"- , whRepoSubscriptionUrl = URL "https://api.github.com/repos/baxterandthehackers/new-repository/subscription"- , whRepoCommitsUrl = URL "https://api.github.com/repos/baxterandthehackers/new-repository/commits{/sha}"- , whRepoGitCommitsUrl = URL "https://api.github.com/repos/baxterandthehackers/new-repository/git/commits{/sha}"- , whRepoCommentsUrl = URL "https://api.github.com/repos/baxterandthehackers/new-repository/comments{/number}"- , whRepoIssueCommentsUrl = URL "https://api.github.com/repos/baxterandthehackers/new-repository/issues/comments/{number}"- , whRepoContentsUrl = URL "https://api.github.com/repos/baxterandthehackers/new-repository/contents/{+path}"- , whRepoCompareUrl = URL "https://api.github.com/repos/baxterandthehackers/new-repository/compare/{base}...{head}"- , whRepoMergesUrl = URL "https://api.github.com/repos/baxterandthehackers/new-repository/merges"- , whRepoArchiveUrl = URL "https://api.github.com/repos/baxterandthehackers/new-repository/{archive_format}{/ref}"- , whRepoDownloadsUrl = URL "https://api.github.com/repos/baxterandthehackers/new-repository/downloads"- , whRepoIssuesUrl = URL "https://api.github.com/repos/baxterandthehackers/new-repository/issues{/number}"- , whRepoPullsUrl = URL "https://api.github.com/repos/baxterandthehackers/new-repository/pulls{/number}"- , whRepoMilestonesUrl = URL "https://api.github.com/repos/baxterandthehackers/new-repository/milestones{/number}"- , whRepoNotificationsUrl =- URL "https://api.github.com/repos/baxterandthehackers/new-repository/notifications{?since,all,participating}"- , whRepoLabelsUrl = URL "https://api.github.com/repos/baxterandthehackers/new-repository/labels{/name}"- , whRepoReleasesUrl = URL "https://api.github.com/repos/baxterandthehackers/new-repository/releases{/id}"- , whRepoCreatedAt = read "2014-12-03 16:39:25Z"- , whRepoUpdatedAt = read "2014-12-03 16:39:25Z"- , whRepoPushedAt = read "2014-12-03 16:39:25Z"- , whRepoGitUrl = URL "git://github.com/baxterandthehackers/new-repository.git"- , whRepoSshUrl = URL "git@github.com:baxterandthehackers/new-repository.git"- , whRepoCloneUrl = URL "https://github.com/baxterandthehackers/new-repository.git"- , whRepoSvnUrl = URL "https://github.com/baxterandthehackers/new-repository"- , whRepoHomepage = Nothing- , whRepoSize = 0- , whRepoStargazersCount = 0- , whRepoWatchersCount = 0- , whRepoLanguage = Nothing- , whRepoHasIssues = True- , whRepoHasDownloads = True- , whRepoHasWiki = True- , whRepoHasPages = False- , whRepoForkCount = 0- , whRepoMirrorUrl = Nothing- , whRepoOpenIssuesCount = 0- , whRepoDefaultBranchName = "master"- }- , evRepositoryOrg =- Just- HookOrganization- { whOrgLogin = "baxterandthehackers"- , whOrgId = 7649605- , whOrgNodeId = "MDg6Q2hlY2tSdW4xMjg2MjAyMjg="- , whOrgUrl = URL "https://api.github.com/orgs/baxterandthehackers"- , whOrgReposUrl = URL "https://api.github.com/orgs/baxterandthehackers/repos"- , whOrgEventsUrl = URL "https://api.github.com/orgs/baxterandthehackers/events"- , whOrgHooksUrl = Nothing- , whOrgIssuesUrl = Nothing- , whOrgMembersUrl = URL "https://api.github.com/orgs/baxterandthehackers/members{/member}"- , whOrgPublicMembersUrl = URL "https://api.github.com/orgs/baxterandthehackers/public_members{/member}"- , whOrgAvatarUrl = URL "https://avatars.githubusercontent.com/u/7649605?v=2"- , whOrgDescription = T.empty- }- , evRepositorySender =- HookUser- { whUserLogin = "baxterthehacker"- , whUserId = 6752317- , whUserNodeId = "MDg6Q2hlY2tSdW4xMjg2MjAyMjg="- , whUserAvatarUrl = URL "https://avatars.githubusercontent.com/u/6752317?v=2"- , whUserGravatarId = URL ""- , whUserUrl = URL "https://api.github.com/users/baxterthehacker"- , whUserHtmlUrl = URL "https://github.com/baxterthehacker"- , whUserFollowersUrl = URL "https://api.github.com/users/baxterthehacker/followers"- , whUserFollowingUrl = URL "https://api.github.com/users/baxterthehacker/following{/other_user}"- , whUserGistsUrl = URL "https://api.github.com/users/baxterthehacker/gists{/gist_id}"- , whUserStarredUrl = URL "https://api.github.com/users/baxterthehacker/starred{/owner}{/repo}"- , whUserSubscriptionsUrl = URL "https://api.github.com/users/baxterthehacker/subscriptions"- , whUserOrganizationsUrl = URL "https://api.github.com/users/baxterthehacker/orgs"- , whUserReposUrl = URL "https://api.github.com/users/baxterthehacker/repos"- , whUserEventsUrl = URL "https://api.github.com/users/baxterthehacker/events{/privacy}"- , whUserReceivedEventsUrl = URL "https://api.github.com/users/baxterthehacker/received_events"- , whUserType = OwnerUser- , whUserIsAdminOfSite = False- }- }--statusEventFixture :: StatusEvent-statusEventFixture = StatusEvent- { evStatusId = 214015194- , evStatusCommitSha = "9049f1265b7d61be4a8904a9a27120d2064dab3b"- , evStatusCommitName = "baxterthehacker/public-repo"- , evStatusTargetUrl = Nothing- , evStatusContext = "default"- , evStatusDescription = Nothing- , evStatusState = StatusSuccessState- , evStatusCommit =- HookCommit- { whCommitSha = "9049f1265b7d61be4a8904a9a27120d2064dab3b"- , whCommitUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/commits/9049f1265b7d61be4a8904a9a27120d2064dab3b"- , whCommitHtmlUrl = Just $ URL "https://github.com/baxterthehacker/public-repo/commit/9049f1265b7d61be4a8904a9a27120d2064dab3b"- , whCommitCommentsUrl =- Just $ URL "https://api.github.com/repos/baxterthehacker/public-repo/commits/9049f1265b7d61be4a8904a9a27120d2064dab3b/comments"- , whCommitAuthor =- Right HookUser- { whUserLogin = "baxterthehacker"- , whUserId = 6752317- , whUserNodeId = "MDg6Q2hlY2tSdW4xMjg2MjAyMjg="- , whUserAvatarUrl = URL "https://avatars.githubusercontent.com/u/6752317?v=3"- , whUserGravatarId = URL ""- , whUserUrl = URL "https://api.github.com/users/baxterthehacker"- , whUserHtmlUrl = URL "https://github.com/baxterthehacker"- , whUserFollowersUrl = URL "https://api.github.com/users/baxterthehacker/followers"- , whUserFollowingUrl = URL "https://api.github.com/users/baxterthehacker/following{/other_user}"- , whUserGistsUrl = URL "https://api.github.com/users/baxterthehacker/gists{/gist_id}"- , whUserStarredUrl = URL "https://api.github.com/users/baxterthehacker/starred{/owner}{/repo}"- , whUserSubscriptionsUrl = URL "https://api.github.com/users/baxterthehacker/subscriptions"- , whUserOrganizationsUrl = URL "https://api.github.com/users/baxterthehacker/orgs"- , whUserReposUrl = URL "https://api.github.com/users/baxterthehacker/repos"- , whUserEventsUrl = URL "https://api.github.com/users/baxterthehacker/events{/privacy}"- , whUserReceivedEventsUrl = URL "https://api.github.com/users/baxterthehacker/received_events"- , whUserType = OwnerUser- , whUserIsAdminOfSite = False- }- , whCommitCommitter =- Right HookUser- { whUserLogin = "baxterthehacker"- , whUserId = 6752317- , whUserNodeId = "MDg6Q2hlY2tSdW4xMjg2MjAyMjg="- , whUserAvatarUrl = URL "https://avatars.githubusercontent.com/u/6752317?v=3"- , whUserGravatarId = URL ""- , whUserUrl = URL "https://api.github.com/users/baxterthehacker"- , whUserHtmlUrl = URL "https://github.com/baxterthehacker"- , whUserFollowersUrl = URL "https://api.github.com/users/baxterthehacker/followers"- , whUserFollowingUrl = URL "https://api.github.com/users/baxterthehacker/following{/other_user}"- , whUserGistsUrl = URL "https://api.github.com/users/baxterthehacker/gists{/gist_id}"- , whUserStarredUrl = URL "https://api.github.com/users/baxterthehacker/starred{/owner}{/repo}"- , whUserSubscriptionsUrl = URL "https://api.github.com/users/baxterthehacker/subscriptions"- , whUserOrganizationsUrl = URL "https://api.github.com/users/baxterthehacker/orgs"- , whUserReposUrl = URL "https://api.github.com/users/baxterthehacker/repos"- , whUserEventsUrl = URL "https://api.github.com/users/baxterthehacker/events{/privacy}"- , whUserReceivedEventsUrl = URL "https://api.github.com/users/baxterthehacker/received_events"- , whUserType = OwnerUser- , whUserIsAdminOfSite = False- }- }- , evStatusCreatedAt = read "2015-05-05 23:40:39Z"- , evStatusUpdatedAt = read "2015-05-05 23:40:39Z"- , evStatusRepo =- HookRepository- { whRepoId = 35129377- , whRepoNodeId = "MDg6Q2hlY2tSdW4xMjg2MjAyMjg="- , whRepoName = "public-repo"- , whRepoFullName = "baxterthehacker/public-repo"- , whRepoOwner =- Right HookUser- { whUserLogin = "baxterthehacker"- , whUserId = 6752317- , whUserNodeId = "MDg6Q2hlY2tSdW4xMjg2MjAyMjg="- , whUserAvatarUrl = URL "https://avatars.githubusercontent.com/u/6752317?v=3"- , whUserGravatarId = URL ""- , whUserUrl = URL "https://api.github.com/users/baxterthehacker"- , whUserHtmlUrl = URL "https://github.com/baxterthehacker"- , whUserFollowersUrl = URL "https://api.github.com/users/baxterthehacker/followers"- , whUserFollowingUrl = URL "https://api.github.com/users/baxterthehacker/following{/other_user}"- , whUserGistsUrl = URL "https://api.github.com/users/baxterthehacker/gists{/gist_id}"- , whUserStarredUrl = URL "https://api.github.com/users/baxterthehacker/starred{/owner}{/repo}"- , whUserSubscriptionsUrl = URL "https://api.github.com/users/baxterthehacker/subscriptions"- , whUserOrganizationsUrl = URL "https://api.github.com/users/baxterthehacker/orgs"- , whUserReposUrl = URL "https://api.github.com/users/baxterthehacker/repos"- , whUserEventsUrl = URL "https://api.github.com/users/baxterthehacker/events{/privacy}"- , whUserReceivedEventsUrl = URL "https://api.github.com/users/baxterthehacker/received_events"- , whUserType = OwnerUser- , whUserIsAdminOfSite = False- }- , whRepoIsPrivate = False- , whRepoHtmlUrl = URL "https://github.com/baxterthehacker/public-repo"- , whRepoDescription = ""- , whRepoIsAFork = False- , whRepoUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo"- , whRepoForksUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/forks"- , whRepoKeysUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/keys{/key_id}"- , whRepoCollaboratorsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/collaborators{/collaborator}"- , whRepoTeamsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/teams"- , whRepoHooksUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/hooks"- , whRepoIssueEventsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/issues/events{/number}"- , whRepoEventsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/events"- , whRepoAssigneesUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/assignees{/user}"- , whRepoBranchesUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/branches{/branch}"- , whRepoTagsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/tags"- , whRepoBlobsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/git/blobs{/sha}"- , whRepoGitTagsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/git/tags{/sha}"- , whRepoGitRefsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/git/refs{/sha}"- , whRepoTreesUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/git/trees{/sha}"- , whRepoStatusesUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/statuses/{sha}"- , whRepoLanguagesUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/languages"- , whRepoStargazersUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/stargazers"- , whRepoContributorsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/contributors"- , whRepoSubscribersUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/subscribers"- , whRepoSubscriptionUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/subscription"- , whRepoCommitsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/commits{/sha}"- , whRepoGitCommitsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/git/commits{/sha}"- , whRepoCommentsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/comments{/number}"- , whRepoIssueCommentsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/issues/comments{/number}"- , whRepoContentsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/contents/{+path}"- , whRepoCompareUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/compare/{base}...{head}"- , whRepoMergesUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/merges"- , whRepoArchiveUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/{archive_format}{/ref}"- , whRepoDownloadsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/downloads"- , whRepoIssuesUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/issues{/number}"- , whRepoPullsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/pulls{/number}"- , whRepoMilestonesUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/milestones{/number}"- , whRepoNotificationsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/notifications{?since,all,participating}"- , whRepoLabelsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/labels{/name}"- , whRepoReleasesUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/releases{/id}"- , whRepoCreatedAt = read "2015-05-05 23:40:12Z"- , whRepoUpdatedAt = read "2015-05-05 23:40:30Z"- , whRepoPushedAt = read "2015-05-05 23:40:39Z"- , whRepoGitUrl = URL "git://github.com/baxterthehacker/public-repo.git"- , whRepoSshUrl = URL "git@github.com:baxterthehacker/public-repo.git"- , whRepoCloneUrl = URL "https://github.com/baxterthehacker/public-repo.git"- , whRepoSvnUrl = URL "https://github.com/baxterthehacker/public-repo"- , whRepoHomepage = Nothing- , whRepoSize = 0- , whRepoStargazersCount = 0- , whRepoWatchersCount = 0- , whRepoLanguage = Nothing- , whRepoHasIssues = True- , whRepoHasDownloads = True- , whRepoHasWiki = True- , whRepoHasPages = True- , whRepoForkCount = 0- , whRepoMirrorUrl = Nothing- , whRepoOpenIssuesCount = 2- , whRepoDefaultBranchName = "master"- }- , evStatusSender =- HookUser- { whUserLogin = "baxterthehacker"- , whUserId = 6752317- , whUserNodeId = "MDg6Q2hlY2tSdW4xMjg2MjAyMjg="- , whUserAvatarUrl = URL "https://avatars.githubusercontent.com/u/6752317?v=3"- , whUserGravatarId = URL ""- , whUserUrl = URL "https://api.github.com/users/baxterthehacker"- , whUserHtmlUrl = URL "https://github.com/baxterthehacker"- , whUserFollowersUrl = URL "https://api.github.com/users/baxterthehacker/followers"- , whUserFollowingUrl = URL "https://api.github.com/users/baxterthehacker/following{/other_user}"- , whUserGistsUrl = URL "https://api.github.com/users/baxterthehacker/gists{/gist_id}"- , whUserStarredUrl = URL "https://api.github.com/users/baxterthehacker/starred{/owner}{/repo}"- , whUserSubscriptionsUrl = URL "https://api.github.com/users/baxterthehacker/subscriptions"- , whUserOrganizationsUrl = URL "https://api.github.com/users/baxterthehacker/orgs"- , whUserReposUrl = URL "https://api.github.com/users/baxterthehacker/repos"- , whUserEventsUrl = URL "https://api.github.com/users/baxterthehacker/events{/privacy}"- , whUserReceivedEventsUrl = URL "https://api.github.com/users/baxterthehacker/received_events"- , whUserType = OwnerUser- , whUserIsAdminOfSite = False- }- }--teamAddEventFixture :: TeamAddEvent-teamAddEventFixture = TeamAddEvent- { evTeamAddTarget =- Just- HookTeam- { whTeamName = "github"- , whTeamId = 836012- , whTeamNodeId = "MDg6Q2hlY2tSdW4xMjg2MjAyMjg="- , whTeamSlug = "github"- , whTeamPermission = "pull"- , whTeamUrl = URL "https://api.github.com/teams/836012"- , whTeamMembersUrl = URL "https://api.github.com/teams/836012/members{/member}"- , whTeamRepositoriesUrl = URL "https://api.github.com/teams/836012/repos"- }- , evTeamAddRepo =- HookRepository- { whRepoId = 35129393- , whRepoNodeId = "MDg6Q2hlY2tSdW4xMjg2MjAyMjg="- , whRepoName = "public-repo"- , whRepoFullName = "baxterandthehackers/public-repo"- , whRepoOwner =- Right HookUser- { whUserLogin = "baxterandthehackers"- , whUserId = 7649605- , whUserNodeId = "MDg6Q2hlY2tSdW4xMjg2MjAyMjg="- , whUserAvatarUrl = URL "https://avatars.githubusercontent.com/u/7649605?v=3"- , whUserGravatarId = URL ""- , whUserUrl = URL "https://api.github.com/users/baxterandthehackers"- , whUserHtmlUrl = URL "https://github.com/baxterandthehackers"- , whUserFollowersUrl = URL "https://api.github.com/users/baxterandthehackers/followers"- , whUserFollowingUrl = URL "https://api.github.com/users/baxterandthehackers/following{/other_user}"- , whUserGistsUrl = URL "https://api.github.com/users/baxterandthehackers/gists{/gist_id}"- , whUserStarredUrl = URL "https://api.github.com/users/baxterandthehackers/starred{/owner}{/repo}"- , whUserSubscriptionsUrl = URL "https://api.github.com/users/baxterandthehackers/subscriptions"- , whUserOrganizationsUrl = URL "https://api.github.com/users/baxterandthehackers/orgs"- , whUserReposUrl = URL "https://api.github.com/users/baxterandthehackers/repos"- , whUserEventsUrl = URL "https://api.github.com/users/baxterandthehackers/events{/privacy}"- , whUserReceivedEventsUrl = URL "https://api.github.com/users/baxterandthehackers/received_events"- , whUserType = OwnerOrganization- , whUserIsAdminOfSite = False- }- , whRepoIsPrivate = False- , whRepoHtmlUrl = URL "https://github.com/baxterandthehackers/public-repo"- , whRepoDescription = ""- , whRepoIsAFork = True- , whRepoUrl = URL "https://api.github.com/repos/baxterandthehackers/public-repo"- , whRepoForksUrl = URL "https://api.github.com/repos/baxterandthehackers/public-repo/forks"- , whRepoKeysUrl = URL "https://api.github.com/repos/baxterandthehackers/public-repo/keys{/key_id}"- , whRepoCollaboratorsUrl = URL "https://api.github.com/repos/baxterandthehackers/public-repo/collaborators{/collaborator}"- , whRepoTeamsUrl = URL "https://api.github.com/repos/baxterandthehackers/public-repo/teams"- , whRepoHooksUrl = URL "https://api.github.com/repos/baxterandthehackers/public-repo/hooks"- , whRepoIssueEventsUrl = URL "https://api.github.com/repos/baxterandthehackers/public-repo/issues/events{/number}"- , whRepoEventsUrl = URL "https://api.github.com/repos/baxterandthehackers/public-repo/events"- , whRepoAssigneesUrl = URL "https://api.github.com/repos/baxterandthehackers/public-repo/assignees{/user}"- , whRepoBranchesUrl = URL "https://api.github.com/repos/baxterandthehackers/public-repo/branches{/branch}"- , whRepoTagsUrl = URL "https://api.github.com/repos/baxterandthehackers/public-repo/tags"- , whRepoBlobsUrl = URL "https://api.github.com/repos/baxterandthehackers/public-repo/git/blobs{/sha}"- , whRepoGitTagsUrl = URL "https://api.github.com/repos/baxterandthehackers/public-repo/git/tags{/sha}"- , whRepoGitRefsUrl = URL "https://api.github.com/repos/baxterandthehackers/public-repo/git/refs{/sha}"- , whRepoTreesUrl = URL "https://api.github.com/repos/baxterandthehackers/public-repo/git/trees{/sha}"- , whRepoStatusesUrl = URL "https://api.github.com/repos/baxterandthehackers/public-repo/statuses/{sha}"- , whRepoLanguagesUrl = URL "https://api.github.com/repos/baxterandthehackers/public-repo/languages"- , whRepoStargazersUrl = URL "https://api.github.com/repos/baxterandthehackers/public-repo/stargazers"- , whRepoContributorsUrl = URL "https://api.github.com/repos/baxterandthehackers/public-repo/contributors"- , whRepoSubscribersUrl = URL "https://api.github.com/repos/baxterandthehackers/public-repo/subscribers"- , whRepoSubscriptionUrl = URL "https://api.github.com/repos/baxterandthehackers/public-repo/subscription"- , whRepoCommitsUrl = URL "https://api.github.com/repos/baxterandthehackers/public-repo/commits{/sha}"- , whRepoGitCommitsUrl = URL "https://api.github.com/repos/baxterandthehackers/public-repo/git/commits{/sha}"- , whRepoCommentsUrl = URL "https://api.github.com/repos/baxterandthehackers/public-repo/comments{/number}"- , whRepoIssueCommentsUrl = URL "https://api.github.com/repos/baxterandthehackers/public-repo/issues/comments{/number}"- , whRepoContentsUrl = URL "https://api.github.com/repos/baxterandthehackers/public-repo/contents/{+path}"- , whRepoCompareUrl = URL "https://api.github.com/repos/baxterandthehackers/public-repo/compare/{base}...{head}"- , whRepoMergesUrl = URL "https://api.github.com/repos/baxterandthehackers/public-repo/merges"- , whRepoArchiveUrl = URL "https://api.github.com/repos/baxterandthehackers/public-repo/{archive_format}{/ref}"- , whRepoDownloadsUrl = URL "https://api.github.com/repos/baxterandthehackers/public-repo/downloads"- , whRepoIssuesUrl = URL "https://api.github.com/repos/baxterandthehackers/public-repo/issues{/number}"- , whRepoPullsUrl = URL "https://api.github.com/repos/baxterandthehackers/public-repo/pulls{/number}"- , whRepoMilestonesUrl = URL "https://api.github.com/repos/baxterandthehackers/public-repo/milestones{/number}"- , whRepoNotificationsUrl = URL "https://api.github.com/repos/baxterandthehackers/public-repo/notifications{?since,all,participating}"- , whRepoLabelsUrl = URL "https://api.github.com/repos/baxterandthehackers/public-repo/labels{/name}"- , whRepoReleasesUrl = URL "https://api.github.com/repos/baxterandthehackers/public-repo/releases{/id}"- , whRepoCreatedAt = read "2015-05-05 23:40:30Z"- , whRepoUpdatedAt = read "2015-05-05 23:40:30Z"- , whRepoPushedAt = read "2015-05-05 23:40:27Z"- , whRepoGitUrl = URL "git://github.com/baxterandthehackers/public-repo.git"- , whRepoSshUrl = URL "git@github.com:baxterandthehackers/public-repo.git"- , whRepoCloneUrl = URL "https://github.com/baxterandthehackers/public-repo.git"- , whRepoSvnUrl = URL "https://github.com/baxterandthehackers/public-repo"- , whRepoHomepage = Nothing- , whRepoSize = 0- , whRepoStargazersCount = 0- , whRepoWatchersCount = 0- , whRepoLanguage = Nothing- , whRepoHasIssues = False- , whRepoHasDownloads = True- , whRepoHasWiki = True- , whRepoHasPages = True- , whRepoForkCount = 0- , whRepoMirrorUrl = Nothing- , whRepoOpenIssuesCount = 0- , whRepoDefaultBranchName = "master"- }- , evTeamAddOrg =- HookOrganization- { whOrgLogin = "baxterandthehackers"- , whOrgId = 7649605- , whOrgNodeId = "MDg6Q2hlY2tSdW4xMjg2MjAyMjg="- , whOrgUrl = URL "https://api.github.com/orgs/baxterandthehackers"- , whOrgReposUrl = URL "https://api.github.com/orgs/baxterandthehackers/repos"- , whOrgEventsUrl = URL "https://api.github.com/orgs/baxterandthehackers/events"- , whOrgHooksUrl = Nothing- , whOrgIssuesUrl = Nothing- , whOrgMembersUrl = URL "https://api.github.com/orgs/baxterandthehackers/members{/member}"- , whOrgPublicMembersUrl = URL "https://api.github.com/orgs/baxterandthehackers/public_members{/member}"- , whOrgAvatarUrl = URL "https://avatars.githubusercontent.com/u/7649605?v=3"- , whOrgDescription = T.empty- }- , evTeamAddSender =- HookUser- { whUserLogin = "baxterandthehackers"- , whUserId = 7649605- , whUserNodeId = "MDg6Q2hlY2tSdW4xMjg2MjAyMjg="- , whUserAvatarUrl = URL "https://avatars.githubusercontent.com/u/7649605?v=3"- , whUserGravatarId = URL ""- , whUserUrl = URL "https://api.github.com/users/baxterandthehackers"- , whUserHtmlUrl = URL "https://github.com/baxterandthehackers"- , whUserFollowersUrl = URL "https://api.github.com/users/baxterandthehackers/followers"- , whUserFollowingUrl = URL "https://api.github.com/users/baxterandthehackers/following{/other_user}"- , whUserGistsUrl = URL "https://api.github.com/users/baxterandthehackers/gists{/gist_id}"- , whUserStarredUrl = URL "https://api.github.com/users/baxterandthehackers/starred{/owner}{/repo}"- , whUserSubscriptionsUrl = URL "https://api.github.com/users/baxterandthehackers/subscriptions"- , whUserOrganizationsUrl = URL "https://api.github.com/users/baxterandthehackers/orgs"- , whUserReposUrl = URL "https://api.github.com/users/baxterandthehackers/repos"- , whUserEventsUrl = URL "https://api.github.com/users/baxterandthehackers/events{/privacy}"- , whUserReceivedEventsUrl = URL "https://api.github.com/users/baxterandthehackers/received_events"- , whUserType = OwnerOrganization- , whUserIsAdminOfSite = False- }- }--teamEventFixture :: TeamEvent-teamEventFixture = TeamEvent- { evTeamAction = TeamCreatedAction- , evTeamTarget =- HookTeam- { whTeamName = "team baxter"- , whTeamId = 2175394- , whTeamNodeId = "MDg6Q2hlY2tSdW4xMjg2MjAyMjg="- , whTeamSlug = "team-baxter"- , whTeamPermission = "pull"- , whTeamUrl = URL "https:/api.github.com/teams/2175394"- , whTeamMembersUrl = URL "https:/api.github.com/teams/2175394/members{/member}"- , whTeamRepositoriesUrl = URL "https:/api.github.com/teams/2175394/repos"- }- , evTeamOrganization =- HookOrganization- { whOrgLogin = "baxterandthehackers"- , whOrgId = 4312013- , whOrgNodeId = "MDg6Q2hlY2tSdW4xMjg2MjAyMjg="- , whOrgUrl = URL "https://api.github.com/orgs/baxterandthehackers"- , whOrgReposUrl = URL "https://api.github.com/orgs/baxterandthehackers/repos"- , whOrgEventsUrl = URL "https://api.github.com/orgs/baxterandthehackers/events"- , whOrgHooksUrl = Just $ URL "https://api.github.com/orgs/baxterandthehackers/hooks"- , whOrgIssuesUrl = Just $ URL "https://api.github.com/orgs/baxterandthehackers/issues"- , whOrgMembersUrl = URL "https://api.github.com/orgs/baxterandthehackers/members{/member}"- , whOrgPublicMembersUrl = URL "https://api.github.com/orgs/baxterandthehackers/public_members{/member}"- , whOrgAvatarUrl = URL "https://avatars.githubusercontent.com/u/4312013?v=3"- , whOrgDescription = T.empty- }- , evTeamSender =- HookUser- { whUserLogin = "baxterthehacker"- , whUserId = 6752317- , whUserNodeId = "MDg6Q2hlY2tSdW4xMjg2MjAyMjg="- , whUserAvatarUrl = URL "https://avatars.githubusercontent.com/u/6752317?v=3"- , whUserGravatarId = URL ""- , whUserUrl = URL "https://api.github.com/users/baxterthehacker"- , whUserHtmlUrl = URL "https://github.com/baxterthehacker"- , whUserFollowersUrl = URL "https://api.github.com/users/baxterthehacker/followers"- , whUserFollowingUrl = URL "https://api.github.com/users/baxterthehacker/following{/other_user}"- , whUserGistsUrl = URL "https://api.github.com/users/baxterthehacker/gists{/gist_id}"- , whUserStarredUrl = URL "https://api.github.com/users/baxterthehacker/starred{/owner}{/repo}"- , whUserSubscriptionsUrl = URL "https://api.github.com/users/baxterthehacker/subscriptions"- , whUserOrganizationsUrl = URL "https://api.github.com/users/baxterthehacker/orgs"- , whUserReposUrl = URL "https://api.github.com/users/baxterthehacker/repos"- , whUserEventsUrl = URL "https://api.github.com/users/baxterthehacker/events{/privacy}"- , whUserReceivedEventsUrl = URL "https://api.github.com/users/baxterthehacker/received_events"- , whUserType = OwnerUser- , whUserIsAdminOfSite = False- }- }--watchEventFixture :: WatchEvent-watchEventFixture = WatchEvent- { evWatchAction = WatchStartedAction- , evWatchRepo =- HookRepository- { whRepoId = 35129377- , whRepoNodeId = "MDg6Q2hlY2tSdW4xMjg2MjAyMjg="- , whRepoName = "public-repo"- , whRepoFullName = "baxterthehacker/public-repo"- , whRepoOwner =- Right HookUser- { whUserLogin = "baxterthehacker"- , whUserId = 6752317- , whUserNodeId = "MDg6Q2hlY2tSdW4xMjg2MjAyMjg="- , whUserAvatarUrl = URL "https://avatars.githubusercontent.com/u/6752317?v=3"- , whUserGravatarId = URL ""- , whUserUrl = URL "https://api.github.com/users/baxterthehacker"- , whUserHtmlUrl = URL "https://github.com/baxterthehacker"- , whUserFollowersUrl = URL "https://api.github.com/users/baxterthehacker/followers"- , whUserFollowingUrl = URL "https://api.github.com/users/baxterthehacker/following{/other_user}"- , whUserGistsUrl = URL "https://api.github.com/users/baxterthehacker/gists{/gist_id}"- , whUserStarredUrl = URL "https://api.github.com/users/baxterthehacker/starred{/owner}{/repo}"- , whUserSubscriptionsUrl = URL "https://api.github.com/users/baxterthehacker/subscriptions"- , whUserOrganizationsUrl = URL "https://api.github.com/users/baxterthehacker/orgs"- , whUserReposUrl = URL "https://api.github.com/users/baxterthehacker/repos"- , whUserEventsUrl = URL "https://api.github.com/users/baxterthehacker/events{/privacy}"- , whUserReceivedEventsUrl = URL "https://api.github.com/users/baxterthehacker/received_events"- , whUserType = OwnerUser- , whUserIsAdminOfSite = False- }- , whRepoIsPrivate = False- , whRepoHtmlUrl = URL "https://github.com/baxterthehacker/public-repo"- , whRepoDescription = ""- , whRepoIsAFork = False- , whRepoUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo"- , whRepoForksUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/forks"- , whRepoKeysUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/keys{/key_id}"- , whRepoCollaboratorsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/collaborators{/collaborator}"- , whRepoTeamsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/teams"- , whRepoHooksUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/hooks"- , whRepoIssueEventsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/issues/events{/number}"- , whRepoEventsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/events"- , whRepoAssigneesUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/assignees{/user}"- , whRepoBranchesUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/branches{/branch}"- , whRepoTagsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/tags"- , whRepoBlobsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/git/blobs{/sha}"- , whRepoGitTagsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/git/tags{/sha}"- , whRepoGitRefsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/git/refs{/sha}"- , whRepoTreesUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/git/trees{/sha}"- , whRepoStatusesUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/statuses/{sha}"- , whRepoLanguagesUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/languages"- , whRepoStargazersUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/stargazers"- , whRepoContributorsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/contributors"- , whRepoSubscribersUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/subscribers"- , whRepoSubscriptionUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/subscription"- , whRepoCommitsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/commits{/sha}"- , whRepoGitCommitsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/git/commits{/sha}"- , whRepoCommentsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/comments{/number}"- , whRepoIssueCommentsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/issues/comments{/number}"- , whRepoContentsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/contents/{+path}"- , whRepoCompareUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/compare/{base}...{head}"- , whRepoMergesUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/merges"- , whRepoArchiveUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/{archive_format}{/ref}"- , whRepoDownloadsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/downloads"- , whRepoIssuesUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/issues{/number}"- , whRepoPullsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/pulls{/number}"- , whRepoMilestonesUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/milestones{/number}"- , whRepoNotificationsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/notifications{?since,all,participating}"- , whRepoLabelsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/labels{/name}"- , whRepoReleasesUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/releases{/id}"- , whRepoCreatedAt = read "2015-05-05 23:40:12Z"- , whRepoUpdatedAt = read "2015-05-05 23:40:30Z"- , whRepoPushedAt = read "2015-05-05 23:40:27Z"- , whRepoGitUrl = URL "git://github.com/baxterthehacker/public-repo.git"- , whRepoSshUrl = URL "git@github.com:baxterthehacker/public-repo.git"- , whRepoCloneUrl = URL "https://github.com/baxterthehacker/public-repo.git"- , whRepoSvnUrl = URL "https://github.com/baxterthehacker/public-repo"- , whRepoHomepage = Nothing- , whRepoSize = 0- , whRepoStargazersCount = 0- , whRepoWatchersCount = 0- , whRepoLanguage = Nothing- , whRepoHasIssues = True- , whRepoHasDownloads = True- , whRepoHasWiki = True- , whRepoHasPages = True- , whRepoForkCount = 0- , whRepoMirrorUrl = Nothing- , whRepoOpenIssuesCount = 2- , whRepoDefaultBranchName = "master"- }- , evWatchSender =- HookUser- { whUserLogin = "baxterthehacker"- , whUserId = 6752317- , whUserNodeId = "MDg6Q2hlY2tSdW4xMjg2MjAyMjg="- , whUserAvatarUrl = URL "https://avatars.githubusercontent.com/u/6752317?v=3"- , whUserGravatarId = URL ""- , whUserUrl = URL "https://api.github.com/users/baxterthehacker"- , whUserHtmlUrl = URL "https://github.com/baxterthehacker"- , whUserFollowersUrl = URL "https://api.github.com/users/baxterthehacker/followers"- , whUserFollowingUrl = URL "https://api.github.com/users/baxterthehacker/following{/other_user}"- , whUserGistsUrl = URL "https://api.github.com/users/baxterthehacker/gists{/gist_id}"- , whUserStarredUrl = URL "https://api.github.com/users/baxterthehacker/starred{/owner}{/repo}"- , whUserSubscriptionsUrl = URL "https://api.github.com/users/baxterthehacker/subscriptions"- , whUserOrganizationsUrl = URL "https://api.github.com/users/baxterthehacker/orgs"- , whUserReposUrl = URL "https://api.github.com/users/baxterthehacker/repos"- , whUserEventsUrl = URL "https://api.github.com/users/baxterthehacker/events{/privacy}"- , whUserReceivedEventsUrl = URL "https://api.github.com/users/baxterthehacker/received_events"- , whUserType = OwnerUser- , whUserIsAdminOfSite = False- }- }+-- | Smoke tests to make sure that the Aeson FromJSON instances work as expected. +module DecodeEventsSpec + ( spec + ) where + +import Test.Hspec +import Control.Monad ( void ) +import Data.Aeson ( FromJSON, eitherDecode' ) +import qualified Data.Text as T +import qualified Data.ByteString.Lazy as BSL +import qualified Data.Vector as V + +import GitHub.Data.Webhooks.Events +import GitHub.Data.Webhooks.Payload + + +-- Run GHCi: +-- $ stack install pretty-show +-- $ stack ghci --test pretty-show + +-- Paste: +{- +import Data.Aeson +import qualified Data.ByteString.Lazy as BSL +import GitHub.Data.Webhooks.Events +import Text.Show.Pretty +import Text.PrettyPrint.HughesPJ +-} + +-- Use: +-- do { x <- BSL.readFile "fixtures/watch-event.json"; +-- putStrLn $ renderStyle (style {lineLength=200}) . ppDoc $ either error id (eitherDecode' x :: Either String WatchEvent) } + +fixtureShouldMatch :: (FromJSON a, Show a, Eq a) => String -> a -> IO () +fixtureShouldMatch path expected = do + str <- BSL.readFile path + let output = eitherDecode' str + void $ output `shouldBe` Right expected + +spec :: Spec +spec = do + it "can decode CheckSuiteEvent" $ fixtureShouldMatch "fixtures/check-suite-event.json" checkSuiteEventFixture + it "can decode CheckRunEvent" $ fixtureShouldMatch "fixtures/check-run-event.json" checkRunEventFixture + it "can decode CommitCommentEvent" $ fixtureShouldMatch "fixtures/commit-comment-event.json" commitCommentEventFixture + it "can decode CreateEvent" $ fixtureShouldMatch "fixtures/create-event.json" createEventFixture + it "can decode DeleteEvent" $ fixtureShouldMatch "fixtures/delete-event.json" deleteEventFixture + it "can decode DeploymentEvent" $ fixtureShouldMatch "fixtures/deployment-event.json" deploymentEventFixture + it "can decode DeploymentStatusEvent" $ fixtureShouldMatch "fixtures/deployment-status-event.json" deploymentStatusEventFixture + it "can decode ForkEvent" $ fixtureShouldMatch "fixtures/fork-event.json" forkEventFixture + it "can decode GollumEvent" $ fixtureShouldMatch "fixtures/gollum-event.json" gollumEventFixture + it "can decode InstallationEvent" $ fixtureShouldMatch "fixtures/installation-event.json" installationEventFixture + it "can decode InstallationRepositoriesEvent" $ fixtureShouldMatch "fixtures/installation-repo-event.json" installationRepoEventFixture + it "can decode IssueCommentEvent" $ fixtureShouldMatch "fixtures/issue-comment-event.json" issueCommentEventFixture + it "can decode IssuesEvent" $ fixtureShouldMatch "fixtures/issues-event.json" issuesEventFixture + it "can decode LabelEvent" $ fixtureShouldMatch "fixtures/label-event.json" labelEventFixture + it "can decode MarketplacePurchaseEvent" $ fixtureShouldMatch "fixtures/marketplace-purchase-event.json" marketplacePurchaseEventFixture + it "can decode MemberEvent" $ fixtureShouldMatch "fixtures/member-event.json" memberEventFixture + it "can decode MembershipEvent" $ fixtureShouldMatch "fixtures/membership-event.json" membershipEventFixture + it "can decode MilestoneEvent" $ fixtureShouldMatch "fixtures/milestone-event.json" milestoneEventFixture + it "can decode OrgBlockEvent" $ fixtureShouldMatch "fixtures/org-block-event.json" orgBlockEventFixture + it "can decode OrganizationEvent" $ fixtureShouldMatch "fixtures/organization-event.json" organizationEventFixture + it "can decode PageBuildEvent" $ fixtureShouldMatch "fixtures/page-build-event.json" pageBuildEventFixture + it "can decode ProjectCardEvent" $ fixtureShouldMatch "fixtures/project-card-event.json" projectCardEventFixture + it "can decode ProjectColumnEvent" $ fixtureShouldMatch "fixtures/project-column-event.json" projectColumnEventFixture + it "can decode ProjectEvent" $ fixtureShouldMatch "fixtures/project-event.json" projectEventFixture + it "can decode PublicEvent" $ fixtureShouldMatch "fixtures/public-event.json" publicEventFixture + it "can decode PullRequestEvent" $ fixtureShouldMatch "fixtures/pull-request-event.json" pullRequestEventFixture + it "can decode PullRequestEvent when body is null" $ fixtureShouldMatch "fixtures/pull-request-event-null-body.json" pullRequestEventNullBodyFixture + it "can decode PullRequestEvent when head.repo is null" $ fixtureShouldMatch "fixtures/pull-request-delete-null-head-repo-anomaly.json" pullRequestEventDeleteNullHeadRepoAnomalyFixture + it "can decode PullRequestReviewCommentEvent" $ fixtureShouldMatch "fixtures/pull-request-review-comment-event.json" pullRequestReviewCommentEventFixture + it "can decode PullRequestReviewEvent" $ fixtureShouldMatch "fixtures/pull-request-review-event.json" pullRequestReviewEventFixture + it "can decode PushEvent" $ fixtureShouldMatch "fixtures/push-event.json" pushEventFixture + it "can decode ReleaseEvent" $ fixtureShouldMatch "fixtures/release-event.json" releaseEventFixture + it "can decode RepositoryEvent" $ fixtureShouldMatch "fixtures/repository-event.json" repositoryEventFixture + it "can decode StatusEvent" $ fixtureShouldMatch "fixtures/status-event.json" statusEventFixture + it "can decode TeamAddEvent" $ fixtureShouldMatch "fixtures/team-add-event.json" teamAddEventFixture + it "can decode TeamEvent" $ fixtureShouldMatch "fixtures/team-event.json" teamEventFixture + it "can decode WatchEvent" $ fixtureShouldMatch "fixtures/watch-event.json" watchEventFixture + + +-- Fixtures +-- These correspond to the expected decoded output of the above JSON files. + +checkSuiteEventFixture :: CheckSuiteEvent +checkSuiteEventFixture = CheckSuiteEvent + { evCheckSuiteAction = CheckSuiteEventActionCompleted + , evCheckSuiteCheckSuite = + HookCheckSuite + { whCheckSuiteId = 12341234111 + , whCheckSuiteNodeId = "MDg6Q2hlY2tSdW4xMjg2MjAyMjg=" + , whCheckSuiteHeadBranch = Just "test-pr" + , whCheckSuiteHeadSha = "45deaf5013c757e58e2665849c3fd3add3edfa59" + , whCheckSuiteStatus = HookCheckSuiteStatusCompleted + , whCheckSuiteConclusion = Just HookCheckSuiteConclusionActionRequired + , whCheckSuiteUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/check-suites/123451234" + , whCheckSuiteBeforeSha = Just "15c99c3e0b9d840d8465be47813cf39686815f2e" + , whCheckSuiteAfterSha = Just "45deaf5013c757e58e2665849c3fd3add3edfa59" + , whCheckSuitePullRequests = + V.fromList [ + HookChecksPullRequest + { whChecksPullRequestUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/pulls/1" + , whChecksPullRequestId = 12345123222 + , whChecksPullRequestNumber = 1 + , whChecksPullRequestHead = + HookChecksPullRequestTarget + { whChecksPullRequestTargetSha = "a68c473cf629b651f6e615c7d0eea95811d2db3d" + , whChecksPullRequestTargetRef = "test-pr" + , whChecksPullRequestTargetRepo = + HookChecksPullRequestRepository + { whChecksPullRequestRepositoryId = 12345123333 + , whChecksPullRequestRepositoryUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo" + , whChecksPullRequestRepositoryName = "public-repo" + } + } + , whChecksPullRequestBase = + HookChecksPullRequestTarget + { whChecksPullRequestTargetSha = "45deaf5013c757e58e2665849c3fd3add3edfa59" + , whChecksPullRequestTargetRef = "master" + , whChecksPullRequestTargetRepo = + HookChecksPullRequestRepository + { whChecksPullRequestRepositoryId = 123451234444 + , whChecksPullRequestRepositoryUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo" + , whChecksPullRequestRepositoryName = "public-repo" + } + } + } + ] + , whCheckSuiteCreatedAt = read "2020-02-18 00:54:04Z" + , whCheckSuiteUpdatedAt = read "2020-02-18 00:54:04Z" + , whCheckSuiteLatestCheckRunsCount = Just 0 + , whCheckSuiteCheckRunsUrl = Just (URL "https://api.github.com/repos/baxterthehacker/public-repo/check-suites/12341234111/check-runs") + , whCheckSuiteHeadCommit = + Just + HookCheckSuiteCommit + { whCheckSuiteCommitSha = "45deaf5013c757e58e2665849c3fd3add3edfa59" + , whCheckSuiteCommitAuthor = + HookSimpleUser + { whSimplUserName = "baxterthehacker" + , whSimplUserEmail = "baxterthehacker@users.noreply.github.com" + , whSimplUserLogin = Nothing + } + , whCheckSuiteCommitCommitter = + HookSimpleUser + { whSimplUserName = "baxterthehacker" + , whSimplUserEmail = "baxterthehacker@users.noreply.github.com" + , whSimplUserLogin = Nothing + } + } + } + , evCheckSuiteRepository = + HookRepository + { whRepoId = 35129377 + , whRepoNodeId = "MDg6Q2hlY2tSdW4xMjg2MjAyMjg=" + , whRepoName = "public-repo" + , whRepoFullName = "baxterthehacker/public-repo" + , whRepoOwner = + Right HookUser + { whUserLogin = "baxterthehacker" + , whUserId = 6752317 + , whUserNodeId = "MDg6Q2hlY2tSdW4xMjg2MjAyMjg=" + , whUserAvatarUrl = URL "https://avatars.githubusercontent.com/u/6752317?v=3" + , whUserGravatarId = URL "" + , whUserUrl = URL "https://api.github.com/users/baxterthehacker" + , whUserHtmlUrl = URL "https://github.com/baxterthehacker" + , whUserFollowersUrl = URL "https://api.github.com/users/baxterthehacker/followers" + , whUserFollowingUrl = URL "https://api.github.com/users/baxterthehacker/following{/other_user}" + , whUserGistsUrl = URL "https://api.github.com/users/baxterthehacker/gists{/gist_id}" + , whUserStarredUrl = URL "https://api.github.com/users/baxterthehacker/starred{/owner}{/repo}" + , whUserSubscriptionsUrl = URL "https://api.github.com/users/baxterthehacker/subscriptions" + , whUserOrganizationsUrl = URL "https://api.github.com/users/baxterthehacker/orgs" + , whUserReposUrl = URL "https://api.github.com/users/baxterthehacker/repos" + , whUserEventsUrl = URL "https://api.github.com/users/baxterthehacker/events{/privacy}" + , whUserReceivedEventsUrl = URL "https://api.github.com/users/baxterthehacker/received_events" + , whUserType = OwnerOrganization + , whUserIsAdminOfSite = False + } + , whRepoIsPrivate = False + , whRepoHtmlUrl = URL "https://github.com/baxterthehacker/public-repo" + , whRepoDescription = "" + , whRepoIsAFork = False + , whRepoUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo" + , whRepoForksUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/forks" + , whRepoKeysUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/keys{/key_id}" + , whRepoCollaboratorsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/collaborators{/collaborator}" + , whRepoTeamsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/teams" + , whRepoHooksUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/hooks" + , whRepoIssueEventsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/issues/events{/number}" + , whRepoEventsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/events" + , whRepoAssigneesUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/assignees{/user}" + , whRepoBranchesUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/branches{/branch}" + , whRepoTagsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/tags" + , whRepoBlobsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/git/blobs{/sha}" + , whRepoGitTagsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/git/tags{/sha}" + , whRepoGitRefsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/git/refs{/sha}" + , whRepoTreesUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/git/trees{/sha}" + , whRepoStatusesUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/statuses/{sha}" + , whRepoLanguagesUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/languages" + , whRepoStargazersUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/stargazers" + , whRepoContributorsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/contributors" + , whRepoSubscribersUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/subscribers" + , whRepoSubscriptionUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/subscription" + , whRepoCommitsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/commits{/sha}" + , whRepoGitCommitsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/git/commits{/sha}" + , whRepoCommentsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/comments{/number}" + , whRepoIssueCommentsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/issues/comments{/number}" + , whRepoContentsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/contents/{+path}" + , whRepoCompareUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/compare/{base}...{head}" + , whRepoMergesUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/merges" + , whRepoArchiveUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/{archive_format}{/ref}" + , whRepoDownloadsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/downloads" + , whRepoIssuesUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/issues{/number}" + , whRepoPullsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/pulls{/number}" + , whRepoMilestonesUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/milestones{/number}" + , whRepoNotificationsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/notifications{?since,all,participating}" + , whRepoLabelsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/labels{/name}" + , whRepoReleasesUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/releases{/id}" + , whRepoCreatedAt = read "2015-05-05 23:40:12Z" + , whRepoUpdatedAt = read "2015-05-05 23:40:12Z" + , whRepoPushedAt = read "2015-05-05 23:40:27Z" + , whRepoGitUrl = URL "git://github.com/baxterthehacker/public-repo.git" + , whRepoSshUrl = URL "git@github.com:baxterthehacker/public-repo.git" + , whRepoCloneUrl = URL "https://github.com/baxterthehacker/public-repo.git" + , whRepoSvnUrl = URL "https://github.com/baxterthehacker/public-repo" + , whRepoHomepage = Nothing + , whRepoSize = 0 + , whRepoStargazersCount = 0 + , whRepoWatchersCount = 0 + , whRepoLanguage = Nothing + , whRepoHasIssues = True + , whRepoHasDownloads = True + , whRepoHasWiki = True + , whRepoHasPages = True + , whRepoForkCount = 0 + , whRepoMirrorUrl = Nothing + , whRepoOpenIssuesCount = 2 + , whRepoDefaultBranchName = "master" + } + , evCheckSuiteOrganization = + Just + HookOrganization + { whOrgLogin = "baxterandthehackers" + , whOrgId = 4312013 + , whOrgNodeId = "MDg6Q2hlY2tSdW4xMjg2MjAyMjg=" + , whOrgUrl = URL "https://api.github.com/orgs/baxterandthehackers" + , whOrgReposUrl = URL "https://api.github.com/orgs/baxterandthehackers/repos" + , whOrgEventsUrl = URL "https://api.github.com/orgs/baxterandthehackers/events" + , whOrgHooksUrl = Just (URL "https://api.github.com/orgs/baxterandthehackers/hooks") + , whOrgIssuesUrl = Just (URL "https://api.github.com/orgs/baxterandthehackers/issues") + , whOrgMembersUrl = URL "https://api.github.com/orgs/baxterandthehackers/members{/member}" + , whOrgPublicMembersUrl = URL "https://api.github.com/orgs/baxterandthehackers/public_members{/member}" + , whOrgAvatarUrl = URL "https://avatars.githubusercontent.com/u/4312013?v=3" + , whOrgDescription = T.empty + } + , evCheckSuiteSender = + HookUser + { whUserLogin = "baxterthehacker" + , whUserId = 6752317 + , whUserNodeId = "MDg6Q2hlY2tSdW4xMjg2MjAyMjg=" + , whUserAvatarUrl = URL "https://avatars.githubusercontent.com/u/6752317?v=3" + , whUserGravatarId = URL "" + , whUserUrl = URL "https://api.github.com/users/baxterthehacker" + , whUserHtmlUrl = URL "https://github.com/baxterthehacker" + , whUserFollowersUrl = URL "https://api.github.com/users/baxterthehacker/followers" + , whUserFollowingUrl = URL "https://api.github.com/users/baxterthehacker/following{/other_user}" + , whUserGistsUrl = URL "https://api.github.com/users/baxterthehacker/gists{/gist_id}" + , whUserStarredUrl = URL "https://api.github.com/users/baxterthehacker/starred{/owner}{/repo}" + , whUserSubscriptionsUrl = URL "https://api.github.com/users/baxterthehacker/subscriptions" + , whUserOrganizationsUrl = URL "https://api.github.com/users/baxterthehacker/orgs" + , whUserReposUrl = URL "https://api.github.com/users/baxterthehacker/repos" + , whUserEventsUrl = URL "https://api.github.com/users/baxterthehacker/events{/privacy}" + , whUserReceivedEventsUrl = URL "https://api.github.com/users/baxterthehacker/received_events" + , whUserType = OwnerUser + , whUserIsAdminOfSite = False + } + , evCheckSuiteInstallation = + Just + HookChecksInstallation + { whChecksInstallationId = 1234123 + , whChecksInstallationNodeId = "MDg6Q2hlY2tSdW4xMjg2MjAyMjg=" + } + } + +checkRunEventFixture :: CheckRunEvent +checkRunEventFixture = CheckRunEvent + { evCheckRunAction = CheckRunEventActionRequestedAction + , evCheckRunCheckRun = + HookCheckRun + { whCheckRunId = 123412411 + , whCheckRunNodeId = "MDg6Q2hlY2tSdW4xMjg2MjAyMjg=" + , whCheckRunHeadSha = "45deaf5013c757e58e2665849c3fd3add3edfa59" + , whCheckRunExternalId = "" + , whCheckRunUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/check-runs/454339238" + , whCheckRunHtmlUrl = URL"https://github.com/baxterthehacker/public-repo/runs/454339238" + , whCheckRunDetailsUrl = URL "https://www.baxterthehacker.com" + , whCheckRunStatus = HookCheckRunStatusCompleted + , whCheckRunConclusion = Just HookCheckRunConclusionStale + , whCheckRunStartedAt = read "2020-02-19 02:44:54Z" + , whCheckRunCompletedAt = Nothing + , whCheckRunOutput = + HookCheckRunOutput + { whCheckRunOutputTitle = Nothing + , whCheckRunOutputSummary = Nothing + , whCheckRunOutputText = Nothing + , whCheckRunOutputAnnotationsCount = 0 + , whCheckRunOutputAnnotationsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/check-runs/454339238/annotations" + } + , whCheckRunName = "Test Check Run" + , whCheckRunCheckSuite = + HookCheckSuite + { whCheckSuiteId = 12341234111 + , whCheckSuiteNodeId = "MDg6Q2hlY2tSdW4xMjg2MjAyMjg=" + , whCheckSuiteHeadBranch = Just "test-pr" + , whCheckSuiteHeadSha = "45deaf5013c757e58e2665849c3fd3add3edfa59" + , whCheckSuiteStatus = HookCheckSuiteStatusQueued + , whCheckSuiteConclusion = Nothing + , whCheckSuiteUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/check-suites/123451234" + , whCheckSuiteBeforeSha = Just "15c99c3e0b9d840d8465be47813cf39686815f2e" + , whCheckSuiteAfterSha = Just "45deaf5013c757e58e2665849c3fd3add3edfa59" + , whCheckSuitePullRequests = + V.fromList [ + HookChecksPullRequest + { whChecksPullRequestUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/pulls/1" + , whChecksPullRequestId = 12345123222 + , whChecksPullRequestNumber = 1 + , whChecksPullRequestHead = + HookChecksPullRequestTarget + { whChecksPullRequestTargetSha = "a68c473cf629b651f6e615c7d0eea95811d2db3d" + , whChecksPullRequestTargetRef = "test-pr" + , whChecksPullRequestTargetRepo = + HookChecksPullRequestRepository + { whChecksPullRequestRepositoryId = 12345123333 + , whChecksPullRequestRepositoryUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo" + , whChecksPullRequestRepositoryName = "public-repo" + } + } + , whChecksPullRequestBase = + HookChecksPullRequestTarget + { whChecksPullRequestTargetSha = "45deaf5013c757e58e2665849c3fd3add3edfa59" + , whChecksPullRequestTargetRef = "master" + , whChecksPullRequestTargetRepo = + HookChecksPullRequestRepository + { whChecksPullRequestRepositoryId = 123451234444 + , whChecksPullRequestRepositoryUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo" + , whChecksPullRequestRepositoryName = "public-repo" + } + } + } + ] + , whCheckSuiteCreatedAt = read "2020-02-18 00:54:04Z" + , whCheckSuiteUpdatedAt = read "2020-02-18 00:54:04Z" + , whCheckSuiteLatestCheckRunsCount = Nothing + , whCheckSuiteCheckRunsUrl = Nothing + , whCheckSuiteHeadCommit = Nothing + } + , whCheckRunPullRequests = + V.fromList [ + HookChecksPullRequest + { whChecksPullRequestUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/pulls/1" + , whChecksPullRequestId = 12345123222 + , whChecksPullRequestNumber = 1 + , whChecksPullRequestHead = + HookChecksPullRequestTarget + { whChecksPullRequestTargetSha = "a68c473cf629b651f6e615c7d0eea95811d2db3d" + , whChecksPullRequestTargetRef = "test-pr" + , whChecksPullRequestTargetRepo = + HookChecksPullRequestRepository + { whChecksPullRequestRepositoryId = 12345123333 + , whChecksPullRequestRepositoryUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo" + , whChecksPullRequestRepositoryName = "public-repo" + } + } + , whChecksPullRequestBase = + HookChecksPullRequestTarget + { whChecksPullRequestTargetSha = "45deaf5013c757e58e2665849c3fd3add3edfa59" + , whChecksPullRequestTargetRef = "master" + , whChecksPullRequestTargetRepo = + HookChecksPullRequestRepository + { whChecksPullRequestRepositoryId = 123451234444 + , whChecksPullRequestRepositoryUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo" + , whChecksPullRequestRepositoryName = "public-repo" + } + } + } + ] + } + , evCheckRunRequestedAction = + Just + HookCheckRunRequestedAction + { whCheckRunRequestedActionIdentifier = "fix_errors" + } + , evCheckRunRepository = + HookRepository + { whRepoId = 35129377 + , whRepoNodeId = "MDg6Q2hlY2tSdW4xMjg2MjAyMjg=" + , whRepoName = "public-repo" + , whRepoFullName = "baxterthehacker/public-repo" + , whRepoOwner = + Right HookUser + { whUserLogin = "baxterthehacker" + , whUserId = 6752317 + , whUserNodeId = "MDg6Q2hlY2tSdW4xMjg2MjAyMjg=" + , whUserAvatarUrl = URL "https://avatars.githubusercontent.com/u/6752317?v=3" + , whUserGravatarId = URL "" + , whUserUrl = URL "https://api.github.com/users/baxterthehacker" + , whUserHtmlUrl = URL "https://github.com/baxterthehacker" + , whUserFollowersUrl = URL "https://api.github.com/users/baxterthehacker/followers" + , whUserFollowingUrl = URL "https://api.github.com/users/baxterthehacker/following{/other_user}" + , whUserGistsUrl = URL "https://api.github.com/users/baxterthehacker/gists{/gist_id}" + , whUserStarredUrl = URL "https://api.github.com/users/baxterthehacker/starred{/owner}{/repo}" + , whUserSubscriptionsUrl = URL "https://api.github.com/users/baxterthehacker/subscriptions" + , whUserOrganizationsUrl = URL "https://api.github.com/users/baxterthehacker/orgs" + , whUserReposUrl = URL "https://api.github.com/users/baxterthehacker/repos" + , whUserEventsUrl = URL "https://api.github.com/users/baxterthehacker/events{/privacy}" + , whUserReceivedEventsUrl = URL "https://api.github.com/users/baxterthehacker/received_events" + , whUserType = OwnerOrganization + , whUserIsAdminOfSite = False + } + , whRepoIsPrivate = False + , whRepoHtmlUrl = URL "https://github.com/baxterthehacker/public-repo" + , whRepoDescription = "" + , whRepoIsAFork = False + , whRepoUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo" + , whRepoForksUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/forks" + , whRepoKeysUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/keys{/key_id}" + , whRepoCollaboratorsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/collaborators{/collaborator}" + , whRepoTeamsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/teams" + , whRepoHooksUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/hooks" + , whRepoIssueEventsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/issues/events{/number}" + , whRepoEventsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/events" + , whRepoAssigneesUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/assignees{/user}" + , whRepoBranchesUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/branches{/branch}" + , whRepoTagsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/tags" + , whRepoBlobsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/git/blobs{/sha}" + , whRepoGitTagsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/git/tags{/sha}" + , whRepoGitRefsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/git/refs{/sha}" + , whRepoTreesUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/git/trees{/sha}" + , whRepoStatusesUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/statuses/{sha}" + , whRepoLanguagesUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/languages" + , whRepoStargazersUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/stargazers" + , whRepoContributorsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/contributors" + , whRepoSubscribersUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/subscribers" + , whRepoSubscriptionUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/subscription" + , whRepoCommitsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/commits{/sha}" + , whRepoGitCommitsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/git/commits{/sha}" + , whRepoCommentsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/comments{/number}" + , whRepoIssueCommentsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/issues/comments{/number}" + , whRepoContentsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/contents/{+path}" + , whRepoCompareUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/compare/{base}...{head}" + , whRepoMergesUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/merges" + , whRepoArchiveUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/{archive_format}{/ref}" + , whRepoDownloadsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/downloads" + , whRepoIssuesUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/issues{/number}" + , whRepoPullsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/pulls{/number}" + , whRepoMilestonesUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/milestones{/number}" + , whRepoNotificationsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/notifications{?since,all,participating}" + , whRepoLabelsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/labels{/name}" + , whRepoReleasesUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/releases{/id}" + , whRepoCreatedAt = read "2015-05-05 23:40:12Z" + , whRepoUpdatedAt = read "2015-05-05 23:40:12Z" + , whRepoPushedAt = read "2015-05-05 23:40:27Z" + , whRepoGitUrl = URL "git://github.com/baxterthehacker/public-repo.git" + , whRepoSshUrl = URL "git@github.com:baxterthehacker/public-repo.git" + , whRepoCloneUrl = URL "https://github.com/baxterthehacker/public-repo.git" + , whRepoSvnUrl = URL "https://github.com/baxterthehacker/public-repo" + , whRepoHomepage = Nothing + , whRepoSize = 0 + , whRepoStargazersCount = 0 + , whRepoWatchersCount = 0 + , whRepoLanguage = Nothing + , whRepoHasIssues = True + , whRepoHasDownloads = True + , whRepoHasWiki = True + , whRepoHasPages = True + , whRepoForkCount = 0 + , whRepoMirrorUrl = Nothing + , whRepoOpenIssuesCount = 2 + , whRepoDefaultBranchName = "master" + } + , evCheckRunOrganization = + Just + HookOrganization + { whOrgLogin = "baxterandthehackers" + , whOrgId = 4312013 + , whOrgNodeId = "MDg6Q2hlY2tSdW4xMjg2MjAyMjg=" + , whOrgUrl = URL "https://api.github.com/orgs/baxterandthehackers" + , whOrgReposUrl = URL "https://api.github.com/orgs/baxterandthehackers/repos" + , whOrgEventsUrl = URL "https://api.github.com/orgs/baxterandthehackers/events" + , whOrgHooksUrl = Just (URL "https://api.github.com/orgs/baxterandthehackers/hooks") + , whOrgIssuesUrl = Just (URL "https://api.github.com/orgs/baxterandthehackers/issues") + , whOrgMembersUrl = URL "https://api.github.com/orgs/baxterandthehackers/members{/member}" + , whOrgPublicMembersUrl = URL "https://api.github.com/orgs/baxterandthehackers/public_members{/member}" + , whOrgAvatarUrl = URL "https://avatars.githubusercontent.com/u/4312013?v=3" + , whOrgDescription = T.empty + } + , evCheckRunSender = + HookUser + { whUserLogin = "baxterthehacker" + , whUserId = 6752317 + , whUserNodeId = "MDg6Q2hlY2tSdW4xMjg2MjAyMjg=" + , whUserAvatarUrl = URL "https://avatars.githubusercontent.com/u/6752317?v=3" + , whUserGravatarId = URL "" + , whUserUrl = URL "https://api.github.com/users/baxterthehacker" + , whUserHtmlUrl = URL "https://github.com/baxterthehacker" + , whUserFollowersUrl = URL "https://api.github.com/users/baxterthehacker/followers" + , whUserFollowingUrl = URL "https://api.github.com/users/baxterthehacker/following{/other_user}" + , whUserGistsUrl = URL "https://api.github.com/users/baxterthehacker/gists{/gist_id}" + , whUserStarredUrl = URL "https://api.github.com/users/baxterthehacker/starred{/owner}{/repo}" + , whUserSubscriptionsUrl = URL "https://api.github.com/users/baxterthehacker/subscriptions" + , whUserOrganizationsUrl = URL "https://api.github.com/users/baxterthehacker/orgs" + , whUserReposUrl = URL "https://api.github.com/users/baxterthehacker/repos" + , whUserEventsUrl = URL "https://api.github.com/users/baxterthehacker/events{/privacy}" + , whUserReceivedEventsUrl = URL "https://api.github.com/users/baxterthehacker/received_events" + , whUserType = OwnerUser + , whUserIsAdminOfSite = False + } + , evCheckRunInstallation = + Just + HookChecksInstallation + { whChecksInstallationId = 1234123 + , whChecksInstallationNodeId = "MDg6Q2hlY2tSdW4xMjg2MjAyMjg=" + } + } + +commitCommentEventFixture :: CommitCommentEvent +commitCommentEventFixture = CommitCommentEvent + { evCommitCommentAction = CommitCommentActionCreated + , evCommitCommentPayload = + HookCommitComment + { whCommitCommentUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/comments/11056394" + , whCommitCommentHtmlUrl = + URL "https://github.com/baxterthehacker/public-repo/commit/9049f1265b7d61be4a8904a9a27120d2064dab3b#commitcomment-11056394" + , whCommitCommentId = 11056394 + , whCommitCommentNodeId = "MDg6Q2hlY2tSdW4xMjg2MjAyMjg=" + , whCommitCommentUser = + HookUser + { whUserLogin = "baxterthehacker" + , whUserId = 6752317 + , whUserNodeId = "MDg6Q2hlY2tSdW4xMjg2MjAyMjg=" + , whUserAvatarUrl = URL "https://avatars.githubusercontent.com/u/6752317?v=3" + , whUserGravatarId = URL "" + , whUserUrl = URL "https://api.github.com/users/baxterthehacker" + , whUserHtmlUrl = URL "https://github.com/baxterthehacker" + , whUserFollowersUrl = URL "https://api.github.com/users/baxterthehacker/followers" + , whUserFollowingUrl = URL "https://api.github.com/users/baxterthehacker/following{/other_user}" + , whUserGistsUrl = URL "https://api.github.com/users/baxterthehacker/gists{/gist_id}" + , whUserStarredUrl = URL "https://api.github.com/users/baxterthehacker/starred{/owner}{/repo}" + , whUserSubscriptionsUrl = URL "https://api.github.com/users/baxterthehacker/subscriptions" + , whUserOrganizationsUrl = URL "https://api.github.com/users/baxterthehacker/orgs" + , whUserReposUrl = URL "https://api.github.com/users/baxterthehacker/repos" + , whUserEventsUrl = URL "https://api.github.com/users/baxterthehacker/events{/privacy}" + , whUserReceivedEventsUrl = URL "https://api.github.com/users/baxterthehacker/received_events" + , whUserType = OwnerUser + , whUserIsAdminOfSite = False + } + , whCommitCommentPos = Nothing + , whCommitCommentLine = Nothing + , whCommitCommentPath = Nothing + , whCommitCommentCommitSha = "9049f1265b7d61be4a8904a9a27120d2064dab3b" + , whCommitCommentCreatedAt = read "2015-05-05 23:40:29Z" + , whCommitCommentUpdatedAt = read "2015-05-05 23:40:29Z" + , whCommitCommentBody = "This is a really good change! :+1:" + } + , evCommitCommentRepo = + HookRepository + { whRepoId = 35129377 + , whRepoNodeId = "MDg6Q2hlY2tSdW4xMjg2MjAyMjg=" + , whRepoName = "public-repo" + , whRepoFullName = "baxterthehacker/public-repo" + , whRepoOwner = + Right HookUser + { whUserLogin = "baxterthehacker" + , whUserId = 6752317 + , whUserNodeId = "MDg6Q2hlY2tSdW4xMjg2MjAyMjg=" + , whUserAvatarUrl = URL "https://avatars.githubusercontent.com/u/6752317?v=3" + , whUserGravatarId = URL "" + , whUserUrl = URL "https://api.github.com/users/baxterthehacker" + , whUserHtmlUrl = URL "https://github.com/baxterthehacker" + , whUserFollowersUrl = URL "https://api.github.com/users/baxterthehacker/followers" + , whUserFollowingUrl = URL "https://api.github.com/users/baxterthehacker/following{/other_user}" + , whUserGistsUrl = URL "https://api.github.com/users/baxterthehacker/gists{/gist_id}" + , whUserStarredUrl = URL "https://api.github.com/users/baxterthehacker/starred{/owner}{/repo}" + , whUserSubscriptionsUrl = URL "https://api.github.com/users/baxterthehacker/subscriptions" + , whUserOrganizationsUrl = URL "https://api.github.com/users/baxterthehacker/orgs" + , whUserReposUrl = URL "https://api.github.com/users/baxterthehacker/repos" + , whUserEventsUrl = URL "https://api.github.com/users/baxterthehacker/events{/privacy}" + , whUserReceivedEventsUrl = URL "https://api.github.com/users/baxterthehacker/received_events" + , whUserType = OwnerUser + , whUserIsAdminOfSite = False + } + , whRepoIsPrivate = False + , whRepoHtmlUrl = URL "https://github.com/baxterthehacker/public-repo" + , whRepoDescription = "" + , whRepoIsAFork = False + , whRepoUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo" + , whRepoForksUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/forks" + , whRepoKeysUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/keys{/key_id}" + , whRepoCollaboratorsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/collaborators{/collaborator}" + , whRepoTeamsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/teams" + , whRepoHooksUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/hooks" + , whRepoIssueEventsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/issues/events{/number}" + , whRepoEventsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/events" + , whRepoAssigneesUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/assignees{/user}" + , whRepoBranchesUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/branches{/branch}" + , whRepoTagsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/tags" + , whRepoBlobsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/git/blobs{/sha}" + , whRepoGitTagsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/git/tags{/sha}" + , whRepoGitRefsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/git/refs{/sha}" + , whRepoTreesUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/git/trees{/sha}" + , whRepoStatusesUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/statuses/{sha}" + , whRepoLanguagesUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/languages" + , whRepoStargazersUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/stargazers" + , whRepoContributorsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/contributors" + , whRepoSubscribersUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/subscribers" + , whRepoSubscriptionUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/subscription" + , whRepoCommitsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/commits{/sha}" + , whRepoGitCommitsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/git/commits{/sha}" + , whRepoCommentsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/comments{/number}" + , whRepoIssueCommentsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/issues/comments{/number}" + , whRepoContentsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/contents/{+path}" + , whRepoCompareUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/compare/{base}...{head}" + , whRepoMergesUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/merges" + , whRepoArchiveUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/{archive_format}{/ref}" + , whRepoDownloadsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/downloads" + , whRepoIssuesUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/issues{/number}" + , whRepoPullsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/pulls{/number}" + , whRepoMilestonesUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/milestones{/number}" + , whRepoNotificationsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/notifications{?since,all,participating}" + , whRepoLabelsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/labels{/name}" + , whRepoReleasesUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/releases{/id}" + , whRepoCreatedAt = read "2015-05-05 23:40:12Z" + , whRepoUpdatedAt = read "2015-05-05 23:40:12Z" + , whRepoPushedAt = read "2015-05-05 23:40:27Z" + , whRepoGitUrl = URL "git://github.com/baxterthehacker/public-repo.git" + , whRepoSshUrl = URL "git@github.com:baxterthehacker/public-repo.git" + , whRepoCloneUrl = URL "https://github.com/baxterthehacker/public-repo.git" + , whRepoSvnUrl = URL "https://github.com/baxterthehacker/public-repo" + , whRepoHomepage = Nothing + , whRepoSize = 0 + , whRepoStargazersCount = 0 + , whRepoWatchersCount = 0 + , whRepoLanguage = Nothing + , whRepoHasIssues = True + , whRepoHasDownloads = True + , whRepoHasWiki = True + , whRepoHasPages = True + , whRepoForkCount = 0 + , whRepoMirrorUrl = Nothing + , whRepoOpenIssuesCount = 2 + , whRepoDefaultBranchName = "master" + } + , evCommitCommentSender = + HookUser + { whUserLogin = "baxterthehacker" + , whUserId = 6752317 + , whUserNodeId = "MDg6Q2hlY2tSdW4xMjg2MjAyMjg=" + , whUserAvatarUrl = URL "https://avatars.githubusercontent.com/u/6752317?v=3" + , whUserGravatarId = URL "" + , whUserUrl = URL "https://api.github.com/users/baxterthehacker" + , whUserHtmlUrl = URL "https://github.com/baxterthehacker" + , whUserFollowersUrl = URL "https://api.github.com/users/baxterthehacker/followers" + , whUserFollowingUrl = URL "https://api.github.com/users/baxterthehacker/following{/other_user}" + , whUserGistsUrl = URL "https://api.github.com/users/baxterthehacker/gists{/gist_id}" + , whUserStarredUrl = URL "https://api.github.com/users/baxterthehacker/starred{/owner}{/repo}" + , whUserSubscriptionsUrl = URL "https://api.github.com/users/baxterthehacker/subscriptions" + , whUserOrganizationsUrl = URL "https://api.github.com/users/baxterthehacker/orgs" + , whUserReposUrl = URL "https://api.github.com/users/baxterthehacker/repos" + , whUserEventsUrl = URL "https://api.github.com/users/baxterthehacker/events{/privacy}" + , whUserReceivedEventsUrl = URL "https://api.github.com/users/baxterthehacker/received_events" + , whUserType = OwnerUser + , whUserIsAdminOfSite = False + } + } + +createEventFixture :: CreateEvent +createEventFixture = CreateEvent + { evCreateRef = "0.0.1" + , evCreateRefType = "tag" + , evCreateMasterBranch = "master" + , evCreateDescription = "" + , evCreatePusherType = OwnerUser + , evCreateRepo = + HookRepository + { whRepoId = 35129377 + , whRepoNodeId = "MDg6Q2hlY2tSdW4xMjg2MjAyMjg=" + , whRepoName = "public-repo" + , whRepoFullName = "baxterthehacker/public-repo" + , whRepoOwner = + Right HookUser + { whUserLogin = "baxterthehacker" + , whUserId = 6752317 + , whUserNodeId = "MDg6Q2hlY2tSdW4xMjg2MjAyMjg=" + , whUserAvatarUrl = URL "https://avatars.githubusercontent.com/u/6752317?v=3" + , whUserGravatarId = URL "" + , whUserUrl = URL "https://api.github.com/users/baxterthehacker" + , whUserHtmlUrl = URL "https://github.com/baxterthehacker" + , whUserFollowersUrl = URL "https://api.github.com/users/baxterthehacker/followers" + , whUserFollowingUrl = URL "https://api.github.com/users/baxterthehacker/following{/other_user}" + , whUserGistsUrl = URL "https://api.github.com/users/baxterthehacker/gists{/gist_id}" + , whUserStarredUrl = URL "https://api.github.com/users/baxterthehacker/starred{/owner}{/repo}" + , whUserSubscriptionsUrl = URL "https://api.github.com/users/baxterthehacker/subscriptions" + , whUserOrganizationsUrl = URL "https://api.github.com/users/baxterthehacker/orgs" + , whUserReposUrl = URL "https://api.github.com/users/baxterthehacker/repos" + , whUserEventsUrl = URL "https://api.github.com/users/baxterthehacker/events{/privacy}" + , whUserReceivedEventsUrl = URL "https://api.github.com/users/baxterthehacker/received_events" + , whUserType = OwnerUser + , whUserIsAdminOfSite = False + } + , whRepoIsPrivate = False + , whRepoHtmlUrl = URL "https://github.com/baxterthehacker/public-repo" + , whRepoDescription = "" + , whRepoIsAFork = False + , whRepoUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo" + , whRepoForksUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/forks" + , whRepoKeysUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/keys{/key_id}" + , whRepoCollaboratorsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/collaborators{/collaborator}" + , whRepoTeamsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/teams" + , whRepoHooksUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/hooks" + , whRepoIssueEventsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/issues/events{/number}" + , whRepoEventsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/events" + , whRepoAssigneesUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/assignees{/user}" + , whRepoBranchesUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/branches{/branch}" + , whRepoTagsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/tags" + , whRepoBlobsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/git/blobs{/sha}" + , whRepoGitTagsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/git/tags{/sha}" + , whRepoGitRefsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/git/refs{/sha}" + , whRepoTreesUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/git/trees{/sha}" + , whRepoStatusesUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/statuses/{sha}" + , whRepoLanguagesUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/languages" + , whRepoStargazersUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/stargazers" + , whRepoContributorsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/contributors" + , whRepoSubscribersUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/subscribers" + , whRepoSubscriptionUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/subscription" + , whRepoCommitsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/commits{/sha}" + , whRepoGitCommitsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/git/commits{/sha}" + , whRepoCommentsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/comments{/number}" + , whRepoIssueCommentsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/issues/comments{/number}" + , whRepoContentsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/contents/{+path}" + , whRepoCompareUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/compare/{base}...{head}" + , whRepoMergesUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/merges" + , whRepoArchiveUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/{archive_format}{/ref}" + , whRepoDownloadsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/downloads" + , whRepoIssuesUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/issues{/number}" + , whRepoPullsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/pulls{/number}" + , whRepoMilestonesUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/milestones{/number}" + , whRepoNotificationsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/notifications{?since,all,participating}" + , whRepoLabelsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/labels{/name}" + , whRepoReleasesUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/releases{/id}" + , whRepoCreatedAt = read "2015-05-05 23:40:12Z" + , whRepoUpdatedAt = read "2015-05-05 23:40:30Z" + , whRepoPushedAt = read "2015-05-05 23:40:38Z" + , whRepoGitUrl = URL "git://github.com/baxterthehacker/public-repo.git" + , whRepoSshUrl = URL "git@github.com:baxterthehacker/public-repo.git" + , whRepoCloneUrl = URL "https://github.com/baxterthehacker/public-repo.git" + , whRepoSvnUrl = URL "https://github.com/baxterthehacker/public-repo" + , whRepoHomepage = Nothing + , whRepoSize = 0 + , whRepoStargazersCount = 0 + , whRepoWatchersCount = 0 + , whRepoLanguage = Nothing + , whRepoHasIssues = True + , whRepoHasDownloads = True + , whRepoHasWiki = True + , whRepoHasPages = True + , whRepoForkCount = 0 + , whRepoMirrorUrl = Nothing + , whRepoOpenIssuesCount = 2 + , whRepoDefaultBranchName = "master" + } + , evCreateSender = + HookUser + { whUserLogin = "baxterthehacker" + , whUserId = 6752317 + , whUserNodeId = "MDg6Q2hlY2tSdW4xMjg2MjAyMjg=" + , whUserAvatarUrl = URL "https://avatars.githubusercontent.com/u/6752317?v=3" + , whUserGravatarId = URL "" + , whUserUrl = URL "https://api.github.com/users/baxterthehacker" + , whUserHtmlUrl = URL "https://github.com/baxterthehacker" + , whUserFollowersUrl = URL "https://api.github.com/users/baxterthehacker/followers" + , whUserFollowingUrl = URL "https://api.github.com/users/baxterthehacker/following{/other_user}" + , whUserGistsUrl = URL "https://api.github.com/users/baxterthehacker/gists{/gist_id}" + , whUserStarredUrl = URL "https://api.github.com/users/baxterthehacker/starred{/owner}{/repo}" + , whUserSubscriptionsUrl = URL "https://api.github.com/users/baxterthehacker/subscriptions" + , whUserOrganizationsUrl = URL "https://api.github.com/users/baxterthehacker/orgs" + , whUserReposUrl = URL "https://api.github.com/users/baxterthehacker/repos" + , whUserEventsUrl = URL "https://api.github.com/users/baxterthehacker/events{/privacy}" + , whUserReceivedEventsUrl = URL "https://api.github.com/users/baxterthehacker/received_events" + , whUserType = OwnerUser + , whUserIsAdminOfSite = False + } + } + +deleteEventFixture :: DeleteEvent +deleteEventFixture = DeleteEvent + { evDeleteRef = "simple-tag" + , evDeleteRefType = "tag" + , evDeletePusherType = OwnerUser + , evDeleteRepo = + HookRepository + { whRepoId = 35129377 + , whRepoNodeId = "MDg6Q2hlY2tSdW4xMjg2MjAyMjg=" + , whRepoName = "public-repo" + , whRepoFullName = "baxterthehacker/public-repo" + , whRepoOwner = + Right HookUser + { whUserLogin = "baxterthehacker" + , whUserId = 6752317 + , whUserNodeId = "MDg6Q2hlY2tSdW4xMjg2MjAyMjg=" + , whUserAvatarUrl = URL "https://avatars.githubusercontent.com/u/6752317?v=3" + , whUserGravatarId = URL "" + , whUserUrl = URL "https://api.github.com/users/baxterthehacker" + , whUserHtmlUrl = URL "https://github.com/baxterthehacker" + , whUserFollowersUrl = URL "https://api.github.com/users/baxterthehacker/followers" + , whUserFollowingUrl = URL "https://api.github.com/users/baxterthehacker/following{/other_user}" + , whUserGistsUrl = URL "https://api.github.com/users/baxterthehacker/gists{/gist_id}" + , whUserStarredUrl = URL "https://api.github.com/users/baxterthehacker/starred{/owner}{/repo}" + , whUserSubscriptionsUrl = URL "https://api.github.com/users/baxterthehacker/subscriptions" + , whUserOrganizationsUrl = URL "https://api.github.com/users/baxterthehacker/orgs" + , whUserReposUrl = URL "https://api.github.com/users/baxterthehacker/repos" + , whUserEventsUrl = URL "https://api.github.com/users/baxterthehacker/events{/privacy}" + , whUserReceivedEventsUrl = URL "https://api.github.com/users/baxterthehacker/received_events" + , whUserType = OwnerUser + , whUserIsAdminOfSite = False + } + , whRepoIsPrivate = False + , whRepoHtmlUrl = URL "https://github.com/baxterthehacker/public-repo" + , whRepoDescription = "" + , whRepoIsAFork = False + , whRepoUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo" + , whRepoForksUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/forks" + , whRepoKeysUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/keys{/key_id}" + , whRepoCollaboratorsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/collaborators{/collaborator}" + , whRepoTeamsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/teams" + , whRepoHooksUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/hooks" + , whRepoIssueEventsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/issues/events{/number}" + , whRepoEventsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/events" + , whRepoAssigneesUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/assignees{/user}" + , whRepoBranchesUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/branches{/branch}" + , whRepoTagsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/tags" + , whRepoBlobsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/git/blobs{/sha}" + , whRepoGitTagsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/git/tags{/sha}" + , whRepoGitRefsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/git/refs{/sha}" + , whRepoTreesUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/git/trees{/sha}" + , whRepoStatusesUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/statuses/{sha}" + , whRepoLanguagesUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/languages" + , whRepoStargazersUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/stargazers" + , whRepoContributorsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/contributors" + , whRepoSubscribersUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/subscribers" + , whRepoSubscriptionUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/subscription" + , whRepoCommitsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/commits{/sha}" + , whRepoGitCommitsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/git/commits{/sha}" + , whRepoCommentsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/comments{/number}" + , whRepoIssueCommentsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/issues/comments{/number}" + , whRepoContentsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/contents/{+path}" + , whRepoCompareUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/compare/{base}...{head}" + , whRepoMergesUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/merges" + , whRepoArchiveUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/{archive_format}{/ref}" + , whRepoDownloadsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/downloads" + , whRepoIssuesUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/issues{/number}" + , whRepoPullsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/pulls{/number}" + , whRepoMilestonesUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/milestones{/number}" + , whRepoNotificationsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/notifications{?since,all,participating}" + , whRepoLabelsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/labels{/name}" + , whRepoReleasesUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/releases{/id}" + , whRepoCreatedAt = read "2015-05-05 23:40:12Z" + , whRepoUpdatedAt = read "2015-05-05 23:40:30Z" + , whRepoPushedAt = read "2015-05-05 23:40:40Z" + , whRepoGitUrl = URL "git://github.com/baxterthehacker/public-repo.git" + , whRepoSshUrl = URL "git@github.com:baxterthehacker/public-repo.git" + , whRepoCloneUrl = URL "https://github.com/baxterthehacker/public-repo.git" + , whRepoSvnUrl = URL "https://github.com/baxterthehacker/public-repo" + , whRepoHomepage = Nothing + , whRepoSize = 0 + , whRepoStargazersCount = 0 + , whRepoWatchersCount = 0 + , whRepoLanguage = Nothing + , whRepoHasIssues = True + , whRepoHasDownloads = True + , whRepoHasWiki = True + , whRepoHasPages = True + , whRepoForkCount = 0 + , whRepoMirrorUrl = Nothing + , whRepoOpenIssuesCount = 2 + , whRepoDefaultBranchName = "master" + } + , evDeleteSender = + HookUser + { whUserLogin = "baxterthehacker" + , whUserId = 6752317 + , whUserNodeId = "MDg6Q2hlY2tSdW4xMjg2MjAyMjg=" + , whUserAvatarUrl = URL "https://avatars.githubusercontent.com/u/6752317?v=3" + , whUserGravatarId = URL "" + , whUserUrl = URL "https://api.github.com/users/baxterthehacker" + , whUserHtmlUrl = URL "https://github.com/baxterthehacker" + , whUserFollowersUrl = URL "https://api.github.com/users/baxterthehacker/followers" + , whUserFollowingUrl = URL "https://api.github.com/users/baxterthehacker/following{/other_user}" + , whUserGistsUrl = URL "https://api.github.com/users/baxterthehacker/gists{/gist_id}" + , whUserStarredUrl = URL "https://api.github.com/users/baxterthehacker/starred{/owner}{/repo}" + , whUserSubscriptionsUrl = URL "https://api.github.com/users/baxterthehacker/subscriptions" + , whUserOrganizationsUrl = URL "https://api.github.com/users/baxterthehacker/orgs" + , whUserReposUrl = URL "https://api.github.com/users/baxterthehacker/repos" + , whUserEventsUrl = URL "https://api.github.com/users/baxterthehacker/events{/privacy}" + , whUserReceivedEventsUrl = URL "https://api.github.com/users/baxterthehacker/received_events" + , whUserType = OwnerUser + , whUserIsAdminOfSite = False + } + } + +deploymentEventFixture :: DeploymentEvent +deploymentEventFixture = DeploymentEvent + { evDeploymentInfo = + HookDeployment + { whDeploymentUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/deployments/710692" + , whDeploymentId = 710692 + , whDeploymentNodeId = "MDg6Q2hlY2tSdW4xMjg2MjAyMjg=" + , whDeploymentSha = "9049f1265b7d61be4a8904a9a27120d2064dab3b" + , whDeploymentRef = "master" + , whDeploymentTask = "deploy" + , whDeploymentEnv = "production" + , whDeploymentDescription = Nothing + , whDeploymentCreator = + HookUser + { whUserLogin = "baxterthehacker" + , whUserId = 6752317 + , whUserNodeId = "MDg6Q2hlY2tSdW4xMjg2MjAyMjg=" + , whUserAvatarUrl = URL "https://avatars.githubusercontent.com/u/6752317?v=3" + , whUserGravatarId = URL "" + , whUserUrl = URL "https://api.github.com/users/baxterthehacker" + , whUserHtmlUrl = URL "https://github.com/baxterthehacker" + , whUserFollowersUrl = URL "https://api.github.com/users/baxterthehacker/followers" + , whUserFollowingUrl = URL "https://api.github.com/users/baxterthehacker/following{/other_user}" + , whUserGistsUrl = URL "https://api.github.com/users/baxterthehacker/gists{/gist_id}" + , whUserStarredUrl = URL "https://api.github.com/users/baxterthehacker/starred{/owner}{/repo}" + , whUserSubscriptionsUrl = URL "https://api.github.com/users/baxterthehacker/subscriptions" + , whUserOrganizationsUrl = URL "https://api.github.com/users/baxterthehacker/orgs" + , whUserReposUrl = URL "https://api.github.com/users/baxterthehacker/repos" + , whUserEventsUrl = URL "https://api.github.com/users/baxterthehacker/events{/privacy}" + , whUserReceivedEventsUrl = URL "https://api.github.com/users/baxterthehacker/received_events" + , whUserType = OwnerUser + , whUserIsAdminOfSite = False + } + , whDeploymentCreatedAt = read "2015-05-05 23:40:38Z" + , whDeploymentUpdatedAt = read "2015-05-05 23:40:38Z" + , whDeploymentStatusesUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/deployments/710692/statuses" + , whDeploymentRepoUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo" + } + , evDeploymentRepo = + HookRepository + { whRepoId = 35129377 + , whRepoNodeId = "MDg6Q2hlY2tSdW4xMjg2MjAyMjg=" + , whRepoName = "public-repo" + , whRepoFullName = "baxterthehacker/public-repo" + , whRepoOwner = + Right HookUser + { whUserLogin = "baxterthehacker" + , whUserId = 6752317 + , whUserNodeId = "MDg6Q2hlY2tSdW4xMjg2MjAyMjg=" + , whUserAvatarUrl = URL "https://avatars.githubusercontent.com/u/6752317?v=3" + , whUserGravatarId = URL "" + , whUserUrl = URL "https://api.github.com/users/baxterthehacker" + , whUserHtmlUrl = URL "https://github.com/baxterthehacker" + , whUserFollowersUrl = URL "https://api.github.com/users/baxterthehacker/followers" + , whUserFollowingUrl = URL "https://api.github.com/users/baxterthehacker/following{/other_user}" + , whUserGistsUrl = URL "https://api.github.com/users/baxterthehacker/gists{/gist_id}" + , whUserStarredUrl = URL "https://api.github.com/users/baxterthehacker/starred{/owner}{/repo}" + , whUserSubscriptionsUrl = URL "https://api.github.com/users/baxterthehacker/subscriptions" + , whUserOrganizationsUrl = URL "https://api.github.com/users/baxterthehacker/orgs" + , whUserReposUrl = URL "https://api.github.com/users/baxterthehacker/repos" + , whUserEventsUrl = URL "https://api.github.com/users/baxterthehacker/events{/privacy}" + , whUserReceivedEventsUrl = URL "https://api.github.com/users/baxterthehacker/received_events" + , whUserType = OwnerUser + , whUserIsAdminOfSite = False + } + , whRepoIsPrivate = False + , whRepoHtmlUrl = URL "https://github.com/baxterthehacker/public-repo" + , whRepoDescription = "" + , whRepoIsAFork = False + , whRepoUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo" + , whRepoForksUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/forks" + , whRepoKeysUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/keys{/key_id}" + , whRepoCollaboratorsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/collaborators{/collaborator}" + , whRepoTeamsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/teams" + , whRepoHooksUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/hooks" + , whRepoIssueEventsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/issues/events{/number}" + , whRepoEventsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/events" + , whRepoAssigneesUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/assignees{/user}" + , whRepoBranchesUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/branches{/branch}" + , whRepoTagsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/tags" + , whRepoBlobsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/git/blobs{/sha}" + , whRepoGitTagsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/git/tags{/sha}" + , whRepoGitRefsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/git/refs{/sha}" + , whRepoTreesUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/git/trees{/sha}" + , whRepoStatusesUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/statuses/{sha}" + , whRepoLanguagesUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/languages" + , whRepoStargazersUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/stargazers" + , whRepoContributorsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/contributors" + , whRepoSubscribersUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/subscribers" + , whRepoSubscriptionUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/subscription" + , whRepoCommitsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/commits{/sha}" + , whRepoGitCommitsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/git/commits{/sha}" + , whRepoCommentsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/comments{/number}" + , whRepoIssueCommentsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/issues/comments{/number}" + , whRepoContentsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/contents/{+path}" + , whRepoCompareUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/compare/{base}...{head}" + , whRepoMergesUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/merges" + , whRepoArchiveUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/{archive_format}{/ref}" + , whRepoDownloadsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/downloads" + , whRepoIssuesUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/issues{/number}" + , whRepoPullsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/pulls{/number}" + , whRepoMilestonesUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/milestones{/number}" + , whRepoNotificationsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/notifications{?since,all,participating}" + , whRepoLabelsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/labels{/name}" + , whRepoReleasesUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/releases{/id}" + , whRepoCreatedAt = read "2015-05-05 23:40:12Z" + , whRepoUpdatedAt = read "2015-05-05 23:40:30Z" + , whRepoPushedAt = read "2015-05-05 23:40:38Z" + , whRepoGitUrl = URL "git://github.com/baxterthehacker/public-repo.git" + , whRepoSshUrl = URL "git@github.com:baxterthehacker/public-repo.git" + , whRepoCloneUrl = URL "https://github.com/baxterthehacker/public-repo.git" + , whRepoSvnUrl = URL "https://github.com/baxterthehacker/public-repo" + , whRepoHomepage = Nothing + , whRepoSize = 0 + , whRepoStargazersCount = 0 + , whRepoWatchersCount = 0 + , whRepoLanguage = Nothing + , whRepoHasIssues = True + , whRepoHasDownloads = True + , whRepoHasWiki = True + , whRepoHasPages = True + , whRepoForkCount = 0 + , whRepoMirrorUrl = Nothing + , whRepoOpenIssuesCount = 2 + , whRepoDefaultBranchName = "master" + } + , evDeploymentSender = + HookUser + { whUserLogin = "baxterthehacker" + , whUserId = 6752317 + , whUserNodeId = "MDg6Q2hlY2tSdW4xMjg2MjAyMjg=" + , whUserAvatarUrl = URL "https://avatars.githubusercontent.com/u/6752317?v=3" + , whUserGravatarId = URL "" + , whUserUrl = URL "https://api.github.com/users/baxterthehacker" + , whUserHtmlUrl = URL "https://github.com/baxterthehacker" + , whUserFollowersUrl = URL "https://api.github.com/users/baxterthehacker/followers" + , whUserFollowingUrl = URL "https://api.github.com/users/baxterthehacker/following{/other_user}" + , whUserGistsUrl = URL "https://api.github.com/users/baxterthehacker/gists{/gist_id}" + , whUserStarredUrl = URL "https://api.github.com/users/baxterthehacker/starred{/owner}{/repo}" + , whUserSubscriptionsUrl = URL "https://api.github.com/users/baxterthehacker/subscriptions" + , whUserOrganizationsUrl = URL "https://api.github.com/users/baxterthehacker/orgs" + , whUserReposUrl = URL "https://api.github.com/users/baxterthehacker/repos" + , whUserEventsUrl = URL "https://api.github.com/users/baxterthehacker/events{/privacy}" + , whUserReceivedEventsUrl = URL "https://api.github.com/users/baxterthehacker/received_events" + , whUserType = OwnerUser + , whUserIsAdminOfSite = False + } + } + +deploymentStatusEventFixture :: DeploymentStatusEvent +deploymentStatusEventFixture = DeploymentStatusEvent + { evDeplStatusInfo = + HookDeploymentStatus + { whDeploymentStatusUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/deployments/710692/statuses/1115122" + , whDeploymentStatusId = 1115122 + , whDeploymentStatusNodeId = "MDg6Q2hlY2tSdW4xMjg2MjAyMjg=" + , whDeploymentStatusState = "success" + , whDeploymentStatusCreator = + HookUser + { whUserLogin = "baxterthehacker" + , whUserId = 6752317 + , whUserNodeId = "MDg6Q2hlY2tSdW4xMjg2MjAyMjg=" + , whUserAvatarUrl = URL "https://avatars.githubusercontent.com/u/6752317?v=3" + , whUserGravatarId = URL "" + , whUserUrl = URL "https://api.github.com/users/baxterthehacker" + , whUserHtmlUrl = URL "https://github.com/baxterthehacker" + , whUserFollowersUrl = URL "https://api.github.com/users/baxterthehacker/followers" + , whUserFollowingUrl = URL "https://api.github.com/users/baxterthehacker/following{/other_user}" + , whUserGistsUrl = URL "https://api.github.com/users/baxterthehacker/gists{/gist_id}" + , whUserStarredUrl = URL "https://api.github.com/users/baxterthehacker/starred{/owner}{/repo}" + , whUserSubscriptionsUrl = URL "https://api.github.com/users/baxterthehacker/subscriptions" + , whUserOrganizationsUrl = URL "https://api.github.com/users/baxterthehacker/orgs" + , whUserReposUrl = URL "https://api.github.com/users/baxterthehacker/repos" + , whUserEventsUrl = URL "https://api.github.com/users/baxterthehacker/events{/privacy}" + , whUserReceivedEventsUrl = URL "https://api.github.com/users/baxterthehacker/received_events" + , whUserType = OwnerUser + , whUserIsAdminOfSite = False + } + , whDeploymentStatusDesc = Nothing + , whDeploymentStatusTargetUrl = Nothing + , whDeploymentStatusCreatedAt = read "2015-05-05 23:40:39Z" + , whDeploymentStatusUpdatedAt = read "2015-05-05 23:40:39Z" + , whDeploymentStatusDeplUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/deployments/710692" + , whDeploymentStatusRepoUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo" + } + , evDeplStatusDeployment = + HookDeployment + { whDeploymentUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/deployments/710692" + , whDeploymentId = 710692 + , whDeploymentNodeId = "MDg6Q2hlY2tSdW4xMjg2MjAyMjg=" + , whDeploymentSha = "9049f1265b7d61be4a8904a9a27120d2064dab3b" + , whDeploymentRef = "master" + , whDeploymentTask = "deploy" + , whDeploymentEnv = "production" + , whDeploymentDescription = Nothing + , whDeploymentCreator = + HookUser + { whUserLogin = "baxterthehacker" + , whUserId = 6752317 + , whUserNodeId = "MDg6Q2hlY2tSdW4xMjg2MjAyMjg=" + , whUserAvatarUrl = URL "https://avatars.githubusercontent.com/u/6752317?v=3" + , whUserGravatarId = URL "" + , whUserUrl = URL "https://api.github.com/users/baxterthehacker" + , whUserHtmlUrl = URL "https://github.com/baxterthehacker" + , whUserFollowersUrl = URL "https://api.github.com/users/baxterthehacker/followers" + , whUserFollowingUrl = URL "https://api.github.com/users/baxterthehacker/following{/other_user}" + , whUserGistsUrl = URL "https://api.github.com/users/baxterthehacker/gists{/gist_id}" + , whUserStarredUrl = URL "https://api.github.com/users/baxterthehacker/starred{/owner}{/repo}" + , whUserSubscriptionsUrl = URL "https://api.github.com/users/baxterthehacker/subscriptions" + , whUserOrganizationsUrl = URL "https://api.github.com/users/baxterthehacker/orgs" + , whUserReposUrl = URL "https://api.github.com/users/baxterthehacker/repos" + , whUserEventsUrl = URL "https://api.github.com/users/baxterthehacker/events{/privacy}" + , whUserReceivedEventsUrl = URL "https://api.github.com/users/baxterthehacker/received_events" + , whUserType = OwnerUser + , whUserIsAdminOfSite = False + } + , whDeploymentCreatedAt = read "2015-05-05 23:40:38Z" + , whDeploymentUpdatedAt = read "2015-05-05 23:40:38Z" + , whDeploymentStatusesUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/deployments/710692/statuses" + , whDeploymentRepoUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo" + } + , evDeplStatusRepo = + HookRepository + { whRepoId = 35129377 + , whRepoNodeId = "MDg6Q2hlY2tSdW4xMjg2MjAyMjg=" + , whRepoName = "public-repo" + , whRepoFullName = "baxterthehacker/public-repo" + , whRepoOwner = + Right HookUser + { whUserLogin = "baxterthehacker" + , whUserId = 6752317 + , whUserNodeId = "MDg6Q2hlY2tSdW4xMjg2MjAyMjg=" + , whUserAvatarUrl = URL "https://avatars.githubusercontent.com/u/6752317?v=3" + , whUserGravatarId = URL "" + , whUserUrl = URL "https://api.github.com/users/baxterthehacker" + , whUserHtmlUrl = URL "https://github.com/baxterthehacker" + , whUserFollowersUrl = URL "https://api.github.com/users/baxterthehacker/followers" + , whUserFollowingUrl = URL "https://api.github.com/users/baxterthehacker/following{/other_user}" + , whUserGistsUrl = URL "https://api.github.com/users/baxterthehacker/gists{/gist_id}" + , whUserStarredUrl = URL "https://api.github.com/users/baxterthehacker/starred{/owner}{/repo}" + , whUserSubscriptionsUrl = URL "https://api.github.com/users/baxterthehacker/subscriptions" + , whUserOrganizationsUrl = URL "https://api.github.com/users/baxterthehacker/orgs" + , whUserReposUrl = URL "https://api.github.com/users/baxterthehacker/repos" + , whUserEventsUrl = URL "https://api.github.com/users/baxterthehacker/events{/privacy}" + , whUserReceivedEventsUrl = URL "https://api.github.com/users/baxterthehacker/received_events" + , whUserType = OwnerUser + , whUserIsAdminOfSite = False + } + , whRepoIsPrivate = False + , whRepoHtmlUrl = URL "https://github.com/baxterthehacker/public-repo" + , whRepoDescription = "" + , whRepoIsAFork = False + , whRepoUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo" + , whRepoForksUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/forks" + , whRepoKeysUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/keys{/key_id}" + , whRepoCollaboratorsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/collaborators{/collaborator}" + , whRepoTeamsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/teams" + , whRepoHooksUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/hooks" + , whRepoIssueEventsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/issues/events{/number}" + , whRepoEventsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/events" + , whRepoAssigneesUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/assignees{/user}" + , whRepoBranchesUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/branches{/branch}" + , whRepoTagsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/tags" + , whRepoBlobsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/git/blobs{/sha}" + , whRepoGitTagsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/git/tags{/sha}" + , whRepoGitRefsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/git/refs{/sha}" + , whRepoTreesUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/git/trees{/sha}" + , whRepoStatusesUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/statuses/{sha}" + , whRepoLanguagesUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/languages" + , whRepoStargazersUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/stargazers" + , whRepoContributorsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/contributors" + , whRepoSubscribersUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/subscribers" + , whRepoSubscriptionUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/subscription" + , whRepoCommitsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/commits{/sha}" + , whRepoGitCommitsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/git/commits{/sha}" + , whRepoCommentsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/comments{/number}" + , whRepoIssueCommentsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/issues/comments{/number}" + , whRepoContentsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/contents/{+path}" + , whRepoCompareUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/compare/{base}...{head}" + , whRepoMergesUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/merges" + , whRepoArchiveUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/{archive_format}{/ref}" + , whRepoDownloadsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/downloads" + , whRepoIssuesUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/issues{/number}" + , whRepoPullsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/pulls{/number}" + , whRepoMilestonesUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/milestones{/number}" + , whRepoNotificationsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/notifications{?since,all,participating}" + , whRepoLabelsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/labels{/name}" + , whRepoReleasesUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/releases{/id}" + , whRepoCreatedAt = read "2015-05-05 23:40:12Z" + , whRepoUpdatedAt = read "2015-05-05 23:40:30Z" + , whRepoPushedAt = read "2015-05-05 23:40:38Z" + , whRepoGitUrl = URL "git://github.com/baxterthehacker/public-repo.git" + , whRepoSshUrl = URL "git@github.com:baxterthehacker/public-repo.git" + , whRepoCloneUrl = URL "https://github.com/baxterthehacker/public-repo.git" + , whRepoSvnUrl = URL "https://github.com/baxterthehacker/public-repo" + , whRepoHomepage = Nothing + , whRepoSize = 0 + , whRepoStargazersCount = 0 + , whRepoWatchersCount = 0 + , whRepoLanguage = Nothing + , whRepoHasIssues = True + , whRepoHasDownloads = True + , whRepoHasWiki = True + , whRepoHasPages = True + , whRepoForkCount = 0 + , whRepoMirrorUrl = Nothing + , whRepoOpenIssuesCount = 2 + , whRepoDefaultBranchName = "master" + } + , evDeplStatusSender = + HookUser + { whUserLogin = "baxterthehacker" + , whUserId = 6752317 + , whUserNodeId = "MDg6Q2hlY2tSdW4xMjg2MjAyMjg=" + , whUserAvatarUrl = URL "https://avatars.githubusercontent.com/u/6752317?v=3" + , whUserGravatarId = URL "" + , whUserUrl = URL "https://api.github.com/users/baxterthehacker" + , whUserHtmlUrl = URL "https://github.com/baxterthehacker" + , whUserFollowersUrl = URL "https://api.github.com/users/baxterthehacker/followers" + , whUserFollowingUrl = URL "https://api.github.com/users/baxterthehacker/following{/other_user}" + , whUserGistsUrl = URL "https://api.github.com/users/baxterthehacker/gists{/gist_id}" + , whUserStarredUrl = URL "https://api.github.com/users/baxterthehacker/starred{/owner}{/repo}" + , whUserSubscriptionsUrl = URL "https://api.github.com/users/baxterthehacker/subscriptions" + , whUserOrganizationsUrl = URL "https://api.github.com/users/baxterthehacker/orgs" + , whUserReposUrl = URL "https://api.github.com/users/baxterthehacker/repos" + , whUserEventsUrl = URL "https://api.github.com/users/baxterthehacker/events{/privacy}" + , whUserReceivedEventsUrl = URL "https://api.github.com/users/baxterthehacker/received_events" + , whUserType = OwnerUser + , whUserIsAdminOfSite = False + } + } + +forkEventFixture :: ForkEvent +forkEventFixture = ForkEvent + { evForkDestination = + HookRepository + { whRepoId = 35129393 + , whRepoNodeId = "MDg6Q2hlY2tSdW4xMjg2MjAyMjg=" + , whRepoName = "public-repo" + , whRepoFullName = "baxterandthehackers/public-repo" + , whRepoOwner = + Right HookUser + { whUserLogin = "baxterandthehackers" + , whUserId = 7649605 + , whUserNodeId = "MDg6Q2hlY2tSdW4xMjg2MjAyMjg=" + , whUserAvatarUrl = URL "https://avatars.githubusercontent.com/u/7649605?v=3" + , whUserGravatarId = URL "" + , whUserUrl = URL "https://api.github.com/users/baxterandthehackers" + , whUserHtmlUrl = URL "https://github.com/baxterandthehackers" + , whUserFollowersUrl = URL "https://api.github.com/users/baxterandthehackers/followers" + , whUserFollowingUrl = URL "https://api.github.com/users/baxterandthehackers/following{/other_user}" + , whUserGistsUrl = URL "https://api.github.com/users/baxterandthehackers/gists{/gist_id}" + , whUserStarredUrl = URL "https://api.github.com/users/baxterandthehackers/starred{/owner}{/repo}" + , whUserSubscriptionsUrl = URL "https://api.github.com/users/baxterandthehackers/subscriptions" + , whUserOrganizationsUrl = URL "https://api.github.com/users/baxterandthehackers/orgs" + , whUserReposUrl = URL "https://api.github.com/users/baxterandthehackers/repos" + , whUserEventsUrl = URL "https://api.github.com/users/baxterandthehackers/events{/privacy}" + , whUserReceivedEventsUrl = URL "https://api.github.com/users/baxterandthehackers/received_events" + , whUserType = OwnerOrganization + , whUserIsAdminOfSite = False + } + , whRepoIsPrivate = False + , whRepoHtmlUrl = URL "https://github.com/baxterandthehackers/public-repo" + , whRepoDescription = "" + , whRepoIsAFork = True + , whRepoUrl = URL "https://api.github.com/repos/baxterandthehackers/public-repo" + , whRepoForksUrl = URL "https://api.github.com/repos/baxterandthehackers/public-repo/forks" + , whRepoKeysUrl = URL "https://api.github.com/repos/baxterandthehackers/public-repo/keys{/key_id}" + , whRepoCollaboratorsUrl = URL "https://api.github.com/repos/baxterandthehackers/public-repo/collaborators{/collaborator}" + , whRepoTeamsUrl = URL "https://api.github.com/repos/baxterandthehackers/public-repo/teams" + , whRepoHooksUrl = URL "https://api.github.com/repos/baxterandthehackers/public-repo/hooks" + , whRepoIssueEventsUrl = URL "https://api.github.com/repos/baxterandthehackers/public-repo/issues/events{/number}" + , whRepoEventsUrl = URL "https://api.github.com/repos/baxterandthehackers/public-repo/events" + , whRepoAssigneesUrl = URL "https://api.github.com/repos/baxterandthehackers/public-repo/assignees{/user}" + , whRepoBranchesUrl = URL "https://api.github.com/repos/baxterandthehackers/public-repo/branches{/branch}" + , whRepoTagsUrl = URL "https://api.github.com/repos/baxterandthehackers/public-repo/tags" + , whRepoBlobsUrl = URL "https://api.github.com/repos/baxterandthehackers/public-repo/git/blobs{/sha}" + , whRepoGitTagsUrl = URL "https://api.github.com/repos/baxterandthehackers/public-repo/git/tags{/sha}" + , whRepoGitRefsUrl = URL "https://api.github.com/repos/baxterandthehackers/public-repo/git/refs{/sha}" + , whRepoTreesUrl = URL "https://api.github.com/repos/baxterandthehackers/public-repo/git/trees{/sha}" + , whRepoStatusesUrl = URL "https://api.github.com/repos/baxterandthehackers/public-repo/statuses/{sha}" + , whRepoLanguagesUrl = URL "https://api.github.com/repos/baxterandthehackers/public-repo/languages" + , whRepoStargazersUrl = URL "https://api.github.com/repos/baxterandthehackers/public-repo/stargazers" + , whRepoContributorsUrl = URL "https://api.github.com/repos/baxterandthehackers/public-repo/contributors" + , whRepoSubscribersUrl = URL "https://api.github.com/repos/baxterandthehackers/public-repo/subscribers" + , whRepoSubscriptionUrl = URL "https://api.github.com/repos/baxterandthehackers/public-repo/subscription" + , whRepoCommitsUrl = URL "https://api.github.com/repos/baxterandthehackers/public-repo/commits{/sha}" + , whRepoGitCommitsUrl = URL "https://api.github.com/repos/baxterandthehackers/public-repo/git/commits{/sha}" + , whRepoCommentsUrl = URL "https://api.github.com/repos/baxterandthehackers/public-repo/comments{/number}" + , whRepoIssueCommentsUrl = URL "https://api.github.com/repos/baxterandthehackers/public-repo/issues/comments{/number}" + , whRepoContentsUrl = URL "https://api.github.com/repos/baxterandthehackers/public-repo/contents/{+path}" + , whRepoCompareUrl = URL "https://api.github.com/repos/baxterandthehackers/public-repo/compare/{base}...{head}" + , whRepoMergesUrl = URL "https://api.github.com/repos/baxterandthehackers/public-repo/merges" + , whRepoArchiveUrl = URL "https://api.github.com/repos/baxterandthehackers/public-repo/{archive_format}{/ref}" + , whRepoDownloadsUrl = URL "https://api.github.com/repos/baxterandthehackers/public-repo/downloads" + , whRepoIssuesUrl = URL "https://api.github.com/repos/baxterandthehackers/public-repo/issues{/number}" + , whRepoPullsUrl = URL "https://api.github.com/repos/baxterandthehackers/public-repo/pulls{/number}" + , whRepoMilestonesUrl = URL "https://api.github.com/repos/baxterandthehackers/public-repo/milestones{/number}" + , whRepoNotificationsUrl = URL "https://api.github.com/repos/baxterandthehackers/public-repo/notifications{?since,all,participating}" + , whRepoLabelsUrl = URL "https://api.github.com/repos/baxterandthehackers/public-repo/labels{/name}" + , whRepoReleasesUrl = URL "https://api.github.com/repos/baxterandthehackers/public-repo/releases{/id}" + , whRepoCreatedAt = read "2015-05-05 23:40:30Z" + , whRepoUpdatedAt = read "2015-05-05 23:40:30Z" + , whRepoPushedAt = read "2015-05-05 23:40:27Z" + , whRepoGitUrl = URL "git://github.com/baxterandthehackers/public-repo.git" + , whRepoSshUrl = URL "git@github.com:baxterandthehackers/public-repo.git" + , whRepoCloneUrl = URL "https://github.com/baxterandthehackers/public-repo.git" + , whRepoSvnUrl = URL "https://github.com/baxterandthehackers/public-repo" + , whRepoHomepage = Nothing + , whRepoSize = 0 + , whRepoStargazersCount = 0 + , whRepoWatchersCount = 0 + , whRepoLanguage = Nothing + , whRepoHasIssues = False + , whRepoHasDownloads = True + , whRepoHasWiki = True + , whRepoHasPages = True + , whRepoForkCount = 0 + , whRepoMirrorUrl = Nothing + , whRepoOpenIssuesCount = 0 + , whRepoDefaultBranchName = "master" + } + , evForkSource = + HookRepository + { whRepoId = 35129377 + , whRepoNodeId = "MDg6Q2hlY2tSdW4xMjg2MjAyMjg=" + , whRepoName = "public-repo" + , whRepoFullName = "baxterthehacker/public-repo" + , whRepoOwner = + Right HookUser + { whUserLogin = "baxterthehacker" + , whUserId = 6752317 + , whUserNodeId = "MDg6Q2hlY2tSdW4xMjg2MjAyMjg=" + , whUserAvatarUrl = URL "https://avatars.githubusercontent.com/u/6752317?v=3" + , whUserGravatarId = URL "" + , whUserUrl = URL "https://api.github.com/users/baxterthehacker" + , whUserHtmlUrl = URL "https://github.com/baxterthehacker" + , whUserFollowersUrl = URL "https://api.github.com/users/baxterthehacker/followers" + , whUserFollowingUrl = URL "https://api.github.com/users/baxterthehacker/following{/other_user}" + , whUserGistsUrl = URL "https://api.github.com/users/baxterthehacker/gists{/gist_id}" + , whUserStarredUrl = URL "https://api.github.com/users/baxterthehacker/starred{/owner}{/repo}" + , whUserSubscriptionsUrl = URL "https://api.github.com/users/baxterthehacker/subscriptions" + , whUserOrganizationsUrl = URL "https://api.github.com/users/baxterthehacker/orgs" + , whUserReposUrl = URL "https://api.github.com/users/baxterthehacker/repos" + , whUserEventsUrl = URL "https://api.github.com/users/baxterthehacker/events{/privacy}" + , whUserReceivedEventsUrl = URL "https://api.github.com/users/baxterthehacker/received_events" + , whUserType = OwnerUser + , whUserIsAdminOfSite = False + } + , whRepoIsPrivate = False + , whRepoHtmlUrl = URL "https://github.com/baxterthehacker/public-repo" + , whRepoDescription = "" + , whRepoIsAFork = False + , whRepoUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo" + , whRepoForksUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/forks" + , whRepoKeysUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/keys{/key_id}" + , whRepoCollaboratorsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/collaborators{/collaborator}" + , whRepoTeamsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/teams" + , whRepoHooksUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/hooks" + , whRepoIssueEventsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/issues/events{/number}" + , whRepoEventsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/events" + , whRepoAssigneesUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/assignees{/user}" + , whRepoBranchesUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/branches{/branch}" + , whRepoTagsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/tags" + , whRepoBlobsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/git/blobs{/sha}" + , whRepoGitTagsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/git/tags{/sha}" + , whRepoGitRefsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/git/refs{/sha}" + , whRepoTreesUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/git/trees{/sha}" + , whRepoStatusesUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/statuses/{sha}" + , whRepoLanguagesUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/languages" + , whRepoStargazersUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/stargazers" + , whRepoContributorsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/contributors" + , whRepoSubscribersUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/subscribers" + , whRepoSubscriptionUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/subscription" + , whRepoCommitsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/commits{/sha}" + , whRepoGitCommitsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/git/commits{/sha}" + , whRepoCommentsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/comments{/number}" + , whRepoIssueCommentsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/issues/comments{/number}" + , whRepoContentsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/contents/{+path}" + , whRepoCompareUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/compare/{base}...{head}" + , whRepoMergesUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/merges" + , whRepoArchiveUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/{archive_format}{/ref}" + , whRepoDownloadsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/downloads" + , whRepoIssuesUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/issues{/number}" + , whRepoPullsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/pulls{/number}" + , whRepoMilestonesUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/milestones{/number}" + , whRepoNotificationsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/notifications{?since,all,participating}" + , whRepoLabelsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/labels{/name}" + , whRepoReleasesUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/releases{/id}" + , whRepoCreatedAt = read "2015-05-05 23:40:12Z" + , whRepoUpdatedAt = read "2015-05-05 23:40:30Z" + , whRepoPushedAt = read "2015-05-05 23:40:27Z" + , whRepoGitUrl = URL "git://github.com/baxterthehacker/public-repo.git" + , whRepoSshUrl = URL "git@github.com:baxterthehacker/public-repo.git" + , whRepoCloneUrl = URL "https://github.com/baxterthehacker/public-repo.git" + , whRepoSvnUrl = URL "https://github.com/baxterthehacker/public-repo" + , whRepoHomepage = Nothing + , whRepoSize = 0 + , whRepoStargazersCount = 0 + , whRepoWatchersCount = 0 + , whRepoLanguage = Nothing + , whRepoHasIssues = True + , whRepoHasDownloads = True + , whRepoHasWiki = True + , whRepoHasPages = True + , whRepoForkCount = 1 + , whRepoMirrorUrl = Nothing + , whRepoOpenIssuesCount = 2 + , whRepoDefaultBranchName = "master" + } + , evForkSender = + HookUser + { whUserLogin = "baxterandthehackers" + , whUserId = 7649605 + , whUserNodeId = "MDg6Q2hlY2tSdW4xMjg2MjAyMjg=" + , whUserAvatarUrl = URL "https://avatars.githubusercontent.com/u/7649605?v=3" + , whUserGravatarId = URL "" + , whUserUrl = URL "https://api.github.com/users/baxterandthehackers" + , whUserHtmlUrl = URL "https://github.com/baxterandthehackers" + , whUserFollowersUrl = URL "https://api.github.com/users/baxterandthehackers/followers" + , whUserFollowingUrl = URL "https://api.github.com/users/baxterandthehackers/following{/other_user}" + , whUserGistsUrl = URL "https://api.github.com/users/baxterandthehackers/gists{/gist_id}" + , whUserStarredUrl = URL "https://api.github.com/users/baxterandthehackers/starred{/owner}{/repo}" + , whUserSubscriptionsUrl = URL "https://api.github.com/users/baxterandthehackers/subscriptions" + , whUserOrganizationsUrl = URL "https://api.github.com/users/baxterandthehackers/orgs" + , whUserReposUrl = URL "https://api.github.com/users/baxterandthehackers/repos" + , whUserEventsUrl = URL "https://api.github.com/users/baxterandthehackers/events{/privacy}" + , whUserReceivedEventsUrl = URL "https://api.github.com/users/baxterandthehackers/received_events" + , whUserType = OwnerOrganization + , whUserIsAdminOfSite = False + } + } + +gollumEventFixture :: GollumEvent +gollumEventFixture = GollumEvent + { evGollumPages = V.fromList + [ HookWikiPage + { whWikiPageName = "Home" + , whWikiPageTitle = "Home" + , whWikiPageSummary = Nothing + , wkWikiPageAction = "created" + , whWikiPageSha = "91ea1bd42aa2ba166b86e8aefe049e9837214e67" + , whWikiPageHtmlUrl = URL "https://github.com/baxterthehacker/public-repo/wiki/Home" + } + ] + , evGollumRepo = + HookRepository + { whRepoId = 35129377 + , whRepoNodeId = "MDg6Q2hlY2tSdW4xMjg2MjAyMjg=" + , whRepoName = "public-repo" + , whRepoFullName = "baxterthehacker/public-repo" + , whRepoOwner = + Right HookUser + { whUserLogin = "baxterthehacker" + , whUserId = 6752317 + , whUserNodeId = "MDg6Q2hlY2tSdW4xMjg2MjAyMjg=" + , whUserAvatarUrl = URL "https://avatars.githubusercontent.com/u/6752317?v=3" + , whUserGravatarId = URL "" + , whUserUrl = URL "https://api.github.com/users/baxterthehacker" + , whUserHtmlUrl = URL "https://github.com/baxterthehacker" + , whUserFollowersUrl = URL "https://api.github.com/users/baxterthehacker/followers" + , whUserFollowingUrl = URL "https://api.github.com/users/baxterthehacker/following{/other_user}" + , whUserGistsUrl = URL "https://api.github.com/users/baxterthehacker/gists{/gist_id}" + , whUserStarredUrl = URL "https://api.github.com/users/baxterthehacker/starred{/owner}{/repo}" + , whUserSubscriptionsUrl = URL "https://api.github.com/users/baxterthehacker/subscriptions" + , whUserOrganizationsUrl = URL "https://api.github.com/users/baxterthehacker/orgs" + , whUserReposUrl = URL "https://api.github.com/users/baxterthehacker/repos" + , whUserEventsUrl = URL "https://api.github.com/users/baxterthehacker/events{/privacy}" + , whUserReceivedEventsUrl = URL "https://api.github.com/users/baxterthehacker/received_events" + , whUserType = OwnerUser + , whUserIsAdminOfSite = False + } + , whRepoIsPrivate = False + , whRepoHtmlUrl = URL "https://github.com/baxterthehacker/public-repo" + , whRepoDescription = "" + , whRepoIsAFork = False + , whRepoUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo" + , whRepoForksUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/forks" + , whRepoKeysUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/keys{/key_id}" + , whRepoCollaboratorsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/collaborators{/collaborator}" + , whRepoTeamsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/teams" + , whRepoHooksUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/hooks" + , whRepoIssueEventsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/issues/events{/number}" + , whRepoEventsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/events" + , whRepoAssigneesUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/assignees{/user}" + , whRepoBranchesUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/branches{/branch}" + , whRepoTagsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/tags" + , whRepoBlobsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/git/blobs{/sha}" + , whRepoGitTagsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/git/tags{/sha}" + , whRepoGitRefsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/git/refs{/sha}" + , whRepoTreesUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/git/trees{/sha}" + , whRepoStatusesUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/statuses/{sha}" + , whRepoLanguagesUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/languages" + , whRepoStargazersUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/stargazers" + , whRepoContributorsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/contributors" + , whRepoSubscribersUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/subscribers" + , whRepoSubscriptionUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/subscription" + , whRepoCommitsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/commits{/sha}" + , whRepoGitCommitsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/git/commits{/sha}" + , whRepoCommentsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/comments{/number}" + , whRepoIssueCommentsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/issues/comments{/number}" + , whRepoContentsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/contents/{+path}" + , whRepoCompareUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/compare/{base}...{head}" + , whRepoMergesUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/merges" + , whRepoArchiveUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/{archive_format}{/ref}" + , whRepoDownloadsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/downloads" + , whRepoIssuesUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/issues{/number}" + , whRepoPullsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/pulls{/number}" + , whRepoMilestonesUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/milestones{/number}" + , whRepoNotificationsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/notifications{?since,all,participating}" + , whRepoLabelsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/labels{/name}" + , whRepoReleasesUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/releases{/id}" + , whRepoCreatedAt = read "2015-05-05 23:40:12Z" + , whRepoUpdatedAt = read "2015-05-05 23:40:12Z" + , whRepoPushedAt = read "2015-05-05 23:40:17Z" + , whRepoGitUrl = URL "git://github.com/baxterthehacker/public-repo.git" + , whRepoSshUrl = URL "git@github.com:baxterthehacker/public-repo.git" + , whRepoCloneUrl = URL "https://github.com/baxterthehacker/public-repo.git" + , whRepoSvnUrl = URL "https://github.com/baxterthehacker/public-repo" + , whRepoHomepage = Nothing + , whRepoSize = 0 + , whRepoStargazersCount = 0 + , whRepoWatchersCount = 0 + , whRepoLanguage = Nothing + , whRepoHasIssues = True + , whRepoHasDownloads = True + , whRepoHasWiki = True + , whRepoHasPages = True + , whRepoForkCount = 0 + , whRepoMirrorUrl = Nothing + , whRepoOpenIssuesCount = 0 + , whRepoDefaultBranchName = "master" + } + , evGollumSender = + HookUser + { whUserLogin = "jasonrudolph" + , whUserId = 2988 + , whUserNodeId = "MDg6Q2hlY2tSdW4xMjg2MjAyMjg=" + , whUserAvatarUrl = URL "https://avatars.githubusercontent.com/u/2988?v=3" + , whUserGravatarId = URL "" + , whUserUrl = URL "https://api.github.com/users/jasonrudolph" + , whUserHtmlUrl = URL "https://github.com/jasonrudolph" + , whUserFollowersUrl = URL "https://api.github.com/users/jasonrudolph/followers" + , whUserFollowingUrl = URL "https://api.github.com/users/jasonrudolph/following{/other_user}" + , whUserGistsUrl = URL "https://api.github.com/users/jasonrudolph/gists{/gist_id}" + , whUserStarredUrl = URL "https://api.github.com/users/jasonrudolph/starred{/owner}{/repo}" + , whUserSubscriptionsUrl = URL "https://api.github.com/users/jasonrudolph/subscriptions" + , whUserOrganizationsUrl = URL "https://api.github.com/users/jasonrudolph/orgs" + , whUserReposUrl = URL "https://api.github.com/users/jasonrudolph/repos" + , whUserEventsUrl = URL "https://api.github.com/users/jasonrudolph/events{/privacy}" + , whUserReceivedEventsUrl = URL "https://api.github.com/users/jasonrudolph/received_events" + , whUserType = OwnerUser + , whUserIsAdminOfSite = True + } + } + +installationEventFixture :: InstallationEvent +installationEventFixture = InstallationEvent + { evInstallationAction = InstallationDeletedAction + , evInstallationInfo = + HookInstallation + { whInstallationId = 2 + , whInstallationAccount = + HookUser + { whUserLogin = "octocat" + , whUserId = 1 + , whUserNodeId = "MDg6Q2hlY2tSdW4xMjg2MjAyMjg=" + , whUserAvatarUrl = URL "https://github.com/images/error/octocat_happy.gif" + , whUserGravatarId = URL "" + , whUserUrl = URL "https://api.github.com/users/octocat" + , whUserHtmlUrl = URL "https://github.com/octocat" + , whUserFollowersUrl = URL "https://api.github.com/users/octocat/followers" + , whUserFollowingUrl = URL "https://api.github.com/users/octocat/following{/other_user}" + , whUserGistsUrl = URL "https://api.github.com/users/octocat/gists{/gist_id}" + , whUserStarredUrl = URL "https://api.github.com/users/octocat/starred{/owner}{/repo}" + , whUserSubscriptionsUrl = URL "https://api.github.com/users/octocat/subscriptions" + , whUserOrganizationsUrl = URL "https://api.github.com/users/octocat/orgs" + , whUserReposUrl = URL "https://api.github.com/users/octocat/repos" + , whUserEventsUrl = URL "https://api.github.com/users/octocat/events{/privacy}" + , whUserReceivedEventsUrl = URL "https://api.github.com/users/octocat/received_events" + , whUserType = OwnerUser + , whUserIsAdminOfSite = False + } + , whInstallationRepoSel = "selected" + , whInstallationTokenUrl = URL "https://api.github.com/installations/2/access_tokens" + , whInstallationRepoUrl = URL "https://api.github.com/installation/repositories" + } + , evInstallationRepos = V.fromList + [ HookRepositorySimple { whSimplRepoId = 1296269 , whSimplRepoNodeId = "MDg6Q2hlY2tSdW4xMjg2MjAyMjg=" , whSimplRepoName = "Hello-World" , whSimplRepoFullName = "octocat/Hello-World", whSimplRepoIsPrivate = True } ] + , evInstallationSender = + HookUser + { whUserLogin = "octocat" + , whUserId = 1 + , whUserNodeId = "MDg6Q2hlY2tSdW4xMjg2MjAyMjg=" + , whUserAvatarUrl = URL "https://github.com/images/error/octocat_happy.gif" + , whUserGravatarId = URL "" + , whUserUrl = URL "https://api.github.com/users/octocat" + , whUserHtmlUrl = URL "https://github.com/octocat" + , whUserFollowersUrl = URL "https://api.github.com/users/octocat/followers" + , whUserFollowingUrl = URL "https://api.github.com/users/octocat/following{/other_user}" + , whUserGistsUrl = URL "https://api.github.com/users/octocat/gists{/gist_id}" + , whUserStarredUrl = URL "https://api.github.com/users/octocat/starred{/owner}{/repo}" + , whUserSubscriptionsUrl = URL "https://api.github.com/users/octocat/subscriptions" + , whUserOrganizationsUrl = URL "https://api.github.com/users/octocat/orgs" + , whUserReposUrl = URL "https://api.github.com/users/octocat/repos" + , whUserEventsUrl = URL "https://api.github.com/users/octocat/events{/privacy}" + , whUserReceivedEventsUrl = URL "https://api.github.com/users/octocat/received_events" + , whUserType = OwnerUser + , whUserIsAdminOfSite = False + } + } + +installationRepoEventFixture :: InstallationRepositoriesEvent +installationRepoEventFixture = InstallationRepositoriesEvent + { evInstallationRepoAction = InstallationRepoRemovedAction + , evInstallationRepoInfo = + HookInstallation + { whInstallationId = 2 + , whInstallationAccount = + HookUser + { whUserLogin = "octocat" + , whUserId = 1 + , whUserNodeId = "MDg6Q2hlY2tSdW4xMjg2MjAyMjg=" + , whUserAvatarUrl = URL "https://github.com/images/error/octocat_happy.gif" + , whUserGravatarId = URL "" + , whUserUrl = URL "https://api.github.com/users/octocat" + , whUserHtmlUrl = URL "https://github.com/octocat" + , whUserFollowersUrl = URL "https://api.github.com/users/octocat/followers" + , whUserFollowingUrl = URL "https://api.github.com/users/octocat/following{/other_user}" + , whUserGistsUrl = URL "https://api.github.com/users/octocat/gists{/gist_id}" + , whUserStarredUrl = URL "https://api.github.com/users/octocat/starred{/owner}{/repo}" + , whUserSubscriptionsUrl = URL "https://api.github.com/users/octocat/subscriptions" + , whUserOrganizationsUrl = URL "https://api.github.com/users/octocat/orgs" + , whUserReposUrl = URL "https://api.github.com/users/octocat/repos" + , whUserEventsUrl = URL "https://api.github.com/users/octocat/events{/privacy}" + , whUserReceivedEventsUrl = URL "https://api.github.com/users/octocat/received_events" + , whUserType = OwnerUser + , whUserIsAdminOfSite = False + } + , whInstallationRepoSel = "selected" + , whInstallationTokenUrl = URL "https://api.github.com/installations/2/access_tokens" + , whInstallationRepoUrl = URL "https://api.github.com/installation/repositories" + } + , evInstallationRepoSel = "selected" + , evInstallationReposAdd = V.empty + , evInstallationReposRemove = V.fromList + [ HookRepositorySimple { whSimplRepoId = 1296269 , whSimplRepoNodeId = "MDg6Q2hlY2tSdW4xMjg2MjAyMjg=" , whSimplRepoName = "Hello-World" , whSimplRepoFullName = "octocat/Hello-World", whSimplRepoIsPrivate = False } ] + , evInstallationReposSender = + HookUser + { whUserLogin = "octocat" + , whUserId = 1 + , whUserNodeId = "MDg6Q2hlY2tSdW4xMjg2MjAyMjg=" + , whUserAvatarUrl = URL "https://github.com/images/error/octocat_happy.gif" + , whUserGravatarId = URL "" + , whUserUrl = URL "https://api.github.com/users/octocat" + , whUserHtmlUrl = URL "https://github.com/octocat" + , whUserFollowersUrl = URL "https://api.github.com/users/octocat/followers" + , whUserFollowingUrl = URL "https://api.github.com/users/octocat/following{/other_user}" + , whUserGistsUrl = URL "https://api.github.com/users/octocat/gists{/gist_id}" + , whUserStarredUrl = URL "https://api.github.com/users/octocat/starred{/owner}{/repo}" + , whUserSubscriptionsUrl = URL "https://api.github.com/users/octocat/subscriptions" + , whUserOrganizationsUrl = URL "https://api.github.com/users/octocat/orgs" + , whUserReposUrl = URL "https://api.github.com/users/octocat/repos" + , whUserEventsUrl = URL "https://api.github.com/users/octocat/events{/privacy}" + , whUserReceivedEventsUrl = URL "https://api.github.com/users/octocat/received_events" + , whUserType = OwnerUser + , whUserIsAdminOfSite = False + } + } + +issueCommentEventFixture :: IssueCommentEvent +issueCommentEventFixture = IssueCommentEvent + { evIssueCommentAction = IssueCommentCreatedAction + , evIssueCommentIssue = + HookIssue + { whIssueUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/issues/2" + , whIssueLabelsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/issues/2/labels{/name}" + , whIssueCommentsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/issues/2/comments" + , whIssueEventsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/issues/2/events" + , whIssueHtmlUrl = URL "https://github.com/baxterthehacker/public-repo/issues/2" + , whIssueId = 73464126 + , whIssueNodeId = "MDg6Q2hlY2tSdW4xMjg2MjAyMjg=" + , whIssueNumber = 2 + , whIssueTitle = "Spelling error in the README file" + , whIssueUser = + HookUser + { whUserLogin = "baxterthehacker" + , whUserId = 6752317 + , whUserNodeId = "MDg6Q2hlY2tSdW4xMjg2MjAyMjg=" + , whUserAvatarUrl = URL "https://avatars.githubusercontent.com/u/6752317?v=3" + , whUserGravatarId = URL "" + , whUserUrl = URL "https://api.github.com/users/baxterthehacker" + , whUserHtmlUrl = URL "https://github.com/baxterthehacker" + , whUserFollowersUrl = URL "https://api.github.com/users/baxterthehacker/followers" + , whUserFollowingUrl = URL "https://api.github.com/users/baxterthehacker/following{/other_user}" + , whUserGistsUrl = URL "https://api.github.com/users/baxterthehacker/gists{/gist_id}" + , whUserStarredUrl = URL "https://api.github.com/users/baxterthehacker/starred{/owner}{/repo}" + , whUserSubscriptionsUrl = URL "https://api.github.com/users/baxterthehacker/subscriptions" + , whUserOrganizationsUrl = URL "https://api.github.com/users/baxterthehacker/orgs" + , whUserReposUrl = URL "https://api.github.com/users/baxterthehacker/repos" + , whUserEventsUrl = URL "https://api.github.com/users/baxterthehacker/events{/privacy}" + , whUserReceivedEventsUrl = URL "https://api.github.com/users/baxterthehacker/received_events" + , whUserType = OwnerUser + , whUserIsAdminOfSite = False + } + , whIssueLabels = V.fromList + [ HookIssueLabels + { whIssueLabelId = Nothing + , whIssueLabelNodeId = Just "MDg6Q2hlY2tSdW4xMjg2MjAyMjg=" + , whIssueLabelUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/labels/bug" + , whIssueLabelName = "bug" + , whIssueLabelColor = "fc2929" + , whIssueLabelIsDefault = False + } + ] + , whIssueState = "open" + , whIssueIsLocked = False + , whIssueAssignee = Nothing + , whIssueMilestone = Nothing + , whIssueCommentCount = 1 + , whIssueCreatedAt = read "2015-05-05 23:40:28Z" + , whIssueUpdatedAt = read "2015-05-05 23:40:28Z" + , whIssueClosedAt = Nothing + , whIssueBody = "It looks like you accidently spelled 'commit' with two 't's." + } + , evIssueCommentPayload = + HookIssueComment + { whIssueCommentUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/issues/comments/99262140" + , whIssueCommentHtmlUrl = URL "https://github.com/baxterthehacker/public-repo/issues/2#issuecomment-99262140" + , whIssueCommentIssueUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/issues/2" + , whIssueCommentId = 99262140 + , whIssueCommentNodeId = "MDg6Q2hlY2tSdW4xMjg2MjAyMjg=" + , whIssueCommentUser = + HookUser + { whUserLogin = "baxterthehacker" + , whUserId = 6752317 + , whUserNodeId = "MDg6Q2hlY2tSdW4xMjg2MjAyMjg=" + , whUserAvatarUrl = URL "https://avatars.githubusercontent.com/u/6752317?v=3" + , whUserGravatarId = URL "" + , whUserUrl = URL "https://api.github.com/users/baxterthehacker" + , whUserHtmlUrl = URL "https://github.com/baxterthehacker" + , whUserFollowersUrl = URL "https://api.github.com/users/baxterthehacker/followers" + , whUserFollowingUrl = URL "https://api.github.com/users/baxterthehacker/following{/other_user}" + , whUserGistsUrl = URL "https://api.github.com/users/baxterthehacker/gists{/gist_id}" + , whUserStarredUrl = URL "https://api.github.com/users/baxterthehacker/starred{/owner}{/repo}" + , whUserSubscriptionsUrl = URL "https://api.github.com/users/baxterthehacker/subscriptions" + , whUserOrganizationsUrl = URL "https://api.github.com/users/baxterthehacker/orgs" + , whUserReposUrl = URL "https://api.github.com/users/baxterthehacker/repos" + , whUserEventsUrl = URL "https://api.github.com/users/baxterthehacker/events{/privacy}" + , whUserReceivedEventsUrl = URL "https://api.github.com/users/baxterthehacker/received_events" + , whUserType = OwnerUser + , whUserIsAdminOfSite = False + } + , whIssueCommentCreatedAt = read "2015-05-05 23:40:28Z" + , whIssueCommentUpdatedAt = read "2015-05-05 23:40:28Z" + , whIssueCommentBody = "You are totally right! I'll get this fixed right away." + } + , evIssueCommentRepo = + HookRepository + { whRepoId = 35129377 + , whRepoNodeId = "MDg6Q2hlY2tSdW4xMjg2MjAyMjg=" + , whRepoName = "public-repo" + , whRepoFullName = "baxterthehacker/public-repo" + , whRepoOwner = + Right HookUser + { whUserLogin = "baxterthehacker" + , whUserId = 6752317 + , whUserNodeId = "MDg6Q2hlY2tSdW4xMjg2MjAyMjg=" + , whUserAvatarUrl = URL "https://avatars.githubusercontent.com/u/6752317?v=3" + , whUserGravatarId = URL "" + , whUserUrl = URL "https://api.github.com/users/baxterthehacker" + , whUserHtmlUrl = URL "https://github.com/baxterthehacker" + , whUserFollowersUrl = URL "https://api.github.com/users/baxterthehacker/followers" + , whUserFollowingUrl = URL "https://api.github.com/users/baxterthehacker/following{/other_user}" + , whUserGistsUrl = URL "https://api.github.com/users/baxterthehacker/gists{/gist_id}" + , whUserStarredUrl = URL "https://api.github.com/users/baxterthehacker/starred{/owner}{/repo}" + , whUserSubscriptionsUrl = URL "https://api.github.com/users/baxterthehacker/subscriptions" + , whUserOrganizationsUrl = URL "https://api.github.com/users/baxterthehacker/orgs" + , whUserReposUrl = URL "https://api.github.com/users/baxterthehacker/repos" + , whUserEventsUrl = URL "https://api.github.com/users/baxterthehacker/events{/privacy}" + , whUserReceivedEventsUrl = URL "https://api.github.com/users/baxterthehacker/received_events" + , whUserType = OwnerUser + , whUserIsAdminOfSite = False + } + , whRepoIsPrivate = False + , whRepoHtmlUrl = URL "https://github.com/baxterthehacker/public-repo" + , whRepoDescription = "" + , whRepoIsAFork = False + , whRepoUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo" + , whRepoForksUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/forks" + , whRepoKeysUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/keys{/key_id}" + , whRepoCollaboratorsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/collaborators{/collaborator}" + , whRepoTeamsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/teams" + , whRepoHooksUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/hooks" + , whRepoIssueEventsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/issues/events{/number}" + , whRepoEventsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/events" + , whRepoAssigneesUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/assignees{/user}" + , whRepoBranchesUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/branches{/branch}" + , whRepoTagsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/tags" + , whRepoBlobsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/git/blobs{/sha}" + , whRepoGitTagsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/git/tags{/sha}" + , whRepoGitRefsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/git/refs{/sha}" + , whRepoTreesUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/git/trees{/sha}" + , whRepoStatusesUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/statuses/{sha}" + , whRepoLanguagesUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/languages" + , whRepoStargazersUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/stargazers" + , whRepoContributorsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/contributors" + , whRepoSubscribersUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/subscribers" + , whRepoSubscriptionUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/subscription" + , whRepoCommitsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/commits{/sha}" + , whRepoGitCommitsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/git/commits{/sha}" + , whRepoCommentsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/comments{/number}" + , whRepoIssueCommentsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/issues/comments{/number}" + , whRepoContentsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/contents/{+path}" + , whRepoCompareUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/compare/{base}...{head}" + , whRepoMergesUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/merges" + , whRepoArchiveUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/{archive_format}{/ref}" + , whRepoDownloadsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/downloads" + , whRepoIssuesUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/issues{/number}" + , whRepoPullsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/pulls{/number}" + , whRepoMilestonesUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/milestones{/number}" + , whRepoNotificationsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/notifications{?since,all,participating}" + , whRepoLabelsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/labels{/name}" + , whRepoReleasesUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/releases{/id}" + , whRepoCreatedAt = read "2015-05-05 23:40:12Z" + , whRepoUpdatedAt = read "2015-05-05 23:40:12Z" + , whRepoPushedAt = read "2015-05-05 23:40:27Z" + , whRepoGitUrl = URL "git://github.com/baxterthehacker/public-repo.git" + , whRepoSshUrl = URL "git@github.com:baxterthehacker/public-repo.git" + , whRepoCloneUrl = URL "https://github.com/baxterthehacker/public-repo.git" + , whRepoSvnUrl = URL "https://github.com/baxterthehacker/public-repo" + , whRepoHomepage = Nothing + , whRepoSize = 0 + , whRepoStargazersCount = 0 + , whRepoWatchersCount = 0 + , whRepoLanguage = Nothing + , whRepoHasIssues = True + , whRepoHasDownloads = True + , whRepoHasWiki = True + , whRepoHasPages = True + , whRepoForkCount = 0 + , whRepoMirrorUrl = Nothing + , whRepoOpenIssuesCount = 2 + , whRepoDefaultBranchName = "master" + } + , evIssueCommentSender = + HookUser + { whUserLogin = "baxterthehacker" + , whUserId = 6752317 + , whUserNodeId = "MDg6Q2hlY2tSdW4xMjg2MjAyMjg=" + , whUserAvatarUrl = URL "https://avatars.githubusercontent.com/u/6752317?v=3" + , whUserGravatarId = URL "" + , whUserUrl = URL "https://api.github.com/users/baxterthehacker" + , whUserHtmlUrl = URL "https://github.com/baxterthehacker" + , whUserFollowersUrl = URL "https://api.github.com/users/baxterthehacker/followers" + , whUserFollowingUrl = URL "https://api.github.com/users/baxterthehacker/following{/other_user}" + , whUserGistsUrl = URL "https://api.github.com/users/baxterthehacker/gists{/gist_id}" + , whUserStarredUrl = URL "https://api.github.com/users/baxterthehacker/starred{/owner}{/repo}" + , whUserSubscriptionsUrl = URL "https://api.github.com/users/baxterthehacker/subscriptions" + , whUserOrganizationsUrl = URL "https://api.github.com/users/baxterthehacker/orgs" + , whUserReposUrl = URL "https://api.github.com/users/baxterthehacker/repos" + , whUserEventsUrl = URL "https://api.github.com/users/baxterthehacker/events{/privacy}" + , whUserReceivedEventsUrl = URL "https://api.github.com/users/baxterthehacker/received_events" + , whUserType = OwnerUser + , whUserIsAdminOfSite = False + } + } + +issuesEventFixture :: IssuesEvent +issuesEventFixture = IssuesEvent + { evIssuesEventAction = IssuesOpenedAction + , evIssuesEventIssue = + HookIssue + { whIssueUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/issues/2" + , whIssueLabelsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/issues/2/labels{/name}" + , whIssueCommentsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/issues/2/comments" + , whIssueEventsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/issues/2/events" + , whIssueHtmlUrl = URL "https://github.com/baxterthehacker/public-repo/issues/2" + , whIssueId = 73464126 + , whIssueNodeId = "MDg6Q2hlY2tSdW4xMjg2MjAyMjg=" + , whIssueNumber = 2 + , whIssueTitle = "Spelling error in the README file" + , whIssueUser = + HookUser + { whUserLogin = "baxterthehacker" + , whUserId = 6752317 + , whUserNodeId = "MDg6Q2hlY2tSdW4xMjg2MjAyMjg=" + , whUserAvatarUrl = URL "https://avatars.githubusercontent.com/u/6752317?v=3" + , whUserGravatarId = URL "" + , whUserUrl = URL "https://api.github.com/users/baxterthehacker" + , whUserHtmlUrl = URL "https://github.com/baxterthehacker" + , whUserFollowersUrl = URL "https://api.github.com/users/baxterthehacker/followers" + , whUserFollowingUrl = URL "https://api.github.com/users/baxterthehacker/following{/other_user}" + , whUserGistsUrl = URL "https://api.github.com/users/baxterthehacker/gists{/gist_id}" + , whUserStarredUrl = URL "https://api.github.com/users/baxterthehacker/starred{/owner}{/repo}" + , whUserSubscriptionsUrl = URL "https://api.github.com/users/baxterthehacker/subscriptions" + , whUserOrganizationsUrl = URL "https://api.github.com/users/baxterthehacker/orgs" + , whUserReposUrl = URL "https://api.github.com/users/baxterthehacker/repos" + , whUserEventsUrl = URL "https://api.github.com/users/baxterthehacker/events{/privacy}" + , whUserReceivedEventsUrl = URL "https://api.github.com/users/baxterthehacker/received_events" + , whUserType = OwnerUser + , whUserIsAdminOfSite = False + } + , whIssueLabels = V.fromList + [ HookIssueLabels + { whIssueLabelId = Just 208045946 + , whIssueLabelNodeId = Just "MDg6Q2hlY2tSdW4xMjg2MjAyMjg=" + , whIssueLabelUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/labels/bug" + , whIssueLabelName = "bug" + , whIssueLabelColor = "fc2929" + , whIssueLabelIsDefault = True + } + ] + , whIssueState = "open" + , whIssueIsLocked = False + , whIssueAssignee = Nothing + , whIssueMilestone = Nothing + , whIssueCommentCount = 0 + , whIssueCreatedAt = read "2015-05-05 23:40:28Z" + , whIssueUpdatedAt = read "2015-05-05 23:40:28Z" + , whIssueClosedAt = Nothing + , whIssueBody = "It looks like you accidently spelled 'commit' with two 't's." + } + , evIssuesEventRepo = + HookRepository + { whRepoId = 35129377 + , whRepoNodeId = "MDg6Q2hlY2tSdW4xMjg2MjAyMjg=" + , whRepoName = "public-repo" + , whRepoFullName = "baxterthehacker/public-repo" + , whRepoOwner = + Right HookUser + { whUserLogin = "baxterthehacker" + , whUserId = 6752317 + , whUserNodeId = "MDg6Q2hlY2tSdW4xMjg2MjAyMjg=" + , whUserAvatarUrl = URL "https://avatars.githubusercontent.com/u/6752317?v=3" + , whUserGravatarId = URL "" + , whUserUrl = URL "https://api.github.com/users/baxterthehacker" + , whUserHtmlUrl = URL "https://github.com/baxterthehacker" + , whUserFollowersUrl = URL "https://api.github.com/users/baxterthehacker/followers" + , whUserFollowingUrl = URL "https://api.github.com/users/baxterthehacker/following{/other_user}" + , whUserGistsUrl = URL "https://api.github.com/users/baxterthehacker/gists{/gist_id}" + , whUserStarredUrl = URL "https://api.github.com/users/baxterthehacker/starred{/owner}{/repo}" + , whUserSubscriptionsUrl = URL "https://api.github.com/users/baxterthehacker/subscriptions" + , whUserOrganizationsUrl = URL "https://api.github.com/users/baxterthehacker/orgs" + , whUserReposUrl = URL "https://api.github.com/users/baxterthehacker/repos" + , whUserEventsUrl = URL "https://api.github.com/users/baxterthehacker/events{/privacy}" + , whUserReceivedEventsUrl = URL "https://api.github.com/users/baxterthehacker/received_events" + , whUserType = OwnerUser + , whUserIsAdminOfSite = False + } + , whRepoIsPrivate = False + , whRepoHtmlUrl = URL "https://github.com/baxterthehacker/public-repo" + , whRepoDescription = "" + , whRepoIsAFork = False + , whRepoUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo" + , whRepoForksUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/forks" + , whRepoKeysUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/keys{/key_id}" + , whRepoCollaboratorsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/collaborators{/collaborator}" + , whRepoTeamsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/teams" + , whRepoHooksUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/hooks" + , whRepoIssueEventsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/issues/events{/number}" + , whRepoEventsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/events" + , whRepoAssigneesUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/assignees{/user}" + , whRepoBranchesUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/branches{/branch}" + , whRepoTagsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/tags" + , whRepoBlobsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/git/blobs{/sha}" + , whRepoGitTagsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/git/tags{/sha}" + , whRepoGitRefsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/git/refs{/sha}" + , whRepoTreesUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/git/trees{/sha}" + , whRepoStatusesUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/statuses/{sha}" + , whRepoLanguagesUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/languages" + , whRepoStargazersUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/stargazers" + , whRepoContributorsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/contributors" + , whRepoSubscribersUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/subscribers" + , whRepoSubscriptionUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/subscription" + , whRepoCommitsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/commits{/sha}" + , whRepoGitCommitsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/git/commits{/sha}" + , whRepoCommentsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/comments{/number}" + , whRepoIssueCommentsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/issues/comments{/number}" + , whRepoContentsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/contents/{+path}" + , whRepoCompareUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/compare/{base}...{head}" + , whRepoMergesUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/merges" + , whRepoArchiveUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/{archive_format}{/ref}" + , whRepoDownloadsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/downloads" + , whRepoIssuesUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/issues{/number}" + , whRepoPullsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/pulls{/number}" + , whRepoMilestonesUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/milestones{/number}" + , whRepoNotificationsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/notifications{?since,all,participating}" + , whRepoLabelsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/labels{/name}" + , whRepoReleasesUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/releases{/id}" + , whRepoCreatedAt = read "2015-05-05 23:40:12Z" + , whRepoUpdatedAt = read "2015-05-05 23:40:12Z" + , whRepoPushedAt = read "2015-05-05 23:40:27Z" + , whRepoGitUrl = URL "git://github.com/baxterthehacker/public-repo.git" + , whRepoSshUrl = URL "git@github.com:baxterthehacker/public-repo.git" + , whRepoCloneUrl = URL "https://github.com/baxterthehacker/public-repo.git" + , whRepoSvnUrl = URL "https://github.com/baxterthehacker/public-repo" + , whRepoHomepage = Nothing + , whRepoSize = 0 + , whRepoStargazersCount = 0 + , whRepoWatchersCount = 0 + , whRepoLanguage = Nothing + , whRepoHasIssues = True + , whRepoHasDownloads = True + , whRepoHasWiki = True + , whRepoHasPages = True + , whRepoForkCount = 0 + , whRepoMirrorUrl = Nothing + , whRepoOpenIssuesCount = 2 + , whRepoDefaultBranchName = "master" + } + , evIssuesEventSender = + HookUser + { whUserLogin = "baxterthehacker" + , whUserId = 6752317 + , whUserNodeId = "MDg6Q2hlY2tSdW4xMjg2MjAyMjg=" + , whUserAvatarUrl = URL "https://avatars.githubusercontent.com/u/6752317?v=3" + , whUserGravatarId = URL "" + , whUserUrl = URL "https://api.github.com/users/baxterthehacker" + , whUserHtmlUrl = URL "https://github.com/baxterthehacker" + , whUserFollowersUrl = URL "https://api.github.com/users/baxterthehacker/followers" + , whUserFollowingUrl = URL "https://api.github.com/users/baxterthehacker/following{/other_user}" + , whUserGistsUrl = URL "https://api.github.com/users/baxterthehacker/gists{/gist_id}" + , whUserStarredUrl = URL "https://api.github.com/users/baxterthehacker/starred{/owner}{/repo}" + , whUserSubscriptionsUrl = URL "https://api.github.com/users/baxterthehacker/subscriptions" + , whUserOrganizationsUrl = URL "https://api.github.com/users/baxterthehacker/orgs" + , whUserReposUrl = URL "https://api.github.com/users/baxterthehacker/repos" + , whUserEventsUrl = URL "https://api.github.com/users/baxterthehacker/events{/privacy}" + , whUserReceivedEventsUrl = URL "https://api.github.com/users/baxterthehacker/received_events" + , whUserType = OwnerUser + , whUserIsAdminOfSite = False + } + } + +labelEventFixture :: LabelEvent +labelEventFixture = LabelEvent + { evLabelEventAction = LabelCreatedAction + , evLabelEventPayload = + HookRepositoryLabel + { whRepoLabelNodeId = Just "MDg6Q2hlY2tSdW4xMjg2MjAyMjg=" + , whRepoLabelUrl = URL "https://api.github.com/repos/baxterandthehackers/public-repo/labels/blocked" + , whRepoLabelName = "blocked" + , whRepoLabelColor = "ff0000" + } + , evLabelEventRepo = + HookRepository + { whRepoId = 67075329 + , whRepoNodeId = "MDg6Q2hlY2tSdW4xMjg2MjAyMjg=" + , whRepoName = "public-repo" + , whRepoFullName = "baxterandthehackers/public-repo" + , whRepoOwner = + Right HookUser + { whUserLogin = "baxterandthehackers" + , whUserId = 4312013 + , whUserNodeId = "MDg6Q2hlY2tSdW4xMjg2MjAyMjg=" + , whUserAvatarUrl = URL "https://avatars.githubusercontent.com/u/4312013?v=3" + , whUserGravatarId = URL "" + , whUserUrl = URL "https://api.github.com/users/baxterandthehackers" + , whUserHtmlUrl = URL "https://github.com/baxterandthehackers" + , whUserFollowersUrl = URL "https://api.github.com/users/baxterandthehackers/followers" + , whUserFollowingUrl = URL "https://api.github.com/users/baxterandthehackers/following{/other_user}" + , whUserGistsUrl = URL "https://api.github.com/users/baxterandthehackers/gists{/gist_id}" + , whUserStarredUrl = URL "https://api.github.com/users/baxterandthehackers/starred{/owner}{/repo}" + , whUserSubscriptionsUrl = URL "https://api.github.com/users/baxterandthehackers/subscriptions" + , whUserOrganizationsUrl = URL "https://api.github.com/users/baxterandthehackers/orgs" + , whUserReposUrl = URL "https://api.github.com/users/baxterandthehackers/repos" + , whUserEventsUrl = URL "https://api.github.com/users/baxterandthehackers/events{/privacy}" + , whUserReceivedEventsUrl = URL "https://api.github.com/users/baxterandthehackers/received_events" + , whUserType = OwnerOrganization + , whUserIsAdminOfSite = False + } + , whRepoIsPrivate = True + , whRepoHtmlUrl = URL "https://github.com/baxterandthehackers/public-repo" + , whRepoDescription = "" + , whRepoIsAFork = False + , whRepoUrl = URL "https://api.github.com/repos/baxterandthehackers/public-repo" + , whRepoForksUrl = URL "https://api.github.com/repos/baxterandthehackers/public-repo/forks" + , whRepoKeysUrl = URL "https://api.github.com/repos/baxterandthehackers/public-repo/keys{/key_id}" + , whRepoCollaboratorsUrl = URL "https://api.github.com/repos/baxterandthehackers/public-repo/collaborators{/collaborator}" + , whRepoTeamsUrl = URL "https://api.github.com/repos/baxterandthehackers/public-repo/teams" + , whRepoHooksUrl = URL "https://api.github.com/repos/baxterandthehackers/public-repo/hooks" + , whRepoIssueEventsUrl = URL "https://api.github.com/repos/baxterandthehackers/public-repo/issues/events{/number}" + , whRepoEventsUrl = URL "https://api.github.com/repos/baxterandthehackers/public-repo/events" + , whRepoAssigneesUrl = URL "https://api.github.com/repos/baxterandthehackers/public-repo/assignees{/user}" + , whRepoBranchesUrl = URL "https://api.github.com/repos/baxterandthehackers/public-repo/branches{/branch}" + , whRepoTagsUrl = URL "https://api.github.com/repos/baxterandthehackers/public-repo/tags" + , whRepoBlobsUrl = URL "https://api.github.com/repos/baxterandthehackers/public-repo/git/blobs{/sha}" + , whRepoGitTagsUrl = URL "https://api.github.com/repos/baxterandthehackers/public-repo/git/tags{/sha}" + , whRepoGitRefsUrl = URL "https://api.github.com/repos/baxterandthehackers/public-repo/git/refs{/sha}" + , whRepoTreesUrl = URL "https://api.github.com/repos/baxterandthehackers/public-repo/git/trees{/sha}" + , whRepoStatusesUrl = URL "https://api.github.com/repos/baxterandthehackers/public-repo/statuses/{sha}" + , whRepoLanguagesUrl = URL "https://api.github.com/repos/baxterandthehackers/public-repo/languages" + , whRepoStargazersUrl = URL "https://api.github.com/repos/baxterandthehackers/public-repo/stargazers" + , whRepoContributorsUrl = URL "https://api.github.com/repos/baxterandthehackers/public-repo/contributors" + , whRepoSubscribersUrl = URL "https://api.github.com/repos/baxterandthehackers/public-repo/subscribers" + , whRepoSubscriptionUrl = URL "https://api.github.com/repos/baxterandthehackers/public-repo/subscription" + , whRepoCommitsUrl = URL "https://api.github.com/repos/baxterandthehackers/public-repo/commits{/sha}" + , whRepoGitCommitsUrl = URL "https://api.github.com/repos/baxterandthehackers/public-repo/git/commits{/sha}" + , whRepoCommentsUrl = URL "https://api.github.com/repos/baxterandthehackers/public-repo/comments{/number}" + , whRepoIssueCommentsUrl = URL "https://api.github.com/repos/baxterandthehackers/public-repo/issues/comments{/number}" + , whRepoContentsUrl = URL "https://api.github.com/repos/baxterandthehackers/public-repo/contents/{+path}" + , whRepoCompareUrl = URL "https://api.github.com/repos/baxterandthehackers/public-repo/compare/{base}...{head}" + , whRepoMergesUrl = URL "https://api.github.com/repos/baxterandthehackers/public-repo/merges" + , whRepoArchiveUrl = URL "https://api.github.com/repos/baxterandthehackers/public-repo/{archive_format}{/ref}" + , whRepoDownloadsUrl = URL "https://api.github.com/repos/baxterandthehackers/public-repo/downloads" + , whRepoIssuesUrl = URL "https://api.github.com/repos/baxterandthehackers/public-repo/issues{/number}" + , whRepoPullsUrl = URL "https://api.github.com/repos/baxterandthehackers/public-repo/pulls{/number}" + , whRepoMilestonesUrl = URL "https://api.github.com/repos/baxterandthehackers/public-repo/milestones{/number}" + , whRepoNotificationsUrl = URL "https://api.github.com/repos/baxterandthehackers/public-repo/notifications{?since,all,participating}" + , whRepoLabelsUrl = URL "https://api.github.com/repos/baxterandthehackers/public-repo/labels{/name}" + , whRepoReleasesUrl = URL "https://api.github.com/repos/baxterandthehackers/public-repo/releases{/id}" + , whRepoCreatedAt = read "2016-08-31 21:38:51Z" + , whRepoUpdatedAt = read "2016-08-31 21:38:51Z" + , whRepoPushedAt = read "2016-08-31 21:38:51Z" + , whRepoGitUrl = URL "git://github.com/baxterandthehackers/public-repo.git" + , whRepoSshUrl = URL "git@github.com:baxterandthehackers/public-repo.git" + , whRepoCloneUrl = URL "https://github.com/baxterandthehackers/public-repo.git" + , whRepoSvnUrl = URL "https://github.com/baxterandthehackers/public-repo" + , whRepoHomepage = Nothing + , whRepoSize = 0 + , whRepoStargazersCount = 0 + , whRepoWatchersCount = 0 + , whRepoLanguage = Nothing + , whRepoHasIssues = True + , whRepoHasDownloads = True + , whRepoHasWiki = True + , whRepoHasPages = False + , whRepoForkCount = 0 + , whRepoMirrorUrl = Nothing + , whRepoOpenIssuesCount = 2 + , whRepoDefaultBranchName = "master" + } + , evLabelEventOrganization = + Just + HookOrganization + { whOrgLogin = "baxterandthehackers" + , whOrgId = 4312013 + , whOrgNodeId = "MDg6Q2hlY2tSdW4xMjg2MjAyMjg=" + , whOrgUrl = URL "https://api.github.com/orgs/baxterandthehackers" + , whOrgReposUrl = URL "https://api.github.com/orgs/baxterandthehackers/repos" + , whOrgEventsUrl = URL "https://api.github.com/orgs/baxterandthehackers/events" + , whOrgHooksUrl = Just (URL "https://api.github.com/orgs/baxterandthehackers/hooks") + , whOrgIssuesUrl = Just (URL "https://api.github.com/orgs/baxterandthehackers/issues") + , whOrgMembersUrl = URL "https://api.github.com/orgs/baxterandthehackers/members{/member}" + , whOrgPublicMembersUrl = URL "https://api.github.com/orgs/baxterandthehackers/public_members{/member}" + , whOrgAvatarUrl = URL "https://avatars.githubusercontent.com/u/4312013?v=3" + , whOrgDescription = T.empty + } + , evLabelEventSender = + HookUser + { whUserLogin = "baxterthehacker" + , whUserId = 7649605 + , whUserNodeId = "MDg6Q2hlY2tSdW4xMjg2MjAyMjg=" + , whUserAvatarUrl = URL "https://avatars.githubusercontent.com/u/7649605?v=3" + , whUserGravatarId = URL "" + , whUserUrl = URL "https://api.github.com/users/baxterthehacker" + , whUserHtmlUrl = URL "https://github.com/baxterthehacker" + , whUserFollowersUrl = URL "https://api.github.com/users/baxterthehacker/followers" + , whUserFollowingUrl = URL "https://api.github.com/users/baxterthehacker/following{/other_user}" + , whUserGistsUrl = URL "https://api.github.com/users/baxterthehacker/gists{/gist_id}" + , whUserStarredUrl = URL "https://api.github.com/users/baxterthehacker/starred{/owner}{/repo}" + , whUserSubscriptionsUrl = URL "https://api.github.com/users/baxterthehacker/subscriptions" + , whUserOrganizationsUrl = URL "https://api.github.com/users/baxterthehacker/orgs" + , whUserReposUrl = URL "https://api.github.com/users/baxterthehacker/repos" + , whUserEventsUrl = URL "https://api.github.com/users/baxterthehacker/events{/privacy}" + , whUserReceivedEventsUrl = URL "https://api.github.com/users/baxterthehacker/received_events" + , whUserType = OwnerUser + , whUserIsAdminOfSite = True + } + } + +marketplacePurchaseEventFixture :: MarketplacePurchaseEvent +marketplacePurchaseEventFixture = MarketplacePurchaseEvent + { evMarketplacePurchaseAction = MarketplacePurchaseChangedAction + , evMarketplacePurchaseEffectiveDate = read "2017-10-25 00:00:00Z" + , evMarketplacePurchaseSender = + HookUser + { whUserLogin = "username" + , whUserId = 3877742 + , whUserNodeId = "MDEyOk9yZ2FuaXphdGlvbjE=" + , whUserAvatarUrl = URL "https://avatars2.githubusercontent.com/u/3877742?v=4" + , whUserGravatarId = URL "" + , whUserUrl = URL "https://api.github.com/users/username" + , whUserHtmlUrl = URL "https://github.com/username" + , whUserFollowersUrl = URL "https://api.github.com/users/username/followers" + , whUserFollowingUrl = URL "https://api.github.com/users/username/following{/other_user}" + , whUserGistsUrl = URL "https://api.github.com/users/username/gists{/gist_id}" + , whUserStarredUrl = URL "https://api.github.com/users/username/starred{/owner}{/repo}" + , whUserSubscriptionsUrl = URL "https://api.github.com/users/username/subscriptions" + , whUserOrganizationsUrl = URL "https://api.github.com/users/username/orgs" + , whUserReposUrl = URL "https://api.github.com/users/username/repos" + , whUserEventsUrl = URL "https://api.github.com/users/username/events{/privacy}" + , whUserReceivedEventsUrl = URL "https://api.github.com/users/username/received_events" + , whUserType = OwnerUser + , whUserIsAdminOfSite = True + } + , evMarketplacePurchaseNew = + HookMarketplacePurchase + { whMarketplacePurchaseAccount = + HookMarketplaceAccount + { whMarketplaceAccountType = OwnerOrganization + , whMarketplaceAccountId = 18404719 + , whMarketplaceAccountNodeId = "MDEyOk9yZ2FuaXphdGlvbjE=" + , whMarketplaceAccountLogin = "username" + , whMarketplaceAccountOrganizationBillingEmail = Just "username@email.com" + } + , whMarketplacePurchaseBillingCycle = Just HookMarketplaceBillingCycleMonthly + , whMarketplacePurchaseUnitCount = 10 + , whMarketplacePurchaseOnFreeTrial = False + , whMarketplacePurchaseFreeTrialEndsOn = Nothing + , whMarketplacePurchaseNextBillingDate = Just (read "2017-11-05 00:00:00Z") + , whMarketplacePurchasePlan = + HookMarketplacePlan + { whMarketplacePlanId = 435 + , whMarketplacePlanName = "Basic Plan" + , whMarketplacePlanDescription = "Basic Plan" + , whMarketplacePlanMonthlyPriceInCents = 1000 + , whMarketplacePlanYearlyPriceInCents = 10000 + , whMarketplacePlanPriceModel = HookMarketplacePlanPriceModelPerUnit + , whMarketplacePlanHasFreeTrial = True + , whMarketplacePlanUnitName = Just "seat" + , whMarketplacePlanBullet = V.fromList ["Is Basic","Because Basic "] + } + } + , evMarketplacePurchasePrevious = + Just ( + HookMarketplacePurchase + { whMarketplacePurchaseAccount = + HookMarketplaceAccount + { whMarketplaceAccountType = OwnerOrganization + , whMarketplaceAccountId = 18404719 + , whMarketplaceAccountNodeId = "MDEyOk9yZ2FuaXphdGlvbjE=" + , whMarketplaceAccountLogin = "username" + , whMarketplaceAccountOrganizationBillingEmail = Just "username@email.com" + } + , whMarketplacePurchaseBillingCycle = Just HookMarketplaceBillingCycleMonthly + , whMarketplacePurchaseUnitCount = 1 + , whMarketplacePurchaseOnFreeTrial = False + , whMarketplacePurchaseFreeTrialEndsOn = Nothing + , whMarketplacePurchaseNextBillingDate = Nothing + , whMarketplacePurchasePlan = + HookMarketplacePlan + { whMarketplacePlanId = 435 + , whMarketplacePlanName = "Basic Plan" + , whMarketplacePlanDescription = "Basic Plan" + , whMarketplacePlanMonthlyPriceInCents = 1000 + , whMarketplacePlanYearlyPriceInCents = 10000 + , whMarketplacePlanPriceModel = HookMarketplacePlanPriceModelPerUnit + , whMarketplacePlanHasFreeTrial = True + , whMarketplacePlanUnitName = Just "seat" + , whMarketplacePlanBullet = V.fromList ["Is Basic","Because Basic "] + } + }) + } + +memberEventFixture :: MemberEvent +memberEventFixture = MemberEvent + { evMemberAction = MemberAddedAction + , evMemberUser = + HookUser + { whUserLogin = "octocat" + , whUserId = 583231 + , whUserNodeId = "MDg6Q2hlY2tSdW4xMjg2MjAyMjg=" + , whUserAvatarUrl = URL "https://avatars.githubusercontent.com/u/583231?v=3" + , whUserGravatarId = URL "" + , whUserUrl = URL "https://api.github.com/users/octocat" + , whUserHtmlUrl = URL "https://github.com/octocat" + , whUserFollowersUrl = URL "https://api.github.com/users/octocat/followers" + , whUserFollowingUrl = URL "https://api.github.com/users/octocat/following{/other_user}" + , whUserGistsUrl = URL "https://api.github.com/users/octocat/gists{/gist_id}" + , whUserStarredUrl = URL "https://api.github.com/users/octocat/starred{/owner}{/repo}" + , whUserSubscriptionsUrl = URL "https://api.github.com/users/octocat/subscriptions" + , whUserOrganizationsUrl = URL "https://api.github.com/users/octocat/orgs" + , whUserReposUrl = URL "https://api.github.com/users/octocat/repos" + , whUserEventsUrl = URL "https://api.github.com/users/octocat/events{/privacy}" + , whUserReceivedEventsUrl = URL "https://api.github.com/users/octocat/received_events" + , whUserType = OwnerUser + , whUserIsAdminOfSite = False + } + , evMemberRepo = + HookRepository + { whRepoId = 35129377 + , whRepoNodeId = "MDg6Q2hlY2tSdW4xMjg2MjAyMjg=" + , whRepoName = "public-repo" + , whRepoFullName = "baxterthehacker/public-repo" + , whRepoOwner = + Right HookUser + { whUserLogin = "baxterthehacker" + , whUserId = 6752317 + , whUserNodeId = "MDg6Q2hlY2tSdW4xMjg2MjAyMjg=" + , whUserAvatarUrl = URL "https://avatars.githubusercontent.com/u/6752317?v=3" + , whUserGravatarId = URL "" + , whUserUrl = URL "https://api.github.com/users/baxterthehacker" + , whUserHtmlUrl = URL "https://github.com/baxterthehacker" + , whUserFollowersUrl = URL "https://api.github.com/users/baxterthehacker/followers" + , whUserFollowingUrl = URL "https://api.github.com/users/baxterthehacker/following{/other_user}" + , whUserGistsUrl = URL "https://api.github.com/users/baxterthehacker/gists{/gist_id}" + , whUserStarredUrl = URL "https://api.github.com/users/baxterthehacker/starred{/owner}{/repo}" + , whUserSubscriptionsUrl = URL "https://api.github.com/users/baxterthehacker/subscriptions" + , whUserOrganizationsUrl = URL "https://api.github.com/users/baxterthehacker/orgs" + , whUserReposUrl = URL "https://api.github.com/users/baxterthehacker/repos" + , whUserEventsUrl = URL "https://api.github.com/users/baxterthehacker/events{/privacy}" + , whUserReceivedEventsUrl = URL "https://api.github.com/users/baxterthehacker/received_events" + , whUserType = OwnerUser + , whUserIsAdminOfSite = False + } + , whRepoIsPrivate = False + , whRepoHtmlUrl = URL "https://github.com/baxterthehacker/public-repo" + , whRepoDescription = "" + , whRepoIsAFork = False + , whRepoUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo" + , whRepoForksUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/forks" + , whRepoKeysUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/keys{/key_id}" + , whRepoCollaboratorsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/collaborators{/collaborator}" + , whRepoTeamsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/teams" + , whRepoHooksUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/hooks" + , whRepoIssueEventsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/issues/events{/number}" + , whRepoEventsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/events" + , whRepoAssigneesUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/assignees{/user}" + , whRepoBranchesUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/branches{/branch}" + , whRepoTagsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/tags" + , whRepoBlobsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/git/blobs{/sha}" + , whRepoGitTagsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/git/tags{/sha}" + , whRepoGitRefsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/git/refs{/sha}" + , whRepoTreesUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/git/trees{/sha}" + , whRepoStatusesUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/statuses/{sha}" + , whRepoLanguagesUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/languages" + , whRepoStargazersUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/stargazers" + , whRepoContributorsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/contributors" + , whRepoSubscribersUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/subscribers" + , whRepoSubscriptionUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/subscription" + , whRepoCommitsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/commits{/sha}" + , whRepoGitCommitsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/git/commits{/sha}" + , whRepoCommentsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/comments{/number}" + , whRepoIssueCommentsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/issues/comments{/number}" + , whRepoContentsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/contents/{+path}" + , whRepoCompareUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/compare/{base}...{head}" + , whRepoMergesUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/merges" + , whRepoArchiveUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/{archive_format}{/ref}" + , whRepoDownloadsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/downloads" + , whRepoIssuesUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/issues{/number}" + , whRepoPullsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/pulls{/number}" + , whRepoMilestonesUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/milestones{/number}" + , whRepoNotificationsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/notifications{?since,all,participating}" + , whRepoLabelsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/labels{/name}" + , whRepoReleasesUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/releases{/id}" + , whRepoCreatedAt = read "2015-05-05 23:40:12Z" + , whRepoUpdatedAt = read "2015-05-05 23:40:30Z" + , whRepoPushedAt = read "2015-05-05 23:40:40Z" + , whRepoGitUrl = URL "git://github.com/baxterthehacker/public-repo.git" + , whRepoSshUrl = URL "git@github.com:baxterthehacker/public-repo.git" + , whRepoCloneUrl = URL "https://github.com/baxterthehacker/public-repo.git" + , whRepoSvnUrl = URL "https://github.com/baxterthehacker/public-repo" + , whRepoHomepage = Nothing + , whRepoSize = 0 + , whRepoStargazersCount = 0 + , whRepoWatchersCount = 0 + , whRepoLanguage = Nothing + , whRepoHasIssues = True + , whRepoHasDownloads = True + , whRepoHasWiki = True + , whRepoHasPages = True + , whRepoForkCount = 0 + , whRepoMirrorUrl = Nothing + , whRepoOpenIssuesCount = 2 + , whRepoDefaultBranchName = "master" + } + , evMemberSender = + HookUser + { whUserLogin = "baxterthehacker" + , whUserId = 6752317 + , whUserNodeId = "MDg6Q2hlY2tSdW4xMjg2MjAyMjg=" + , whUserAvatarUrl = URL "https://avatars.githubusercontent.com/u/6752317?v=3" + , whUserGravatarId = URL "" + , whUserUrl = URL "https://api.github.com/users/baxterthehacker" + , whUserHtmlUrl = URL "https://github.com/baxterthehacker" + , whUserFollowersUrl = URL "https://api.github.com/users/baxterthehacker/followers" + , whUserFollowingUrl = URL "https://api.github.com/users/baxterthehacker/following{/other_user}" + , whUserGistsUrl = URL "https://api.github.com/users/baxterthehacker/gists{/gist_id}" + , whUserStarredUrl = URL "https://api.github.com/users/baxterthehacker/starred{/owner}{/repo}" + , whUserSubscriptionsUrl = URL "https://api.github.com/users/baxterthehacker/subscriptions" + , whUserOrganizationsUrl = URL "https://api.github.com/users/baxterthehacker/orgs" + , whUserReposUrl = URL "https://api.github.com/users/baxterthehacker/repos" + , whUserEventsUrl = URL "https://api.github.com/users/baxterthehacker/events{/privacy}" + , whUserReceivedEventsUrl = URL "https://api.github.com/users/baxterthehacker/received_events" + , whUserType = OwnerUser + , whUserIsAdminOfSite = False + } + } + +membershipEventFixture :: MembershipEvent +membershipEventFixture = MembershipEvent + { evMembershipAction = MembershipAddedAction + , evMembershipScope = "team" + , evMembershipUser = + HookUser + { whUserLogin = "kdaigle" + , whUserId = 2501 + , whUserNodeId = "MDg6Q2hlY2tSdW4xMjg2MjAyMjg=" + , whUserAvatarUrl = URL "https://avatars.githubusercontent.com/u/2501?v=3" + , whUserGravatarId = URL "" + , whUserUrl = URL "https://api.github.com/users/kdaigle" + , whUserHtmlUrl = URL "https://github.com/kdaigle" + , whUserFollowersUrl = URL "https://api.github.com/users/kdaigle/followers" + , whUserFollowingUrl = URL "https://api.github.com/users/kdaigle/following{/other_user}" + , whUserGistsUrl = URL "https://api.github.com/users/kdaigle/gists{/gist_id}" + , whUserStarredUrl = URL "https://api.github.com/users/kdaigle/starred{/owner}{/repo}" + , whUserSubscriptionsUrl = URL "https://api.github.com/users/kdaigle/subscriptions" + , whUserOrganizationsUrl = URL "https://api.github.com/users/kdaigle/orgs" + , whUserReposUrl = URL "https://api.github.com/users/kdaigle/repos" + , whUserEventsUrl = URL "https://api.github.com/users/kdaigle/events{/privacy}" + , whUserReceivedEventsUrl = URL "https://api.github.com/users/kdaigle/received_events" + , whUserType = OwnerUser + , whUserIsAdminOfSite = True + } + , evMembershipTeam = + HookTeam + { whTeamName = "Contractors" + , whTeamId = 123456 + , whTeamNodeId = "MDg6Q2hlY2tSdW4xMjg2MjAyMjg=" + , whTeamSlug = "contractors" + , whTeamPermission = "admin" + , whTeamUrl = URL "https://api.github.com/teams/123456" + , whTeamMembersUrl = URL "https://api.github.com/teams/123456/members{/member}" + , whTeamRepositoriesUrl = URL "https://api.github.com/teams/123456/repos" + } + , evMembershipOrg = + HookOrganization + { whOrgLogin = "baxterandthehackers" + , whOrgId = 7649605 + , whOrgNodeId = "MDg6Q2hlY2tSdW4xMjg2MjAyMjg=" + , whOrgUrl = URL "https://api.github.com/orgs/baxterandthehackers" + , whOrgReposUrl = URL "https://api.github.com/orgs/baxterandthehackers/repos" + , whOrgEventsUrl = URL "https://api.github.com/orgs/baxterandthehackers/events" + , whOrgHooksUrl = Nothing + , whOrgIssuesUrl = Nothing + , whOrgMembersUrl = URL "https://api.github.com/orgs/baxterandthehackers/members{/member}" + , whOrgPublicMembersUrl = URL "https://api.github.com/orgs/baxterandthehackers/public_members{/member}" + , whOrgAvatarUrl = URL "https://avatars.githubusercontent.com/u/7649605?v=2" + , whOrgDescription = T.empty + } + , evMembershipSender = + HookUser + { whUserLogin = "baxterthehacker" + , whUserId = 6752317 + , whUserNodeId = "MDg6Q2hlY2tSdW4xMjg2MjAyMjg=" + , whUserAvatarUrl = URL "https://avatars.githubusercontent.com/u/6752317?v=2" + , whUserGravatarId = URL "" + , whUserUrl = URL "https://api.github.com/users/baxterthehacker" + , whUserHtmlUrl = URL "https://github.com/baxterthehacker" + , whUserFollowersUrl = URL "https://api.github.com/users/baxterthehacker/followers" + , whUserFollowingUrl = URL "https://api.github.com/users/baxterthehacker/following{/other_user}" + , whUserGistsUrl = URL "https://api.github.com/users/baxterthehacker/gists{/gist_id}" + , whUserStarredUrl = URL "https://api.github.com/users/baxterthehacker/starred{/owner}{/repo}" + , whUserSubscriptionsUrl = URL "https://api.github.com/users/baxterthehacker/subscriptions" + , whUserOrganizationsUrl = URL "https://api.github.com/users/baxterthehacker/orgs" + , whUserReposUrl = URL "https://api.github.com/users/baxterthehacker/repos" + , whUserEventsUrl = URL "https://api.github.com/users/baxterthehacker/events{/privacy}" + , whUserReceivedEventsUrl = URL "https://api.github.com/users/baxterthehacker/received_events" + , whUserType = OwnerUser + , whUserIsAdminOfSite = False + } + } + +milestoneEventFixture :: MilestoneEvent +milestoneEventFixture = MilestoneEvent + { evMilestoneAction = MilestoneCreatedAction + , evMilestoenPayload = + HookMilestone + { whMilestoneUrl = URL "https://api.github.com/repos/baxterandthehackers/public-repo/milestones/3" + , whMilestoneHtmlUrl = + URL "https://github.com/baxterandthehackers/public-repo/milestones/Test%20milestone%20creation%20webhook%20from%20command%20line2" + , whMilestoneLabelsUrl = URL "https://api.github.com/repos/baxterandthehackers/public-repo/milestones/3/labels" + , whMilestoneId = 2055681 + , whMilestoneNodeId = "MDg6Q2hlY2tSdW4xMjg2MjAyMjg=" + , whMilestoneNumber = 3 + , whMilestoneTitle = "I am a milestone" + , whMilestoneDescription = Nothing + , whMilestoneCreator = + HookUser + { whUserLogin = "baxterthehacker" + , whUserId = 7649605 + , whUserNodeId = "MDg6Q2hlY2tSdW4xMjg2MjAyMjg=" + , whUserAvatarUrl = URL "https://avatars.githubusercontent.com/u/7649605?v=3" + , whUserGravatarId = URL "" + , whUserUrl = URL "https://api.github.com/users/baxterthehacker" + , whUserHtmlUrl = URL "https://github.com/baxterthehacker" + , whUserFollowersUrl = URL "https://api.github.com/users/baxterthehacker/followers" + , whUserFollowingUrl = URL "https://api.github.com/users/baxterthehacker/following{/other_user}" + , whUserGistsUrl = URL "https://api.github.com/users/baxterthehacker/gists{/gist_id}" + , whUserStarredUrl = URL "https://api.github.com/users/baxterthehacker/starred{/owner}{/repo}" + , whUserSubscriptionsUrl = URL "https://api.github.com/users/baxterthehacker/subscriptions" + , whUserOrganizationsUrl = URL "https://api.github.com/users/baxterthehacker/orgs" + , whUserReposUrl = URL "https://api.github.com/users/baxterthehacker/repos" + , whUserEventsUrl = URL "https://api.github.com/users/baxterthehacker/events{/privacy}" + , whUserReceivedEventsUrl = URL "https://api.github.com/users/baxterthehacker/received_events" + , whUserType = OwnerUser + , whUserIsAdminOfSite = True + } + , whMilestoneOpenIssues = 0 + , whMilestoneClosedIssues = 0 + , whMilestoneState = "open" + , whMilestoneCreatedAt = read "2016-10-07 19:26:08Z" + , whMilestoneUpdatedAt = read "2016-10-07 19:26:08Z" + , whMilestoneDueOn = Nothing + , whMilestoneClosedAt = Nothing + } + , evMilestoneRepo = + HookRepository + { whRepoId = 70275481 + , whRepoNodeId = "MDg6Q2hlY2tSdW4xMjg2MjAyMjg=" + , whRepoName = "public-repo" + , whRepoFullName = "baxterandthehackers/public-repo" + , whRepoOwner = + Right HookUser + { whUserLogin = "baxterandthehackers" + , whUserId = 4312013 + , whUserNodeId = "MDg6Q2hlY2tSdW4xMjg2MjAyMjg=" + , whUserAvatarUrl = URL "https://avatars.githubusercontent.com/u/4312013?v=3" + , whUserGravatarId = URL "" + , whUserUrl = URL "https://api.github.com/users/baxterandthehackers" + , whUserHtmlUrl = URL "https://github.com/baxterandthehackers" + , whUserFollowersUrl = URL "https://api.github.com/users/baxterandthehackers/followers" + , whUserFollowingUrl = URL "https://api.github.com/users/baxterandthehackers/following{/other_user}" + , whUserGistsUrl = URL "https://api.github.com/users/baxterandthehackers/gists{/gist_id}" + , whUserStarredUrl = URL "https://api.github.com/users/baxterandthehackers/starred{/owner}{/repo}" + , whUserSubscriptionsUrl = URL "https://api.github.com/users/baxterandthehackers/subscriptions" + , whUserOrganizationsUrl = URL "https://api.github.com/users/baxterandthehackers/orgs" + , whUserReposUrl = URL "https://api.github.com/users/baxterandthehackers/repos" + , whUserEventsUrl = URL "https://api.github.com/users/baxterandthehackers/events{/privacy}" + , whUserReceivedEventsUrl = URL "https://api.github.com/users/baxterandthehackers/received_events" + , whUserType = OwnerOrganization + , whUserIsAdminOfSite = False + } + , whRepoIsPrivate = True + , whRepoHtmlUrl = URL "https://github.com/baxterandthehackers/public-repo" + , whRepoDescription = "" + , whRepoIsAFork = False + , whRepoUrl = URL "https://api.github.com/repos/baxterandthehackers/public-repo" + , whRepoForksUrl = URL "https://api.github.com/repos/baxterandthehackers/public-repo/forks" + , whRepoKeysUrl = URL "https://api.github.com/repos/baxterandthehackers/public-repo/keys{/key_id}" + , whRepoCollaboratorsUrl = URL "https://api.github.com/repos/baxterandthehackers/public-repo/collaborators{/collaborator}" + , whRepoTeamsUrl = URL "https://api.github.com/repos/baxterandthehackers/public-repo/teams" + , whRepoHooksUrl = URL "https://api.github.com/repos/baxterandthehackers/public-repo/hooks" + , whRepoIssueEventsUrl = URL "https://api.github.com/repos/baxterandthehackers/public-repo/issues/events{/number}" + , whRepoEventsUrl = URL "https://api.github.com/repos/baxterandthehackers/public-repo/events" + , whRepoAssigneesUrl = URL "https://api.github.com/repos/baxterandthehackers/public-repo/assignees{/user}" + , whRepoBranchesUrl = URL "https://api.github.com/repos/baxterandthehackers/public-repo/branches{/branch}" + , whRepoTagsUrl = URL "https://api.github.com/repos/baxterandthehackers/public-repo/tags" + , whRepoBlobsUrl = URL "https://api.github.com/repos/baxterandthehackers/public-repo/git/blobs{/sha}" + , whRepoGitTagsUrl = URL "https://api.github.com/repos/baxterandthehackers/public-repo/git/tags{/sha}" + , whRepoGitRefsUrl = URL "https://api.github.com/repos/baxterandthehackers/public-repo/git/refs{/sha}" + , whRepoTreesUrl = URL "https://api.github.com/repos/baxterandthehackers/public-repo/git/trees{/sha}" + , whRepoStatusesUrl = URL "https://api.github.com/repos/baxterandthehackers/public-repo/statuses/{sha}" + , whRepoLanguagesUrl = URL "https://api.github.com/repos/baxterandthehackers/public-repo/languages" + , whRepoStargazersUrl = URL "https://api.github.com/repos/baxterandthehackers/public-repo/stargazers" + , whRepoContributorsUrl = URL "https://api.github.com/repos/baxterandthehackers/public-repo/contributors" + , whRepoSubscribersUrl = URL "https://api.github.com/repos/baxterandthehackers/public-repo/subscribers" + , whRepoSubscriptionUrl = URL "https://api.github.com/repos/baxterandthehackers/public-repo/subscription" + , whRepoCommitsUrl = URL "https://api.github.com/repos/baxterandthehackers/public-repo/commits{/sha}" + , whRepoGitCommitsUrl = URL "https://api.github.com/repos/baxterandthehackers/public-repo/git/commits{/sha}" + , whRepoCommentsUrl = URL "https://api.github.com/repos/baxterandthehackers/public-repo/comments{/number}" + , whRepoIssueCommentsUrl = URL "https://api.github.com/repos/baxterandthehackers/public-repo/issues/comments{/number}" + , whRepoContentsUrl = URL "https://api.github.com/repos/baxterandthehackers/public-repo/contents/{+path}" + , whRepoCompareUrl = URL "https://api.github.com/repos/baxterandthehackers/public-repo/compare/{base}...{head}" + , whRepoMergesUrl = URL "https://api.github.com/repos/baxterandthehackers/public-repo/merges" + , whRepoArchiveUrl = URL "https://api.github.com/repos/baxterandthehackers/public-repo/{archive_format}{/ref}" + , whRepoDownloadsUrl = URL "https://api.github.com/repos/baxterandthehackers/public-repo/downloads" + , whRepoIssuesUrl = URL "https://api.github.com/repos/baxterandthehackers/public-repo/issues{/number}" + , whRepoPullsUrl = URL "https://api.github.com/repos/baxterandthehackers/public-repo/pulls{/number}" + , whRepoMilestonesUrl = URL "https://api.github.com/repos/baxterandthehackers/public-repo/milestones{/number}" + , whRepoNotificationsUrl = URL "https://api.github.com/repos/baxterandthehackers/public-repo/notifications{?since,all,participating}" + , whRepoLabelsUrl = URL "https://api.github.com/repos/baxterandthehackers/public-repo/labels{/name}" + , whRepoReleasesUrl = URL "https://api.github.com/repos/baxterandthehackers/public-repo/releases{/id}" + , whRepoCreatedAt = read "2016-10-07 19:10:12Z" + , whRepoUpdatedAt = read "2016-10-07 19:10:12Z" + , whRepoPushedAt = read "2016-10-07 19:10:13Z" + , whRepoGitUrl = URL "git://github.com/baxterandthehackers/public-repo.git" + , whRepoSshUrl = URL "git@github.com:baxterandthehackers/public-repo.git" + , whRepoCloneUrl = URL "https://github.com/baxterandthehackers/public-repo.git" + , whRepoSvnUrl = URL "https://github.com/baxterandthehackers/public-repo" + , whRepoHomepage = Nothing + , whRepoSize = 0 + , whRepoStargazersCount = 0 + , whRepoWatchersCount = 0 + , whRepoLanguage = Nothing + , whRepoHasIssues = True + , whRepoHasDownloads = True + , whRepoHasWiki = True + , whRepoHasPages = False + , whRepoForkCount = 0 + , whRepoMirrorUrl = Nothing + , whRepoOpenIssuesCount = 0 + , whRepoDefaultBranchName = "master" + } + , evMilestoneOrg = + HookOrganization + { whOrgLogin = "baxterandthehackers" + , whOrgId = 4312013 + , whOrgNodeId = "MDg6Q2hlY2tSdW4xMjg2MjAyMjg=" + , whOrgUrl = URL "https://api.github.com/orgs/baxterandthehackers" + , whOrgReposUrl = URL "https://api.github.com/orgs/baxterandthehackers/repos" + , whOrgEventsUrl = URL "https://api.github.com/orgs/baxterandthehackers/events" + , whOrgHooksUrl = Just (URL "https://api.github.com/orgs/baxterandthehackers/hooks") + , whOrgIssuesUrl = Just (URL "https://api.github.com/orgs/baxterandthehackers/issues") + , whOrgMembersUrl = URL "https://api.github.com/orgs/baxterandthehackers/members{/member}" + , whOrgPublicMembersUrl = URL "https://api.github.com/orgs/baxterandthehackers/public_members{/member}" + , whOrgAvatarUrl = URL "https://avatars.githubusercontent.com/u/4312013?v=3" + , whOrgDescription = T.empty + } + , evMilestoneSender = + HookUser + { whUserLogin = "baxterthehacker" + , whUserId = 7649605 + , whUserNodeId = "MDg6Q2hlY2tSdW4xMjg2MjAyMjg=" + , whUserAvatarUrl = URL "https://avatars.githubusercontent.com/u/7649605?v=3" + , whUserGravatarId = URL "" + , whUserUrl = URL "https://api.github.com/users/baxterthehacker" + , whUserHtmlUrl = URL "https://github.com/baxterthehacker" + , whUserFollowersUrl = URL "https://api.github.com/users/baxterthehacker/followers" + , whUserFollowingUrl = URL "https://api.github.com/users/baxterthehacker/following{/other_user}" + , whUserGistsUrl = URL "https://api.github.com/users/baxterthehacker/gists{/gist_id}" + , whUserStarredUrl = URL "https://api.github.com/users/baxterthehacker/starred{/owner}{/repo}" + , whUserSubscriptionsUrl = URL "https://api.github.com/users/baxterthehacker/subscriptions" + , whUserOrganizationsUrl = URL "https://api.github.com/users/baxterthehacker/orgs" + , whUserReposUrl = URL "https://api.github.com/users/baxterthehacker/repos" + , whUserEventsUrl = URL "https://api.github.com/users/baxterthehacker/events{/privacy}" + , whUserReceivedEventsUrl = URL "https://api.github.com/users/baxterthehacker/received_events" + , whUserType = OwnerUser + , whUserIsAdminOfSite = True + } + } + +orgBlockEventFixture :: OrgBlockEvent +orgBlockEventFixture = OrgBlockEvent + { evOrgBlockAction = OrgBlockBlockedAction + , evOrgBlockUser = + HookUser + { whUserLogin = "octocat" + , whUserId = 583231 + , whUserNodeId = "MDg6Q2hlY2tSdW4xMjg2MjAyMjg=" + , whUserAvatarUrl = URL "https://avatars.githubusercontent.com/u/583231?v=3" + , whUserGravatarId = URL "" + , whUserUrl = URL "https://api.github.com/users/octocat" + , whUserHtmlUrl = URL "https://github.com/octocat" + , whUserFollowersUrl = URL "https://api.github.com/users/octocat/followers" + , whUserFollowingUrl = URL "https://api.github.com/users/octocat/following{/other_user}" + , whUserGistsUrl = URL "https://api.github.com/users/octocat/gists{/gist_id}" + , whUserStarredUrl = URL "https://api.github.com/users/octocat/starred{/owner}{/repo}" + , whUserSubscriptionsUrl = URL "https://api.github.com/users/octocat/subscriptions" + , whUserOrganizationsUrl = URL "https://api.github.com/users/octocat/orgs" + , whUserReposUrl = URL "https://api.github.com/users/octocat/repos" + , whUserEventsUrl = URL "https://api.github.com/users/octocat/events{/privacy}" + , whUserReceivedEventsUrl = URL "https://api.github.com/users/octocat/received_events" + , whUserType = OwnerUser + , whUserIsAdminOfSite = False + } + , evOrgBlockOrg = + HookOrganization + { whOrgLogin = "github" + , whOrgId = 4366038 + , whOrgNodeId = "MDg6Q2hlY2tSdW4xMjg2MjAyMjg=" + , whOrgUrl = URL "https://api.github.com/orgs/github" + , whOrgReposUrl = URL "https://api.github.com/orgs/github/repos" + , whOrgEventsUrl = URL "https://api.github.com/orgs/github/events" + , whOrgHooksUrl = Just $ URL "https://api.github.com/orgs/github/hooks" + , whOrgIssuesUrl = Just $ URL "https://api.github.com/orgs/github/issues" + , whOrgMembersUrl = URL "https://api.github.com/orgs/github/members{/member}" + , whOrgPublicMembersUrl = URL "https://api.github.com/orgs/github/public_members{/member}" + , whOrgAvatarUrl = URL "https://avatars.githubusercontent.com/u/4366038?v=3" + , whOrgDescription = T.empty + } + , evOrgBlockSender = + HookUser + { whUserLogin = "octodocs" + , whUserId = 25781999 + , whUserNodeId = "MDg6Q2hlY2tSdW4xMjg2MjAyMjg=" + , whUserAvatarUrl = URL "https://avatars.githubusercontent.com/u/25781999?v=3" + , whUserGravatarId = URL "" + , whUserUrl = URL "https://api.github.com/users/octodocs" + , whUserHtmlUrl = URL "https://github.com/octodocs" + , whUserFollowersUrl = URL "https://api.github.com/users/octodocs/followers" + , whUserFollowingUrl = URL "https://api.github.com/users/octodocs/following{/other_user}" + , whUserGistsUrl = URL "https://api.github.com/users/octodocs/gists{/gist_id}" + , whUserStarredUrl = URL "https://api.github.com/users/octodocs/starred{/owner}{/repo}" + , whUserSubscriptionsUrl = URL "https://api.github.com/users/octodocs/subscriptions" + , whUserOrganizationsUrl = URL "https://api.github.com/users/octodocs/orgs" + , whUserReposUrl = URL "https://api.github.com/users/octodocs/repos" + , whUserEventsUrl = URL "https://api.github.com/users/octodocs/events{/privacy}" + , whUserReceivedEventsUrl = URL "https://api.github.com/users/octodocs/received_events" + , whUserType = OwnerUser + , whUserIsAdminOfSite = False + } + } + +organizationEventFixture :: OrganizationEvent +organizationEventFixture = OrganizationEvent + { evOrganizationAction = OrgMemberInvitedAction + , evOrganizationInvitation = + Just $ HookOrganizationInvitation + { whOrgInvitationId = 3294302 + , whOrgInvitationNodeId = "MDg6Q2hlY2tSdW4xMjg2MjAyMjg=" + , whOrgInvitationLogin = "baxterthehacker" + , whOrgInvitationEmail = Nothing + , whOrgInvitationRole = "direct_member" + } + , evOrganizationMembership = + Just $ HookOrganizationMembership + { whOrgMembershipUrl = URL "https://api.github.com/orgs/baxterandthehackers/memberships/baxterthehacker" + , whOrgMembershipState = "active" + , whOrgMembershipRole = "member" + , whOrgMembershipOrgUrl = URL "https://api.github.com/orgs/baxterandthehackers" + , whOrgMembershipUser = + HookUser + { whUserLogin = "baxterthehacker" + , whUserId = 7649605 + , whUserNodeId = "MDg6Q2hlY2tSdW4xMjg2MjAyMjg=" + , whUserAvatarUrl = URL "https://avatars.githubusercontent.com/u/17085448?v=3" + , whUserGravatarId = URL "" + , whUserUrl = URL "https://api.github.com/users/baxterthehacker" + , whUserHtmlUrl = URL "https://github.com/baxterthehacker" + , whUserFollowersUrl = URL "https://api.github.com/users/baxterthehacker/followers" + , whUserFollowingUrl = URL "https://api.github.com/users/baxterthehacker/following{/other_user}" + , whUserGistsUrl = URL "https://api.github.com/users/baxterthehacker/gists{/gist_id}" + , whUserStarredUrl = URL "https://api.github.com/users/baxterthehacker/starred{/owner}{/repo}" + , whUserSubscriptionsUrl = URL "https://api.github.com/users/baxterthehacker/subscriptions" + , whUserOrganizationsUrl = URL "https://api.github.com/users/baxterthehacker/orgs" + , whUserReposUrl = URL "https://api.github.com/users/baxterthehacker/repos" + , whUserEventsUrl = URL "https://api.github.com/users/baxterthehacker/events{/privacy}" + , whUserReceivedEventsUrl = URL "https://api.github.com/users/baxterthehacker/received_events" + , whUserType = OwnerUser + , whUserIsAdminOfSite = False + } + } + , evOrganizationOrg = + HookOrganization + { whOrgLogin = "baxterandthehackers" + , whOrgId = 4312013 + , whOrgNodeId = "MDg6Q2hlY2tSdW4xMjg2MjAyMjg=" + , whOrgUrl = URL "https://api.github.com/orgs/baxterandthehackers" + , whOrgReposUrl = URL "https://api.github.com/orgs/baxterandthehackers/repos" + , whOrgEventsUrl = URL "https://api.github.com/orgs/baxterandthehackers/events" + , whOrgHooksUrl = Just $ URL "https://api.github.com/orgs/baxterandthehackers/hooks" + , whOrgIssuesUrl = Just $ URL "https://api.github.com/orgs/baxterandthehackers/issues" + , whOrgMembersUrl = URL "https://api.github.com/orgs/baxterandthehackers/members{/member}" + , whOrgPublicMembersUrl = URL "https://api.github.com/orgs/baxterandthehackers/public_members{/member}" + , whOrgAvatarUrl = URL "https://avatars.githubusercontent.com/u/4312013?v=3" + , whOrgDescription = T.empty + } + , evOrganizationSender = + HookUser + { whUserLogin = "baxterthehacker" + , whUserId = 7649605 + , whUserNodeId = "MDg6Q2hlY2tSdW4xMjg2MjAyMjg=" + , whUserAvatarUrl = URL "https://avatars.githubusercontent.com/u/7649605?v=3" + , whUserGravatarId = URL "" + , whUserUrl = URL "https://api.github.com/users/baxterthehacker" + , whUserHtmlUrl = URL "https://github.com/baxterthehacker" + , whUserFollowersUrl = URL "https://api.github.com/users/baxterthehacker/followers" + , whUserFollowingUrl = URL "https://api.github.com/users/baxterthehacker/following{/other_user}" + , whUserGistsUrl = URL "https://api.github.com/users/baxterthehacker/gists{/gist_id}" + , whUserStarredUrl = URL "https://api.github.com/users/baxterthehacker/starred{/owner}{/repo}" + , whUserSubscriptionsUrl = URL "https://api.github.com/users/baxterthehacker/subscriptions" + , whUserOrganizationsUrl = URL "https://api.github.com/users/baxterthehacker/orgs" + , whUserReposUrl = URL "https://api.github.com/users/baxterthehacker/repos" + , whUserEventsUrl = URL "https://api.github.com/users/baxterthehacker/events{/privacy}" + , whUserReceivedEventsUrl = URL "https://api.github.com/users/baxterthehacker/received_events" + , whUserType = OwnerUser + , whUserIsAdminOfSite = True + } + } + +pageBuildEventFixture :: PageBuildEvent +pageBuildEventFixture = PageBuildEvent + { evPageBuildId = 15995382 + , evPageBuildResult = + HookPageBuildResult + { whPageBuildUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/pages/builds/15995382" + , whPageBuildStatus = "built" + , whPageBuildError = Nothing + , whPageBuildPusher = + HookUser + { whUserLogin = "baxterthehacker" + , whUserId = 6752317 + , whUserNodeId = "MDg6Q2hlY2tSdW4xMjg2MjAyMjg=" + , whUserAvatarUrl = URL "https://avatars.githubusercontent.com/u/6752317?v=3" + , whUserGravatarId = URL "" + , whUserUrl = URL "https://api.github.com/users/baxterthehacker" + , whUserHtmlUrl = URL "https://github.com/baxterthehacker" + , whUserFollowersUrl = URL "https://api.github.com/users/baxterthehacker/followers" + , whUserFollowingUrl = URL "https://api.github.com/users/baxterthehacker/following{/other_user}" + , whUserGistsUrl = URL "https://api.github.com/users/baxterthehacker/gists{/gist_id}" + , whUserStarredUrl = URL "https://api.github.com/users/baxterthehacker/starred{/owner}{/repo}" + , whUserSubscriptionsUrl = URL "https://api.github.com/users/baxterthehacker/subscriptions" + , whUserOrganizationsUrl = URL "https://api.github.com/users/baxterthehacker/orgs" + , whUserReposUrl = URL "https://api.github.com/users/baxterthehacker/repos" + , whUserEventsUrl = URL "https://api.github.com/users/baxterthehacker/events{/privacy}" + , whUserReceivedEventsUrl = URL "https://api.github.com/users/baxterthehacker/received_events" + , whUserType = OwnerUser + , whUserIsAdminOfSite = False + } + , whPageBuildCommitSha = "053b99542c83021d6b202d1a1f5ecd5ef7084e55" + , whPageBuildDuration = 3790 + , whPageBuildCreatedAt = read "2015-05-05 23:40:13Z" + , whPageBuildUpdatedAt = read "2015-05-05 23:40:17Z" + } + , evPageBuildRepo = + HookRepository + { whRepoId = 35129377 + , whRepoNodeId = "MDg6Q2hlY2tSdW4xMjg2MjAyMjg=" + , whRepoName = "public-repo" + , whRepoFullName = "baxterthehacker/public-repo" + , whRepoOwner = + Right HookUser + { whUserLogin = "baxterthehacker" + , whUserId = 6752317 + , whUserNodeId = "MDg6Q2hlY2tSdW4xMjg2MjAyMjg=" + , whUserAvatarUrl = URL "https://avatars.githubusercontent.com/u/6752317?v=3" + , whUserGravatarId = URL "" + , whUserUrl = URL "https://api.github.com/users/baxterthehacker" + , whUserHtmlUrl = URL "https://github.com/baxterthehacker" + , whUserFollowersUrl = URL "https://api.github.com/users/baxterthehacker/followers" + , whUserFollowingUrl = URL "https://api.github.com/users/baxterthehacker/following{/other_user}" + , whUserGistsUrl = URL "https://api.github.com/users/baxterthehacker/gists{/gist_id}" + , whUserStarredUrl = URL "https://api.github.com/users/baxterthehacker/starred{/owner}{/repo}" + , whUserSubscriptionsUrl = URL "https://api.github.com/users/baxterthehacker/subscriptions" + , whUserOrganizationsUrl = URL "https://api.github.com/users/baxterthehacker/orgs" + , whUserReposUrl = URL "https://api.github.com/users/baxterthehacker/repos" + , whUserEventsUrl = URL "https://api.github.com/users/baxterthehacker/events{/privacy}" + , whUserReceivedEventsUrl = URL "https://api.github.com/users/baxterthehacker/received_events" + , whUserType = OwnerUser + , whUserIsAdminOfSite = False + } + , whRepoIsPrivate = False + , whRepoHtmlUrl = URL "https://github.com/baxterthehacker/public-repo" + , whRepoDescription = "" + , whRepoIsAFork = False + , whRepoUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo" + , whRepoForksUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/forks" + , whRepoKeysUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/keys{/key_id}" + , whRepoCollaboratorsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/collaborators{/collaborator}" + , whRepoTeamsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/teams" + , whRepoHooksUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/hooks" + , whRepoIssueEventsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/issues/events{/number}" + , whRepoEventsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/events" + , whRepoAssigneesUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/assignees{/user}" + , whRepoBranchesUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/branches{/branch}" + , whRepoTagsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/tags" + , whRepoBlobsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/git/blobs{/sha}" + , whRepoGitTagsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/git/tags{/sha}" + , whRepoGitRefsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/git/refs{/sha}" + , whRepoTreesUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/git/trees{/sha}" + , whRepoStatusesUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/statuses/{sha}" + , whRepoLanguagesUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/languages" + , whRepoStargazersUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/stargazers" + , whRepoContributorsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/contributors" + , whRepoSubscribersUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/subscribers" + , whRepoSubscriptionUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/subscription" + , whRepoCommitsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/commits{/sha}" + , whRepoGitCommitsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/git/commits{/sha}" + , whRepoCommentsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/comments{/number}" + , whRepoIssueCommentsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/issues/comments{/number}" + , whRepoContentsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/contents/{+path}" + , whRepoCompareUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/compare/{base}...{head}" + , whRepoMergesUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/merges" + , whRepoArchiveUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/{archive_format}{/ref}" + , whRepoDownloadsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/downloads" + , whRepoIssuesUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/issues{/number}" + , whRepoPullsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/pulls{/number}" + , whRepoMilestonesUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/milestones{/number}" + , whRepoNotificationsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/notifications{?since,all,participating}" + , whRepoLabelsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/labels{/name}" + , whRepoReleasesUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/releases{/id}" + , whRepoCreatedAt = read "2015-05-05 23:40:12Z" + , whRepoUpdatedAt = read "2015-05-05 23:40:12Z" + , whRepoPushedAt = read "2015-05-05 23:40:17Z" + , whRepoGitUrl = URL "git://github.com/baxterthehacker/public-repo.git" + , whRepoSshUrl = URL "git@github.com:baxterthehacker/public-repo.git" + , whRepoCloneUrl = URL "https://github.com/baxterthehacker/public-repo.git" + , whRepoSvnUrl = URL "https://github.com/baxterthehacker/public-repo" + , whRepoHomepage = Nothing + , whRepoSize = 0 + , whRepoStargazersCount = 0 + , whRepoWatchersCount = 0 + , whRepoLanguage = Nothing + , whRepoHasIssues = True + , whRepoHasDownloads = True + , whRepoHasWiki = True + , whRepoHasPages = True + , whRepoForkCount = 0 + , whRepoMirrorUrl = Nothing + , whRepoOpenIssuesCount = 0 + , whRepoDefaultBranchName = "master" + } + , evPageBuildSender = + HookUser + { whUserLogin = "baxterthehacker" + , whUserId = 6752317 + , whUserNodeId = "MDg6Q2hlY2tSdW4xMjg2MjAyMjg=" + , whUserAvatarUrl = URL "https://avatars.githubusercontent.com/u/6752317?v=3" + , whUserGravatarId = URL "" + , whUserUrl = URL "https://api.github.com/users/baxterthehacker" + , whUserHtmlUrl = URL "https://github.com/baxterthehacker" + , whUserFollowersUrl = URL "https://api.github.com/users/baxterthehacker/followers" + , whUserFollowingUrl = URL "https://api.github.com/users/baxterthehacker/following{/other_user}" + , whUserGistsUrl = URL "https://api.github.com/users/baxterthehacker/gists{/gist_id}" + , whUserStarredUrl = URL "https://api.github.com/users/baxterthehacker/starred{/owner}{/repo}" + , whUserSubscriptionsUrl = URL "https://api.github.com/users/baxterthehacker/subscriptions" + , whUserOrganizationsUrl = URL "https://api.github.com/users/baxterthehacker/orgs" + , whUserReposUrl = URL "https://api.github.com/users/baxterthehacker/repos" + , whUserEventsUrl = URL "https://api.github.com/users/baxterthehacker/events{/privacy}" + , whUserReceivedEventsUrl = URL "https://api.github.com/users/baxterthehacker/received_events" + , whUserType = OwnerUser + , whUserIsAdminOfSite = False + } + } + +projectCardEventFixture :: ProjectCardEvent +projectCardEventFixture = ProjectCardEvent + { evProjectCardAction = ProjectCardCreatedAction + , evProjectCardPayload = + HookProjectCard + { whProjectCardUrl = URL "https://api.github.com/projects/columns/cards/1266091" + , whProjectCardColumnUrl = URL "https://api.github.com/projects/columns/515520" + , whProjectCardColumnId = 515520 + , whProjectCardId = 1266091 + , whProjectCardNodeId = "MDg6Q2hlY2tSdW4xMjg2MjAyMjg=" + , whProjectCardNote = Nothing + , whProjectCardCreator = + HookUser + { whUserLogin = "baxterthehacker" + , whUserId = 6752317 + , whUserNodeId = "MDg6Q2hlY2tSdW4xMjg2MjAyMjg=" + , whUserAvatarUrl = URL "https://avatars.githubusercontent.com/u/6752317?v=2" + , whUserGravatarId = URL "" + , whUserUrl = URL "https://api.github.com/users/baxterthehacker" + , whUserHtmlUrl = URL "https://github.com/baxterthehacker" + , whUserFollowersUrl = URL "https://api.github.com/users/baxterthehacker/followers" + , whUserFollowingUrl = URL "https://api.github.com/users/baxterthehacker/following{/other_user}" + , whUserGistsUrl = URL "https://api.github.com/users/baxterthehacker/gists{/gist_id}" + , whUserStarredUrl = URL "https://api.github.com/users/baxterthehacker/starred{/owner}{/repo}" + , whUserSubscriptionsUrl = URL "https://api.github.com/users/baxterthehacker/subscriptions" + , whUserOrganizationsUrl = URL "https://api.github.com/users/baxterthehacker/orgs" + , whUserReposUrl = URL "https://api.github.com/users/baxterthehacker/repos" + , whUserEventsUrl = URL "https://api.github.com/users/baxterthehacker/events{/privacy}" + , whUserReceivedEventsUrl = URL "https://api.github.com/users/baxterthehacker/received_events" + , whUserType = OwnerUser + , whUserIsAdminOfSite = False + } + , whProjectCardCreatedAt = read "2017-09-27 23:37:43Z" + , whProjectCardUpdatedAt = read "2017-09-27 23:39:09Z" + , whProjectCardContentUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/issues/2" + } + , evProjectCardRepo = + HookRepository + { whRepoId = 35129377 + , whRepoNodeId = "MDg6Q2hlY2tSdW4xMjg2MjAyMjg=" + , whRepoName = "public-repo" + , whRepoFullName = "baxterthehacker/public-repo" + , whRepoOwner = + Right HookUser + { whUserLogin = "baxterthehacker" + , whUserId = 6752317 + , whUserNodeId = "MDg6Q2hlY2tSdW4xMjg2MjAyMjg=" + , whUserAvatarUrl = URL "https://avatars.githubusercontent.com/u/6752317?v=3" + , whUserGravatarId = URL "" + , whUserUrl = URL "https://api.github.com/users/baxterthehacker" + , whUserHtmlUrl = URL "https://github.com/baxterthehacker" + , whUserFollowersUrl = URL "https://api.github.com/users/baxterthehacker/followers" + , whUserFollowingUrl = URL "https://api.github.com/users/baxterthehacker/following{/other_user}" + , whUserGistsUrl = URL "https://api.github.com/users/baxterthehacker/gists{/gist_id}" + , whUserStarredUrl = URL "https://api.github.com/users/baxterthehacker/starred{/owner}{/repo}" + , whUserSubscriptionsUrl = URL "https://api.github.com/users/baxterthehacker/subscriptions" + , whUserOrganizationsUrl = URL "https://api.github.com/users/baxterthehacker/orgs" + , whUserReposUrl = URL "https://api.github.com/users/baxterthehacker/repos" + , whUserEventsUrl = URL "https://api.github.com/users/baxterthehacker/events{/privacy}" + , whUserReceivedEventsUrl = URL "https://api.github.com/users/baxterthehacker/received_events" + , whUserType = OwnerUser + , whUserIsAdminOfSite = False + } + , whRepoIsPrivate = False + , whRepoHtmlUrl = URL "https://github.com/baxterthehacker/public-repo" + , whRepoDescription = "" + , whRepoIsAFork = False + , whRepoUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo" + , whRepoForksUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/forks" + , whRepoKeysUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/keys{/key_id}" + , whRepoCollaboratorsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/collaborators{/collaborator}" + , whRepoTeamsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/teams" + , whRepoHooksUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/hooks" + , whRepoIssueEventsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/issues/events{/number}" + , whRepoEventsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/events" + , whRepoAssigneesUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/assignees{/user}" + , whRepoBranchesUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/branches{/branch}" + , whRepoTagsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/tags" + , whRepoBlobsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/git/blobs{/sha}" + , whRepoGitTagsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/git/tags{/sha}" + , whRepoGitRefsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/git/refs{/sha}" + , whRepoTreesUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/git/trees{/sha}" + , whRepoStatusesUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/statuses/{sha}" + , whRepoLanguagesUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/languages" + , whRepoStargazersUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/stargazers" + , whRepoContributorsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/contributors" + , whRepoSubscribersUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/subscribers" + , whRepoSubscriptionUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/subscription" + , whRepoCommitsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/commits{/sha}" + , whRepoGitCommitsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/git/commits{/sha}" + , whRepoCommentsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/comments{/number}" + , whRepoIssueCommentsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/issues/comments{/number}" + , whRepoContentsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/contents/{+path}" + , whRepoCompareUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/compare/{base}...{head}" + , whRepoMergesUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/merges" + , whRepoArchiveUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/{archive_format}{/ref}" + , whRepoDownloadsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/downloads" + , whRepoIssuesUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/issues{/number}" + , whRepoPullsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/pulls{/number}" + , whRepoMilestonesUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/milestones{/number}" + , whRepoNotificationsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/notifications{?since,all,participating}" + , whRepoLabelsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/labels{/name}" + , whRepoReleasesUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/releases{/id}" + , whRepoCreatedAt = read "2015-05-05 23:40:12Z" + , whRepoUpdatedAt = read "2015-05-05 23:40:12Z" + , whRepoPushedAt = read "2015-05-05 23:40:27Z" + , whRepoGitUrl = URL "git://github.com/baxterthehacker/public-repo.git" + , whRepoSshUrl = URL "git@github.com:baxterthehacker/public-repo.git" + , whRepoCloneUrl = URL "https://github.com/baxterthehacker/public-repo.git" + , whRepoSvnUrl = URL "https://github.com/baxterthehacker/public-repo" + , whRepoHomepage = Nothing + , whRepoSize = 0 + , whRepoStargazersCount = 0 + , whRepoWatchersCount = 0 + , whRepoLanguage = Nothing + , whRepoHasIssues = True + , whRepoHasDownloads = True + , whRepoHasWiki = True + , whRepoHasPages = True + , whRepoForkCount = 0 + , whRepoMirrorUrl = Nothing + , whRepoOpenIssuesCount = 2 + , whRepoDefaultBranchName = "master" + } + , evProjectCardOrg = + HookOrganization + { whOrgLogin = "baxterandthehackers" + , whOrgId = 7649605 + , whOrgNodeId = "MDg6Q2hlY2tSdW4xMjg2MjAyMjg=" + , whOrgUrl = URL "https://api.github.com/orgs/baxterandthehackers" + , whOrgReposUrl = URL "https://api.github.com/orgs/baxterandthehackers/repos" + , whOrgEventsUrl = URL "https://api.github.com/orgs/baxterandthehackers/events" + , whOrgHooksUrl = Nothing + , whOrgIssuesUrl = Nothing + , whOrgMembersUrl = URL "https://api.github.com/orgs/baxterandthehackers/members{/member}" + , whOrgPublicMembersUrl = URL "https://api.github.com/orgs/baxterandthehackers/public_members{/member}" + , whOrgAvatarUrl = URL "https://avatars.githubusercontent.com/u/7649605?v=2" + , whOrgDescription = T.empty + } + , evProjectCardSender = + HookUser + { whUserLogin = "baxterthehacker" + , whUserId = 6752317 + , whUserNodeId = "MDg6Q2hlY2tSdW4xMjg2MjAyMjg=" + , whUserAvatarUrl = URL "https://avatars.githubusercontent.com/u/6752317?v=2" + , whUserGravatarId = URL "" + , whUserUrl = URL "https://api.github.com/users/baxterthehacker" + , whUserHtmlUrl = URL "https://github.com/baxterthehacker" + , whUserFollowersUrl = URL "https://api.github.com/users/baxterthehacker/followers" + , whUserFollowingUrl = URL "https://api.github.com/users/baxterthehacker/following{/other_user}" + , whUserGistsUrl = URL "https://api.github.com/users/baxterthehacker/gists{/gist_id}" + , whUserStarredUrl = URL "https://api.github.com/users/baxterthehacker/starred{/owner}{/repo}" + , whUserSubscriptionsUrl = URL "https://api.github.com/users/baxterthehacker/subscriptions" + , whUserOrganizationsUrl = URL "https://api.github.com/users/baxterthehacker/orgs" + , whUserReposUrl = URL "https://api.github.com/users/baxterthehacker/repos" + , whUserEventsUrl = URL "https://api.github.com/users/baxterthehacker/events{/privacy}" + , whUserReceivedEventsUrl = URL "https://api.github.com/users/baxterthehacker/received_events" + , whUserType = OwnerUser + , whUserIsAdminOfSite = False + } + } + +projectColumnEventFixture :: ProjectColumnEvent +projectColumnEventFixture = ProjectColumnEvent + { evProjectColumnAction = ProjectColumnCreatedAction + , evProjectColumnPayload = + HookProjectColumn + { whProjectColumnUrl = URL "https://api.github.com/projects/columns/515520" + , whProjectColumnProjUrl = URL "https://api.github.com/projects/288065" + , whProjectColumnCardsUrl = URL "https://api.github.com/projects/columns/515520/cards" + , whProjectColumnId = 515520 + , whProjectColumnNodeId = "MDg6Q2hlY2tSdW4xMjg2MjAyMjg=" + , whProjectColumnName = "High Priority" + , whProjectColumnCreatedAt = read "2017-09-27 23:37:43Z" + , whProjectColumnUpdatedAt = read "2017-09-27 23:39:09Z" + } + , evProjectColumnRepo = + HookRepository + { whRepoId = 35129377 + , whRepoNodeId = "MDg6Q2hlY2tSdW4xMjg2MjAyMjg=" + , whRepoName = "public-repo" + , whRepoFullName = "baxterthehacker/public-repo" + , whRepoOwner = + Right HookUser + { whUserLogin = "baxterthehacker" + , whUserId = 6752317 + , whUserNodeId = "MDg6Q2hlY2tSdW4xMjg2MjAyMjg=" + , whUserAvatarUrl = URL "https://avatars.githubusercontent.com/u/6752317?v=3" + , whUserGravatarId = URL "" + , whUserUrl = URL "https://api.github.com/users/baxterthehacker" + , whUserHtmlUrl = URL "https://github.com/baxterthehacker" + , whUserFollowersUrl = URL "https://api.github.com/users/baxterthehacker/followers" + , whUserFollowingUrl = URL "https://api.github.com/users/baxterthehacker/following{/other_user}" + , whUserGistsUrl = URL "https://api.github.com/users/baxterthehacker/gists{/gist_id}" + , whUserStarredUrl = URL "https://api.github.com/users/baxterthehacker/starred{/owner}{/repo}" + , whUserSubscriptionsUrl = URL "https://api.github.com/users/baxterthehacker/subscriptions" + , whUserOrganizationsUrl = URL "https://api.github.com/users/baxterthehacker/orgs" + , whUserReposUrl = URL "https://api.github.com/users/baxterthehacker/repos" + , whUserEventsUrl = URL "https://api.github.com/users/baxterthehacker/events{/privacy}" + , whUserReceivedEventsUrl = URL "https://api.github.com/users/baxterthehacker/received_events" + , whUserType = OwnerUser + , whUserIsAdminOfSite = False + } + , whRepoIsPrivate = False + , whRepoHtmlUrl = URL "https://github.com/baxterthehacker/public-repo" + , whRepoDescription = "" + , whRepoIsAFork = False + , whRepoUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo" + , whRepoForksUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/forks" + , whRepoKeysUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/keys{/key_id}" + , whRepoCollaboratorsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/collaborators{/collaborator}" + , whRepoTeamsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/teams" + , whRepoHooksUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/hooks" + , whRepoIssueEventsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/issues/events{/number}" + , whRepoEventsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/events" + , whRepoAssigneesUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/assignees{/user}" + , whRepoBranchesUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/branches{/branch}" + , whRepoTagsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/tags" + , whRepoBlobsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/git/blobs{/sha}" + , whRepoGitTagsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/git/tags{/sha}" + , whRepoGitRefsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/git/refs{/sha}" + , whRepoTreesUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/git/trees{/sha}" + , whRepoStatusesUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/statuses/{sha}" + , whRepoLanguagesUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/languages" + , whRepoStargazersUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/stargazers" + , whRepoContributorsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/contributors" + , whRepoSubscribersUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/subscribers" + , whRepoSubscriptionUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/subscription" + , whRepoCommitsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/commits{/sha}" + , whRepoGitCommitsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/git/commits{/sha}" + , whRepoCommentsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/comments{/number}" + , whRepoIssueCommentsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/issues/comments{/number}" + , whRepoContentsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/contents/{+path}" + , whRepoCompareUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/compare/{base}...{head}" + , whRepoMergesUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/merges" + , whRepoArchiveUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/{archive_format}{/ref}" + , whRepoDownloadsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/downloads" + , whRepoIssuesUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/issues{/number}" + , whRepoPullsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/pulls{/number}" + , whRepoMilestonesUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/milestones{/number}" + , whRepoNotificationsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/notifications{?since,all,participating}" + , whRepoLabelsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/labels{/name}" + , whRepoReleasesUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/releases{/id}" + , whRepoCreatedAt = read "2015-05-05 23:40:12Z" + , whRepoUpdatedAt = read "2015-05-05 23:40:12Z" + , whRepoPushedAt = read "2015-05-05 23:40:27Z" + , whRepoGitUrl = URL "git://github.com/baxterthehacker/public-repo.git" + , whRepoSshUrl = URL "git@github.com:baxterthehacker/public-repo.git" + , whRepoCloneUrl = URL "https://github.com/baxterthehacker/public-repo.git" + , whRepoSvnUrl = URL "https://github.com/baxterthehacker/public-repo" + , whRepoHomepage = Nothing + , whRepoSize = 0 + , whRepoStargazersCount = 0 + , whRepoWatchersCount = 0 + , whRepoLanguage = Nothing + , whRepoHasIssues = True + , whRepoHasDownloads = True + , whRepoHasWiki = True + , whRepoHasPages = True + , whRepoForkCount = 0 + , whRepoMirrorUrl = Nothing + , whRepoOpenIssuesCount = 2 + , whRepoDefaultBranchName = "master" + } + , evProjectColumnOrg = + HookOrganization + { whOrgLogin = "baxterandthehackers" + , whOrgId = 7649605 + , whOrgNodeId = "MDg6Q2hlY2tSdW4xMjg2MjAyMjg=" + , whOrgUrl = URL "https://api.github.com/orgs/baxterandthehackers" + , whOrgReposUrl = URL "https://api.github.com/orgs/baxterandthehackers/repos" + , whOrgEventsUrl = URL "https://api.github.com/orgs/baxterandthehackers/events" + , whOrgHooksUrl = Nothing + , whOrgIssuesUrl = Nothing + , whOrgMembersUrl = URL "https://api.github.com/orgs/baxterandthehackers/members{/member}" + , whOrgPublicMembersUrl = URL "https://api.github.com/orgs/baxterandthehackers/public_members{/member}" + , whOrgAvatarUrl = URL "https://avatars.githubusercontent.com/u/7649605?v=2" + , whOrgDescription = T.empty + } + , evProjectColumnSender = + HookUser + { whUserLogin = "baxterthehacker" + , whUserId = 6752317 + , whUserNodeId = "MDg6Q2hlY2tSdW4xMjg2MjAyMjg=" + , whUserAvatarUrl = URL "https://avatars.githubusercontent.com/u/6752317?v=2" + , whUserGravatarId = URL "" + , whUserUrl = URL "https://api.github.com/users/baxterthehacker" + , whUserHtmlUrl = URL "https://github.com/baxterthehacker" + , whUserFollowersUrl = URL "https://api.github.com/users/baxterthehacker/followers" + , whUserFollowingUrl = URL "https://api.github.com/users/baxterthehacker/following{/other_user}" + , whUserGistsUrl = URL "https://api.github.com/users/baxterthehacker/gists{/gist_id}" + , whUserStarredUrl = URL "https://api.github.com/users/baxterthehacker/starred{/owner}{/repo}" + , whUserSubscriptionsUrl = URL "https://api.github.com/users/baxterthehacker/subscriptions" + , whUserOrganizationsUrl = URL "https://api.github.com/users/baxterthehacker/orgs" + , whUserReposUrl = URL "https://api.github.com/users/baxterthehacker/repos" + , whUserEventsUrl = URL "https://api.github.com/users/baxterthehacker/events{/privacy}" + , whUserReceivedEventsUrl = URL "https://api.github.com/users/baxterthehacker/received_events" + , whUserType = OwnerUser + , whUserIsAdminOfSite = False + } + } + +projectEventFixture :: ProjectEvent +projectEventFixture = ProjectEvent + { evProjectEventAction = ProjectCreatedAction + , evProjectPayload = + HookProject + { whProjectOwnerUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo" + , whProjectUrl = URL "https://api.github.com/projects/288065" + , whProjectColumnsUrl = URL "https://api.github.com/projects/288065/columns" + , whProjectId = 288065 + , whProjectNodeId = "MDg6Q2hlY2tSdW4xMjg2MjAyMjg=" + , whProjectName = "2017" + , whProjectBody = "Roadmap for work to be done in 2017" + , whProjectNumber = 10 + , whProjectState = "open" + , whProjectCreator = + HookUser + { whUserLogin = "baxterthehacker" + , whUserId = 6752317 + , whUserNodeId = "MDg6Q2hlY2tSdW4xMjg2MjAyMjg=" + , whUserAvatarUrl = URL "https://avatars.githubusercontent.com/u/6752317?v=2" + , whUserGravatarId = URL "" + , whUserUrl = URL "https://api.github.com/users/baxterthehacker" + , whUserHtmlUrl = URL "https://github.com/baxterthehacker" + , whUserFollowersUrl = URL "https://api.github.com/users/baxterthehacker/followers" + , whUserFollowingUrl = URL "https://api.github.com/users/baxterthehacker/following{/other_user}" + , whUserGistsUrl = URL "https://api.github.com/users/baxterthehacker/gists{/gist_id}" + , whUserStarredUrl = URL "https://api.github.com/users/baxterthehacker/starred{/owner}{/repo}" + , whUserSubscriptionsUrl = URL "https://api.github.com/users/baxterthehacker/subscriptions" + , whUserOrganizationsUrl = URL "https://api.github.com/users/baxterthehacker/orgs" + , whUserReposUrl = URL "https://api.github.com/users/baxterthehacker/repos" + , whUserEventsUrl = URL "https://api.github.com/users/baxterthehacker/events{/privacy}" + , whUserReceivedEventsUrl = URL "https://api.github.com/users/baxterthehacker/received_events" + , whUserType = OwnerUser + , whUserIsAdminOfSite = False + } + , whProjectCreatedAt = read "2017-09-27 23:37:43Z" + , whProjectUpdatedAt = read "2017-09-27 23:39:09Z" + } + , evProjectRepo = + HookRepository + { whRepoId = 35129377 + , whRepoNodeId = "MDg6Q2hlY2tSdW4xMjg2MjAyMjg=" + , whRepoName = "public-repo" + , whRepoFullName = "baxterthehacker/public-repo" + , whRepoOwner = + Right HookUser + { whUserLogin = "baxterthehacker" + , whUserId = 6752317 + , whUserNodeId = "MDg6Q2hlY2tSdW4xMjg2MjAyMjg=" + , whUserAvatarUrl = URL "https://avatars.githubusercontent.com/u/6752317?v=3" + , whUserGravatarId = URL "" + , whUserUrl = URL "https://api.github.com/users/baxterthehacker" + , whUserHtmlUrl = URL "https://github.com/baxterthehacker" + , whUserFollowersUrl = URL "https://api.github.com/users/baxterthehacker/followers" + , whUserFollowingUrl = URL "https://api.github.com/users/baxterthehacker/following{/other_user}" + , whUserGistsUrl = URL "https://api.github.com/users/baxterthehacker/gists{/gist_id}" + , whUserStarredUrl = URL "https://api.github.com/users/baxterthehacker/starred{/owner}{/repo}" + , whUserSubscriptionsUrl = URL "https://api.github.com/users/baxterthehacker/subscriptions" + , whUserOrganizationsUrl = URL "https://api.github.com/users/baxterthehacker/orgs" + , whUserReposUrl = URL "https://api.github.com/users/baxterthehacker/repos" + , whUserEventsUrl = URL "https://api.github.com/users/baxterthehacker/events{/privacy}" + , whUserReceivedEventsUrl = URL "https://api.github.com/users/baxterthehacker/received_events" + , whUserType = OwnerUser + , whUserIsAdminOfSite = False + } + , whRepoIsPrivate = False + , whRepoHtmlUrl = URL "https://github.com/baxterthehacker/public-repo" + , whRepoDescription = "" + , whRepoIsAFork = False + , whRepoUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo" + , whRepoForksUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/forks" + , whRepoKeysUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/keys{/key_id}" + , whRepoCollaboratorsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/collaborators{/collaborator}" + , whRepoTeamsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/teams" + , whRepoHooksUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/hooks" + , whRepoIssueEventsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/issues/events{/number}" + , whRepoEventsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/events" + , whRepoAssigneesUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/assignees{/user}" + , whRepoBranchesUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/branches{/branch}" + , whRepoTagsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/tags" + , whRepoBlobsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/git/blobs{/sha}" + , whRepoGitTagsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/git/tags{/sha}" + , whRepoGitRefsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/git/refs{/sha}" + , whRepoTreesUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/git/trees{/sha}" + , whRepoStatusesUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/statuses/{sha}" + , whRepoLanguagesUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/languages" + , whRepoStargazersUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/stargazers" + , whRepoContributorsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/contributors" + , whRepoSubscribersUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/subscribers" + , whRepoSubscriptionUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/subscription" + , whRepoCommitsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/commits{/sha}" + , whRepoGitCommitsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/git/commits{/sha}" + , whRepoCommentsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/comments{/number}" + , whRepoIssueCommentsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/issues/comments{/number}" + , whRepoContentsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/contents/{+path}" + , whRepoCompareUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/compare/{base}...{head}" + , whRepoMergesUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/merges" + , whRepoArchiveUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/{archive_format}{/ref}" + , whRepoDownloadsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/downloads" + , whRepoIssuesUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/issues{/number}" + , whRepoPullsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/pulls{/number}" + , whRepoMilestonesUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/milestones{/number}" + , whRepoNotificationsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/notifications{?since,all,participating}" + , whRepoLabelsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/labels{/name}" + , whRepoReleasesUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/releases{/id}" + , whRepoCreatedAt = read "2015-05-05 23:40:12Z" + , whRepoUpdatedAt = read "2015-05-05 23:40:12Z" + , whRepoPushedAt = read "2015-05-05 23:40:27Z" + , whRepoGitUrl = URL "git://github.com/baxterthehacker/public-repo.git" + , whRepoSshUrl = URL "git@github.com:baxterthehacker/public-repo.git" + , whRepoCloneUrl = URL "https://github.com/baxterthehacker/public-repo.git" + , whRepoSvnUrl = URL "https://github.com/baxterthehacker/public-repo" + , whRepoHomepage = Nothing + , whRepoSize = 0 + , whRepoStargazersCount = 0 + , whRepoWatchersCount = 0 + , whRepoLanguage = Nothing + , whRepoHasIssues = True + , whRepoHasDownloads = True + , whRepoHasWiki = True + , whRepoHasPages = True + , whRepoForkCount = 0 + , whRepoMirrorUrl = Nothing + , whRepoOpenIssuesCount = 2 + , whRepoDefaultBranchName = "master" + } + , evProjectOrganization = + HookOrganization + { whOrgLogin = "baxterandthehackers" + , whOrgId = 7649605 + , whOrgNodeId = "MDg6Q2hlY2tSdW4xMjg2MjAyMjg=" + , whOrgUrl = URL "https://api.github.com/orgs/baxterandthehackers" + , whOrgReposUrl = URL "https://api.github.com/orgs/baxterandthehackers/repos" + , whOrgEventsUrl = URL "https://api.github.com/orgs/baxterandthehackers/events" + , whOrgHooksUrl = Nothing + , whOrgIssuesUrl = Nothing + , whOrgMembersUrl = URL "https://api.github.com/orgs/baxterandthehackers/members{/member}" + , whOrgPublicMembersUrl = URL "https://api.github.com/orgs/baxterandthehackers/public_members{/member}" + , whOrgAvatarUrl = URL "https://avatars.githubusercontent.com/u/7649605?v=2" + , whOrgDescription = T.empty + } + , evProjectSender = + HookUser + { whUserLogin = "baxterthehacker" + , whUserId = 6752317 + , whUserNodeId = "MDg6Q2hlY2tSdW4xMjg2MjAyMjg=" + , whUserAvatarUrl = URL "https://avatars.githubusercontent.com/u/6752317?v=2" + , whUserGravatarId = URL "" + , whUserUrl = URL "https://api.github.com/users/baxterthehacker" + , whUserHtmlUrl = URL "https://github.com/baxterthehacker" + , whUserFollowersUrl = URL "https://api.github.com/users/baxterthehacker/followers" + , whUserFollowingUrl = URL "https://api.github.com/users/baxterthehacker/following{/other_user}" + , whUserGistsUrl = URL "https://api.github.com/users/baxterthehacker/gists{/gist_id}" + , whUserStarredUrl = URL "https://api.github.com/users/baxterthehacker/starred{/owner}{/repo}" + , whUserSubscriptionsUrl = URL "https://api.github.com/users/baxterthehacker/subscriptions" + , whUserOrganizationsUrl = URL "https://api.github.com/users/baxterthehacker/orgs" + , whUserReposUrl = URL "https://api.github.com/users/baxterthehacker/repos" + , whUserEventsUrl = URL "https://api.github.com/users/baxterthehacker/events{/privacy}" + , whUserReceivedEventsUrl = URL "https://api.github.com/users/baxterthehacker/received_events" + , whUserType = OwnerUser + , whUserIsAdminOfSite = False + } + } + +publicEventFixture :: PublicEvent +publicEventFixture = PublicEvent + { evPublicEventRepo = + HookRepository + { whRepoId = 35129377 + , whRepoNodeId = "MDg6Q2hlY2tSdW4xMjg2MjAyMjg=" + , whRepoName = "public-repo" + , whRepoFullName = "baxterthehacker/public-repo" + , whRepoOwner = + Right HookUser + { whUserLogin = "baxterthehacker" + , whUserId = 6752317 + , whUserNodeId = "MDg6Q2hlY2tSdW4xMjg2MjAyMjg=" + , whUserAvatarUrl = URL "https://avatars.githubusercontent.com/u/6752317?v=3" + , whUserGravatarId = URL "" + , whUserUrl = URL "https://api.github.com/users/baxterthehacker" + , whUserHtmlUrl = URL "https://github.com/baxterthehacker" + , whUserFollowersUrl = URL "https://api.github.com/users/baxterthehacker/followers" + , whUserFollowingUrl = URL "https://api.github.com/users/baxterthehacker/following{/other_user}" + , whUserGistsUrl = URL "https://api.github.com/users/baxterthehacker/gists{/gist_id}" + , whUserStarredUrl = URL "https://api.github.com/users/baxterthehacker/starred{/owner}{/repo}" + , whUserSubscriptionsUrl = URL "https://api.github.com/users/baxterthehacker/subscriptions" + , whUserOrganizationsUrl = URL "https://api.github.com/users/baxterthehacker/orgs" + , whUserReposUrl = URL "https://api.github.com/users/baxterthehacker/repos" + , whUserEventsUrl = URL "https://api.github.com/users/baxterthehacker/events{/privacy}" + , whUserReceivedEventsUrl = URL "https://api.github.com/users/baxterthehacker/received_events" + , whUserType = OwnerUser + , whUserIsAdminOfSite = False + } + , whRepoIsPrivate = False + , whRepoHtmlUrl = URL "https://github.com/baxterthehacker/public-repo" + , whRepoDescription = "" + , whRepoIsAFork = False + , whRepoUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo" + , whRepoForksUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/forks" + , whRepoKeysUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/keys{/key_id}" + , whRepoCollaboratorsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/collaborators{/collaborator}" + , whRepoTeamsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/teams" + , whRepoHooksUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/hooks" + , whRepoIssueEventsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/issues/events{/number}" + , whRepoEventsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/events" + , whRepoAssigneesUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/assignees{/user}" + , whRepoBranchesUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/branches{/branch}" + , whRepoTagsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/tags" + , whRepoBlobsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/git/blobs{/sha}" + , whRepoGitTagsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/git/tags{/sha}" + , whRepoGitRefsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/git/refs{/sha}" + , whRepoTreesUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/git/trees{/sha}" + , whRepoStatusesUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/statuses/{sha}" + , whRepoLanguagesUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/languages" + , whRepoStargazersUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/stargazers" + , whRepoContributorsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/contributors" + , whRepoSubscribersUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/subscribers" + , whRepoSubscriptionUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/subscription" + , whRepoCommitsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/commits{/sha}" + , whRepoGitCommitsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/git/commits{/sha}" + , whRepoCommentsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/comments{/number}" + , whRepoIssueCommentsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/issues/comments{/number}" + , whRepoContentsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/contents/{+path}" + , whRepoCompareUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/compare/{base}...{head}" + , whRepoMergesUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/merges" + , whRepoArchiveUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/{archive_format}{/ref}" + , whRepoDownloadsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/downloads" + , whRepoIssuesUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/issues{/number}" + , whRepoPullsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/pulls{/number}" + , whRepoMilestonesUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/milestones{/number}" + , whRepoNotificationsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/notifications{?since,all,participating}" + , whRepoLabelsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/labels{/name}" + , whRepoReleasesUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/releases{/id}" + , whRepoCreatedAt = read "2015-05-05 23:40:12Z" + , whRepoUpdatedAt = read "2015-05-05 23:40:41Z" + , whRepoPushedAt = read "2015-05-05 23:40:40Z" + , whRepoGitUrl = URL "git://github.com/baxterthehacker/public-repo.git" + , whRepoSshUrl = URL "git@github.com:baxterthehacker/public-repo.git" + , whRepoCloneUrl = URL "https://github.com/baxterthehacker/public-repo.git" + , whRepoSvnUrl = URL "https://github.com/baxterthehacker/public-repo" + , whRepoHomepage = Nothing + , whRepoSize = 0 + , whRepoStargazersCount = 0 + , whRepoWatchersCount = 0 + , whRepoLanguage = Nothing + , whRepoHasIssues = True + , whRepoHasDownloads = True + , whRepoHasWiki = True + , whRepoHasPages = True + , whRepoForkCount = 0 + , whRepoMirrorUrl = Nothing + , whRepoOpenIssuesCount = 2 + , whRepoDefaultBranchName = "master" + } + , evPublicEventSender = + HookUser + { whUserLogin = "baxterthehacker" + , whUserId = 6752317 + , whUserNodeId = "MDg6Q2hlY2tSdW4xMjg2MjAyMjg=" + , whUserAvatarUrl = URL "https://avatars.githubusercontent.com/u/6752317?v=3" + , whUserGravatarId = URL "" + , whUserUrl = URL "https://api.github.com/users/baxterthehacker" + , whUserHtmlUrl = URL "https://github.com/baxterthehacker" + , whUserFollowersUrl = URL "https://api.github.com/users/baxterthehacker/followers" + , whUserFollowingUrl = URL "https://api.github.com/users/baxterthehacker/following{/other_user}" + , whUserGistsUrl = URL "https://api.github.com/users/baxterthehacker/gists{/gist_id}" + , whUserStarredUrl = URL "https://api.github.com/users/baxterthehacker/starred{/owner}{/repo}" + , whUserSubscriptionsUrl = URL "https://api.github.com/users/baxterthehacker/subscriptions" + , whUserOrganizationsUrl = URL "https://api.github.com/users/baxterthehacker/orgs" + , whUserReposUrl = URL "https://api.github.com/users/baxterthehacker/repos" + , whUserEventsUrl = URL "https://api.github.com/users/baxterthehacker/events{/privacy}" + , whUserReceivedEventsUrl = URL "https://api.github.com/users/baxterthehacker/received_events" + , whUserType = OwnerUser + , whUserIsAdminOfSite = False + } + } + +pullRequestEventFixture :: PullRequestEvent +pullRequestEventFixture = PullRequestEvent + { evPullReqAction = PullRequestOpenedAction + , evPullReqNumber = 1 + , evPullReqPayload = + HookPullRequest + { whPullReqUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/pulls/1" + , whPullReqId = 34778301 + , whPullReqNodeId = "MDg6Q2hlY2tSdW4xMjg2MjAyMjg=" + , whPullReqHtmlUrl = URL "https://github.com/baxterthehacker/public-repo/pull/1" + , whPullReqDiffUrl = URL "https://github.com/baxterthehacker/public-repo/pull/1.diff" + , whPullReqPatchUrl = URL "https://github.com/baxterthehacker/public-repo/pull/1.patch" + , whPullReqIssueUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/issues/1" + , whPullReqNumber = 1 + , whPullReqState = "open" + , whPullReqIsLocked = False + , whPullReqTitle = "Update the README with new information" + , whPullReqUser = + HookUser + { whUserLogin = "baxterthehacker" + , whUserId = 6752317 + , whUserNodeId = "MDg6Q2hlY2tSdW4xMjg2MjAyMjg=" + , whUserAvatarUrl = URL "https://avatars.githubusercontent.com/u/6752317?v=3" + , whUserGravatarId = URL "" + , whUserUrl = URL "https://api.github.com/users/baxterthehacker" + , whUserHtmlUrl = URL "https://github.com/baxterthehacker" + , whUserFollowersUrl = URL "https://api.github.com/users/baxterthehacker/followers" + , whUserFollowingUrl = URL "https://api.github.com/users/baxterthehacker/following{/other_user}" + , whUserGistsUrl = URL "https://api.github.com/users/baxterthehacker/gists{/gist_id}" + , whUserStarredUrl = URL "https://api.github.com/users/baxterthehacker/starred{/owner}{/repo}" + , whUserSubscriptionsUrl = URL "https://api.github.com/users/baxterthehacker/subscriptions" + , whUserOrganizationsUrl = URL "https://api.github.com/users/baxterthehacker/orgs" + , whUserReposUrl = URL "https://api.github.com/users/baxterthehacker/repos" + , whUserEventsUrl = URL "https://api.github.com/users/baxterthehacker/events{/privacy}" + , whUserReceivedEventsUrl = URL "https://api.github.com/users/baxterthehacker/received_events" + , whUserType = OwnerUser + , whUserIsAdminOfSite = False + } + , whPullReqBody = "This is a pretty simple change that we need to pull into master." + , whPullReqCreatedAt = read "2015-05-05 23:40:27Z" + , whPullReqUpdatedAt = read "2015-05-05 23:40:27Z" + , whPullReqClosedAt = Nothing + , whPullReqMergedAt = Nothing + , whPullReqMergeCommitSha = Nothing + , whPullReqAssignee = Nothing + , whPullReqMilestone = Nothing + , whPullReqCommitsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/pulls/1/commits" + , whPullReqRevCommentsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/pulls/1/comments" + , whPullReqRevCommentUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/pulls/comments{/number}" + , whPullReqCommentsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/issues/1/comments" + , whPullReqStatusesUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/statuses/0d1a26e67d8f5eaf1f6ba5c57fc3c7d91ac0fd1c" + , whPullReqBase = + PullRequestTarget + { whPullReqTargetSha = "9049f1265b7d61be4a8904a9a27120d2064dab3b" + , whPullReqTargetUser = + HookUser + { whUserLogin = "baxterthehacker" + , whUserId = 6752317 + , whUserNodeId = "MDg6Q2hlY2tSdW4xMjg2MjAyMjg=" + , whUserAvatarUrl = URL "https://avatars.githubusercontent.com/u/6752317?v=3" + , whUserGravatarId = URL "" + , whUserUrl = URL "https://api.github.com/users/baxterthehacker" + , whUserHtmlUrl = URL "https://github.com/baxterthehacker" + , whUserFollowersUrl = URL "https://api.github.com/users/baxterthehacker/followers" + , whUserFollowingUrl = URL "https://api.github.com/users/baxterthehacker/following{/other_user}" + , whUserGistsUrl = URL "https://api.github.com/users/baxterthehacker/gists{/gist_id}" + , whUserStarredUrl = URL "https://api.github.com/users/baxterthehacker/starred{/owner}{/repo}" + , whUserSubscriptionsUrl = URL "https://api.github.com/users/baxterthehacker/subscriptions" + , whUserOrganizationsUrl = URL "https://api.github.com/users/baxterthehacker/orgs" + , whUserReposUrl = URL "https://api.github.com/users/baxterthehacker/repos" + , whUserEventsUrl = URL "https://api.github.com/users/baxterthehacker/events{/privacy}" + , whUserReceivedEventsUrl = URL "https://api.github.com/users/baxterthehacker/received_events" + , whUserType = OwnerUser + , whUserIsAdminOfSite = False + } + , whPullReqTargetRepo = + Just HookRepository + { whRepoId = 35129377 + , whRepoNodeId = "MDg6Q2hlY2tSdW4xMjg2MjAyMjg=" + , whRepoName = "public-repo" + , whRepoFullName = "baxterthehacker/public-repo" + , whRepoOwner = + Right + HookUser + { whUserLogin = "baxterthehacker" + , whUserId = 6752317 + , whUserNodeId = "MDg6Q2hlY2tSdW4xMjg2MjAyMjg=" + , whUserAvatarUrl = URL "https://avatars.githubusercontent.com/u/6752317?v=3" + , whUserGravatarId = URL "" + , whUserUrl = URL "https://api.github.com/users/baxterthehacker" + , whUserHtmlUrl = URL "https://github.com/baxterthehacker" + , whUserFollowersUrl = URL "https://api.github.com/users/baxterthehacker/followers" + , whUserFollowingUrl = URL "https://api.github.com/users/baxterthehacker/following{/other_user}" + , whUserGistsUrl = URL "https://api.github.com/users/baxterthehacker/gists{/gist_id}" + , whUserStarredUrl = URL "https://api.github.com/users/baxterthehacker/starred{/owner}{/repo}" + , whUserSubscriptionsUrl = URL "https://api.github.com/users/baxterthehacker/subscriptions" + , whUserOrganizationsUrl = URL "https://api.github.com/users/baxterthehacker/orgs" + , whUserReposUrl = URL "https://api.github.com/users/baxterthehacker/repos" + , whUserEventsUrl = URL "https://api.github.com/users/baxterthehacker/events{/privacy}" + , whUserReceivedEventsUrl = URL "https://api.github.com/users/baxterthehacker/received_events" + , whUserType = OwnerUser + , whUserIsAdminOfSite = False + } + , whRepoIsPrivate = False + , whRepoHtmlUrl = URL "https://github.com/baxterthehacker/public-repo" + , whRepoDescription = "" + , whRepoIsAFork = False + , whRepoUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo" + , whRepoForksUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/forks" + , whRepoKeysUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/keys{/key_id}" + , whRepoCollaboratorsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/collaborators{/collaborator}" + , whRepoTeamsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/teams" + , whRepoHooksUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/hooks" + , whRepoIssueEventsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/issues/events{/number}" + , whRepoEventsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/events" + , whRepoAssigneesUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/assignees{/user}" + , whRepoBranchesUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/branches{/branch}" + , whRepoTagsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/tags" + , whRepoBlobsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/git/blobs{/sha}" + , whRepoGitTagsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/git/tags{/sha}" + , whRepoGitRefsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/git/refs{/sha}" + , whRepoTreesUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/git/trees{/sha}" + , whRepoStatusesUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/statuses/{sha}" + , whRepoLanguagesUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/languages" + , whRepoStargazersUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/stargazers" + , whRepoContributorsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/contributors" + , whRepoSubscribersUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/subscribers" + , whRepoSubscriptionUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/subscription" + , whRepoCommitsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/commits{/sha}" + , whRepoGitCommitsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/git/commits{/sha}" + , whRepoCommentsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/comments{/number}" + , whRepoIssueCommentsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/issues/comments{/number}" + , whRepoContentsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/contents/{+path}" + , whRepoCompareUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/compare/{base}...{head}" + , whRepoMergesUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/merges" + , whRepoArchiveUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/{archive_format}{/ref}" + , whRepoDownloadsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/downloads" + , whRepoIssuesUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/issues{/number}" + , whRepoPullsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/pulls{/number}" + , whRepoMilestonesUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/milestones{/number}" + , whRepoNotificationsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/notifications{?since,all,participating}" + , whRepoLabelsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/labels{/name}" + , whRepoReleasesUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/releases{/id}" + , whRepoCreatedAt = read "2015-05-05 23:40:12Z" + , whRepoUpdatedAt = read "2015-05-05 23:40:12Z" + , whRepoPushedAt = read "2015-05-05 23:40:26Z" + , whRepoGitUrl = URL "git://github.com/baxterthehacker/public-repo.git" + , whRepoSshUrl = URL "git@github.com:baxterthehacker/public-repo.git" + , whRepoCloneUrl = URL "https://github.com/baxterthehacker/public-repo.git" + , whRepoSvnUrl = URL "https://github.com/baxterthehacker/public-repo" + , whRepoHomepage = Nothing + , whRepoSize = 0 + , whRepoStargazersCount = 0 + , whRepoWatchersCount = 0 + , whRepoLanguage = Nothing + , whRepoHasIssues = True + , whRepoHasDownloads = True + , whRepoHasWiki = True + , whRepoHasPages = True + , whRepoForkCount = 0 + , whRepoMirrorUrl = Nothing + , whRepoOpenIssuesCount = 1 + , whRepoDefaultBranchName = "master" + } + , whPullReqTargetLabel = "baxterthehacker:master" + , whPullReqTargetRef = "master" + } + , whPullReqHead = + PullRequestTarget + { whPullReqTargetSha = "0d1a26e67d8f5eaf1f6ba5c57fc3c7d91ac0fd1c" + , whPullReqTargetUser = + HookUser + { whUserLogin = "baxterthehacker" + , whUserId = 6752317 + , whUserNodeId = "MDg6Q2hlY2tSdW4xMjg2MjAyMjg=" + , whUserAvatarUrl = URL "https://avatars.githubusercontent.com/u/6752317?v=3" + , whUserGravatarId = URL "" + , whUserUrl = URL "https://api.github.com/users/baxterthehacker" + , whUserHtmlUrl = URL "https://github.com/baxterthehacker" + , whUserFollowersUrl = URL "https://api.github.com/users/baxterthehacker/followers" + , whUserFollowingUrl = URL "https://api.github.com/users/baxterthehacker/following{/other_user}" + , whUserGistsUrl = URL "https://api.github.com/users/baxterthehacker/gists{/gist_id}" + , whUserStarredUrl = URL "https://api.github.com/users/baxterthehacker/starred{/owner}{/repo}" + , whUserSubscriptionsUrl = URL "https://api.github.com/users/baxterthehacker/subscriptions" + , whUserOrganizationsUrl = URL "https://api.github.com/users/baxterthehacker/orgs" + , whUserReposUrl = URL "https://api.github.com/users/baxterthehacker/repos" + , whUserEventsUrl = URL "https://api.github.com/users/baxterthehacker/events{/privacy}" + , whUserReceivedEventsUrl = URL "https://api.github.com/users/baxterthehacker/received_events" + , whUserType = OwnerUser + , whUserIsAdminOfSite = False + } + , whPullReqTargetRepo = + Just HookRepository + { whRepoId = 35129377 + , whRepoNodeId = "MDg6Q2hlY2tSdW4xMjg2MjAyMjg=" + , whRepoName = "public-repo" + , whRepoFullName = "baxterthehacker/public-repo" + , whRepoOwner = + Right + HookUser + { whUserLogin = "baxterthehacker" + , whUserId = 6752317 + , whUserNodeId = "MDg6Q2hlY2tSdW4xMjg2MjAyMjg=" + , whUserAvatarUrl = URL "https://avatars.githubusercontent.com/u/6752317?v=3" + , whUserGravatarId = URL "" + , whUserUrl = URL "https://api.github.com/users/baxterthehacker" + , whUserHtmlUrl = URL "https://github.com/baxterthehacker" + , whUserFollowersUrl = URL "https://api.github.com/users/baxterthehacker/followers" + , whUserFollowingUrl = URL "https://api.github.com/users/baxterthehacker/following{/other_user}" + , whUserGistsUrl = URL "https://api.github.com/users/baxterthehacker/gists{/gist_id}" + , whUserStarredUrl = URL "https://api.github.com/users/baxterthehacker/starred{/owner}{/repo}" + , whUserSubscriptionsUrl = URL "https://api.github.com/users/baxterthehacker/subscriptions" + , whUserOrganizationsUrl = URL "https://api.github.com/users/baxterthehacker/orgs" + , whUserReposUrl = URL "https://api.github.com/users/baxterthehacker/repos" + , whUserEventsUrl = URL "https://api.github.com/users/baxterthehacker/events{/privacy}" + , whUserReceivedEventsUrl = URL "https://api.github.com/users/baxterthehacker/received_events" + , whUserType = OwnerUser + , whUserIsAdminOfSite = False + } + , whRepoIsPrivate = False + , whRepoHtmlUrl = URL "https://github.com/baxterthehacker/public-repo" + , whRepoDescription = "" + , whRepoIsAFork = False + , whRepoUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo" + , whRepoForksUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/forks" + , whRepoKeysUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/keys{/key_id}" + , whRepoCollaboratorsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/collaborators{/collaborator}" + , whRepoTeamsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/teams" + , whRepoHooksUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/hooks" + , whRepoIssueEventsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/issues/events{/number}" + , whRepoEventsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/events" + , whRepoAssigneesUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/assignees{/user}" + , whRepoBranchesUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/branches{/branch}" + , whRepoTagsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/tags" + , whRepoBlobsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/git/blobs{/sha}" + , whRepoGitTagsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/git/tags{/sha}" + , whRepoGitRefsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/git/refs{/sha}" + , whRepoTreesUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/git/trees{/sha}" + , whRepoStatusesUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/statuses/{sha}" + , whRepoLanguagesUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/languages" + , whRepoStargazersUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/stargazers" + , whRepoContributorsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/contributors" + , whRepoSubscribersUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/subscribers" + , whRepoSubscriptionUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/subscription" + , whRepoCommitsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/commits{/sha}" + , whRepoGitCommitsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/git/commits{/sha}" + , whRepoCommentsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/comments{/number}" + , whRepoIssueCommentsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/issues/comments{/number}" + , whRepoContentsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/contents/{+path}" + , whRepoCompareUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/compare/{base}...{head}" + , whRepoMergesUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/merges" + , whRepoArchiveUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/{archive_format}{/ref}" + , whRepoDownloadsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/downloads" + , whRepoIssuesUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/issues{/number}" + , whRepoPullsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/pulls{/number}" + , whRepoMilestonesUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/milestones{/number}" + , whRepoNotificationsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/notifications{?since,all,participating}" + , whRepoLabelsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/labels{/name}" + , whRepoReleasesUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/releases{/id}" + , whRepoCreatedAt = read "2015-05-05 23:40:12Z" + , whRepoUpdatedAt = read "2015-05-05 23:40:12Z" + , whRepoPushedAt = read "2015-05-05 23:40:26Z" + , whRepoGitUrl = URL "git://github.com/baxterthehacker/public-repo.git" + , whRepoSshUrl = URL "git@github.com:baxterthehacker/public-repo.git" + , whRepoCloneUrl = URL "https://github.com/baxterthehacker/public-repo.git" + , whRepoSvnUrl = URL "https://github.com/baxterthehacker/public-repo" + , whRepoHomepage = Nothing + , whRepoSize = 0 + , whRepoStargazersCount = 0 + , whRepoWatchersCount = 0 + , whRepoLanguage = Nothing + , whRepoHasIssues = True + , whRepoHasDownloads = True + , whRepoHasWiki = True + , whRepoHasPages = True + , whRepoForkCount = 0 + , whRepoMirrorUrl = Nothing + , whRepoOpenIssuesCount = 1 + , whRepoDefaultBranchName = "master" + } + , whPullReqTargetLabel = "baxterthehacker:changes" + , whPullReqTargetRef = "changes" + } + , whPullReqMergeableState = Just "unknown" + , whPullReqCommentCount = Just 0 + , whPullReqRevCommentCount = Just 0 + , whPullReqCommitCount = Just 1 + , whPullReqAdditionsCount = Just 1 + , whPullReqDeletionsCount = Just 1 + , whPullReqFileChangeCount = Just 1 + } + , evPullReqRepo = + HookRepository + { whRepoId = 35129377 + , whRepoNodeId = "MDg6Q2hlY2tSdW4xMjg2MjAyMjg=" + , whRepoName = "public-repo" + , whRepoFullName = "baxterthehacker/public-repo" + , whRepoOwner = + Right HookUser + { whUserLogin = "baxterthehacker" + , whUserId = 6752317 + , whUserNodeId = "MDg6Q2hlY2tSdW4xMjg2MjAyMjg=" + , whUserAvatarUrl = URL "https://avatars.githubusercontent.com/u/6752317?v=3" + , whUserGravatarId = URL "" + , whUserUrl = URL "https://api.github.com/users/baxterthehacker" + , whUserHtmlUrl = URL "https://github.com/baxterthehacker" + , whUserFollowersUrl = URL "https://api.github.com/users/baxterthehacker/followers" + , whUserFollowingUrl = URL "https://api.github.com/users/baxterthehacker/following{/other_user}" + , whUserGistsUrl = URL "https://api.github.com/users/baxterthehacker/gists{/gist_id}" + , whUserStarredUrl = URL "https://api.github.com/users/baxterthehacker/starred{/owner}{/repo}" + , whUserSubscriptionsUrl = URL "https://api.github.com/users/baxterthehacker/subscriptions" + , whUserOrganizationsUrl = URL "https://api.github.com/users/baxterthehacker/orgs" + , whUserReposUrl = URL "https://api.github.com/users/baxterthehacker/repos" + , whUserEventsUrl = URL "https://api.github.com/users/baxterthehacker/events{/privacy}" + , whUserReceivedEventsUrl = URL "https://api.github.com/users/baxterthehacker/received_events" + , whUserType = OwnerUser + , whUserIsAdminOfSite = False + } + , whRepoIsPrivate = False + , whRepoHtmlUrl = URL "https://github.com/baxterthehacker/public-repo" + , whRepoDescription = "" + , whRepoIsAFork = False + , whRepoUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo" + , whRepoForksUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/forks" + , whRepoKeysUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/keys{/key_id}" + , whRepoCollaboratorsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/collaborators{/collaborator}" + , whRepoTeamsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/teams" + , whRepoHooksUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/hooks" + , whRepoIssueEventsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/issues/events{/number}" + , whRepoEventsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/events" + , whRepoAssigneesUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/assignees{/user}" + , whRepoBranchesUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/branches{/branch}" + , whRepoTagsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/tags" + , whRepoBlobsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/git/blobs{/sha}" + , whRepoGitTagsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/git/tags{/sha}" + , whRepoGitRefsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/git/refs{/sha}" + , whRepoTreesUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/git/trees{/sha}" + , whRepoStatusesUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/statuses/{sha}" + , whRepoLanguagesUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/languages" + , whRepoStargazersUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/stargazers" + , whRepoContributorsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/contributors" + , whRepoSubscribersUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/subscribers" + , whRepoSubscriptionUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/subscription" + , whRepoCommitsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/commits{/sha}" + , whRepoGitCommitsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/git/commits{/sha}" + , whRepoCommentsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/comments{/number}" + , whRepoIssueCommentsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/issues/comments{/number}" + , whRepoContentsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/contents/{+path}" + , whRepoCompareUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/compare/{base}...{head}" + , whRepoMergesUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/merges" + , whRepoArchiveUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/{archive_format}{/ref}" + , whRepoDownloadsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/downloads" + , whRepoIssuesUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/issues{/number}" + , whRepoPullsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/pulls{/number}" + , whRepoMilestonesUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/milestones{/number}" + , whRepoNotificationsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/notifications{?since,all,participating}" + , whRepoLabelsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/labels{/name}" + , whRepoReleasesUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/releases{/id}" + , whRepoCreatedAt = read "2015-05-05 23:40:12Z" + , whRepoUpdatedAt = read "2015-05-05 23:40:12Z" + , whRepoPushedAt = read "2015-05-05 23:40:26Z" + , whRepoGitUrl = URL "git://github.com/baxterthehacker/public-repo.git" + , whRepoSshUrl = URL "git@github.com:baxterthehacker/public-repo.git" + , whRepoCloneUrl = URL "https://github.com/baxterthehacker/public-repo.git" + , whRepoSvnUrl = URL "https://github.com/baxterthehacker/public-repo" + , whRepoHomepage = Nothing + , whRepoSize = 0 + , whRepoStargazersCount = 0 + , whRepoWatchersCount = 0 + , whRepoLanguage = Nothing + , whRepoHasIssues = True + , whRepoHasDownloads = True + , whRepoHasWiki = True + , whRepoHasPages = True + , whRepoForkCount = 0 + , whRepoMirrorUrl = Nothing + , whRepoOpenIssuesCount = 1 + , whRepoDefaultBranchName = "master" + } + , evPullReqSender = + HookUser + { whUserLogin = "baxterthehacker" + , whUserId = 6752317 + , whUserNodeId = "MDg6Q2hlY2tSdW4xMjg2MjAyMjg=" + , whUserAvatarUrl = URL "https://avatars.githubusercontent.com/u/6752317?v=3" + , whUserGravatarId = URL "" + , whUserUrl = URL "https://api.github.com/users/baxterthehacker" + , whUserHtmlUrl = URL "https://github.com/baxterthehacker" + , whUserFollowersUrl = URL "https://api.github.com/users/baxterthehacker/followers" + , whUserFollowingUrl = URL "https://api.github.com/users/baxterthehacker/following{/other_user}" + , whUserGistsUrl = URL "https://api.github.com/users/baxterthehacker/gists{/gist_id}" + , whUserStarredUrl = URL "https://api.github.com/users/baxterthehacker/starred{/owner}{/repo}" + , whUserSubscriptionsUrl = URL "https://api.github.com/users/baxterthehacker/subscriptions" + , whUserOrganizationsUrl = URL "https://api.github.com/users/baxterthehacker/orgs" + , whUserReposUrl = URL "https://api.github.com/users/baxterthehacker/repos" + , whUserEventsUrl = URL "https://api.github.com/users/baxterthehacker/events{/privacy}" + , whUserReceivedEventsUrl = URL "https://api.github.com/users/baxterthehacker/received_events" + , whUserType = OwnerUser + , whUserIsAdminOfSite = False + } + , evPullReqInstallationId = Just 234 + } + +pullRequestEventNullBodyFixture :: PullRequestEvent +pullRequestEventNullBodyFixture = PullRequestEvent + { evPullReqAction = PullRequestOpenedAction + , evPullReqNumber = 1 + , evPullReqPayload = + HookPullRequest + { whPullReqUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/pulls/1" + , whPullReqId = 34778301 + , whPullReqNodeId = "MDg6Q2hlY2tSdW4xMjg2MjAyMjg=" + , whPullReqHtmlUrl = URL "https://github.com/baxterthehacker/public-repo/pull/1" + , whPullReqDiffUrl = URL "https://github.com/baxterthehacker/public-repo/pull/1.diff" + , whPullReqPatchUrl = URL "https://github.com/baxterthehacker/public-repo/pull/1.patch" + , whPullReqIssueUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/issues/1" + , whPullReqNumber = 1 + , whPullReqState = "open" + , whPullReqIsLocked = False + , whPullReqTitle = "Update the README with new information" + , whPullReqUser = + HookUser + { whUserLogin = "baxterthehacker" + , whUserId = 6752317 + , whUserNodeId = "MDg6Q2hlY2tSdW4xMjg2MjAyMjg=" + , whUserAvatarUrl = URL "https://avatars.githubusercontent.com/u/6752317?v=3" + , whUserGravatarId = URL "" + , whUserUrl = URL "https://api.github.com/users/baxterthehacker" + , whUserHtmlUrl = URL "https://github.com/baxterthehacker" + , whUserFollowersUrl = URL "https://api.github.com/users/baxterthehacker/followers" + , whUserFollowingUrl = URL "https://api.github.com/users/baxterthehacker/following{/other_user}" + , whUserGistsUrl = URL "https://api.github.com/users/baxterthehacker/gists{/gist_id}" + , whUserStarredUrl = URL "https://api.github.com/users/baxterthehacker/starred{/owner}{/repo}" + , whUserSubscriptionsUrl = URL "https://api.github.com/users/baxterthehacker/subscriptions" + , whUserOrganizationsUrl = URL "https://api.github.com/users/baxterthehacker/orgs" + , whUserReposUrl = URL "https://api.github.com/users/baxterthehacker/repos" + , whUserEventsUrl = URL "https://api.github.com/users/baxterthehacker/events{/privacy}" + , whUserReceivedEventsUrl = URL "https://api.github.com/users/baxterthehacker/received_events" + , whUserType = OwnerUser + , whUserIsAdminOfSite = False + } + , whPullReqBody = "" + , whPullReqCreatedAt = read "2015-05-05 23:40:27Z" + , whPullReqUpdatedAt = read "2015-05-05 23:40:27Z" + , whPullReqClosedAt = Nothing + , whPullReqMergedAt = Nothing + , whPullReqMergeCommitSha = Nothing + , whPullReqAssignee = Nothing + , whPullReqMilestone = Nothing + , whPullReqCommitsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/pulls/1/commits" + , whPullReqRevCommentsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/pulls/1/comments" + , whPullReqRevCommentUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/pulls/comments{/number}" + , whPullReqCommentsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/issues/1/comments" + , whPullReqStatusesUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/statuses/0d1a26e67d8f5eaf1f6ba5c57fc3c7d91ac0fd1c" + , whPullReqBase = + PullRequestTarget + { whPullReqTargetSha = "9049f1265b7d61be4a8904a9a27120d2064dab3b" + , whPullReqTargetUser = + HookUser + { whUserLogin = "baxterthehacker" + , whUserId = 6752317 + , whUserNodeId = "MDg6Q2hlY2tSdW4xMjg2MjAyMjg=" + , whUserAvatarUrl = URL "https://avatars.githubusercontent.com/u/6752317?v=3" + , whUserGravatarId = URL "" + , whUserUrl = URL "https://api.github.com/users/baxterthehacker" + , whUserHtmlUrl = URL "https://github.com/baxterthehacker" + , whUserFollowersUrl = URL "https://api.github.com/users/baxterthehacker/followers" + , whUserFollowingUrl = URL "https://api.github.com/users/baxterthehacker/following{/other_user}" + , whUserGistsUrl = URL "https://api.github.com/users/baxterthehacker/gists{/gist_id}" + , whUserStarredUrl = URL "https://api.github.com/users/baxterthehacker/starred{/owner}{/repo}" + , whUserSubscriptionsUrl = URL "https://api.github.com/users/baxterthehacker/subscriptions" + , whUserOrganizationsUrl = URL "https://api.github.com/users/baxterthehacker/orgs" + , whUserReposUrl = URL "https://api.github.com/users/baxterthehacker/repos" + , whUserEventsUrl = URL "https://api.github.com/users/baxterthehacker/events{/privacy}" + , whUserReceivedEventsUrl = URL "https://api.github.com/users/baxterthehacker/received_events" + , whUserType = OwnerUser + , whUserIsAdminOfSite = False + } + , whPullReqTargetRepo = + Just HookRepository + { whRepoId = 35129377 + , whRepoNodeId = "MDg6Q2hlY2tSdW4xMjg2MjAyMjg=" + , whRepoName = "public-repo" + , whRepoFullName = "baxterthehacker/public-repo" + , whRepoOwner = + Right + HookUser + { whUserLogin = "baxterthehacker" + , whUserId = 6752317 + , whUserNodeId = "MDg6Q2hlY2tSdW4xMjg2MjAyMjg=" + , whUserAvatarUrl = URL "https://avatars.githubusercontent.com/u/6752317?v=3" + , whUserGravatarId = URL "" + , whUserUrl = URL "https://api.github.com/users/baxterthehacker" + , whUserHtmlUrl = URL "https://github.com/baxterthehacker" + , whUserFollowersUrl = URL "https://api.github.com/users/baxterthehacker/followers" + , whUserFollowingUrl = URL "https://api.github.com/users/baxterthehacker/following{/other_user}" + , whUserGistsUrl = URL "https://api.github.com/users/baxterthehacker/gists{/gist_id}" + , whUserStarredUrl = URL "https://api.github.com/users/baxterthehacker/starred{/owner}{/repo}" + , whUserSubscriptionsUrl = URL "https://api.github.com/users/baxterthehacker/subscriptions" + , whUserOrganizationsUrl = URL "https://api.github.com/users/baxterthehacker/orgs" + , whUserReposUrl = URL "https://api.github.com/users/baxterthehacker/repos" + , whUserEventsUrl = URL "https://api.github.com/users/baxterthehacker/events{/privacy}" + , whUserReceivedEventsUrl = URL "https://api.github.com/users/baxterthehacker/received_events" + , whUserType = OwnerUser + , whUserIsAdminOfSite = False + } + , whRepoIsPrivate = False + , whRepoHtmlUrl = URL "https://github.com/baxterthehacker/public-repo" + , whRepoDescription = "" + , whRepoIsAFork = False + , whRepoUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo" + , whRepoForksUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/forks" + , whRepoKeysUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/keys{/key_id}" + , whRepoCollaboratorsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/collaborators{/collaborator}" + , whRepoTeamsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/teams" + , whRepoHooksUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/hooks" + , whRepoIssueEventsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/issues/events{/number}" + , whRepoEventsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/events" + , whRepoAssigneesUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/assignees{/user}" + , whRepoBranchesUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/branches{/branch}" + , whRepoTagsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/tags" + , whRepoBlobsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/git/blobs{/sha}" + , whRepoGitTagsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/git/tags{/sha}" + , whRepoGitRefsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/git/refs{/sha}" + , whRepoTreesUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/git/trees{/sha}" + , whRepoStatusesUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/statuses/{sha}" + , whRepoLanguagesUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/languages" + , whRepoStargazersUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/stargazers" + , whRepoContributorsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/contributors" + , whRepoSubscribersUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/subscribers" + , whRepoSubscriptionUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/subscription" + , whRepoCommitsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/commits{/sha}" + , whRepoGitCommitsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/git/commits{/sha}" + , whRepoCommentsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/comments{/number}" + , whRepoIssueCommentsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/issues/comments{/number}" + , whRepoContentsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/contents/{+path}" + , whRepoCompareUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/compare/{base}...{head}" + , whRepoMergesUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/merges" + , whRepoArchiveUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/{archive_format}{/ref}" + , whRepoDownloadsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/downloads" + , whRepoIssuesUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/issues{/number}" + , whRepoPullsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/pulls{/number}" + , whRepoMilestonesUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/milestones{/number}" + , whRepoNotificationsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/notifications{?since,all,participating}" + , whRepoLabelsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/labels{/name}" + , whRepoReleasesUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/releases{/id}" + , whRepoCreatedAt = read "2015-05-05 23:40:12Z" + , whRepoUpdatedAt = read "2015-05-05 23:40:12Z" + , whRepoPushedAt = read "2015-05-05 23:40:26Z" + , whRepoGitUrl = URL "git://github.com/baxterthehacker/public-repo.git" + , whRepoSshUrl = URL "git@github.com:baxterthehacker/public-repo.git" + , whRepoCloneUrl = URL "https://github.com/baxterthehacker/public-repo.git" + , whRepoSvnUrl = URL "https://github.com/baxterthehacker/public-repo" + , whRepoHomepage = Nothing + , whRepoSize = 0 + , whRepoStargazersCount = 0 + , whRepoWatchersCount = 0 + , whRepoLanguage = Nothing + , whRepoHasIssues = True + , whRepoHasDownloads = True + , whRepoHasWiki = True + , whRepoHasPages = True + , whRepoForkCount = 0 + , whRepoMirrorUrl = Nothing + , whRepoOpenIssuesCount = 1 + , whRepoDefaultBranchName = "master" + } + , whPullReqTargetLabel = "baxterthehacker:master" + , whPullReqTargetRef = "master" + } + , whPullReqHead = + PullRequestTarget + { whPullReqTargetSha = "0d1a26e67d8f5eaf1f6ba5c57fc3c7d91ac0fd1c" + , whPullReqTargetUser = + HookUser + { whUserLogin = "baxterthehacker" + , whUserId = 6752317 + , whUserNodeId = "MDg6Q2hlY2tSdW4xMjg2MjAyMjg=" + , whUserAvatarUrl = URL "https://avatars.githubusercontent.com/u/6752317?v=3" + , whUserGravatarId = URL "" + , whUserUrl = URL "https://api.github.com/users/baxterthehacker" + , whUserHtmlUrl = URL "https://github.com/baxterthehacker" + , whUserFollowersUrl = URL "https://api.github.com/users/baxterthehacker/followers" + , whUserFollowingUrl = URL "https://api.github.com/users/baxterthehacker/following{/other_user}" + , whUserGistsUrl = URL "https://api.github.com/users/baxterthehacker/gists{/gist_id}" + , whUserStarredUrl = URL "https://api.github.com/users/baxterthehacker/starred{/owner}{/repo}" + , whUserSubscriptionsUrl = URL "https://api.github.com/users/baxterthehacker/subscriptions" + , whUserOrganizationsUrl = URL "https://api.github.com/users/baxterthehacker/orgs" + , whUserReposUrl = URL "https://api.github.com/users/baxterthehacker/repos" + , whUserEventsUrl = URL "https://api.github.com/users/baxterthehacker/events{/privacy}" + , whUserReceivedEventsUrl = URL "https://api.github.com/users/baxterthehacker/received_events" + , whUserType = OwnerUser + , whUserIsAdminOfSite = False + } + , whPullReqTargetRepo = + Just HookRepository + { whRepoId = 35129377 + , whRepoNodeId = "MDg6Q2hlY2tSdW4xMjg2MjAyMjg=" + , whRepoName = "public-repo" + , whRepoFullName = "baxterthehacker/public-repo" + , whRepoOwner = + Right + HookUser + { whUserLogin = "baxterthehacker" + , whUserId = 6752317 + , whUserNodeId = "MDg6Q2hlY2tSdW4xMjg2MjAyMjg=" + , whUserAvatarUrl = URL "https://avatars.githubusercontent.com/u/6752317?v=3" + , whUserGravatarId = URL "" + , whUserUrl = URL "https://api.github.com/users/baxterthehacker" + , whUserHtmlUrl = URL "https://github.com/baxterthehacker" + , whUserFollowersUrl = URL "https://api.github.com/users/baxterthehacker/followers" + , whUserFollowingUrl = URL "https://api.github.com/users/baxterthehacker/following{/other_user}" + , whUserGistsUrl = URL "https://api.github.com/users/baxterthehacker/gists{/gist_id}" + , whUserStarredUrl = URL "https://api.github.com/users/baxterthehacker/starred{/owner}{/repo}" + , whUserSubscriptionsUrl = URL "https://api.github.com/users/baxterthehacker/subscriptions" + , whUserOrganizationsUrl = URL "https://api.github.com/users/baxterthehacker/orgs" + , whUserReposUrl = URL "https://api.github.com/users/baxterthehacker/repos" + , whUserEventsUrl = URL "https://api.github.com/users/baxterthehacker/events{/privacy}" + , whUserReceivedEventsUrl = URL "https://api.github.com/users/baxterthehacker/received_events" + , whUserType = OwnerUser + , whUserIsAdminOfSite = False + } + , whRepoIsPrivate = False + , whRepoHtmlUrl = URL "https://github.com/baxterthehacker/public-repo" + , whRepoDescription = "" + , whRepoIsAFork = False + , whRepoUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo" + , whRepoForksUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/forks" + , whRepoKeysUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/keys{/key_id}" + , whRepoCollaboratorsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/collaborators{/collaborator}" + , whRepoTeamsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/teams" + , whRepoHooksUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/hooks" + , whRepoIssueEventsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/issues/events{/number}" + , whRepoEventsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/events" + , whRepoAssigneesUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/assignees{/user}" + , whRepoBranchesUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/branches{/branch}" + , whRepoTagsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/tags" + , whRepoBlobsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/git/blobs{/sha}" + , whRepoGitTagsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/git/tags{/sha}" + , whRepoGitRefsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/git/refs{/sha}" + , whRepoTreesUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/git/trees{/sha}" + , whRepoStatusesUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/statuses/{sha}" + , whRepoLanguagesUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/languages" + , whRepoStargazersUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/stargazers" + , whRepoContributorsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/contributors" + , whRepoSubscribersUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/subscribers" + , whRepoSubscriptionUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/subscription" + , whRepoCommitsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/commits{/sha}" + , whRepoGitCommitsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/git/commits{/sha}" + , whRepoCommentsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/comments{/number}" + , whRepoIssueCommentsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/issues/comments{/number}" + , whRepoContentsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/contents/{+path}" + , whRepoCompareUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/compare/{base}...{head}" + , whRepoMergesUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/merges" + , whRepoArchiveUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/{archive_format}{/ref}" + , whRepoDownloadsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/downloads" + , whRepoIssuesUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/issues{/number}" + , whRepoPullsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/pulls{/number}" + , whRepoMilestonesUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/milestones{/number}" + , whRepoNotificationsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/notifications{?since,all,participating}" + , whRepoLabelsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/labels{/name}" + , whRepoReleasesUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/releases{/id}" + , whRepoCreatedAt = read "2015-05-05 23:40:12Z" + , whRepoUpdatedAt = read "2015-05-05 23:40:12Z" + , whRepoPushedAt = read "2015-05-05 23:40:26Z" + , whRepoGitUrl = URL "git://github.com/baxterthehacker/public-repo.git" + , whRepoSshUrl = URL "git@github.com:baxterthehacker/public-repo.git" + , whRepoCloneUrl = URL "https://github.com/baxterthehacker/public-repo.git" + , whRepoSvnUrl = URL "https://github.com/baxterthehacker/public-repo" + , whRepoHomepage = Nothing + , whRepoSize = 0 + , whRepoStargazersCount = 0 + , whRepoWatchersCount = 0 + , whRepoLanguage = Nothing + , whRepoHasIssues = True + , whRepoHasDownloads = True + , whRepoHasWiki = True + , whRepoHasPages = True + , whRepoForkCount = 0 + , whRepoMirrorUrl = Nothing + , whRepoOpenIssuesCount = 1 + , whRepoDefaultBranchName = "master" + } + , whPullReqTargetLabel = "baxterthehacker:changes" + , whPullReqTargetRef = "changes" + } + , whPullReqMergeableState = Just "unknown" + , whPullReqCommentCount = Just 0 + , whPullReqRevCommentCount = Just 0 + , whPullReqCommitCount = Just 1 + , whPullReqAdditionsCount = Just 1 + , whPullReqDeletionsCount = Just 1 + , whPullReqFileChangeCount = Just 1 + } + , evPullReqRepo = + HookRepository + { whRepoId = 35129377 + , whRepoNodeId = "MDg6Q2hlY2tSdW4xMjg2MjAyMjg=" + , whRepoName = "public-repo" + , whRepoFullName = "baxterthehacker/public-repo" + , whRepoOwner = + Right HookUser + { whUserLogin = "baxterthehacker" + , whUserId = 6752317 + , whUserNodeId = "MDg6Q2hlY2tSdW4xMjg2MjAyMjg=" + , whUserAvatarUrl = URL "https://avatars.githubusercontent.com/u/6752317?v=3" + , whUserGravatarId = URL "" + , whUserUrl = URL "https://api.github.com/users/baxterthehacker" + , whUserHtmlUrl = URL "https://github.com/baxterthehacker" + , whUserFollowersUrl = URL "https://api.github.com/users/baxterthehacker/followers" + , whUserFollowingUrl = URL "https://api.github.com/users/baxterthehacker/following{/other_user}" + , whUserGistsUrl = URL "https://api.github.com/users/baxterthehacker/gists{/gist_id}" + , whUserStarredUrl = URL "https://api.github.com/users/baxterthehacker/starred{/owner}{/repo}" + , whUserSubscriptionsUrl = URL "https://api.github.com/users/baxterthehacker/subscriptions" + , whUserOrganizationsUrl = URL "https://api.github.com/users/baxterthehacker/orgs" + , whUserReposUrl = URL "https://api.github.com/users/baxterthehacker/repos" + , whUserEventsUrl = URL "https://api.github.com/users/baxterthehacker/events{/privacy}" + , whUserReceivedEventsUrl = URL "https://api.github.com/users/baxterthehacker/received_events" + , whUserType = OwnerUser + , whUserIsAdminOfSite = False + } + , whRepoIsPrivate = False + , whRepoHtmlUrl = URL "https://github.com/baxterthehacker/public-repo" + , whRepoDescription = "" + , whRepoIsAFork = False + , whRepoUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo" + , whRepoForksUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/forks" + , whRepoKeysUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/keys{/key_id}" + , whRepoCollaboratorsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/collaborators{/collaborator}" + , whRepoTeamsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/teams" + , whRepoHooksUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/hooks" + , whRepoIssueEventsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/issues/events{/number}" + , whRepoEventsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/events" + , whRepoAssigneesUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/assignees{/user}" + , whRepoBranchesUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/branches{/branch}" + , whRepoTagsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/tags" + , whRepoBlobsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/git/blobs{/sha}" + , whRepoGitTagsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/git/tags{/sha}" + , whRepoGitRefsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/git/refs{/sha}" + , whRepoTreesUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/git/trees{/sha}" + , whRepoStatusesUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/statuses/{sha}" + , whRepoLanguagesUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/languages" + , whRepoStargazersUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/stargazers" + , whRepoContributorsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/contributors" + , whRepoSubscribersUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/subscribers" + , whRepoSubscriptionUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/subscription" + , whRepoCommitsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/commits{/sha}" + , whRepoGitCommitsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/git/commits{/sha}" + , whRepoCommentsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/comments{/number}" + , whRepoIssueCommentsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/issues/comments{/number}" + , whRepoContentsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/contents/{+path}" + , whRepoCompareUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/compare/{base}...{head}" + , whRepoMergesUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/merges" + , whRepoArchiveUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/{archive_format}{/ref}" + , whRepoDownloadsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/downloads" + , whRepoIssuesUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/issues{/number}" + , whRepoPullsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/pulls{/number}" + , whRepoMilestonesUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/milestones{/number}" + , whRepoNotificationsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/notifications{?since,all,participating}" + , whRepoLabelsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/labels{/name}" + , whRepoReleasesUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/releases{/id}" + , whRepoCreatedAt = read "2015-05-05 23:40:12Z" + , whRepoUpdatedAt = read "2015-05-05 23:40:12Z" + , whRepoPushedAt = read "2015-05-05 23:40:26Z" + , whRepoGitUrl = URL "git://github.com/baxterthehacker/public-repo.git" + , whRepoSshUrl = URL "git@github.com:baxterthehacker/public-repo.git" + , whRepoCloneUrl = URL "https://github.com/baxterthehacker/public-repo.git" + , whRepoSvnUrl = URL "https://github.com/baxterthehacker/public-repo" + , whRepoHomepage = Nothing + , whRepoSize = 0 + , whRepoStargazersCount = 0 + , whRepoWatchersCount = 0 + , whRepoLanguage = Nothing + , whRepoHasIssues = True + , whRepoHasDownloads = True + , whRepoHasWiki = True + , whRepoHasPages = True + , whRepoForkCount = 0 + , whRepoMirrorUrl = Nothing + , whRepoOpenIssuesCount = 1 + , whRepoDefaultBranchName = "master" + } + , evPullReqSender = + HookUser + { whUserLogin = "baxterthehacker" + , whUserId = 6752317 + , whUserNodeId = "MDg6Q2hlY2tSdW4xMjg2MjAyMjg=" + , whUserAvatarUrl = URL "https://avatars.githubusercontent.com/u/6752317?v=3" + , whUserGravatarId = URL "" + , whUserUrl = URL "https://api.github.com/users/baxterthehacker" + , whUserHtmlUrl = URL "https://github.com/baxterthehacker" + , whUserFollowersUrl = URL "https://api.github.com/users/baxterthehacker/followers" + , whUserFollowingUrl = URL "https://api.github.com/users/baxterthehacker/following{/other_user}" + , whUserGistsUrl = URL "https://api.github.com/users/baxterthehacker/gists{/gist_id}" + , whUserStarredUrl = URL "https://api.github.com/users/baxterthehacker/starred{/owner}{/repo}" + , whUserSubscriptionsUrl = URL "https://api.github.com/users/baxterthehacker/subscriptions" + , whUserOrganizationsUrl = URL "https://api.github.com/users/baxterthehacker/orgs" + , whUserReposUrl = URL "https://api.github.com/users/baxterthehacker/repos" + , whUserEventsUrl = URL "https://api.github.com/users/baxterthehacker/events{/privacy}" + , whUserReceivedEventsUrl = URL "https://api.github.com/users/baxterthehacker/received_events" + , whUserType = OwnerUser + , whUserIsAdminOfSite = False + } + , evPullReqInstallationId = Just 234 + } + +pullRequestEventDeleteNullHeadRepoAnomalyFixture :: PullRequestEvent +pullRequestEventDeleteNullHeadRepoAnomalyFixture = + PullRequestEvent + { evPullReqAction = PullRequestClosedAction, + evPullReqNumber = 254, + evPullReqPayload = + HookPullRequest + { whPullReqUrl = URL "https://api.github.com/repos/upstreamowner/therepo/pulls/254", + whPullReqId = 57285673867, + whPullReqNodeId = "PR_kwODAywNcw4ukzp6", + whPullReqHtmlUrl = URL "https://github.com/upstreamowner/therepo/pull/254", + whPullReqDiffUrl = URL "https://github.com/upstreamowner/therepo/pull/254.diff", + whPullReqPatchUrl = URL "https://github.com/upstreamowner/therepo/pull/254.patch", + whPullReqIssueUrl = URL "https://api.github.com/repos/upstreamowner/therepo/issues/254", + whPullReqNumber = 254, + whPullReqState = "closed", + whPullReqIsLocked = False, + whPullReqTitle = "This was a PR title", + whPullReqUser = + HookUser + { whUserLogin = "thecontributor", + whUserId = 8425382758, + whUserNodeId = "MDV6XQlcQjN1EjNNQ4T3", + whUserAvatarUrl = URL "https://avatars.githubusercontent.com/u/8425382758?v=4", + whUserGravatarId = URL "", + whUserUrl = URL "https://api.github.com/users/thecontributor", + whUserHtmlUrl = URL "https://github.com/thecontributor", + whUserFollowersUrl = URL "https://api.github.com/users/thecontributor/followers", + whUserFollowingUrl = URL "https://api.github.com/users/thecontributor/following{/other_user}", + whUserGistsUrl = URL "https://api.github.com/users/thecontributor/gists{/gist_id}", + whUserStarredUrl = URL "https://api.github.com/users/thecontributor/starred{/owner}{/repo}", + whUserSubscriptionsUrl = URL "https://api.github.com/users/thecontributor/subscriptions", + whUserOrganizationsUrl = URL "https://api.github.com/users/thecontributor/orgs", + whUserReposUrl = URL "https://api.github.com/users/thecontributor/repos", + whUserEventsUrl = URL "https://api.github.com/users/thecontributor/events{/privacy}", + whUserReceivedEventsUrl = URL "https://api.github.com/users/thecontributor/received_events", + whUserType = OwnerUser, + whUserIsAdminOfSite = False + }, + whPullReqBody = "", + whPullReqCreatedAt = read "2021-11-20 20:00:00Z", + whPullReqUpdatedAt = read "2021-11-20 20:00:00Z", + whPullReqClosedAt = Just $ read "2021-11-20 20:00:00Z", + whPullReqMergedAt = Nothing, + whPullReqMergeCommitSha = Nothing, + whPullReqAssignee = Nothing, + whPullReqMilestone = Nothing, + whPullReqCommitsUrl = URL "https://api.github.com/repos/upstreamowner/therepo/pulls/254/commits", + whPullReqRevCommentsUrl = URL "https://api.github.com/repos/upstreamowner/therepo/pulls/254/comments", + whPullReqRevCommentUrl = URL "https://api.github.com/repos/upstreamowner/therepo/pulls/comments{/number}", + whPullReqCommentsUrl = URL "https://api.github.com/repos/upstreamowner/therepo/issues/254/comments", + whPullReqStatusesUrl = URL "https://api.github.com/repos/upstreamowner/therepo/statuses/b31c9f3501a256e212364c839050736f49e5fa6e", + whPullReqBase = + PullRequestTarget + { whPullReqTargetSha = "a42211bde42a98b41bc673f4e90f7b01b41fde5a", + whPullReqTargetUser = + HookUser + { whUserLogin = "upstreamowner", + whUserId = 23804562983764, + whUserNodeId = "MDEykO9yZF2auXpdhGvlbjEM2kT3TOQ3", + whUserAvatarUrl = URL "https://avatars.githubusercontent.com/u/23804562983764?v=4", + whUserGravatarId = URL "", + whUserUrl = URL "https://api.github.com/users/upstreamowner", + whUserHtmlUrl = URL "https://github.com/upstreamowner", + whUserFollowersUrl = URL "https://api.github.com/users/upstreamowner/followers", + whUserFollowingUrl = URL "https://api.github.com/users/upstreamowner/following{/other_user}", + whUserGistsUrl = URL "https://api.github.com/users/upstreamowner/gists{/gist_id}", + whUserStarredUrl = URL "https://api.github.com/users/upstreamowner/starred{/owner}{/repo}", + whUserSubscriptionsUrl = URL "https://api.github.com/users/upstreamowner/subscriptions", + whUserOrganizationsUrl = URL "https://api.github.com/users/upstreamowner/orgs", + whUserReposUrl = URL "https://api.github.com/users/upstreamowner/repos", + whUserEventsUrl = URL "https://api.github.com/users/upstreamowner/events{/privacy}", + whUserReceivedEventsUrl = URL "https://api.github.com/users/upstreamowner/received_events", + whUserType = OwnerOrganization, + whUserIsAdminOfSite = False + }, + whPullReqTargetRepo = + Just + ( HookRepository + { whRepoId = 53218753, + whRepoNodeId = "MDEwOlJlcG9zaXRvcnk1MzIxODc1Mw==", + whRepoName = "therepo", + whRepoFullName = "upstreamowner/therepo", + whRepoOwner = + Right + ( HookUser + { whUserLogin = "upstreamowner", + whUserId = 23804562983764, + whUserNodeId = "MDEyOk9yZ2FuaXphdGlvbjE2MTk3OTQ3", + whUserAvatarUrl = URL "https://avatars.githubusercontent.com/u/23804562983764?v=4", + whUserGravatarId = URL "", + whUserUrl = URL "https://api.github.com/users/upstreamowner", + whUserHtmlUrl = URL "https://github.com/upstreamowner", + whUserFollowersUrl = URL "https://api.github.com/users/upstreamowner/followers", + whUserFollowingUrl = URL "https://api.github.com/users/upstreamowner/following{/other_user}", + whUserGistsUrl = URL "https://api.github.com/users/upstreamowner/gists{/gist_id}", + whUserStarredUrl = URL "https://api.github.com/users/upstreamowner/starred{/owner}{/repo}", + whUserSubscriptionsUrl = URL "https://api.github.com/users/upstreamowner/subscriptions", + whUserOrganizationsUrl = URL "https://api.github.com/users/upstreamowner/orgs", + whUserReposUrl = URL "https://api.github.com/users/upstreamowner/repos", + whUserEventsUrl = URL "https://api.github.com/users/upstreamowner/events{/privacy}", + whUserReceivedEventsUrl = URL "https://api.github.com/users/upstreamowner/received_events", + whUserType = OwnerOrganization, + whUserIsAdminOfSite = False + } + ), + whRepoIsPrivate = False, + whRepoHtmlUrl = URL "https://github.com/upstreamowner/therepo", + whRepoDescription = "Build scripts for the server", + whRepoIsAFork = False, + whRepoUrl = URL "https://api.github.com/repos/upstreamowner/therepo", + whRepoForksUrl = URL "https://api.github.com/repos/upstreamowner/therepo/forks", + whRepoKeysUrl = URL "https://api.github.com/repos/upstreamowner/therepo/keys{/key_id}", + whRepoCollaboratorsUrl = URL "https://api.github.com/repos/upstreamowner/therepo/collaborators{/collaborator}", + whRepoTeamsUrl = URL "https://api.github.com/repos/upstreamowner/therepo/teams", + whRepoHooksUrl = URL "https://api.github.com/repos/upstreamowner/therepo/hooks", + whRepoIssueEventsUrl = URL "https://api.github.com/repos/upstreamowner/therepo/issues/events{/number}", + whRepoEventsUrl = URL "https://api.github.com/repos/upstreamowner/therepo/events", + whRepoAssigneesUrl = URL "https://api.github.com/repos/upstreamowner/therepo/assignees{/user}", + whRepoBranchesUrl = URL "https://api.github.com/repos/upstreamowner/therepo/branches{/branch}", + whRepoTagsUrl = URL "https://api.github.com/repos/upstreamowner/therepo/tags", + whRepoBlobsUrl = URL "https://api.github.com/repos/upstreamowner/therepo/git/blobs{/sha}", + whRepoGitTagsUrl = URL "https://api.github.com/repos/upstreamowner/therepo/git/tags{/sha}", + whRepoGitRefsUrl = URL "https://api.github.com/repos/upstreamowner/therepo/git/refs{/sha}", + whRepoTreesUrl = URL "https://api.github.com/repos/upstreamowner/therepo/git/trees{/sha}", + whRepoStatusesUrl = URL "https://api.github.com/repos/upstreamowner/therepo/statuses/{sha}", + whRepoLanguagesUrl = URL "https://api.github.com/repos/upstreamowner/therepo/languages", + whRepoStargazersUrl = URL "https://api.github.com/repos/upstreamowner/therepo/stargazers", + whRepoContributorsUrl = URL "https://api.github.com/repos/upstreamowner/therepo/contributors", + whRepoSubscribersUrl = URL "https://api.github.com/repos/upstreamowner/therepo/subscribers", + whRepoSubscriptionUrl = URL "https://api.github.com/repos/upstreamowner/therepo/subscription", + whRepoCommitsUrl = URL "https://api.github.com/repos/upstreamowner/therepo/commits{/sha}", + whRepoGitCommitsUrl = URL "https://api.github.com/repos/upstreamowner/therepo/git/commits{/sha}", + whRepoCommentsUrl = URL "https://api.github.com/repos/upstreamowner/therepo/comments{/number}", + whRepoIssueCommentsUrl = URL "https://api.github.com/repos/upstreamowner/therepo/issues/comments{/number}", + whRepoContentsUrl = URL "https://api.github.com/repos/upstreamowner/therepo/contents/{+path}", + whRepoCompareUrl = URL "https://api.github.com/repos/upstreamowner/therepo/compare/{base}...{head}", + whRepoMergesUrl = URL "https://api.github.com/repos/upstreamowner/therepo/merges", + whRepoArchiveUrl = URL "https://api.github.com/repos/upstreamowner/therepo/{archive_format}{/ref}", + whRepoDownloadsUrl = URL "https://api.github.com/repos/upstreamowner/therepo/downloads", + whRepoIssuesUrl = URL "https://api.github.com/repos/upstreamowner/therepo/issues{/number}", + whRepoPullsUrl = URL "https://api.github.com/repos/upstreamowner/therepo/pulls{/number}", + whRepoMilestonesUrl = URL "https://api.github.com/repos/upstreamowner/therepo/milestones{/number}", + whRepoNotificationsUrl = URL "https://api.github.com/repos/upstreamowner/therepo/notifications{?since,all,participating}", + whRepoLabelsUrl = URL "https://api.github.com/repos/upstreamowner/therepo/labels{/name}", + whRepoReleasesUrl = URL "https://api.github.com/repos/upstreamowner/therepo/releases{/id}", + whRepoCreatedAt = read "2016-01-01 00:00:00Z", + whRepoUpdatedAt = read "2021-11-13 22:00:00Z", + whRepoPushedAt = read "2021-11-20 20:00:00Z", + whRepoGitUrl = URL "git://github.com/upstreamowner/therepo.git", + whRepoSshUrl = URL "git@github.com:upstreamowner/therepo.git", + whRepoCloneUrl = URL "https://github.com/upstreamowner/therepo.git", + whRepoSvnUrl = URL "https://github.com/upstreamowner/therepo", + whRepoHomepage = Just (URL ""), + whRepoSize = 429518, + whRepoStargazersCount = 8, + whRepoWatchersCount = 8, + whRepoLanguage = Just "SomeLanguage", + whRepoHasIssues = True, + whRepoHasDownloads = True, + whRepoHasWiki = True, + whRepoHasPages = False, + whRepoForkCount = 17, + whRepoMirrorUrl = Nothing, + whRepoOpenIssuesCount = 3, + whRepoDefaultBranchName = "master" + } + ), + whPullReqTargetLabel = "upstreamowner:master", + whPullReqTargetRef = "master" + }, + whPullReqHead = + PullRequestTarget + { whPullReqTargetSha = "b319cf3510a25e621236c483950073f6495ef6ae", + whPullReqTargetUser = + HookUser + { whUserLogin = "thecontributor", + whUserId = 8425382758, + whUserNodeId = "MDQ6VXNlcjQ1NjE4NTQ3", + whUserAvatarUrl = URL "https://avatars.githubusercontent.com/u/8425382758?v=4", + whUserGravatarId = URL "", + whUserUrl = URL "https://api.github.com/users/thecontributor", + whUserHtmlUrl = URL "https://github.com/thecontributor", + whUserFollowersUrl = URL "https://api.github.com/users/thecontributor/followers", + whUserFollowingUrl = URL "https://api.github.com/users/thecontributor/following{/other_user}", + whUserGistsUrl = URL "https://api.github.com/users/thecontributor/gists{/gist_id}", + whUserStarredUrl = URL "https://api.github.com/users/thecontributor/starred{/owner}{/repo}", + whUserSubscriptionsUrl = URL "https://api.github.com/users/thecontributor/subscriptions", + whUserOrganizationsUrl = URL "https://api.github.com/users/thecontributor/orgs", + whUserReposUrl = URL "https://api.github.com/users/thecontributor/repos", + whUserEventsUrl = URL "https://api.github.com/users/thecontributor/events{/privacy}", + whUserReceivedEventsUrl = URL "https://api.github.com/users/thecontributor/received_events", + whUserType = OwnerUser, + whUserIsAdminOfSite = False + }, + whPullReqTargetRepo = Nothing, + whPullReqTargetLabel = "thecontributor:master", + whPullReqTargetRef = "master" + }, + whPullReqMergeableState = Just "dirty", + whPullReqCommentCount = Just 2, + whPullReqRevCommentCount = Just 0, + whPullReqCommitCount = Just 4, + whPullReqAdditionsCount = Just 21424, + whPullReqDeletionsCount = Just 0, + whPullReqFileChangeCount = Just 1605 + }, + evPullReqRepo = + HookRepository + { whRepoId = 53218753, + whRepoNodeId = "MDEwOlJlcG9zaXRvcnk1MzIxODc1Mw==", + whRepoName = "therepo", + whRepoFullName = "upstreamowner/therepo", + whRepoOwner = + Right + ( HookUser + { whUserLogin = "upstreamowner", + whUserId = 23804562983764, + whUserNodeId = "MDEyOk9yZ2FuaXphdGlvbjE2MTk3OTQ3", + whUserAvatarUrl = URL "https://avatars.githubusercontent.com/u/23804562983764?v=4", + whUserGravatarId = URL "", + whUserUrl = URL "https://api.github.com/users/upstreamowner", + whUserHtmlUrl = URL "https://github.com/upstreamowner", + whUserFollowersUrl = URL "https://api.github.com/users/upstreamowner/followers", + whUserFollowingUrl = URL "https://api.github.com/users/upstreamowner/following{/other_user}", + whUserGistsUrl = URL "https://api.github.com/users/upstreamowner/gists{/gist_id}", + whUserStarredUrl = URL "https://api.github.com/users/upstreamowner/starred{/owner}{/repo}", + whUserSubscriptionsUrl = URL "https://api.github.com/users/upstreamowner/subscriptions", + whUserOrganizationsUrl = URL "https://api.github.com/users/upstreamowner/orgs", + whUserReposUrl = URL "https://api.github.com/users/upstreamowner/repos", + whUserEventsUrl = URL "https://api.github.com/users/upstreamowner/events{/privacy}", + whUserReceivedEventsUrl = URL "https://api.github.com/users/upstreamowner/received_events", + whUserType = OwnerOrganization, + whUserIsAdminOfSite = False + } + ), + whRepoIsPrivate = False, + whRepoHtmlUrl = URL "https://github.com/upstreamowner/therepo", + whRepoDescription = "Build scripts for the server", + whRepoIsAFork = False, + whRepoUrl = URL "https://api.github.com/repos/upstreamowner/therepo", + whRepoForksUrl = URL "https://api.github.com/repos/upstreamowner/therepo/forks", + whRepoKeysUrl = URL "https://api.github.com/repos/upstreamowner/therepo/keys{/key_id}", + whRepoCollaboratorsUrl = URL "https://api.github.com/repos/upstreamowner/therepo/collaborators{/collaborator}", + whRepoTeamsUrl = URL "https://api.github.com/repos/upstreamowner/therepo/teams", + whRepoHooksUrl = URL "https://api.github.com/repos/upstreamowner/therepo/hooks", + whRepoIssueEventsUrl = URL "https://api.github.com/repos/upstreamowner/therepo/issues/events{/number}", + whRepoEventsUrl = URL "https://api.github.com/repos/upstreamowner/therepo/events", + whRepoAssigneesUrl = URL "https://api.github.com/repos/upstreamowner/therepo/assignees{/user}", + whRepoBranchesUrl = URL "https://api.github.com/repos/upstreamowner/therepo/branches{/branch}", + whRepoTagsUrl = URL "https://api.github.com/repos/upstreamowner/therepo/tags", + whRepoBlobsUrl = URL "https://api.github.com/repos/upstreamowner/therepo/git/blobs{/sha}", + whRepoGitTagsUrl = URL "https://api.github.com/repos/upstreamowner/therepo/git/tags{/sha}", + whRepoGitRefsUrl = URL "https://api.github.com/repos/upstreamowner/therepo/git/refs{/sha}", + whRepoTreesUrl = URL "https://api.github.com/repos/upstreamowner/therepo/git/trees{/sha}", + whRepoStatusesUrl = URL "https://api.github.com/repos/upstreamowner/therepo/statuses/{sha}", + whRepoLanguagesUrl = URL "https://api.github.com/repos/upstreamowner/therepo/languages", + whRepoStargazersUrl = URL "https://api.github.com/repos/upstreamowner/therepo/stargazers", + whRepoContributorsUrl = URL "https://api.github.com/repos/upstreamowner/therepo/contributors", + whRepoSubscribersUrl = URL "https://api.github.com/repos/upstreamowner/therepo/subscribers", + whRepoSubscriptionUrl = URL "https://api.github.com/repos/upstreamowner/therepo/subscription", + whRepoCommitsUrl = URL "https://api.github.com/repos/upstreamowner/therepo/commits{/sha}", + whRepoGitCommitsUrl = URL "https://api.github.com/repos/upstreamowner/therepo/git/commits{/sha}", + whRepoCommentsUrl = URL "https://api.github.com/repos/upstreamowner/therepo/comments{/number}", + whRepoIssueCommentsUrl = URL "https://api.github.com/repos/upstreamowner/therepo/issues/comments{/number}", + whRepoContentsUrl = URL "https://api.github.com/repos/upstreamowner/therepo/contents/{+path}", + whRepoCompareUrl = URL "https://api.github.com/repos/upstreamowner/therepo/compare/{base}...{head}", + whRepoMergesUrl = URL "https://api.github.com/repos/upstreamowner/therepo/merges", + whRepoArchiveUrl = URL "https://api.github.com/repos/upstreamowner/therepo/{archive_format}{/ref}", + whRepoDownloadsUrl = URL "https://api.github.com/repos/upstreamowner/therepo/downloads", + whRepoIssuesUrl = URL "https://api.github.com/repos/upstreamowner/therepo/issues{/number}", + whRepoPullsUrl = URL "https://api.github.com/repos/upstreamowner/therepo/pulls{/number}", + whRepoMilestonesUrl = URL "https://api.github.com/repos/upstreamowner/therepo/milestones{/number}", + whRepoNotificationsUrl = URL "https://api.github.com/repos/upstreamowner/therepo/notifications{?since,all,participating}", + whRepoLabelsUrl = URL "https://api.github.com/repos/upstreamowner/therepo/labels{/name}", + whRepoReleasesUrl = URL "https://api.github.com/repos/upstreamowner/therepo/releases{/id}", + whRepoCreatedAt = read "2016-01-01 00:00:00Z", + whRepoUpdatedAt = read "2021-11-13 22:00:00Z", + whRepoPushedAt = read "2021-11-20 20:00:00Z", + whRepoGitUrl = URL "git://github.com/upstreamowner/therepo.git", + whRepoSshUrl = URL "git@github.com:upstreamowner/therepo.git", + whRepoCloneUrl = URL "https://github.com/upstreamowner/therepo.git", + whRepoSvnUrl = URL "https://github.com/upstreamowner/therepo", + whRepoHomepage = Just (URL ""), + whRepoSize = 429518, + whRepoStargazersCount = 8, + whRepoWatchersCount = 8, + whRepoLanguage = Just "SomeLanguage", + whRepoHasIssues = True, + whRepoHasDownloads = True, + whRepoHasWiki = True, + whRepoHasPages = False, + whRepoForkCount = 17, + whRepoMirrorUrl = Nothing, + whRepoOpenIssuesCount = 3, + whRepoDefaultBranchName = "master" + }, + evPullReqSender = + HookUser + { whUserLogin = "thesender", + whUserId = 3290456203984, + whUserNodeId = "MDQV6XlNcjwIzNkMzjQ=", + whUserAvatarUrl = URL "https://avatars.githubusercontent.com/u/3290456203984?v=4", + whUserGravatarId = URL "", + whUserUrl = URL "https://api.github.com/users/thesender", + whUserHtmlUrl = URL "https://github.com/thesender", + whUserFollowersUrl = URL "https://api.github.com/users/thesender/followers", + whUserFollowingUrl = URL "https://api.github.com/users/thesender/following{/other_user}", + whUserGistsUrl = URL "https://api.github.com/users/thesender/gists{/gist_id}", + whUserStarredUrl = URL "https://api.github.com/users/thesender/starred{/owner}{/repo}", + whUserSubscriptionsUrl = URL "https://api.github.com/users/thesender/subscriptions", + whUserOrganizationsUrl = URL "https://api.github.com/users/thesender/orgs", + whUserReposUrl = URL "https://api.github.com/users/thesender/repos", + whUserEventsUrl = URL "https://api.github.com/users/thesender/events{/privacy}", + whUserReceivedEventsUrl = URL "https://api.github.com/users/thesender/received_events", + whUserType = OwnerUser, + whUserIsAdminOfSite = False + }, + evPullReqInstallationId = Just 6678514558 + } + + +pullRequestReviewCommentEventFixture :: PullRequestReviewCommentEvent +pullRequestReviewCommentEventFixture = PullRequestReviewCommentEvent + { evPullReqRevComAction = PullRequestReviewCommentCreatedAction + , evPullReqRevComment = + HookPullRequestReviewComment + { whPullReqRevComUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/pulls/comments/29724692" + , whPullReqRevComId = 29724692 + , whPullReqRevComNodeId = "MDg6Q2hlY2tSdW4xMjg2MjAyMjg=" + , whPullReqRevComDiffHunk = "@@ -1 +1 @@\n-# public-repo" + , whPullReqRevComPath = "README.md" + , whPullReqRevComPos = 1 + , whPullReqRevComOrigPos = 1 + , whPullReqRevComCommitSha = "0d1a26e67d8f5eaf1f6ba5c57fc3c7d91ac0fd1c" + , whPullReqRevComOrigSha = "0d1a26e67d8f5eaf1f6ba5c57fc3c7d91ac0fd1c" + , whPullReqRevComUser = + HookUser + { whUserLogin = "baxterthehacker" + , whUserId = 6752317 + , whUserNodeId = "MDg6Q2hlY2tSdW4xMjg2MjAyMjg=" + , whUserAvatarUrl = URL "https://avatars.githubusercontent.com/u/6752317?v=3" + , whUserGravatarId = URL "" + , whUserUrl = URL "https://api.github.com/users/baxterthehacker" + , whUserHtmlUrl = URL "https://github.com/baxterthehacker" + , whUserFollowersUrl = URL "https://api.github.com/users/baxterthehacker/followers" + , whUserFollowingUrl = URL "https://api.github.com/users/baxterthehacker/following{/other_user}" + , whUserGistsUrl = URL "https://api.github.com/users/baxterthehacker/gists{/gist_id}" + , whUserStarredUrl = URL "https://api.github.com/users/baxterthehacker/starred{/owner}{/repo}" + , whUserSubscriptionsUrl = URL "https://api.github.com/users/baxterthehacker/subscriptions" + , whUserOrganizationsUrl = URL "https://api.github.com/users/baxterthehacker/orgs" + , whUserReposUrl = URL "https://api.github.com/users/baxterthehacker/repos" + , whUserEventsUrl = URL "https://api.github.com/users/baxterthehacker/events{/privacy}" + , whUserReceivedEventsUrl = URL "https://api.github.com/users/baxterthehacker/received_events" + , whUserType = OwnerUser + , whUserIsAdminOfSite = False + } + , whPullReqRevComBody = "Maybe you should use more emojji on this line." + , whPullReqRevComCreatedAt = read "2015-05-05 23:40:27Z" + , whPullReqRevComUpdatedAt = read "2015-05-05 23:40:27Z" + , whPullReqRevComHtmlUrl = URL "https://github.com/baxterthehacker/public-repo/pull/1#discussion_r29724692" + , whPullReqRevComPullReqUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/pulls/1" + } + , evPullReqRevTarget = + HookPullRequest + { whPullReqUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/pulls/1" + , whPullReqId = 34778301 + , whPullReqNodeId = "MDg6Q2hlY2tSdW4xMjg2MjAyMjg=" + , whPullReqHtmlUrl = URL "https://github.com/baxterthehacker/public-repo/pull/1" + , whPullReqDiffUrl = URL "https://github.com/baxterthehacker/public-repo/pull/1.diff" + , whPullReqPatchUrl = URL "https://github.com/baxterthehacker/public-repo/pull/1.patch" + , whPullReqIssueUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/issues/1" + , whPullReqNumber = 1 + , whPullReqState = "open" + , whPullReqIsLocked = False + , whPullReqTitle = "Update the README with new information" + , whPullReqUser = + HookUser + { whUserLogin = "baxterthehacker" + , whUserId = 6752317 + , whUserNodeId = "MDg6Q2hlY2tSdW4xMjg2MjAyMjg=" + , whUserAvatarUrl = URL "https://avatars.githubusercontent.com/u/6752317?v=3" + , whUserGravatarId = URL "" + , whUserUrl = URL "https://api.github.com/users/baxterthehacker" + , whUserHtmlUrl = URL "https://github.com/baxterthehacker" + , whUserFollowersUrl = URL "https://api.github.com/users/baxterthehacker/followers" + , whUserFollowingUrl = URL "https://api.github.com/users/baxterthehacker/following{/other_user}" + , whUserGistsUrl = URL "https://api.github.com/users/baxterthehacker/gists{/gist_id}" + , whUserStarredUrl = URL "https://api.github.com/users/baxterthehacker/starred{/owner}{/repo}" + , whUserSubscriptionsUrl = URL "https://api.github.com/users/baxterthehacker/subscriptions" + , whUserOrganizationsUrl = URL "https://api.github.com/users/baxterthehacker/orgs" + , whUserReposUrl = URL "https://api.github.com/users/baxterthehacker/repos" + , whUserEventsUrl = URL "https://api.github.com/users/baxterthehacker/events{/privacy}" + , whUserReceivedEventsUrl = URL "https://api.github.com/users/baxterthehacker/received_events" + , whUserType = OwnerUser + , whUserIsAdminOfSite = False + } + , whPullReqBody = "This is a pretty simple change that we need to pull into master." + , whPullReqCreatedAt = read "2015-05-05 23:40:27Z" + , whPullReqUpdatedAt = read "2015-05-05 23:40:27Z" + , whPullReqClosedAt = Nothing + , whPullReqMergedAt = Nothing + , whPullReqMergeCommitSha = Just "18721552ba489fb84e12958c1b5694b5475f7991" + , whPullReqAssignee = Nothing + , whPullReqMilestone = Nothing + , whPullReqCommitsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/pulls/1/commits" + , whPullReqRevCommentsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/pulls/1/comments" + , whPullReqRevCommentUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/pulls/comments{/number}" + , whPullReqCommentsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/issues/1/comments" + , whPullReqStatusesUrl = + URL "https://api.github.com/repos/baxterthehacker/public-repo/statuses/0d1a26e67d8f5eaf1f6ba5c57fc3c7d91ac0fd1c" + , whPullReqCommentCount = Nothing + , whPullReqRevCommentCount = Nothing + , whPullReqCommitCount = Nothing + , whPullReqAdditionsCount = Nothing + , whPullReqDeletionsCount = Nothing + , whPullReqFileChangeCount = Nothing + , whPullReqBase = + PullRequestTarget + { whPullReqTargetSha = "9049f1265b7d61be4a8904a9a27120d2064dab3b" + , whPullReqTargetUser = + HookUser + { whUserLogin = "baxterthehacker" + , whUserId = 6752317 + , whUserNodeId = "MDg6Q2hlY2tSdW4xMjg2MjAyMjg=" + , whUserAvatarUrl = URL "https://avatars.githubusercontent.com/u/6752317?v=3" + , whUserGravatarId = URL "" + , whUserUrl = URL "https://api.github.com/users/baxterthehacker" + , whUserHtmlUrl = URL "https://github.com/baxterthehacker" + , whUserFollowersUrl = URL "https://api.github.com/users/baxterthehacker/followers" + , whUserFollowingUrl = URL "https://api.github.com/users/baxterthehacker/following{/other_user}" + , whUserGistsUrl = URL "https://api.github.com/users/baxterthehacker/gists{/gist_id}" + , whUserStarredUrl = URL "https://api.github.com/users/baxterthehacker/starred{/owner}{/repo}" + , whUserSubscriptionsUrl = URL "https://api.github.com/users/baxterthehacker/subscriptions" + , whUserOrganizationsUrl = URL "https://api.github.com/users/baxterthehacker/orgs" + , whUserReposUrl = URL "https://api.github.com/users/baxterthehacker/repos" + , whUserEventsUrl = URL "https://api.github.com/users/baxterthehacker/events{/privacy}" + , whUserReceivedEventsUrl = URL "https://api.github.com/users/baxterthehacker/received_events" + , whUserType = OwnerUser + , whUserIsAdminOfSite = False + } + , whPullReqTargetRepo = + Just HookRepository + { whRepoId = 35129377 + , whRepoNodeId = "MDg6Q2hlY2tSdW4xMjg2MjAyMjg=" + , whRepoName = "public-repo" + , whRepoFullName = "baxterthehacker/public-repo" + , whRepoOwner = + Right + HookUser + { whUserLogin = "baxterthehacker" + , whUserId = 6752317 + , whUserNodeId = "MDg6Q2hlY2tSdW4xMjg2MjAyMjg=" + , whUserAvatarUrl = URL "https://avatars.githubusercontent.com/u/6752317?v=3" + , whUserGravatarId = URL "" + , whUserUrl = URL "https://api.github.com/users/baxterthehacker" + , whUserHtmlUrl = URL "https://github.com/baxterthehacker" + , whUserFollowersUrl = URL "https://api.github.com/users/baxterthehacker/followers" + , whUserFollowingUrl = URL "https://api.github.com/users/baxterthehacker/following{/other_user}" + , whUserGistsUrl = URL "https://api.github.com/users/baxterthehacker/gists{/gist_id}" + , whUserStarredUrl = URL "https://api.github.com/users/baxterthehacker/starred{/owner}{/repo}" + , whUserSubscriptionsUrl = URL "https://api.github.com/users/baxterthehacker/subscriptions" + , whUserOrganizationsUrl = URL "https://api.github.com/users/baxterthehacker/orgs" + , whUserReposUrl = URL "https://api.github.com/users/baxterthehacker/repos" + , whUserEventsUrl = URL "https://api.github.com/users/baxterthehacker/events{/privacy}" + , whUserReceivedEventsUrl = URL "https://api.github.com/users/baxterthehacker/received_events" + , whUserType = OwnerUser + , whUserIsAdminOfSite = False + } + , whRepoIsPrivate = False + , whRepoHtmlUrl = URL "https://github.com/baxterthehacker/public-repo" + , whRepoDescription = "" + , whRepoIsAFork = False + , whRepoUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo" + , whRepoForksUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/forks" + , whRepoKeysUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/keys{/key_id}" + , whRepoCollaboratorsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/collaborators{/collaborator}" + , whRepoTeamsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/teams" + , whRepoHooksUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/hooks" + , whRepoIssueEventsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/issues/events{/number}" + , whRepoEventsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/events" + , whRepoAssigneesUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/assignees{/user}" + , whRepoBranchesUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/branches{/branch}" + , whRepoTagsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/tags" + , whRepoBlobsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/git/blobs{/sha}" + , whRepoGitTagsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/git/tags{/sha}" + , whRepoGitRefsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/git/refs{/sha}" + , whRepoTreesUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/git/trees{/sha}" + , whRepoStatusesUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/statuses/{sha}" + , whRepoLanguagesUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/languages" + , whRepoStargazersUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/stargazers" + , whRepoContributorsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/contributors" + , whRepoSubscribersUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/subscribers" + , whRepoSubscriptionUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/subscription" + , whRepoCommitsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/commits{/sha}" + , whRepoGitCommitsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/git/commits{/sha}" + , whRepoCommentsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/comments{/number}" + , whRepoIssueCommentsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/issues/comments{/number}" + , whRepoContentsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/contents/{+path}" + , whRepoCompareUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/compare/{base}...{head}" + , whRepoMergesUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/merges" + , whRepoArchiveUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/{archive_format}{/ref}" + , whRepoDownloadsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/downloads" + , whRepoIssuesUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/issues{/number}" + , whRepoPullsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/pulls{/number}" + , whRepoMilestonesUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/milestones{/number}" + , whRepoNotificationsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/notifications{?since,all,participating}" + , whRepoLabelsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/labels{/name}" + , whRepoReleasesUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/releases{/id}" + , whRepoCreatedAt = read "2015-05-05 23:40:12Z" + , whRepoUpdatedAt = read "2015-05-05 23:40:12Z" + , whRepoPushedAt = read "2015-05-05 23:40:27Z" + , whRepoGitUrl = URL "git://github.com/baxterthehacker/public-repo.git" + , whRepoSshUrl = URL "git@github.com:baxterthehacker/public-repo.git" + , whRepoCloneUrl = URL "https://github.com/baxterthehacker/public-repo.git" + , whRepoSvnUrl = URL "https://github.com/baxterthehacker/public-repo" + , whRepoHomepage = Nothing + , whRepoSize = 0 + , whRepoStargazersCount = 0 + , whRepoWatchersCount = 0 + , whRepoLanguage = Nothing + , whRepoHasIssues = True + , whRepoHasDownloads = True + , whRepoHasWiki = True + , whRepoHasPages = True + , whRepoForkCount = 0 + , whRepoMirrorUrl = Nothing + , whRepoOpenIssuesCount = 1 + , whRepoDefaultBranchName = "master" + } + , whPullReqTargetLabel = "baxterthehacker:master" + , whPullReqTargetRef = "master" + } + , whPullReqHead = + PullRequestTarget + { whPullReqTargetSha = "0d1a26e67d8f5eaf1f6ba5c57fc3c7d91ac0fd1c" + , whPullReqTargetUser = + HookUser + { whUserLogin = "baxterthehacker" + , whUserId = 6752317 + , whUserNodeId = "MDg6Q2hlY2tSdW4xMjg2MjAyMjg=" + , whUserAvatarUrl = URL "https://avatars.githubusercontent.com/u/6752317?v=3" + , whUserGravatarId = URL "" + , whUserUrl = URL "https://api.github.com/users/baxterthehacker" + , whUserHtmlUrl = URL "https://github.com/baxterthehacker" + , whUserFollowersUrl = URL "https://api.github.com/users/baxterthehacker/followers" + , whUserFollowingUrl = URL "https://api.github.com/users/baxterthehacker/following{/other_user}" + , whUserGistsUrl = URL "https://api.github.com/users/baxterthehacker/gists{/gist_id}" + , whUserStarredUrl = URL "https://api.github.com/users/baxterthehacker/starred{/owner}{/repo}" + , whUserSubscriptionsUrl = URL "https://api.github.com/users/baxterthehacker/subscriptions" + , whUserOrganizationsUrl = URL "https://api.github.com/users/baxterthehacker/orgs" + , whUserReposUrl = URL "https://api.github.com/users/baxterthehacker/repos" + , whUserEventsUrl = URL "https://api.github.com/users/baxterthehacker/events{/privacy}" + , whUserReceivedEventsUrl = URL "https://api.github.com/users/baxterthehacker/received_events" + , whUserType = OwnerUser + , whUserIsAdminOfSite = False + } + , whPullReqTargetRepo = + Just HookRepository + { whRepoId = 35129377 + , whRepoNodeId = "MDg6Q2hlY2tSdW4xMjg2MjAyMjg=" + , whRepoName = "public-repo" + , whRepoFullName = "baxterthehacker/public-repo" + , whRepoOwner = + Right + HookUser + { whUserLogin = "baxterthehacker" + , whUserId = 6752317 + , whUserNodeId = "MDg6Q2hlY2tSdW4xMjg2MjAyMjg=" + , whUserAvatarUrl = URL "https://avatars.githubusercontent.com/u/6752317?v=3" + , whUserGravatarId = URL "" + , whUserUrl = URL "https://api.github.com/users/baxterthehacker" + , whUserHtmlUrl = URL "https://github.com/baxterthehacker" + , whUserFollowersUrl = URL "https://api.github.com/users/baxterthehacker/followers" + , whUserFollowingUrl = URL "https://api.github.com/users/baxterthehacker/following{/other_user}" + , whUserGistsUrl = URL "https://api.github.com/users/baxterthehacker/gists{/gist_id}" + , whUserStarredUrl = URL "https://api.github.com/users/baxterthehacker/starred{/owner}{/repo}" + , whUserSubscriptionsUrl = URL "https://api.github.com/users/baxterthehacker/subscriptions" + , whUserOrganizationsUrl = URL "https://api.github.com/users/baxterthehacker/orgs" + , whUserReposUrl = URL "https://api.github.com/users/baxterthehacker/repos" + , whUserEventsUrl = URL "https://api.github.com/users/baxterthehacker/events{/privacy}" + , whUserReceivedEventsUrl = URL "https://api.github.com/users/baxterthehacker/received_events" + , whUserType = OwnerUser + , whUserIsAdminOfSite = False + } + , whRepoIsPrivate = False + , whRepoHtmlUrl = URL "https://github.com/baxterthehacker/public-repo" + , whRepoDescription = "" + , whRepoIsAFork = False + , whRepoUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo" + , whRepoForksUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/forks" + , whRepoKeysUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/keys{/key_id}" + , whRepoCollaboratorsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/collaborators{/collaborator}" + , whRepoTeamsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/teams" + , whRepoHooksUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/hooks" + , whRepoIssueEventsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/issues/events{/number}" + , whRepoEventsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/events" + , whRepoAssigneesUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/assignees{/user}" + , whRepoBranchesUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/branches{/branch}" + , whRepoTagsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/tags" + , whRepoBlobsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/git/blobs{/sha}" + , whRepoGitTagsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/git/tags{/sha}" + , whRepoGitRefsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/git/refs{/sha}" + , whRepoTreesUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/git/trees{/sha}" + , whRepoStatusesUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/statuses/{sha}" + , whRepoLanguagesUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/languages" + , whRepoStargazersUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/stargazers" + , whRepoContributorsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/contributors" + , whRepoSubscribersUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/subscribers" + , whRepoSubscriptionUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/subscription" + , whRepoCommitsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/commits{/sha}" + , whRepoGitCommitsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/git/commits{/sha}" + , whRepoCommentsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/comments{/number}" + , whRepoIssueCommentsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/issues/comments{/number}" + , whRepoContentsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/contents/{+path}" + , whRepoCompareUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/compare/{base}...{head}" + , whRepoMergesUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/merges" + , whRepoArchiveUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/{archive_format}{/ref}" + , whRepoDownloadsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/downloads" + , whRepoIssuesUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/issues{/number}" + , whRepoPullsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/pulls{/number}" + , whRepoMilestonesUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/milestones{/number}" + , whRepoNotificationsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/notifications{?since,all,participating}" + , whRepoLabelsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/labels{/name}" + , whRepoReleasesUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/releases{/id}" + , whRepoCreatedAt = read "2015-05-05 23:40:12Z" + , whRepoUpdatedAt = read "2015-05-05 23:40:12Z" + , whRepoPushedAt = read "2015-05-05 23:40:27Z" + , whRepoGitUrl = URL "git://github.com/baxterthehacker/public-repo.git" + , whRepoSshUrl = URL "git@github.com:baxterthehacker/public-repo.git" + , whRepoCloneUrl = URL "https://github.com/baxterthehacker/public-repo.git" + , whRepoSvnUrl = URL "https://github.com/baxterthehacker/public-repo" + , whRepoHomepage = Nothing + , whRepoSize = 0 + , whRepoStargazersCount = 0 + , whRepoWatchersCount = 0 + , whRepoLanguage = Nothing + , whRepoHasIssues = True + , whRepoHasDownloads = True + , whRepoHasWiki = True + , whRepoHasPages = True + , whRepoForkCount = 0 + , whRepoMirrorUrl = Nothing + , whRepoOpenIssuesCount = 1 + , whRepoDefaultBranchName = "master" + } + , whPullReqTargetLabel = "baxterthehacker:changes" + , whPullReqTargetRef = "changes" + } + , whPullReqMergeableState = Nothing + } + , evPullReqRevRepo = + HookRepository + { whRepoId = 35129377 + , whRepoNodeId = "MDg6Q2hlY2tSdW4xMjg2MjAyMjg=" + , whRepoName = "public-repo" + , whRepoFullName = "baxterthehacker/public-repo" + , whRepoOwner = + Right HookUser + { whUserLogin = "baxterthehacker" + , whUserId = 6752317 + , whUserNodeId = "MDg6Q2hlY2tSdW4xMjg2MjAyMjg=" + , whUserAvatarUrl = URL "https://avatars.githubusercontent.com/u/6752317?v=3" + , whUserGravatarId = URL "" + , whUserUrl = URL "https://api.github.com/users/baxterthehacker" + , whUserHtmlUrl = URL "https://github.com/baxterthehacker" + , whUserFollowersUrl = URL "https://api.github.com/users/baxterthehacker/followers" + , whUserFollowingUrl = URL "https://api.github.com/users/baxterthehacker/following{/other_user}" + , whUserGistsUrl = URL "https://api.github.com/users/baxterthehacker/gists{/gist_id}" + , whUserStarredUrl = URL "https://api.github.com/users/baxterthehacker/starred{/owner}{/repo}" + , whUserSubscriptionsUrl = URL "https://api.github.com/users/baxterthehacker/subscriptions" + , whUserOrganizationsUrl = URL "https://api.github.com/users/baxterthehacker/orgs" + , whUserReposUrl = URL "https://api.github.com/users/baxterthehacker/repos" + , whUserEventsUrl = URL "https://api.github.com/users/baxterthehacker/events{/privacy}" + , whUserReceivedEventsUrl = URL "https://api.github.com/users/baxterthehacker/received_events" + , whUserType = OwnerUser + , whUserIsAdminOfSite = False + } + , whRepoIsPrivate = False + , whRepoHtmlUrl = URL "https://github.com/baxterthehacker/public-repo" + , whRepoDescription = "" + , whRepoIsAFork = False + , whRepoUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo" + , whRepoForksUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/forks" + , whRepoKeysUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/keys{/key_id}" + , whRepoCollaboratorsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/collaborators{/collaborator}" + , whRepoTeamsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/teams" + , whRepoHooksUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/hooks" + , whRepoIssueEventsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/issues/events{/number}" + , whRepoEventsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/events" + , whRepoAssigneesUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/assignees{/user}" + , whRepoBranchesUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/branches{/branch}" + , whRepoTagsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/tags" + , whRepoBlobsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/git/blobs{/sha}" + , whRepoGitTagsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/git/tags{/sha}" + , whRepoGitRefsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/git/refs{/sha}" + , whRepoTreesUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/git/trees{/sha}" + , whRepoStatusesUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/statuses/{sha}" + , whRepoLanguagesUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/languages" + , whRepoStargazersUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/stargazers" + , whRepoContributorsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/contributors" + , whRepoSubscribersUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/subscribers" + , whRepoSubscriptionUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/subscription" + , whRepoCommitsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/commits{/sha}" + , whRepoGitCommitsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/git/commits{/sha}" + , whRepoCommentsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/comments{/number}" + , whRepoIssueCommentsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/issues/comments{/number}" + , whRepoContentsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/contents/{+path}" + , whRepoCompareUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/compare/{base}...{head}" + , whRepoMergesUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/merges" + , whRepoArchiveUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/{archive_format}{/ref}" + , whRepoDownloadsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/downloads" + , whRepoIssuesUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/issues{/number}" + , whRepoPullsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/pulls{/number}" + , whRepoMilestonesUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/milestones{/number}" + , whRepoNotificationsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/notifications{?since,all,participating}" + , whRepoLabelsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/labels{/name}" + , whRepoReleasesUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/releases{/id}" + , whRepoCreatedAt = read "2015-05-05 23:40:12Z" + , whRepoUpdatedAt = read "2015-05-05 23:40:12Z" + , whRepoPushedAt = read "2015-05-05 23:40:27Z" + , whRepoGitUrl = URL "git://github.com/baxterthehacker/public-repo.git" + , whRepoSshUrl = URL "git@github.com:baxterthehacker/public-repo.git" + , whRepoCloneUrl = URL "https://github.com/baxterthehacker/public-repo.git" + , whRepoSvnUrl = URL "https://github.com/baxterthehacker/public-repo" + , whRepoHomepage = Nothing + , whRepoSize = 0 + , whRepoStargazersCount = 0 + , whRepoWatchersCount = 0 + , whRepoLanguage = Nothing + , whRepoHasIssues = True + , whRepoHasDownloads = True + , whRepoHasWiki = True + , whRepoHasPages = True + , whRepoForkCount = 0 + , whRepoMirrorUrl = Nothing + , whRepoOpenIssuesCount = 1 + , whRepoDefaultBranchName = "master" + } + , evPullReqRevSender = + HookUser + { whUserLogin = "baxterthehacker" + , whUserId = 6752317 + , whUserNodeId = "MDg6Q2hlY2tSdW4xMjg2MjAyMjg=" + , whUserAvatarUrl = URL "https://avatars.githubusercontent.com/u/6752317?v=3" + , whUserGravatarId = URL "" + , whUserUrl = URL "https://api.github.com/users/baxterthehacker" + , whUserHtmlUrl = URL "https://github.com/baxterthehacker" + , whUserFollowersUrl = URL "https://api.github.com/users/baxterthehacker/followers" + , whUserFollowingUrl = URL "https://api.github.com/users/baxterthehacker/following{/other_user}" + , whUserGistsUrl = URL "https://api.github.com/users/baxterthehacker/gists{/gist_id}" + , whUserStarredUrl = URL "https://api.github.com/users/baxterthehacker/starred{/owner}{/repo}" + , whUserSubscriptionsUrl = URL "https://api.github.com/users/baxterthehacker/subscriptions" + , whUserOrganizationsUrl = URL "https://api.github.com/users/baxterthehacker/orgs" + , whUserReposUrl = URL "https://api.github.com/users/baxterthehacker/repos" + , whUserEventsUrl = URL "https://api.github.com/users/baxterthehacker/events{/privacy}" + , whUserReceivedEventsUrl = URL "https://api.github.com/users/baxterthehacker/received_events" + , whUserType = OwnerUser + , whUserIsAdminOfSite = False + } + } + +pullRequestReviewEventFixture :: PullRequestReviewEvent +pullRequestReviewEventFixture = PullRequestReviewEvent + { evPullReqReviewAction = PullRequestReviewSubmittedAction + , evPullReqReviewPayload = + HookPullRequestReview + { whPullReqReviewId = 2626884 + , whPullReqReviewNodeId = "MDg6Q2hlY2tSdW4xMjg2MjAyMjg=" + , whPullReqReviewUser = + HookUser + { whUserLogin = "baxterthehacker" + , whUserId = 6752317 + , whUserNodeId = "MDg6Q2hlY2tSdW4xMjg2MjAyMjg=" + , whUserAvatarUrl = URL "https://avatars.githubusercontent.com/u/6752317?v=3" + , whUserGravatarId = URL "" + , whUserUrl = URL "https://api.github.com/users/baxterthehacker" + , whUserHtmlUrl = URL "https://github.com/baxterthehacker" + , whUserFollowersUrl = URL "https://api.github.com/users/baxterthehacker/followers" + , whUserFollowingUrl = URL "https://api.github.com/users/baxterthehacker/following{/other_user}" + , whUserGistsUrl = URL "https://api.github.com/users/baxterthehacker/gists{/gist_id}" + , whUserStarredUrl = URL "https://api.github.com/users/baxterthehacker/starred{/owner}{/repo}" + , whUserSubscriptionsUrl = URL "https://api.github.com/users/baxterthehacker/subscriptions" + , whUserOrganizationsUrl = URL "https://api.github.com/users/baxterthehacker/orgs" + , whUserReposUrl = URL "https://api.github.com/users/baxterthehacker/repos" + , whUserEventsUrl = URL "https://api.github.com/users/baxterthehacker/events{/privacy}" + , whUserReceivedEventsUrl = URL "https://api.github.com/users/baxterthehacker/received_events" + , whUserType = OwnerUser + , whUserIsAdminOfSite = False + } + , whPullReqReviewBody = "Looks great!" + , whPullReqReviewSubmittedAt = read "2016-10-03 23:39:09Z" + , whPullReqReviewState = "approved" + , whPullReqReviewHtmlUrl = URL "https://github.com/baxterthehacker/public-repo/pull/8#pullrequestreview-2626884" + , whPullReqReviewPullUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/pulls/8" + } + , evPullReqReviewTarget = + HookPullRequest + { whPullReqUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/pulls/8" + , whPullReqId = 87811438 + , whPullReqNodeId = "MDg6Q2hlY2tSdW4xMjg2MjAyMjg=" + , whPullReqHtmlUrl = URL "https://github.com/baxterthehacker/public-repo/pull/8" + , whPullReqDiffUrl = URL "https://github.com/baxterthehacker/public-repo/pull/8.diff" + , whPullReqPatchUrl = URL "https://github.com/baxterthehacker/public-repo/pull/8.patch" + , whPullReqIssueUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/issues/8" + , whPullReqNumber = 8 + , whPullReqState = "open" + , whPullReqIsLocked = False + , whPullReqTitle = "Add a README description" + , whPullReqUser = + HookUser + { whUserLogin = "skalnik" + , whUserId = 2546 + , whUserNodeId = "MDg6Q2hlY2tSdW4xMjg2MjAyMjg=" + , whUserAvatarUrl = URL "https://avatars.githubusercontent.com/u/2546?v=3" + , whUserGravatarId = URL "" + , whUserUrl = URL "https://api.github.com/users/skalnik" + , whUserHtmlUrl = URL "https://github.com/skalnik" + , whUserFollowersUrl = URL "https://api.github.com/users/skalnik/followers" + , whUserFollowingUrl = URL "https://api.github.com/users/skalnik/following{/other_user}" + , whUserGistsUrl = URL "https://api.github.com/users/skalnik/gists{/gist_id}" + , whUserStarredUrl = URL "https://api.github.com/users/skalnik/starred{/owner}{/repo}" + , whUserSubscriptionsUrl = URL "https://api.github.com/users/skalnik/subscriptions" + , whUserOrganizationsUrl = URL "https://api.github.com/users/skalnik/orgs" + , whUserReposUrl = URL "https://api.github.com/users/skalnik/repos" + , whUserEventsUrl = URL "https://api.github.com/users/skalnik/events{/privacy}" + , whUserReceivedEventsUrl = URL "https://api.github.com/users/skalnik/received_events" + , whUserType = OwnerUser + , whUserIsAdminOfSite = True + } + , whPullReqBody = "Just a few more details" + , whPullReqCreatedAt = read "2016-10-03 23:37:43Z" + , whPullReqUpdatedAt = read "2016-10-03 23:39:09Z" + , whPullReqClosedAt = Nothing + , whPullReqMergedAt = Nothing + , whPullReqMergeCommitSha = Just "faea154a7decef6819754aab0f8c0e232e6c8b4f" + , whPullReqAssignee = Nothing + , whPullReqMilestone = Nothing + , whPullReqCommitsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/pulls/8/commits" + , whPullReqRevCommentsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/pulls/8/comments" + , whPullReqRevCommentUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/pulls/comments{/number}" + , whPullReqCommentsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/issues/8/comments" + , whPullReqStatusesUrl = + URL "https://api.github.com/repos/baxterthehacker/public-repo/statuses/b7a1f9c27caa4e03c14a88feb56e2d4f7500aa63" + , whPullReqBase = + PullRequestTarget + { whPullReqTargetSha = "9049f1265b7d61be4a8904a9a27120d2064dab3b" + , whPullReqTargetUser = + HookUser + { whUserLogin = "baxterthehacker" + , whUserId = 6752317 + , whUserNodeId = "MDg6Q2hlY2tSdW4xMjg2MjAyMjg=" + , whUserAvatarUrl = URL "https://avatars.githubusercontent.com/u/6752317?v=3" + , whUserGravatarId = URL "" + , whUserUrl = URL "https://api.github.com/users/baxterthehacker" + , whUserHtmlUrl = URL "https://github.com/baxterthehacker" + , whUserFollowersUrl = URL "https://api.github.com/users/baxterthehacker/followers" + , whUserFollowingUrl = URL "https://api.github.com/users/baxterthehacker/following{/other_user}" + , whUserGistsUrl = URL "https://api.github.com/users/baxterthehacker/gists{/gist_id}" + , whUserStarredUrl = URL "https://api.github.com/users/baxterthehacker/starred{/owner}{/repo}" + , whUserSubscriptionsUrl = URL "https://api.github.com/users/baxterthehacker/subscriptions" + , whUserOrganizationsUrl = URL "https://api.github.com/users/baxterthehacker/orgs" + , whUserReposUrl = URL "https://api.github.com/users/baxterthehacker/repos" + , whUserEventsUrl = URL "https://api.github.com/users/baxterthehacker/events{/privacy}" + , whUserReceivedEventsUrl = URL "https://api.github.com/users/baxterthehacker/received_events" + , whUserType = OwnerUser + , whUserIsAdminOfSite = False + } + , whPullReqTargetRepo = + Just HookRepository + { whRepoId = 35129377 + , whRepoNodeId = "MDg6Q2hlY2tSdW4xMjg2MjAyMjg=" + , whRepoName = "public-repo" + , whRepoFullName = "baxterthehacker/public-repo" + , whRepoOwner = + Right + HookUser + { whUserLogin = "baxterthehacker" + , whUserId = 6752317 + , whUserNodeId = "MDg6Q2hlY2tSdW4xMjg2MjAyMjg=" + , whUserAvatarUrl = URL "https://avatars.githubusercontent.com/u/6752317?v=3" + , whUserGravatarId = URL "" + , whUserUrl = URL "https://api.github.com/users/baxterthehacker" + , whUserHtmlUrl = URL "https://github.com/baxterthehacker" + , whUserFollowersUrl = URL "https://api.github.com/users/baxterthehacker/followers" + , whUserFollowingUrl = URL "https://api.github.com/users/baxterthehacker/following{/other_user}" + , whUserGistsUrl = URL "https://api.github.com/users/baxterthehacker/gists{/gist_id}" + , whUserStarredUrl = URL "https://api.github.com/users/baxterthehacker/starred{/owner}{/repo}" + , whUserSubscriptionsUrl = URL "https://api.github.com/users/baxterthehacker/subscriptions" + , whUserOrganizationsUrl = URL "https://api.github.com/users/baxterthehacker/orgs" + , whUserReposUrl = URL "https://api.github.com/users/baxterthehacker/repos" + , whUserEventsUrl = URL "https://api.github.com/users/baxterthehacker/events{/privacy}" + , whUserReceivedEventsUrl = URL "https://api.github.com/users/baxterthehacker/received_events" + , whUserType = OwnerUser + , whUserIsAdminOfSite = False + } + , whRepoIsPrivate = False + , whRepoHtmlUrl = URL "https://github.com/baxterthehacker/public-repo" + , whRepoDescription = "" + , whRepoIsAFork = False + , whRepoUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo" + , whRepoForksUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/forks" + , whRepoKeysUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/keys{/key_id}" + , whRepoCollaboratorsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/collaborators{/collaborator}" + , whRepoTeamsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/teams" + , whRepoHooksUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/hooks" + , whRepoIssueEventsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/issues/events{/number}" + , whRepoEventsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/events" + , whRepoAssigneesUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/assignees{/user}" + , whRepoBranchesUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/branches{/branch}" + , whRepoTagsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/tags" + , whRepoBlobsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/git/blobs{/sha}" + , whRepoGitTagsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/git/tags{/sha}" + , whRepoGitRefsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/git/refs{/sha}" + , whRepoTreesUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/git/trees{/sha}" + , whRepoStatusesUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/statuses/{sha}" + , whRepoLanguagesUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/languages" + , whRepoStargazersUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/stargazers" + , whRepoContributorsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/contributors" + , whRepoSubscribersUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/subscribers" + , whRepoSubscriptionUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/subscription" + , whRepoCommitsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/commits{/sha}" + , whRepoGitCommitsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/git/commits{/sha}" + , whRepoCommentsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/comments{/number}" + , whRepoIssueCommentsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/issues/comments{/number}" + , whRepoContentsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/contents/{+path}" + , whRepoCompareUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/compare/{base}...{head}" + , whRepoMergesUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/merges" + , whRepoArchiveUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/{archive_format}{/ref}" + , whRepoDownloadsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/downloads" + , whRepoIssuesUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/issues{/number}" + , whRepoPullsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/pulls{/number}" + , whRepoMilestonesUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/milestones{/number}" + , whRepoNotificationsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/notifications{?since,all,participating}" + , whRepoLabelsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/labels{/name}" + , whRepoReleasesUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/releases{/id}" + , whRepoCreatedAt = read "2015-05-05 23:40:12Z" + , whRepoUpdatedAt = read "2016-08-15 17:19:01Z" + , whRepoPushedAt = read "2016-10-03 23:37:43Z" + , whRepoGitUrl = URL "git://github.com/baxterthehacker/public-repo.git" + , whRepoSshUrl = URL "git@github.com:baxterthehacker/public-repo.git" + , whRepoCloneUrl = URL "https://github.com/baxterthehacker/public-repo.git" + , whRepoSvnUrl = URL "https://github.com/baxterthehacker/public-repo" + , whRepoHomepage = Nothing + , whRepoSize = 233 + , whRepoStargazersCount = 2 + , whRepoWatchersCount = 2 + , whRepoLanguage = Nothing + , whRepoHasIssues = True + , whRepoHasDownloads = True + , whRepoHasWiki = True + , whRepoHasPages = True + , whRepoForkCount = 2 + , whRepoMirrorUrl = Nothing + , whRepoOpenIssuesCount = 5 + , whRepoDefaultBranchName = "master" + } + , whPullReqTargetLabel = "baxterthehacker:master" + , whPullReqTargetRef = "master" + } + , whPullReqHead = + PullRequestTarget + { whPullReqTargetSha = "b7a1f9c27caa4e03c14a88feb56e2d4f7500aa63" + , whPullReqTargetUser = + HookUser + { whUserLogin = "skalnik" + , whUserId = 2546 + , whUserNodeId = "MDg6Q2hlY2tSdW4xMjg2MjAyMjg=" + , whUserAvatarUrl = URL "https://avatars.githubusercontent.com/u/2546?v=3" + , whUserGravatarId = URL "" + , whUserUrl = URL "https://api.github.com/users/skalnik" + , whUserHtmlUrl = URL "https://github.com/skalnik" + , whUserFollowersUrl = URL "https://api.github.com/users/skalnik/followers" + , whUserFollowingUrl = URL "https://api.github.com/users/skalnik/following{/other_user}" + , whUserGistsUrl = URL "https://api.github.com/users/skalnik/gists{/gist_id}" + , whUserStarredUrl = URL "https://api.github.com/users/skalnik/starred{/owner}{/repo}" + , whUserSubscriptionsUrl = URL "https://api.github.com/users/skalnik/subscriptions" + , whUserOrganizationsUrl = URL "https://api.github.com/users/skalnik/orgs" + , whUserReposUrl = URL "https://api.github.com/users/skalnik/repos" + , whUserEventsUrl = URL "https://api.github.com/users/skalnik/events{/privacy}" + , whUserReceivedEventsUrl = URL "https://api.github.com/users/skalnik/received_events" + , whUserType = OwnerUser + , whUserIsAdminOfSite = True + } + , whPullReqTargetRepo = + Just HookRepository + { whRepoId = 69919152 + , whRepoNodeId = "MDg6Q2hlY2tSdW4xMjg2MjAyMjg=" + , whRepoName = "public-repo" + , whRepoFullName = "skalnik/public-repo" + , whRepoOwner = + Right + HookUser + { whUserLogin = "skalnik" + , whUserId = 2546 + , whUserNodeId = "MDg6Q2hlY2tSdW4xMjg2MjAyMjg=" + , whUserAvatarUrl = URL "https://avatars.githubusercontent.com/u/2546?v=3" + , whUserGravatarId = URL "" + , whUserUrl = URL "https://api.github.com/users/skalnik" + , whUserHtmlUrl = URL "https://github.com/skalnik" + , whUserFollowersUrl = URL "https://api.github.com/users/skalnik/followers" + , whUserFollowingUrl = URL "https://api.github.com/users/skalnik/following{/other_user}" + , whUserGistsUrl = URL "https://api.github.com/users/skalnik/gists{/gist_id}" + , whUserStarredUrl = URL "https://api.github.com/users/skalnik/starred{/owner}{/repo}" + , whUserSubscriptionsUrl = URL "https://api.github.com/users/skalnik/subscriptions" + , whUserOrganizationsUrl = URL "https://api.github.com/users/skalnik/orgs" + , whUserReposUrl = URL "https://api.github.com/users/skalnik/repos" + , whUserEventsUrl = URL "https://api.github.com/users/skalnik/events{/privacy}" + , whUserReceivedEventsUrl = URL "https://api.github.com/users/skalnik/received_events" + , whUserType = OwnerUser + , whUserIsAdminOfSite = True + } + , whRepoIsPrivate = False + , whRepoHtmlUrl = URL "https://github.com/skalnik/public-repo" + , whRepoDescription = "" + , whRepoIsAFork = True + , whRepoUrl = URL "https://api.github.com/repos/skalnik/public-repo" + , whRepoForksUrl = URL "https://api.github.com/repos/skalnik/public-repo/forks" + , whRepoKeysUrl = URL "https://api.github.com/repos/skalnik/public-repo/keys{/key_id}" + , whRepoCollaboratorsUrl = URL "https://api.github.com/repos/skalnik/public-repo/collaborators{/collaborator}" + , whRepoTeamsUrl = URL "https://api.github.com/repos/skalnik/public-repo/teams" + , whRepoHooksUrl = URL "https://api.github.com/repos/skalnik/public-repo/hooks" + , whRepoIssueEventsUrl = URL "https://api.github.com/repos/skalnik/public-repo/issues/events{/number}" + , whRepoEventsUrl = URL "https://api.github.com/repos/skalnik/public-repo/events" + , whRepoAssigneesUrl = URL "https://api.github.com/repos/skalnik/public-repo/assignees{/user}" + , whRepoBranchesUrl = URL "https://api.github.com/repos/skalnik/public-repo/branches{/branch}" + , whRepoTagsUrl = URL "https://api.github.com/repos/skalnik/public-repo/tags" + , whRepoBlobsUrl = URL "https://api.github.com/repos/skalnik/public-repo/git/blobs{/sha}" + , whRepoGitTagsUrl = URL "https://api.github.com/repos/skalnik/public-repo/git/tags{/sha}" + , whRepoGitRefsUrl = URL "https://api.github.com/repos/skalnik/public-repo/git/refs{/sha}" + , whRepoTreesUrl = URL "https://api.github.com/repos/skalnik/public-repo/git/trees{/sha}" + , whRepoStatusesUrl = URL "https://api.github.com/repos/skalnik/public-repo/statuses/{sha}" + , whRepoLanguagesUrl = URL "https://api.github.com/repos/skalnik/public-repo/languages" + , whRepoStargazersUrl = URL "https://api.github.com/repos/skalnik/public-repo/stargazers" + , whRepoContributorsUrl = URL "https://api.github.com/repos/skalnik/public-repo/contributors" + , whRepoSubscribersUrl = URL "https://api.github.com/repos/skalnik/public-repo/subscribers" + , whRepoSubscriptionUrl = URL "https://api.github.com/repos/skalnik/public-repo/subscription" + , whRepoCommitsUrl = URL "https://api.github.com/repos/skalnik/public-repo/commits{/sha}" + , whRepoGitCommitsUrl = URL "https://api.github.com/repos/skalnik/public-repo/git/commits{/sha}" + , whRepoCommentsUrl = URL "https://api.github.com/repos/skalnik/public-repo/comments{/number}" + , whRepoIssueCommentsUrl = URL "https://api.github.com/repos/skalnik/public-repo/issues/comments{/number}" + , whRepoContentsUrl = URL "https://api.github.com/repos/skalnik/public-repo/contents/{+path}" + , whRepoCompareUrl = URL "https://api.github.com/repos/skalnik/public-repo/compare/{base}...{head}" + , whRepoMergesUrl = URL "https://api.github.com/repos/skalnik/public-repo/merges" + , whRepoArchiveUrl = URL "https://api.github.com/repos/skalnik/public-repo/{archive_format}{/ref}" + , whRepoDownloadsUrl = URL "https://api.github.com/repos/skalnik/public-repo/downloads" + , whRepoIssuesUrl = URL "https://api.github.com/repos/skalnik/public-repo/issues{/number}" + , whRepoPullsUrl = URL "https://api.github.com/repos/skalnik/public-repo/pulls{/number}" + , whRepoMilestonesUrl = URL "https://api.github.com/repos/skalnik/public-repo/milestones{/number}" + , whRepoNotificationsUrl = URL "https://api.github.com/repos/skalnik/public-repo/notifications{?since,all,participating}" + , whRepoLabelsUrl = URL "https://api.github.com/repos/skalnik/public-repo/labels{/name}" + , whRepoReleasesUrl = URL "https://api.github.com/repos/skalnik/public-repo/releases{/id}" + , whRepoCreatedAt = read "2016-10-03 23:23:31Z" + , whRepoUpdatedAt = read "2016-08-15 17:19:01Z" + , whRepoPushedAt = read "2016-10-03 23:36:52Z" + , whRepoGitUrl = URL "git://github.com/skalnik/public-repo.git" + , whRepoSshUrl = URL "git@github.com:skalnik/public-repo.git" + , whRepoCloneUrl = URL "https://github.com/skalnik/public-repo.git" + , whRepoSvnUrl = URL "https://github.com/skalnik/public-repo" + , whRepoHomepage = Nothing + , whRepoSize = 233 + , whRepoStargazersCount = 0 + , whRepoWatchersCount = 0 + , whRepoLanguage = Nothing + , whRepoHasIssues = False + , whRepoHasDownloads = True + , whRepoHasWiki = True + , whRepoHasPages = False + , whRepoForkCount = 0 + , whRepoMirrorUrl = Nothing + , whRepoOpenIssuesCount = 0 + , whRepoDefaultBranchName = "master" + } + , whPullReqTargetLabel = "skalnik:patch-2" + , whPullReqTargetRef = "patch-2" + } + , whPullReqMergeableState = Nothing + , whPullReqCommentCount = Nothing + , whPullReqRevCommentCount = Nothing + , whPullReqCommitCount = Nothing + , whPullReqAdditionsCount = Nothing + , whPullReqDeletionsCount = Nothing + , whPullReqFileChangeCount = Nothing + } + , evPullReqReviewRepo = + HookRepository + { whRepoId = 35129377 + , whRepoNodeId = "MDg6Q2hlY2tSdW4xMjg2MjAyMjg=" + , whRepoName = "public-repo" + , whRepoFullName = "baxterthehacker/public-repo" + , whRepoOwner = + Right + HookUser + { whUserLogin = "baxterthehacker" + , whUserId = 6752317 + , whUserNodeId = "MDg6Q2hlY2tSdW4xMjg2MjAyMjg=" + , whUserAvatarUrl = URL "https://avatars.githubusercontent.com/u/6752317?v=3" + , whUserGravatarId = URL "" + , whUserUrl = URL "https://api.github.com/users/baxterthehacker" + , whUserHtmlUrl = URL "https://github.com/baxterthehacker" + , whUserFollowersUrl = URL "https://api.github.com/users/baxterthehacker/followers" + , whUserFollowingUrl = URL "https://api.github.com/users/baxterthehacker/following{/other_user}" + , whUserGistsUrl = URL "https://api.github.com/users/baxterthehacker/gists{/gist_id}" + , whUserStarredUrl = URL "https://api.github.com/users/baxterthehacker/starred{/owner}{/repo}" + , whUserSubscriptionsUrl = URL "https://api.github.com/users/baxterthehacker/subscriptions" + , whUserOrganizationsUrl = URL "https://api.github.com/users/baxterthehacker/orgs" + , whUserReposUrl = URL "https://api.github.com/users/baxterthehacker/repos" + , whUserEventsUrl = URL "https://api.github.com/users/baxterthehacker/events{/privacy}" + , whUserReceivedEventsUrl = URL "https://api.github.com/users/baxterthehacker/received_events" + , whUserType = OwnerUser + , whUserIsAdminOfSite = False + } + , whRepoIsPrivate = False + , whRepoHtmlUrl = URL "https://github.com/baxterthehacker/public-repo" + , whRepoDescription = "" + , whRepoIsAFork = False + , whRepoUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo" + , whRepoForksUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/forks" + , whRepoKeysUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/keys{/key_id}" + , whRepoCollaboratorsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/collaborators{/collaborator}" + , whRepoTeamsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/teams" + , whRepoHooksUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/hooks" + , whRepoIssueEventsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/issues/events{/number}" + , whRepoEventsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/events" + , whRepoAssigneesUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/assignees{/user}" + , whRepoBranchesUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/branches{/branch}" + , whRepoTagsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/tags" + , whRepoBlobsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/git/blobs{/sha}" + , whRepoGitTagsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/git/tags{/sha}" + , whRepoGitRefsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/git/refs{/sha}" + , whRepoTreesUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/git/trees{/sha}" + , whRepoStatusesUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/statuses/{sha}" + , whRepoLanguagesUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/languages" + , whRepoStargazersUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/stargazers" + , whRepoContributorsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/contributors" + , whRepoSubscribersUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/subscribers" + , whRepoSubscriptionUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/subscription" + , whRepoCommitsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/commits{/sha}" + , whRepoGitCommitsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/git/commits{/sha}" + , whRepoCommentsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/comments{/number}" + , whRepoIssueCommentsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/issues/comments{/number}" + , whRepoContentsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/contents/{+path}" + , whRepoCompareUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/compare/{base}...{head}" + , whRepoMergesUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/merges" + , whRepoArchiveUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/{archive_format}{/ref}" + , whRepoDownloadsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/downloads" + , whRepoIssuesUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/issues{/number}" + , whRepoPullsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/pulls{/number}" + , whRepoMilestonesUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/milestones{/number}" + , whRepoNotificationsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/notifications{?since,all,participating}" + , whRepoLabelsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/labels{/name}" + , whRepoReleasesUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/releases{/id}" + , whRepoCreatedAt = read "2015-05-05 23:40:12Z" + , whRepoUpdatedAt = read "2016-08-15 17:19:01Z" + , whRepoPushedAt = read "2016-10-03 23:37:43Z" + , whRepoGitUrl = URL "git://github.com/baxterthehacker/public-repo.git" + , whRepoSshUrl = URL "git@github.com:baxterthehacker/public-repo.git" + , whRepoCloneUrl = URL "https://github.com/baxterthehacker/public-repo.git" + , whRepoSvnUrl = URL "https://github.com/baxterthehacker/public-repo" + , whRepoHomepage = Nothing + , whRepoSize = 233 + , whRepoStargazersCount = 2 + , whRepoWatchersCount = 2 + , whRepoLanguage = Nothing + , whRepoHasIssues = True + , whRepoHasDownloads = True + , whRepoHasWiki = True + , whRepoHasPages = True + , whRepoForkCount = 2 + , whRepoMirrorUrl = Nothing + , whRepoOpenIssuesCount = 5 + , whRepoDefaultBranchName = "master" + } + , evPullReqReviewSender = + HookUser + { whUserLogin = "baxterthehacker" + , whUserId = 6752317 + , whUserNodeId = "MDg6Q2hlY2tSdW4xMjg2MjAyMjg=" + , whUserAvatarUrl = URL "https://avatars.githubusercontent.com/u/6752317?v=3" + , whUserGravatarId = URL "" + , whUserUrl = URL "https://api.github.com/users/baxterthehacker" + , whUserHtmlUrl = URL "https://github.com/baxterthehacker" + , whUserFollowersUrl = URL "https://api.github.com/users/baxterthehacker/followers" + , whUserFollowingUrl = URL "https://api.github.com/users/baxterthehacker/following{/other_user}" + , whUserGistsUrl = URL "https://api.github.com/users/baxterthehacker/gists{/gist_id}" + , whUserStarredUrl = URL "https://api.github.com/users/baxterthehacker/starred{/owner}{/repo}" + , whUserSubscriptionsUrl = URL "https://api.github.com/users/baxterthehacker/subscriptions" + , whUserOrganizationsUrl = URL "https://api.github.com/users/baxterthehacker/orgs" + , whUserReposUrl = URL "https://api.github.com/users/baxterthehacker/repos" + , whUserEventsUrl = URL "https://api.github.com/users/baxterthehacker/events{/privacy}" + , whUserReceivedEventsUrl = URL "https://api.github.com/users/baxterthehacker/received_events" + , whUserType = OwnerUser + , whUserIsAdminOfSite = False + } + } + +pushEventFixture :: PushEvent +pushEventFixture = PushEvent + { evPushRef = "refs/heads/changes" + , evPushHeadSha = Just "0d1a26e67d8f5eaf1f6ba5c57fc3c7d91ac0fd1c" + , evPushBeforeSha = Just "9049f1265b7d61be4a8904a9a27120d2064dab3b" + , evPushCreated = False + , evPushDeleted = False + , evPushForced = False + , evPushBaseRef = Nothing + , evPushCompareUrl = URL "https://github.com/baxterthehacker/public-repo/compare/9049f1265b7d...0d1a26e67d8f" + , evPushCommits = + Just $ V.fromList + [ HookCommit + { whCommitSha = "0d1a26e67d8f5eaf1f6ba5c57fc3c7d91ac0fd1c" + , whCommitUrl = URL "https://github.com/baxterthehacker/public-repo/commit/0d1a26e67d8f5eaf1f6ba5c57fc3c7d91ac0fd1c" + , whCommitHtmlUrl = Nothing + , whCommitCommentsUrl = Nothing + , whCommitAuthor = + Left + HookSimpleUser + { whSimplUserName = "baxterthehacker" + , whSimplUserEmail = "baxterthehacker@users.noreply.github.com" + , whSimplUserLogin = Just "baxterthehacker" + } + , whCommitCommitter = + Left + HookSimpleUser + { whSimplUserName = "baxterthehacker" + , whSimplUserEmail = "baxterthehacker@users.noreply.github.com" + , whSimplUserLogin = Just "baxterthehacker" + } + } + ] + , evPushHeadCommit = + Just + HookCommit + { whCommitSha = "0d1a26e67d8f5eaf1f6ba5c57fc3c7d91ac0fd1c" + , whCommitUrl = URL "https://github.com/baxterthehacker/public-repo/commit/0d1a26e67d8f5eaf1f6ba5c57fc3c7d91ac0fd1c" + , whCommitHtmlUrl = Nothing + , whCommitCommentsUrl = Nothing + , whCommitAuthor = + Left + HookSimpleUser + { whSimplUserName = "baxterthehacker" + , whSimplUserEmail = "baxterthehacker@users.noreply.github.com" + , whSimplUserLogin = Just "baxterthehacker" + } + , whCommitCommitter = + Left + HookSimpleUser + { whSimplUserName = "baxterthehacker" + , whSimplUserEmail = "baxterthehacker@users.noreply.github.com" + , whSimplUserLogin = Just "baxterthehacker" + } + } + , evPushRepository = + HookRepository + { whRepoId = 35129377 + , whRepoNodeId = "MDg6Q2hlY2tSdW4xMjg2MjAyMjg=" + , whRepoName = "public-repo" + , whRepoFullName = "baxterthehacker/public-repo" + , whRepoOwner = + Left + HookSimpleUser + { whSimplUserName = "baxterthehacker" , whSimplUserEmail = "baxterthehacker@users.noreply.github.com" , whSimplUserLogin = Nothing } + , whRepoIsPrivate = False + , whRepoHtmlUrl = URL "https://github.com/baxterthehacker/public-repo" + , whRepoDescription = "" + , whRepoIsAFork = False + , whRepoUrl = URL "https://github.com/baxterthehacker/public-repo" + , whRepoForksUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/forks" + , whRepoKeysUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/keys{/key_id}" + , whRepoCollaboratorsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/collaborators{/collaborator}" + , whRepoTeamsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/teams" + , whRepoHooksUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/hooks" + , whRepoIssueEventsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/issues/events{/number}" + , whRepoEventsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/events" + , whRepoAssigneesUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/assignees{/user}" + , whRepoBranchesUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/branches{/branch}" + , whRepoTagsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/tags" + , whRepoBlobsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/git/blobs{/sha}" + , whRepoGitTagsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/git/tags{/sha}" + , whRepoGitRefsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/git/refs{/sha}" + , whRepoTreesUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/git/trees{/sha}" + , whRepoStatusesUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/statuses/{sha}" + , whRepoLanguagesUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/languages" + , whRepoStargazersUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/stargazers" + , whRepoContributorsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/contributors" + , whRepoSubscribersUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/subscribers" + , whRepoSubscriptionUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/subscription" + , whRepoCommitsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/commits{/sha}" + , whRepoGitCommitsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/git/commits{/sha}" + , whRepoCommentsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/comments{/number}" + , whRepoIssueCommentsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/issues/comments{/number}" + , whRepoContentsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/contents/{+path}" + , whRepoCompareUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/compare/{base}...{head}" + , whRepoMergesUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/merges" + , whRepoArchiveUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/{archive_format}{/ref}" + , whRepoDownloadsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/downloads" + , whRepoIssuesUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/issues{/number}" + , whRepoPullsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/pulls{/number}" + , whRepoMilestonesUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/milestones{/number}" + , whRepoNotificationsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/notifications{?since,all,participating}" + , whRepoLabelsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/labels{/name}" + , whRepoReleasesUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/releases{/id}" + , whRepoCreatedAt = read "2015-05-05 23:40:12Z" + , whRepoUpdatedAt = read "2015-05-05 23:40:12Z" + , whRepoPushedAt = read "2015-05-05 23:40:17Z" + , whRepoGitUrl = URL "git://github.com/baxterthehacker/public-repo.git" + , whRepoSshUrl = URL "git@github.com:baxterthehacker/public-repo.git" + , whRepoCloneUrl = URL "https://github.com/baxterthehacker/public-repo.git" + , whRepoSvnUrl = URL "https://github.com/baxterthehacker/public-repo" + , whRepoHomepage = Nothing + , whRepoSize = 0 + , whRepoStargazersCount = 0 + , whRepoWatchersCount = 0 + , whRepoLanguage = Nothing + , whRepoHasIssues = True + , whRepoHasDownloads = True + , whRepoHasWiki = True + , whRepoHasPages = True + , whRepoForkCount = 0 + , whRepoMirrorUrl = Nothing + , whRepoOpenIssuesCount = 0 + , whRepoDefaultBranchName = "master" + } + , evPushOrganization = Nothing + , evPushSender = + HookUser + { whUserLogin = "baxterthehacker" + , whUserId = 6752317 + , whUserNodeId = "MDg6Q2hlY2tSdW4xMjg2MjAyMjg=" + , whUserAvatarUrl = URL "https://avatars.githubusercontent.com/u/6752317?v=3" + , whUserGravatarId = URL "" + , whUserUrl = URL "https://api.github.com/users/baxterthehacker" + , whUserHtmlUrl = URL "https://github.com/baxterthehacker" + , whUserFollowersUrl = URL "https://api.github.com/users/baxterthehacker/followers" + , whUserFollowingUrl = URL "https://api.github.com/users/baxterthehacker/following{/other_user}" + , whUserGistsUrl = URL "https://api.github.com/users/baxterthehacker/gists{/gist_id}" + , whUserStarredUrl = URL "https://api.github.com/users/baxterthehacker/starred{/owner}{/repo}" + , whUserSubscriptionsUrl = URL "https://api.github.com/users/baxterthehacker/subscriptions" + , whUserOrganizationsUrl = URL "https://api.github.com/users/baxterthehacker/orgs" + , whUserReposUrl = URL "https://api.github.com/users/baxterthehacker/repos" + , whUserEventsUrl = URL "https://api.github.com/users/baxterthehacker/events{/privacy}" + , whUserReceivedEventsUrl = URL "https://api.github.com/users/baxterthehacker/received_events" + , whUserType = OwnerUser + , whUserIsAdminOfSite = False + } + } + +releaseEventFixture :: ReleaseEvent +releaseEventFixture = ReleaseEvent + { evReleaseEventAction = ReleasePublishedAction + , evReleaseEventPayload = + HookRelease + { whReleaseUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/releases/1261438" + , whReleaseAssetsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/releases/1261438/assets" + , whReleaseUploadUrl = URL "https://uploads.github.com/repos/baxterthehacker/public-repo/releases/1261438/assets{?name}" + , whReleaseHtmlUrl = URL "https://github.com/baxterthehacker/public-repo/releases/tag/0.0.1" + , whReleaseId = 1261438 + , whReleaseNodeId = "MDg6Q2hlY2tSdW4xMjg2MjAyMjg=" + , whReleaseTagName = "0.0.1" + , whReleaseTargetCommitish = "master" + , whReleaseName = Nothing + , whReleaseIsDraft = False + , whReleaseAuthor = + HookUser + { whUserLogin = "baxterthehacker" + , whUserId = 6752317 + , whUserNodeId = "MDg6Q2hlY2tSdW4xMjg2MjAyMjg=" + , whUserAvatarUrl = URL "https://avatars.githubusercontent.com/u/6752317?v=3" + , whUserGravatarId = URL "" + , whUserUrl = URL "https://api.github.com/users/baxterthehacker" + , whUserHtmlUrl = URL "https://github.com/baxterthehacker" + , whUserFollowersUrl = URL "https://api.github.com/users/baxterthehacker/followers" + , whUserFollowingUrl = URL "https://api.github.com/users/baxterthehacker/following{/other_user}" + , whUserGistsUrl = URL "https://api.github.com/users/baxterthehacker/gists{/gist_id}" + , whUserStarredUrl = URL "https://api.github.com/users/baxterthehacker/starred{/owner}{/repo}" + , whUserSubscriptionsUrl = URL "https://api.github.com/users/baxterthehacker/subscriptions" + , whUserOrganizationsUrl = URL "https://api.github.com/users/baxterthehacker/orgs" + , whUserReposUrl = URL "https://api.github.com/users/baxterthehacker/repos" + , whUserEventsUrl = URL "https://api.github.com/users/baxterthehacker/events{/privacy}" + , whUserReceivedEventsUrl = URL "https://api.github.com/users/baxterthehacker/received_events" + , whUserType = OwnerUser + , whUserIsAdminOfSite = False + } + , whReleaseIsPreRelease = False + , whReleaseCreatedAt = read "2015-05-05 23:40:12Z" + , whReleasePublishedAt = Just $ read "2015-05-05 23:40:38Z" + , whReleaseTarballUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/tarball/0.0.1" + , whReleaseZipballUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/zipball/0.0.1" + , whReleaseBody = Nothing + } + , evReleaseEventRepo = + HookRepository + { whRepoId = 35129377 + , whRepoNodeId = "MDg6Q2hlY2tSdW4xMjg2MjAyMjg=" + , whRepoName = "public-repo" + , whRepoFullName = "baxterthehacker/public-repo" + , whRepoOwner = + Right HookUser + { whUserLogin = "baxterthehacker" + , whUserId = 6752317 + , whUserNodeId = "MDg6Q2hlY2tSdW4xMjg2MjAyMjg=" + , whUserAvatarUrl = URL "https://avatars.githubusercontent.com/u/6752317?v=3" + , whUserGravatarId = URL "" + , whUserUrl = URL "https://api.github.com/users/baxterthehacker" + , whUserHtmlUrl = URL "https://github.com/baxterthehacker" + , whUserFollowersUrl = URL "https://api.github.com/users/baxterthehacker/followers" + , whUserFollowingUrl = URL "https://api.github.com/users/baxterthehacker/following{/other_user}" + , whUserGistsUrl = URL "https://api.github.com/users/baxterthehacker/gists{/gist_id}" + , whUserStarredUrl = URL "https://api.github.com/users/baxterthehacker/starred{/owner}{/repo}" + , whUserSubscriptionsUrl = URL "https://api.github.com/users/baxterthehacker/subscriptions" + , whUserOrganizationsUrl = URL "https://api.github.com/users/baxterthehacker/orgs" + , whUserReposUrl = URL "https://api.github.com/users/baxterthehacker/repos" + , whUserEventsUrl = URL "https://api.github.com/users/baxterthehacker/events{/privacy}" + , whUserReceivedEventsUrl = URL "https://api.github.com/users/baxterthehacker/received_events" + , whUserType = OwnerUser + , whUserIsAdminOfSite = False + } + , whRepoIsPrivate = False + , whRepoHtmlUrl = URL "https://github.com/baxterthehacker/public-repo" + , whRepoDescription = "" + , whRepoIsAFork = False + , whRepoUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo" + , whRepoForksUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/forks" + , whRepoKeysUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/keys{/key_id}" + , whRepoCollaboratorsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/collaborators{/collaborator}" + , whRepoTeamsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/teams" + , whRepoHooksUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/hooks" + , whRepoIssueEventsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/issues/events{/number}" + , whRepoEventsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/events" + , whRepoAssigneesUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/assignees{/user}" + , whRepoBranchesUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/branches{/branch}" + , whRepoTagsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/tags" + , whRepoBlobsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/git/blobs{/sha}" + , whRepoGitTagsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/git/tags{/sha}" + , whRepoGitRefsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/git/refs{/sha}" + , whRepoTreesUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/git/trees{/sha}" + , whRepoStatusesUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/statuses/{sha}" + , whRepoLanguagesUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/languages" + , whRepoStargazersUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/stargazers" + , whRepoContributorsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/contributors" + , whRepoSubscribersUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/subscribers" + , whRepoSubscriptionUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/subscription" + , whRepoCommitsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/commits{/sha}" + , whRepoGitCommitsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/git/commits{/sha}" + , whRepoCommentsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/comments{/number}" + , whRepoIssueCommentsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/issues/comments{/number}" + , whRepoContentsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/contents/{+path}" + , whRepoCompareUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/compare/{base}...{head}" + , whRepoMergesUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/merges" + , whRepoArchiveUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/{archive_format}{/ref}" + , whRepoDownloadsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/downloads" + , whRepoIssuesUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/issues{/number}" + , whRepoPullsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/pulls{/number}" + , whRepoMilestonesUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/milestones{/number}" + , whRepoNotificationsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/notifications{?since,all,participating}" + , whRepoLabelsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/labels{/name}" + , whRepoReleasesUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/releases{/id}" + , whRepoCreatedAt = read "2015-05-05 23:40:12Z" + , whRepoUpdatedAt = read "2015-05-05 23:40:30Z" + , whRepoPushedAt = read "2015-05-05 23:40:38Z" + , whRepoGitUrl = URL "git://github.com/baxterthehacker/public-repo.git" + , whRepoSshUrl = URL "git@github.com:baxterthehacker/public-repo.git" + , whRepoCloneUrl = URL "https://github.com/baxterthehacker/public-repo.git" + , whRepoSvnUrl = URL "https://github.com/baxterthehacker/public-repo" + , whRepoHomepage = Nothing + , whRepoSize = 0 + , whRepoStargazersCount = 0 + , whRepoWatchersCount = 0 + , whRepoLanguage = Nothing + , whRepoHasIssues = True + , whRepoHasDownloads = True + , whRepoHasWiki = True + , whRepoHasPages = True + , whRepoForkCount = 0 + , whRepoMirrorUrl = Nothing + , whRepoOpenIssuesCount = 2 + , whRepoDefaultBranchName = "master" + } + , evReleaseEventSender = + HookUser + { whUserLogin = "baxterthehacker" + , whUserId = 6752317 + , whUserNodeId = "MDg6Q2hlY2tSdW4xMjg2MjAyMjg=" + , whUserAvatarUrl = URL "https://avatars.githubusercontent.com/u/6752317?v=3" + , whUserGravatarId = URL "" + , whUserUrl = URL "https://api.github.com/users/baxterthehacker" + , whUserHtmlUrl = URL "https://github.com/baxterthehacker" + , whUserFollowersUrl = URL "https://api.github.com/users/baxterthehacker/followers" + , whUserFollowingUrl = URL "https://api.github.com/users/baxterthehacker/following{/other_user}" + , whUserGistsUrl = URL "https://api.github.com/users/baxterthehacker/gists{/gist_id}" + , whUserStarredUrl = URL "https://api.github.com/users/baxterthehacker/starred{/owner}{/repo}" + , whUserSubscriptionsUrl = URL "https://api.github.com/users/baxterthehacker/subscriptions" + , whUserOrganizationsUrl = URL "https://api.github.com/users/baxterthehacker/orgs" + , whUserReposUrl = URL "https://api.github.com/users/baxterthehacker/repos" + , whUserEventsUrl = URL "https://api.github.com/users/baxterthehacker/events{/privacy}" + , whUserReceivedEventsUrl = URL "https://api.github.com/users/baxterthehacker/received_events" + , whUserType = OwnerUser + , whUserIsAdminOfSite = False + } + } + +repositoryEventFixture :: RepositoryEvent +repositoryEventFixture = RepositoryEvent + { evRepositoryAction = RepositoryCreatedAction + , evRepositoryTarget = + HookRepository + { whRepoId = 27496774 + , whRepoNodeId = "MDg6Q2hlY2tSdW4xMjg2MjAyMjg=" + , whRepoName = "new-repository" + , whRepoFullName = "baxterandthehackers/new-repository" + , whRepoOwner = + Right HookUser + { whUserLogin = "baxterandthehackers" + , whUserId = 7649605 + , whUserNodeId = "MDg6Q2hlY2tSdW4xMjg2MjAyMjg=" + , whUserAvatarUrl = URL "https://avatars.githubusercontent.com/u/7649605?v=3" + , whUserGravatarId = URL "" + , whUserUrl = URL "https://api.github.com/users/baxterandthehackers" + , whUserHtmlUrl = URL "https://github.com/baxterandthehackers" + , whUserFollowersUrl = URL "https://api.github.com/users/baxterandthehackers/followers" + , whUserFollowingUrl = URL "https://api.github.com/users/baxterandthehackers/following{/other_user}" + , whUserGistsUrl = URL "https://api.github.com/users/baxterandthehackers/gists{/gist_id}" + , whUserStarredUrl = URL "https://api.github.com/users/baxterandthehackers/starred{/owner}{/repo}" + , whUserSubscriptionsUrl = URL "https://api.github.com/users/baxterandthehackers/subscriptions" + , whUserOrganizationsUrl = URL "https://api.github.com/users/baxterandthehackers/orgs" + , whUserReposUrl = URL "https://api.github.com/users/baxterandthehackers/repos" + , whUserEventsUrl = URL "https://api.github.com/users/baxterandthehackers/events{/privacy}" + , whUserReceivedEventsUrl = URL "https://api.github.com/users/baxterandthehackers/received_events" + , whUserType = OwnerOrganization + , whUserIsAdminOfSite = False + } + , whRepoIsPrivate = True + , whRepoHtmlUrl = URL "https://github.com/baxterandthehackers/new-repository" + , whRepoDescription = "" + , whRepoIsAFork = False + , whRepoUrl = URL "https://api.github.com/repos/baxterandthehackers/new-repository" + , whRepoForksUrl = URL "https://api.github.com/repos/baxterandthehackers/new-repository/forks" + , whRepoKeysUrl = URL "https://api.github.com/repos/baxterandthehackers/new-repository/keys{/key_id}" + , whRepoCollaboratorsUrl = URL "https://api.github.com/repos/baxterandthehackers/new-repository/collaborators{/collaborator}" + , whRepoTeamsUrl = URL "https://api.github.com/repos/baxterandthehackers/new-repository/teams" + , whRepoHooksUrl = URL "https://api.github.com/repos/baxterandthehackers/new-repository/hooks" + , whRepoIssueEventsUrl = URL "https://api.github.com/repos/baxterandthehackers/new-repository/issues/events{/number}" + , whRepoEventsUrl = URL "https://api.github.com/repos/baxterandthehackers/new-repository/events" + , whRepoAssigneesUrl = URL "https://api.github.com/repos/baxterandthehackers/new-repository/assignees{/user}" + , whRepoBranchesUrl = URL "https://api.github.com/repos/baxterandthehackers/new-repository/branches{/branch}" + , whRepoTagsUrl = URL "https://api.github.com/repos/baxterandthehackers/new-repository/tags" + , whRepoBlobsUrl = URL "https://api.github.com/repos/baxterandthehackers/new-repository/git/blobs{/sha}" + , whRepoGitTagsUrl = URL "https://api.github.com/repos/baxterandthehackers/new-repository/git/tags{/sha}" + , whRepoGitRefsUrl = URL "https://api.github.com/repos/baxterandthehackers/new-repository/git/refs{/sha}" + , whRepoTreesUrl = URL "https://api.github.com/repos/baxterandthehackers/new-repository/git/trees{/sha}" + , whRepoStatusesUrl = URL "https://api.github.com/repos/baxterandthehackers/new-repository/statuses/{sha}" + , whRepoLanguagesUrl = URL "https://api.github.com/repos/baxterandthehackers/new-repository/languages" + , whRepoStargazersUrl = URL "https://api.github.com/repos/baxterandthehackers/new-repository/stargazers" + , whRepoContributorsUrl = URL "https://api.github.com/repos/baxterandthehackers/new-repository/contributors" + , whRepoSubscribersUrl = URL "https://api.github.com/repos/baxterandthehackers/new-repository/subscribers" + , whRepoSubscriptionUrl = URL "https://api.github.com/repos/baxterandthehackers/new-repository/subscription" + , whRepoCommitsUrl = URL "https://api.github.com/repos/baxterandthehackers/new-repository/commits{/sha}" + , whRepoGitCommitsUrl = URL "https://api.github.com/repos/baxterandthehackers/new-repository/git/commits{/sha}" + , whRepoCommentsUrl = URL "https://api.github.com/repos/baxterandthehackers/new-repository/comments{/number}" + , whRepoIssueCommentsUrl = URL "https://api.github.com/repos/baxterandthehackers/new-repository/issues/comments/{number}" + , whRepoContentsUrl = URL "https://api.github.com/repos/baxterandthehackers/new-repository/contents/{+path}" + , whRepoCompareUrl = URL "https://api.github.com/repos/baxterandthehackers/new-repository/compare/{base}...{head}" + , whRepoMergesUrl = URL "https://api.github.com/repos/baxterandthehackers/new-repository/merges" + , whRepoArchiveUrl = URL "https://api.github.com/repos/baxterandthehackers/new-repository/{archive_format}{/ref}" + , whRepoDownloadsUrl = URL "https://api.github.com/repos/baxterandthehackers/new-repository/downloads" + , whRepoIssuesUrl = URL "https://api.github.com/repos/baxterandthehackers/new-repository/issues{/number}" + , whRepoPullsUrl = URL "https://api.github.com/repos/baxterandthehackers/new-repository/pulls{/number}" + , whRepoMilestonesUrl = URL "https://api.github.com/repos/baxterandthehackers/new-repository/milestones{/number}" + , whRepoNotificationsUrl = + URL "https://api.github.com/repos/baxterandthehackers/new-repository/notifications{?since,all,participating}" + , whRepoLabelsUrl = URL "https://api.github.com/repos/baxterandthehackers/new-repository/labels{/name}" + , whRepoReleasesUrl = URL "https://api.github.com/repos/baxterandthehackers/new-repository/releases{/id}" + , whRepoCreatedAt = read "2014-12-03 16:39:25Z" + , whRepoUpdatedAt = read "2014-12-03 16:39:25Z" + , whRepoPushedAt = read "2014-12-03 16:39:25Z" + , whRepoGitUrl = URL "git://github.com/baxterandthehackers/new-repository.git" + , whRepoSshUrl = URL "git@github.com:baxterandthehackers/new-repository.git" + , whRepoCloneUrl = URL "https://github.com/baxterandthehackers/new-repository.git" + , whRepoSvnUrl = URL "https://github.com/baxterandthehackers/new-repository" + , whRepoHomepage = Nothing + , whRepoSize = 0 + , whRepoStargazersCount = 0 + , whRepoWatchersCount = 0 + , whRepoLanguage = Nothing + , whRepoHasIssues = True + , whRepoHasDownloads = True + , whRepoHasWiki = True + , whRepoHasPages = False + , whRepoForkCount = 0 + , whRepoMirrorUrl = Nothing + , whRepoOpenIssuesCount = 0 + , whRepoDefaultBranchName = "master" + } + , evRepositoryOrg = + Just + HookOrganization + { whOrgLogin = "baxterandthehackers" + , whOrgId = 7649605 + , whOrgNodeId = "MDg6Q2hlY2tSdW4xMjg2MjAyMjg=" + , whOrgUrl = URL "https://api.github.com/orgs/baxterandthehackers" + , whOrgReposUrl = URL "https://api.github.com/orgs/baxterandthehackers/repos" + , whOrgEventsUrl = URL "https://api.github.com/orgs/baxterandthehackers/events" + , whOrgHooksUrl = Nothing + , whOrgIssuesUrl = Nothing + , whOrgMembersUrl = URL "https://api.github.com/orgs/baxterandthehackers/members{/member}" + , whOrgPublicMembersUrl = URL "https://api.github.com/orgs/baxterandthehackers/public_members{/member}" + , whOrgAvatarUrl = URL "https://avatars.githubusercontent.com/u/7649605?v=2" + , whOrgDescription = T.empty + } + , evRepositorySender = + HookUser + { whUserLogin = "baxterthehacker" + , whUserId = 6752317 + , whUserNodeId = "MDg6Q2hlY2tSdW4xMjg2MjAyMjg=" + , whUserAvatarUrl = URL "https://avatars.githubusercontent.com/u/6752317?v=2" + , whUserGravatarId = URL "" + , whUserUrl = URL "https://api.github.com/users/baxterthehacker" + , whUserHtmlUrl = URL "https://github.com/baxterthehacker" + , whUserFollowersUrl = URL "https://api.github.com/users/baxterthehacker/followers" + , whUserFollowingUrl = URL "https://api.github.com/users/baxterthehacker/following{/other_user}" + , whUserGistsUrl = URL "https://api.github.com/users/baxterthehacker/gists{/gist_id}" + , whUserStarredUrl = URL "https://api.github.com/users/baxterthehacker/starred{/owner}{/repo}" + , whUserSubscriptionsUrl = URL "https://api.github.com/users/baxterthehacker/subscriptions" + , whUserOrganizationsUrl = URL "https://api.github.com/users/baxterthehacker/orgs" + , whUserReposUrl = URL "https://api.github.com/users/baxterthehacker/repos" + , whUserEventsUrl = URL "https://api.github.com/users/baxterthehacker/events{/privacy}" + , whUserReceivedEventsUrl = URL "https://api.github.com/users/baxterthehacker/received_events" + , whUserType = OwnerUser + , whUserIsAdminOfSite = False + } + } + +statusEventFixture :: StatusEvent +statusEventFixture = StatusEvent + { evStatusId = 214015194 + , evStatusCommitSha = "9049f1265b7d61be4a8904a9a27120d2064dab3b" + , evStatusCommitName = "baxterthehacker/public-repo" + , evStatusTargetUrl = Nothing + , evStatusContext = "default" + , evStatusDescription = Nothing + , evStatusState = StatusSuccessState + , evStatusCommit = + HookCommit + { whCommitSha = "9049f1265b7d61be4a8904a9a27120d2064dab3b" + , whCommitUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/commits/9049f1265b7d61be4a8904a9a27120d2064dab3b" + , whCommitHtmlUrl = Just $ URL "https://github.com/baxterthehacker/public-repo/commit/9049f1265b7d61be4a8904a9a27120d2064dab3b" + , whCommitCommentsUrl = + Just $ URL "https://api.github.com/repos/baxterthehacker/public-repo/commits/9049f1265b7d61be4a8904a9a27120d2064dab3b/comments" + , whCommitAuthor = + Right HookUser + { whUserLogin = "baxterthehacker" + , whUserId = 6752317 + , whUserNodeId = "MDg6Q2hlY2tSdW4xMjg2MjAyMjg=" + , whUserAvatarUrl = URL "https://avatars.githubusercontent.com/u/6752317?v=3" + , whUserGravatarId = URL "" + , whUserUrl = URL "https://api.github.com/users/baxterthehacker" + , whUserHtmlUrl = URL "https://github.com/baxterthehacker" + , whUserFollowersUrl = URL "https://api.github.com/users/baxterthehacker/followers" + , whUserFollowingUrl = URL "https://api.github.com/users/baxterthehacker/following{/other_user}" + , whUserGistsUrl = URL "https://api.github.com/users/baxterthehacker/gists{/gist_id}" + , whUserStarredUrl = URL "https://api.github.com/users/baxterthehacker/starred{/owner}{/repo}" + , whUserSubscriptionsUrl = URL "https://api.github.com/users/baxterthehacker/subscriptions" + , whUserOrganizationsUrl = URL "https://api.github.com/users/baxterthehacker/orgs" + , whUserReposUrl = URL "https://api.github.com/users/baxterthehacker/repos" + , whUserEventsUrl = URL "https://api.github.com/users/baxterthehacker/events{/privacy}" + , whUserReceivedEventsUrl = URL "https://api.github.com/users/baxterthehacker/received_events" + , whUserType = OwnerUser + , whUserIsAdminOfSite = False + } + , whCommitCommitter = + Right HookUser + { whUserLogin = "baxterthehacker" + , whUserId = 6752317 + , whUserNodeId = "MDg6Q2hlY2tSdW4xMjg2MjAyMjg=" + , whUserAvatarUrl = URL "https://avatars.githubusercontent.com/u/6752317?v=3" + , whUserGravatarId = URL "" + , whUserUrl = URL "https://api.github.com/users/baxterthehacker" + , whUserHtmlUrl = URL "https://github.com/baxterthehacker" + , whUserFollowersUrl = URL "https://api.github.com/users/baxterthehacker/followers" + , whUserFollowingUrl = URL "https://api.github.com/users/baxterthehacker/following{/other_user}" + , whUserGistsUrl = URL "https://api.github.com/users/baxterthehacker/gists{/gist_id}" + , whUserStarredUrl = URL "https://api.github.com/users/baxterthehacker/starred{/owner}{/repo}" + , whUserSubscriptionsUrl = URL "https://api.github.com/users/baxterthehacker/subscriptions" + , whUserOrganizationsUrl = URL "https://api.github.com/users/baxterthehacker/orgs" + , whUserReposUrl = URL "https://api.github.com/users/baxterthehacker/repos" + , whUserEventsUrl = URL "https://api.github.com/users/baxterthehacker/events{/privacy}" + , whUserReceivedEventsUrl = URL "https://api.github.com/users/baxterthehacker/received_events" + , whUserType = OwnerUser + , whUserIsAdminOfSite = False + } + } + , evStatusCreatedAt = read "2015-05-05 23:40:39Z" + , evStatusUpdatedAt = read "2015-05-05 23:40:39Z" + , evStatusRepo = + HookRepository + { whRepoId = 35129377 + , whRepoNodeId = "MDg6Q2hlY2tSdW4xMjg2MjAyMjg=" + , whRepoName = "public-repo" + , whRepoFullName = "baxterthehacker/public-repo" + , whRepoOwner = + Right HookUser + { whUserLogin = "baxterthehacker" + , whUserId = 6752317 + , whUserNodeId = "MDg6Q2hlY2tSdW4xMjg2MjAyMjg=" + , whUserAvatarUrl = URL "https://avatars.githubusercontent.com/u/6752317?v=3" + , whUserGravatarId = URL "" + , whUserUrl = URL "https://api.github.com/users/baxterthehacker" + , whUserHtmlUrl = URL "https://github.com/baxterthehacker" + , whUserFollowersUrl = URL "https://api.github.com/users/baxterthehacker/followers" + , whUserFollowingUrl = URL "https://api.github.com/users/baxterthehacker/following{/other_user}" + , whUserGistsUrl = URL "https://api.github.com/users/baxterthehacker/gists{/gist_id}" + , whUserStarredUrl = URL "https://api.github.com/users/baxterthehacker/starred{/owner}{/repo}" + , whUserSubscriptionsUrl = URL "https://api.github.com/users/baxterthehacker/subscriptions" + , whUserOrganizationsUrl = URL "https://api.github.com/users/baxterthehacker/orgs" + , whUserReposUrl = URL "https://api.github.com/users/baxterthehacker/repos" + , whUserEventsUrl = URL "https://api.github.com/users/baxterthehacker/events{/privacy}" + , whUserReceivedEventsUrl = URL "https://api.github.com/users/baxterthehacker/received_events" + , whUserType = OwnerUser + , whUserIsAdminOfSite = False + } + , whRepoIsPrivate = False + , whRepoHtmlUrl = URL "https://github.com/baxterthehacker/public-repo" + , whRepoDescription = "" + , whRepoIsAFork = False + , whRepoUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo" + , whRepoForksUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/forks" + , whRepoKeysUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/keys{/key_id}" + , whRepoCollaboratorsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/collaborators{/collaborator}" + , whRepoTeamsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/teams" + , whRepoHooksUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/hooks" + , whRepoIssueEventsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/issues/events{/number}" + , whRepoEventsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/events" + , whRepoAssigneesUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/assignees{/user}" + , whRepoBranchesUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/branches{/branch}" + , whRepoTagsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/tags" + , whRepoBlobsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/git/blobs{/sha}" + , whRepoGitTagsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/git/tags{/sha}" + , whRepoGitRefsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/git/refs{/sha}" + , whRepoTreesUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/git/trees{/sha}" + , whRepoStatusesUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/statuses/{sha}" + , whRepoLanguagesUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/languages" + , whRepoStargazersUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/stargazers" + , whRepoContributorsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/contributors" + , whRepoSubscribersUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/subscribers" + , whRepoSubscriptionUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/subscription" + , whRepoCommitsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/commits{/sha}" + , whRepoGitCommitsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/git/commits{/sha}" + , whRepoCommentsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/comments{/number}" + , whRepoIssueCommentsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/issues/comments{/number}" + , whRepoContentsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/contents/{+path}" + , whRepoCompareUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/compare/{base}...{head}" + , whRepoMergesUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/merges" + , whRepoArchiveUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/{archive_format}{/ref}" + , whRepoDownloadsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/downloads" + , whRepoIssuesUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/issues{/number}" + , whRepoPullsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/pulls{/number}" + , whRepoMilestonesUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/milestones{/number}" + , whRepoNotificationsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/notifications{?since,all,participating}" + , whRepoLabelsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/labels{/name}" + , whRepoReleasesUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/releases{/id}" + , whRepoCreatedAt = read "2015-05-05 23:40:12Z" + , whRepoUpdatedAt = read "2015-05-05 23:40:30Z" + , whRepoPushedAt = read "2015-05-05 23:40:39Z" + , whRepoGitUrl = URL "git://github.com/baxterthehacker/public-repo.git" + , whRepoSshUrl = URL "git@github.com:baxterthehacker/public-repo.git" + , whRepoCloneUrl = URL "https://github.com/baxterthehacker/public-repo.git" + , whRepoSvnUrl = URL "https://github.com/baxterthehacker/public-repo" + , whRepoHomepage = Nothing + , whRepoSize = 0 + , whRepoStargazersCount = 0 + , whRepoWatchersCount = 0 + , whRepoLanguage = Nothing + , whRepoHasIssues = True + , whRepoHasDownloads = True + , whRepoHasWiki = True + , whRepoHasPages = True + , whRepoForkCount = 0 + , whRepoMirrorUrl = Nothing + , whRepoOpenIssuesCount = 2 + , whRepoDefaultBranchName = "master" + } + , evStatusSender = + HookUser + { whUserLogin = "baxterthehacker" + , whUserId = 6752317 + , whUserNodeId = "MDg6Q2hlY2tSdW4xMjg2MjAyMjg=" + , whUserAvatarUrl = URL "https://avatars.githubusercontent.com/u/6752317?v=3" + , whUserGravatarId = URL "" + , whUserUrl = URL "https://api.github.com/users/baxterthehacker" + , whUserHtmlUrl = URL "https://github.com/baxterthehacker" + , whUserFollowersUrl = URL "https://api.github.com/users/baxterthehacker/followers" + , whUserFollowingUrl = URL "https://api.github.com/users/baxterthehacker/following{/other_user}" + , whUserGistsUrl = URL "https://api.github.com/users/baxterthehacker/gists{/gist_id}" + , whUserStarredUrl = URL "https://api.github.com/users/baxterthehacker/starred{/owner}{/repo}" + , whUserSubscriptionsUrl = URL "https://api.github.com/users/baxterthehacker/subscriptions" + , whUserOrganizationsUrl = URL "https://api.github.com/users/baxterthehacker/orgs" + , whUserReposUrl = URL "https://api.github.com/users/baxterthehacker/repos" + , whUserEventsUrl = URL "https://api.github.com/users/baxterthehacker/events{/privacy}" + , whUserReceivedEventsUrl = URL "https://api.github.com/users/baxterthehacker/received_events" + , whUserType = OwnerUser + , whUserIsAdminOfSite = False + } + } + +teamAddEventFixture :: TeamAddEvent +teamAddEventFixture = TeamAddEvent + { evTeamAddTarget = + Just + HookTeam + { whTeamName = "github" + , whTeamId = 836012 + , whTeamNodeId = "MDg6Q2hlY2tSdW4xMjg2MjAyMjg=" + , whTeamSlug = "github" + , whTeamPermission = "pull" + , whTeamUrl = URL "https://api.github.com/teams/836012" + , whTeamMembersUrl = URL "https://api.github.com/teams/836012/members{/member}" + , whTeamRepositoriesUrl = URL "https://api.github.com/teams/836012/repos" + } + , evTeamAddRepo = + HookRepository + { whRepoId = 35129393 + , whRepoNodeId = "MDg6Q2hlY2tSdW4xMjg2MjAyMjg=" + , whRepoName = "public-repo" + , whRepoFullName = "baxterandthehackers/public-repo" + , whRepoOwner = + Right HookUser + { whUserLogin = "baxterandthehackers" + , whUserId = 7649605 + , whUserNodeId = "MDg6Q2hlY2tSdW4xMjg2MjAyMjg=" + , whUserAvatarUrl = URL "https://avatars.githubusercontent.com/u/7649605?v=3" + , whUserGravatarId = URL "" + , whUserUrl = URL "https://api.github.com/users/baxterandthehackers" + , whUserHtmlUrl = URL "https://github.com/baxterandthehackers" + , whUserFollowersUrl = URL "https://api.github.com/users/baxterandthehackers/followers" + , whUserFollowingUrl = URL "https://api.github.com/users/baxterandthehackers/following{/other_user}" + , whUserGistsUrl = URL "https://api.github.com/users/baxterandthehackers/gists{/gist_id}" + , whUserStarredUrl = URL "https://api.github.com/users/baxterandthehackers/starred{/owner}{/repo}" + , whUserSubscriptionsUrl = URL "https://api.github.com/users/baxterandthehackers/subscriptions" + , whUserOrganizationsUrl = URL "https://api.github.com/users/baxterandthehackers/orgs" + , whUserReposUrl = URL "https://api.github.com/users/baxterandthehackers/repos" + , whUserEventsUrl = URL "https://api.github.com/users/baxterandthehackers/events{/privacy}" + , whUserReceivedEventsUrl = URL "https://api.github.com/users/baxterandthehackers/received_events" + , whUserType = OwnerOrganization + , whUserIsAdminOfSite = False + } + , whRepoIsPrivate = False + , whRepoHtmlUrl = URL "https://github.com/baxterandthehackers/public-repo" + , whRepoDescription = "" + , whRepoIsAFork = True + , whRepoUrl = URL "https://api.github.com/repos/baxterandthehackers/public-repo" + , whRepoForksUrl = URL "https://api.github.com/repos/baxterandthehackers/public-repo/forks" + , whRepoKeysUrl = URL "https://api.github.com/repos/baxterandthehackers/public-repo/keys{/key_id}" + , whRepoCollaboratorsUrl = URL "https://api.github.com/repos/baxterandthehackers/public-repo/collaborators{/collaborator}" + , whRepoTeamsUrl = URL "https://api.github.com/repos/baxterandthehackers/public-repo/teams" + , whRepoHooksUrl = URL "https://api.github.com/repos/baxterandthehackers/public-repo/hooks" + , whRepoIssueEventsUrl = URL "https://api.github.com/repos/baxterandthehackers/public-repo/issues/events{/number}" + , whRepoEventsUrl = URL "https://api.github.com/repos/baxterandthehackers/public-repo/events" + , whRepoAssigneesUrl = URL "https://api.github.com/repos/baxterandthehackers/public-repo/assignees{/user}" + , whRepoBranchesUrl = URL "https://api.github.com/repos/baxterandthehackers/public-repo/branches{/branch}" + , whRepoTagsUrl = URL "https://api.github.com/repos/baxterandthehackers/public-repo/tags" + , whRepoBlobsUrl = URL "https://api.github.com/repos/baxterandthehackers/public-repo/git/blobs{/sha}" + , whRepoGitTagsUrl = URL "https://api.github.com/repos/baxterandthehackers/public-repo/git/tags{/sha}" + , whRepoGitRefsUrl = URL "https://api.github.com/repos/baxterandthehackers/public-repo/git/refs{/sha}" + , whRepoTreesUrl = URL "https://api.github.com/repos/baxterandthehackers/public-repo/git/trees{/sha}" + , whRepoStatusesUrl = URL "https://api.github.com/repos/baxterandthehackers/public-repo/statuses/{sha}" + , whRepoLanguagesUrl = URL "https://api.github.com/repos/baxterandthehackers/public-repo/languages" + , whRepoStargazersUrl = URL "https://api.github.com/repos/baxterandthehackers/public-repo/stargazers" + , whRepoContributorsUrl = URL "https://api.github.com/repos/baxterandthehackers/public-repo/contributors" + , whRepoSubscribersUrl = URL "https://api.github.com/repos/baxterandthehackers/public-repo/subscribers" + , whRepoSubscriptionUrl = URL "https://api.github.com/repos/baxterandthehackers/public-repo/subscription" + , whRepoCommitsUrl = URL "https://api.github.com/repos/baxterandthehackers/public-repo/commits{/sha}" + , whRepoGitCommitsUrl = URL "https://api.github.com/repos/baxterandthehackers/public-repo/git/commits{/sha}" + , whRepoCommentsUrl = URL "https://api.github.com/repos/baxterandthehackers/public-repo/comments{/number}" + , whRepoIssueCommentsUrl = URL "https://api.github.com/repos/baxterandthehackers/public-repo/issues/comments{/number}" + , whRepoContentsUrl = URL "https://api.github.com/repos/baxterandthehackers/public-repo/contents/{+path}" + , whRepoCompareUrl = URL "https://api.github.com/repos/baxterandthehackers/public-repo/compare/{base}...{head}" + , whRepoMergesUrl = URL "https://api.github.com/repos/baxterandthehackers/public-repo/merges" + , whRepoArchiveUrl = URL "https://api.github.com/repos/baxterandthehackers/public-repo/{archive_format}{/ref}" + , whRepoDownloadsUrl = URL "https://api.github.com/repos/baxterandthehackers/public-repo/downloads" + , whRepoIssuesUrl = URL "https://api.github.com/repos/baxterandthehackers/public-repo/issues{/number}" + , whRepoPullsUrl = URL "https://api.github.com/repos/baxterandthehackers/public-repo/pulls{/number}" + , whRepoMilestonesUrl = URL "https://api.github.com/repos/baxterandthehackers/public-repo/milestones{/number}" + , whRepoNotificationsUrl = URL "https://api.github.com/repos/baxterandthehackers/public-repo/notifications{?since,all,participating}" + , whRepoLabelsUrl = URL "https://api.github.com/repos/baxterandthehackers/public-repo/labels{/name}" + , whRepoReleasesUrl = URL "https://api.github.com/repos/baxterandthehackers/public-repo/releases{/id}" + , whRepoCreatedAt = read "2015-05-05 23:40:30Z" + , whRepoUpdatedAt = read "2015-05-05 23:40:30Z" + , whRepoPushedAt = read "2015-05-05 23:40:27Z" + , whRepoGitUrl = URL "git://github.com/baxterandthehackers/public-repo.git" + , whRepoSshUrl = URL "git@github.com:baxterandthehackers/public-repo.git" + , whRepoCloneUrl = URL "https://github.com/baxterandthehackers/public-repo.git" + , whRepoSvnUrl = URL "https://github.com/baxterandthehackers/public-repo" + , whRepoHomepage = Nothing + , whRepoSize = 0 + , whRepoStargazersCount = 0 + , whRepoWatchersCount = 0 + , whRepoLanguage = Nothing + , whRepoHasIssues = False + , whRepoHasDownloads = True + , whRepoHasWiki = True + , whRepoHasPages = True + , whRepoForkCount = 0 + , whRepoMirrorUrl = Nothing + , whRepoOpenIssuesCount = 0 + , whRepoDefaultBranchName = "master" + } + , evTeamAddOrg = + HookOrganization + { whOrgLogin = "baxterandthehackers" + , whOrgId = 7649605 + , whOrgNodeId = "MDg6Q2hlY2tSdW4xMjg2MjAyMjg=" + , whOrgUrl = URL "https://api.github.com/orgs/baxterandthehackers" + , whOrgReposUrl = URL "https://api.github.com/orgs/baxterandthehackers/repos" + , whOrgEventsUrl = URL "https://api.github.com/orgs/baxterandthehackers/events" + , whOrgHooksUrl = Nothing + , whOrgIssuesUrl = Nothing + , whOrgMembersUrl = URL "https://api.github.com/orgs/baxterandthehackers/members{/member}" + , whOrgPublicMembersUrl = URL "https://api.github.com/orgs/baxterandthehackers/public_members{/member}" + , whOrgAvatarUrl = URL "https://avatars.githubusercontent.com/u/7649605?v=3" + , whOrgDescription = T.empty + } + , evTeamAddSender = + HookUser + { whUserLogin = "baxterandthehackers" + , whUserId = 7649605 + , whUserNodeId = "MDg6Q2hlY2tSdW4xMjg2MjAyMjg=" + , whUserAvatarUrl = URL "https://avatars.githubusercontent.com/u/7649605?v=3" + , whUserGravatarId = URL "" + , whUserUrl = URL "https://api.github.com/users/baxterandthehackers" + , whUserHtmlUrl = URL "https://github.com/baxterandthehackers" + , whUserFollowersUrl = URL "https://api.github.com/users/baxterandthehackers/followers" + , whUserFollowingUrl = URL "https://api.github.com/users/baxterandthehackers/following{/other_user}" + , whUserGistsUrl = URL "https://api.github.com/users/baxterandthehackers/gists{/gist_id}" + , whUserStarredUrl = URL "https://api.github.com/users/baxterandthehackers/starred{/owner}{/repo}" + , whUserSubscriptionsUrl = URL "https://api.github.com/users/baxterandthehackers/subscriptions" + , whUserOrganizationsUrl = URL "https://api.github.com/users/baxterandthehackers/orgs" + , whUserReposUrl = URL "https://api.github.com/users/baxterandthehackers/repos" + , whUserEventsUrl = URL "https://api.github.com/users/baxterandthehackers/events{/privacy}" + , whUserReceivedEventsUrl = URL "https://api.github.com/users/baxterandthehackers/received_events" + , whUserType = OwnerOrganization + , whUserIsAdminOfSite = False + } + } + +teamEventFixture :: TeamEvent +teamEventFixture = TeamEvent + { evTeamAction = TeamCreatedAction + , evTeamTarget = + HookTeam + { whTeamName = "team baxter" + , whTeamId = 2175394 + , whTeamNodeId = "MDg6Q2hlY2tSdW4xMjg2MjAyMjg=" + , whTeamSlug = "team-baxter" + , whTeamPermission = "pull" + , whTeamUrl = URL "https:/api.github.com/teams/2175394" + , whTeamMembersUrl = URL "https:/api.github.com/teams/2175394/members{/member}" + , whTeamRepositoriesUrl = URL "https:/api.github.com/teams/2175394/repos" + } + , evTeamOrganization = + HookOrganization + { whOrgLogin = "baxterandthehackers" + , whOrgId = 4312013 + , whOrgNodeId = "MDg6Q2hlY2tSdW4xMjg2MjAyMjg=" + , whOrgUrl = URL "https://api.github.com/orgs/baxterandthehackers" + , whOrgReposUrl = URL "https://api.github.com/orgs/baxterandthehackers/repos" + , whOrgEventsUrl = URL "https://api.github.com/orgs/baxterandthehackers/events" + , whOrgHooksUrl = Just $ URL "https://api.github.com/orgs/baxterandthehackers/hooks" + , whOrgIssuesUrl = Just $ URL "https://api.github.com/orgs/baxterandthehackers/issues" + , whOrgMembersUrl = URL "https://api.github.com/orgs/baxterandthehackers/members{/member}" + , whOrgPublicMembersUrl = URL "https://api.github.com/orgs/baxterandthehackers/public_members{/member}" + , whOrgAvatarUrl = URL "https://avatars.githubusercontent.com/u/4312013?v=3" + , whOrgDescription = T.empty + } + , evTeamSender = + HookUser + { whUserLogin = "baxterthehacker" + , whUserId = 6752317 + , whUserNodeId = "MDg6Q2hlY2tSdW4xMjg2MjAyMjg=" + , whUserAvatarUrl = URL "https://avatars.githubusercontent.com/u/6752317?v=3" + , whUserGravatarId = URL "" + , whUserUrl = URL "https://api.github.com/users/baxterthehacker" + , whUserHtmlUrl = URL "https://github.com/baxterthehacker" + , whUserFollowersUrl = URL "https://api.github.com/users/baxterthehacker/followers" + , whUserFollowingUrl = URL "https://api.github.com/users/baxterthehacker/following{/other_user}" + , whUserGistsUrl = URL "https://api.github.com/users/baxterthehacker/gists{/gist_id}" + , whUserStarredUrl = URL "https://api.github.com/users/baxterthehacker/starred{/owner}{/repo}" + , whUserSubscriptionsUrl = URL "https://api.github.com/users/baxterthehacker/subscriptions" + , whUserOrganizationsUrl = URL "https://api.github.com/users/baxterthehacker/orgs" + , whUserReposUrl = URL "https://api.github.com/users/baxterthehacker/repos" + , whUserEventsUrl = URL "https://api.github.com/users/baxterthehacker/events{/privacy}" + , whUserReceivedEventsUrl = URL "https://api.github.com/users/baxterthehacker/received_events" + , whUserType = OwnerUser + , whUserIsAdminOfSite = False + } + } + +watchEventFixture :: WatchEvent +watchEventFixture = WatchEvent + { evWatchAction = WatchStartedAction + , evWatchRepo = + HookRepository + { whRepoId = 35129377 + , whRepoNodeId = "MDg6Q2hlY2tSdW4xMjg2MjAyMjg=" + , whRepoName = "public-repo" + , whRepoFullName = "baxterthehacker/public-repo" + , whRepoOwner = + Right HookUser + { whUserLogin = "baxterthehacker" + , whUserId = 6752317 + , whUserNodeId = "MDg6Q2hlY2tSdW4xMjg2MjAyMjg=" + , whUserAvatarUrl = URL "https://avatars.githubusercontent.com/u/6752317?v=3" + , whUserGravatarId = URL "" + , whUserUrl = URL "https://api.github.com/users/baxterthehacker" + , whUserHtmlUrl = URL "https://github.com/baxterthehacker" + , whUserFollowersUrl = URL "https://api.github.com/users/baxterthehacker/followers" + , whUserFollowingUrl = URL "https://api.github.com/users/baxterthehacker/following{/other_user}" + , whUserGistsUrl = URL "https://api.github.com/users/baxterthehacker/gists{/gist_id}" + , whUserStarredUrl = URL "https://api.github.com/users/baxterthehacker/starred{/owner}{/repo}" + , whUserSubscriptionsUrl = URL "https://api.github.com/users/baxterthehacker/subscriptions" + , whUserOrganizationsUrl = URL "https://api.github.com/users/baxterthehacker/orgs" + , whUserReposUrl = URL "https://api.github.com/users/baxterthehacker/repos" + , whUserEventsUrl = URL "https://api.github.com/users/baxterthehacker/events{/privacy}" + , whUserReceivedEventsUrl = URL "https://api.github.com/users/baxterthehacker/received_events" + , whUserType = OwnerUser + , whUserIsAdminOfSite = False + } + , whRepoIsPrivate = False + , whRepoHtmlUrl = URL "https://github.com/baxterthehacker/public-repo" + , whRepoDescription = "" + , whRepoIsAFork = False + , whRepoUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo" + , whRepoForksUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/forks" + , whRepoKeysUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/keys{/key_id}" + , whRepoCollaboratorsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/collaborators{/collaborator}" + , whRepoTeamsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/teams" + , whRepoHooksUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/hooks" + , whRepoIssueEventsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/issues/events{/number}" + , whRepoEventsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/events" + , whRepoAssigneesUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/assignees{/user}" + , whRepoBranchesUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/branches{/branch}" + , whRepoTagsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/tags" + , whRepoBlobsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/git/blobs{/sha}" + , whRepoGitTagsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/git/tags{/sha}" + , whRepoGitRefsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/git/refs{/sha}" + , whRepoTreesUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/git/trees{/sha}" + , whRepoStatusesUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/statuses/{sha}" + , whRepoLanguagesUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/languages" + , whRepoStargazersUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/stargazers" + , whRepoContributorsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/contributors" + , whRepoSubscribersUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/subscribers" + , whRepoSubscriptionUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/subscription" + , whRepoCommitsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/commits{/sha}" + , whRepoGitCommitsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/git/commits{/sha}" + , whRepoCommentsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/comments{/number}" + , whRepoIssueCommentsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/issues/comments{/number}" + , whRepoContentsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/contents/{+path}" + , whRepoCompareUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/compare/{base}...{head}" + , whRepoMergesUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/merges" + , whRepoArchiveUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/{archive_format}{/ref}" + , whRepoDownloadsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/downloads" + , whRepoIssuesUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/issues{/number}" + , whRepoPullsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/pulls{/number}" + , whRepoMilestonesUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/milestones{/number}" + , whRepoNotificationsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/notifications{?since,all,participating}" + , whRepoLabelsUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/labels{/name}" + , whRepoReleasesUrl = URL "https://api.github.com/repos/baxterthehacker/public-repo/releases{/id}" + , whRepoCreatedAt = read "2015-05-05 23:40:12Z" + , whRepoUpdatedAt = read "2015-05-05 23:40:30Z" + , whRepoPushedAt = read "2015-05-05 23:40:27Z" + , whRepoGitUrl = URL "git://github.com/baxterthehacker/public-repo.git" + , whRepoSshUrl = URL "git@github.com:baxterthehacker/public-repo.git" + , whRepoCloneUrl = URL "https://github.com/baxterthehacker/public-repo.git" + , whRepoSvnUrl = URL "https://github.com/baxterthehacker/public-repo" + , whRepoHomepage = Nothing + , whRepoSize = 0 + , whRepoStargazersCount = 0 + , whRepoWatchersCount = 0 + , whRepoLanguage = Nothing + , whRepoHasIssues = True + , whRepoHasDownloads = True + , whRepoHasWiki = True + , whRepoHasPages = True + , whRepoForkCount = 0 + , whRepoMirrorUrl = Nothing + , whRepoOpenIssuesCount = 2 + , whRepoDefaultBranchName = "master" + } + , evWatchSender = + HookUser + { whUserLogin = "baxterthehacker" + , whUserId = 6752317 + , whUserNodeId = "MDg6Q2hlY2tSdW4xMjg2MjAyMjg=" + , whUserAvatarUrl = URL "https://avatars.githubusercontent.com/u/6752317?v=3" + , whUserGravatarId = URL "" + , whUserUrl = URL "https://api.github.com/users/baxterthehacker" + , whUserHtmlUrl = URL "https://github.com/baxterthehacker" + , whUserFollowersUrl = URL "https://api.github.com/users/baxterthehacker/followers" + , whUserFollowingUrl = URL "https://api.github.com/users/baxterthehacker/following{/other_user}" + , whUserGistsUrl = URL "https://api.github.com/users/baxterthehacker/gists{/gist_id}" + , whUserStarredUrl = URL "https://api.github.com/users/baxterthehacker/starred{/owner}{/repo}" + , whUserSubscriptionsUrl = URL "https://api.github.com/users/baxterthehacker/subscriptions" + , whUserOrganizationsUrl = URL "https://api.github.com/users/baxterthehacker/orgs" + , whUserReposUrl = URL "https://api.github.com/users/baxterthehacker/repos" + , whUserEventsUrl = URL "https://api.github.com/users/baxterthehacker/events{/privacy}" + , whUserReceivedEventsUrl = URL "https://api.github.com/users/baxterthehacker/received_events" + , whUserType = OwnerUser + , whUserIsAdminOfSite = False + } + }
spec/Spec.hs view
@@ -1,1 +1,1 @@-{-# OPTIONS_GHC -F -pgmF hspec-discover #-}+{-# OPTIONS_GHC -F -pgmF hspec-discover #-}
src/GitHub/Data/Webhooks/Events.hs view
@@ -1,1556 +1,1619 @@-{-# LANGUAGE Trustworthy #-}-{-|-Module : Github.Data.Webhooks.Events-Copyright : (c) ONROCK, 2018-License : MIT-Maintainer : Kyle Van Berendonck <foss@onrock.online>--This module contains types that represent GitHub webhook's events.--}-module GitHub.Data.Webhooks.Events- ( EventHasSender(..)- , EventHasRepo(..)- --- , CheckSuiteEventAction(..)- , CheckSuiteEvent(..)- --- , CheckRunEventAction(..)- , CheckRunEvent(..)- --- , CommitCommentEvent(..)- , CommitCommentEventAction(..)- --- , CreateEvent(..)- --- , DeleteEvent(..)- --- , DeploymentEvent(..)- --- , DeploymentStatusEvent(..)- -- Deprecated events- , DownloadEvent(..)- , FollowEvent(..)- , ForkEvent(..)- , ForkApplyEvent(..)- , GistEvent(..)- --- , GollumEvent(..)- --- , InstallationEvent(..)- , InstallationEventAction(..)- --- , InstallationRepositoriesEvent(..)- , InstallationRepoEventAction(..)- --- , IssueCommentEvent(..)- , IssueCommentEventAction(..)- --- , IssuesEvent(..)- , IssuesEventAction(..)- --- , LabelEvent(..)- , LabelEventAction(..)- --- , MemberEvent(..)- , MemberEventAction(..)- --- , MembershipEvent(..)- , MembershipEventAction(..)- --- , MilestoneEvent(..)- , MilestoneEventAction(..)- --- , OrganizationEvent(..)- , OrganizationEventAction(..)- --- , OrgBlockEvent(..)- , OrgBlockEventAction(..)- --- , PageBuildEvent(..)- --- , ProjectCardEvent(..)- , ProjectCardEventAction(..)- --- , ProjectColumnEvent(..)- , ProjectColumnEventAction(..)- --- , ProjectEvent(..)- , ProjectEventAction(..)- --- , PublicEvent(..)- --- , PullRequestEvent(..)- , PullRequestEventAction(..)- --- , PullRequestReviewEvent(..)- , PullRequestReviewEventAction(..)- --- , PullRequestReviewCommentEvent(..)- , PullRequestReviewCommentEventAction(..)- --- , PushEvent(..)- --- , ReleaseEvent(..)- , ReleaseEventAction(..)- --- , RepositoryEvent(..)- , RepositoryEventAction(..)- --- , StatusEvent(..)- , StatusEventState(..)- --- , TeamEvent(..)- , TeamEventAction(..)- --- , TeamAddEvent(..)- --- , WatchEvent(..)- , WatchEventAction(..)- ) where--import Data.Aeson (FromJSON(..), withObject, withText, (.:), (.:?), (.!=))-import Control.Applicative ((<*>), pure)-import Control.DeepSeq (NFData(..))-import Control.DeepSeq.Generics (genericRnf)-import Data.Data (Data, Typeable)-import Data.Functor ((<$>))-import Data.Monoid (mempty)-import Data.Time (UTCTime)-import Data.Text (Text)-import Data.Vector (Vector)-import GHC.Generics (Generic)--import GitHub.Data.Webhooks.Payload---- | Represents an event that contains its sender information.-class EventHasSender eventKind where- -- | Provides the sender context of a Webhook event.- senderOfEvent :: eventKind -> HookUser---- | Represents an event that contains its repository information.-class EventHasRepo eventKind where- -- | Provides the repository context of a Webhook event.- repoForEvent :: eventKind -> HookRepository---- | Represents the "action" field in the--- 'CheckSuiteEvent' payload.-data CheckSuiteEventAction- -- | Decodes from "completed"- = CheckSuiteEventActionCompleted- -- | Decodes from "requested"- | CheckSuiteEventActionRequested- -- | Decodes from "rerequested"- | CheckSuiteEventActionRerequested- -- | The result of decoding an unknown check suite event action type- | CheckSuiteEventActionOther !Text- deriving (Eq, Ord, Show, Generic, Typeable, Data)--instance NFData CheckSuiteEventAction where rnf = genericRnf--instance FromJSON CheckSuiteEventAction where- parseJSON = withText "Check suite event action" $ \t ->- case t of- "completed" -> pure CheckSuiteEventActionCompleted- "requested" -> pure CheckSuiteEventActionRequested- "rerequested" -> pure CheckSuiteEventActionRerequested- _ -> pure (CheckSuiteEventActionOther t)---- | Triggered when a check suite is completed, requested, or rerequested.--- See <https://developer.github.com/v3/activity/events/types/#checksuiteevent>.-data CheckSuiteEvent = CheckSuiteEvent- { evCheckSuiteAction :: !CheckSuiteEventAction- , evCheckSuiteCheckSuite :: !HookCheckSuite- , evCheckSuiteRepository :: !HookRepository- , evCheckSuiteOrganization :: !(Maybe HookOrganization)- , evCheckSuiteSender :: !HookUser- , evCheckSuiteInstallation :: !(Maybe HookChecksInstallation)- }- deriving (Eq, Show, Typeable, Data, Generic)--instance EventHasSender CheckSuiteEvent where senderOfEvent = evCheckSuiteSender-instance EventHasRepo CheckSuiteEvent where repoForEvent = evCheckSuiteRepository-instance NFData CheckSuiteEvent where rnf = genericRnf---- | Represents the "action" field in the--- 'CheckRunEvent' payload.-data CheckRunEventAction- -- | Decodes from "created"- = CheckRunEventActionCreated- -- | Decodes from "completed"- | CheckRunEventActionCompleted- -- | Decodes from "rerequested"- | CheckRunEventActionRerequested- -- | Decodes from "requested_action"- | CheckRunEventActionRequestedAction- -- | The result of decoding an unknown check run event action type- | CheckRunEventActionOther !Text- deriving (Eq, Ord, Show, Generic, Typeable, Data)--instance NFData CheckRunEventAction where rnf = genericRnf--instance FromJSON CheckRunEventAction where- parseJSON = withText "Check run event action" $ \t ->- case t of- "created" -> pure CheckRunEventActionCreated- "completed" -> pure CheckRunEventActionCompleted- "rerequested" -> pure CheckRunEventActionRerequested- "requested_action" -> pure CheckRunEventActionRequestedAction- _ -> pure (CheckRunEventActionOther t)---- | Triggered when a check run is created, rerequested, completed, or has a requested_action.--- See <https://developer.github.com/v3/activity/events/types/#checkrunevent>.-data CheckRunEvent = CheckRunEvent- { evCheckRunAction :: !CheckRunEventAction- , evCheckRunCheckRun :: !HookCheckRun- , evCheckRunRequestedAction :: !(Maybe HookCheckRunRequestedAction)- , evCheckRunRepository :: !HookRepository- , evCheckRunOrganization :: !(Maybe HookOrganization)- , evCheckRunSender :: !HookUser- , evCheckRunInstallation :: !(Maybe HookChecksInstallation)- }- deriving (Eq, Show, Typeable, Data, Generic)--instance EventHasSender CheckRunEvent where senderOfEvent = evCheckRunSender-instance EventHasRepo CheckRunEvent where repoForEvent = evCheckRunRepository-instance NFData CheckRunEvent where rnf = genericRnf---- | Represents the "action" field in the--- 'CommitCommentEvent' payload.-data CommitCommentEventAction- -- | Decodes from "created"- = CommitCommentActionCreated- -- | The result of decoding an unknown commit comment event action type- | CommitCommentActionOther !Text- deriving (Eq, Ord, Show, Generic, Typeable, Data)--instance NFData CommitCommentEventAction where rnf = genericRnf--instance FromJSON CommitCommentEventAction where- parseJSON = withText "Commit comment event action" $ \t ->- case t of- "created" -> pure CommitCommentActionCreated- _ -> pure (CommitCommentActionOther t)---- | Triggered when a commit comment is created.--- See <https://developer.github.com/v3/activity/events/types/#commitcommentevent>.-data CommitCommentEvent = CommitCommentEvent- { evCommitCommentAction :: !CommitCommentEventAction- , evCommitCommentPayload :: !HookCommitComment- , evCommitCommentRepo :: !HookRepository- , evCommitCommentSender :: !HookUser- }- deriving (Eq, Show, Typeable, Data, Generic)--instance EventHasSender CommitCommentEvent where senderOfEvent = evCommitCommentSender-instance EventHasRepo CommitCommentEvent where repoForEvent = evCommitCommentRepo-instance NFData CommitCommentEvent where rnf = genericRnf----- | Represents a created repository, branch, or tag.--- Note: webhooks will not receive this event for created repositories.--- Additionally, webhooks will not receive this event for tags if more than three tags are pushed at once.--- See <https://developer.github.com/v3/activity/events/types/#createevent>.-data CreateEvent = CreateEvent- { evCreateRef :: !Text- , evCreateRefType :: !Text- , evCreateMasterBranch :: !Text- , evCreateDescription :: !Text- , evCreatePusherType :: !OwnerType- , evCreateRepo :: !HookRepository- , evCreateSender :: !HookUser- }- deriving (Eq, Show, Typeable, Data, Generic)--instance EventHasSender CreateEvent where senderOfEvent = evCreateSender-instance EventHasRepo CreateEvent where repoForEvent = evCreateRepo-instance NFData CreateEvent where rnf = genericRnf----- | Represents a deleted branch or tag.--- Note: webhooks will not receive this event for tags if more than three tags are deleted at once.--- See <https://developer.github.com/v3/activity/events/types/#deleteevent>.-data DeleteEvent = DeleteEvent- { evDeleteRef :: !Text- , evDeleteRefType :: !Text- , evDeletePusherType :: !OwnerType- , evDeleteRepo :: !HookRepository- , evDeleteSender :: !HookUser- }- deriving (Eq, Show, Typeable, Data, Generic)--instance EventHasSender DeleteEvent where senderOfEvent = evDeleteSender-instance EventHasRepo DeleteEvent where repoForEvent = evDeleteRepo-instance NFData DeleteEvent where rnf = genericRnf----- | Represents a deployment.--- Events of this type are not visible in timelines. These events are only used to trigger hooks.--- See <https://developer.github.com/v3/activity/events/types/#deploymentevent>.-data DeploymentEvent = DeploymentEvent- { evDeploymentInfo :: !HookDeployment- , evDeploymentRepo :: !HookRepository- , evDeploymentSender :: !HookUser- }- deriving (Eq, Show, Typeable, Data, Generic)--instance EventHasSender DeploymentEvent where senderOfEvent = evDeploymentSender-instance EventHasRepo DeploymentEvent where repoForEvent = evDeploymentRepo-instance NFData DeploymentEvent where rnf = genericRnf----- | Represents a deployment status.--- Events of this type are not visible in timelines. These events are only used to trigger hooks.--- See <https://developer.github.com/v3/activity/events/types/#deploymentstatusevent>.-data DeploymentStatusEvent = DeploymentStatusEvent- { evDeplStatusInfo :: !HookDeploymentStatus- , evDeplStatusDeployment :: !HookDeployment- , evDeplStatusRepo :: !HookRepository- , evDeplStatusSender :: !HookUser- }- deriving (Eq, Show, Typeable, Data, Generic)--instance EventHasSender DeploymentStatusEvent where senderOfEvent = evDeplStatusSender-instance EventHasRepo DeploymentStatusEvent where repoForEvent = evDeplStatusRepo-instance NFData DeploymentStatusEvent where rnf = genericRnf----- | Triggered when a new download is created.--- Events of this kind are no longer delivered.--- See <https://developer.github.com/v3/activity/events/types/#downloadevent>.-data DownloadEvent = DownloadEvent---- | Triggered when a user follows another user.--- Events of this kind are no longer delivered.--- See <https://developer.github.com/v3/activity/events/types/#downloadevent>.-data FollowEvent = FollowEvent---- | Triggered when a user forks a repository.--- See <https://developer.github.com/v3/activity/events/types/#forkevent>.-data ForkEvent = ForkEvent- { evForkDestination :: !HookRepository- , evForkSource :: !HookRepository- , evForkSender :: !HookUser- }- deriving (Eq, Show, Typeable, Data, Generic)--instance EventHasSender ForkEvent where senderOfEvent = evForkSender-instance EventHasRepo ForkEvent where repoForEvent = evForkSource-instance NFData ForkEvent where rnf = genericRnf----- | Triggered when a patch is applied in the Fork Queue.--- Events of this kind are no longer delivered.--- See <https://developer.github.com/v3/activity/events/types/#forkapplyevent>.-data ForkApplyEvent = ForkApplyEvent----- | Triggered when a Gist is created or updated.--- Events of this kind are no longer delivered.--- See <https://developer.github.com/v3/activity/events/types/#gistevent>.-data GistEvent = GistEvent----- | Triggered when a Wiki page is created or updated.--- See <https://developer.github.com/v3/activity/events/types/#gollumevent>.-data GollumEvent = GollumEvent- { evGollumPages :: !(Vector HookWikiPage)- , evGollumRepo :: !HookRepository- , evGollumSender :: !HookUser- }- deriving (Eq, Show, Typeable, Data, Generic)--instance EventHasSender GollumEvent where senderOfEvent = evGollumSender-instance EventHasRepo GollumEvent where repoForEvent = evGollumRepo-instance NFData GollumEvent where rnf = genericRnf---data InstallationEventAction- -- | Decodes from "created"- = InstallationCreatedAction- -- | Decodes from "deleted"- | InstallationDeletedAction- -- | The result of decoding an unknown installation event action type- | InstallationActionOther !Text- deriving (Eq, Ord, Show, Generic, Typeable, Data)--instance NFData InstallationEventAction where rnf = genericRnf--instance FromJSON InstallationEventAction where- parseJSON = withText "Installation event action" $ \t ->- case t of- "created" -> pure InstallationCreatedAction- "deleted" -> pure InstallationDeletedAction- _ -> pure (InstallationActionOther t)---- | Triggered when a GitHub App has been installed or uninstalled.--- See <https://developer.github.com/v3/activity/events/types/#installationevent>.-data InstallationEvent = InstallationEvent- { evInstallationAction :: !InstallationEventAction- , evInstallationInfo :: !HookInstallation- , evInstallationRepos :: !(Vector HookRepositorySimple)- , evInstallationSender :: !HookUser- }- deriving (Eq, Show, Typeable, Data, Generic)--instance EventHasSender InstallationEvent where senderOfEvent = evInstallationSender-instance NFData InstallationEvent where rnf = genericRnf---data InstallationRepoEventAction- -- | Decodes from "created"- = InstallationRepoCreatedAction- -- | Decodes from "removed"- | InstallationRepoRemovedAction- -- | The result of decoding an unknown installation repo event action type- | InstallationRepoActionOther !Text- deriving (Eq, Ord, Show, Generic, Typeable, Data)--instance NFData InstallationRepoEventAction where rnf = genericRnf--instance FromJSON InstallationRepoEventAction where- parseJSON = withText "Installation repo event action" $ \t ->- case t of- "created" -> pure InstallationRepoCreatedAction- "removed" -> pure InstallationRepoRemovedAction- _ -> pure (InstallationRepoActionOther t)---- | Triggered when a repository is added or removed from an installation.--- See <https://developer.github.com/v3/activity/events/types/#installationrepositoriesevent>.-data InstallationRepositoriesEvent = InstallationRepositoriesEvent- { evInstallationRepoAction :: !InstallationRepoEventAction- , evInstallationRepoInfo :: !HookInstallation- , evInstallationRepoSel :: !Text- , evInstallationReposAdd :: !(Vector HookRepositorySimple)- , evInstallationReposRemove :: !(Vector HookRepositorySimple)- , evInstallationReposSender :: !HookUser- }- deriving (Eq, Show, Typeable, Data, Generic)--instance EventHasSender InstallationRepositoriesEvent where senderOfEvent = evInstallationReposSender-instance NFData InstallationRepositoriesEvent where rnf = genericRnf---data IssueCommentEventAction- -- | Decodes from "created"- = IssueCommentCreatedAction- -- | Decodes from "edited"- | IssueCommentEditedAction- -- | Decodes from "deleted"- | IssueCommentDeletedAction- -- | The result of decoding an unknown issue comment event action type- | IssueCommentActionOther !Text- deriving (Eq, Ord, Show, Generic, Typeable, Data)--instance NFData IssueCommentEventAction where rnf = genericRnf--instance FromJSON IssueCommentEventAction where- parseJSON = withText "Issue comment event action" $ \t ->- case t of- "created" -> pure IssueCommentCreatedAction- "edited" -> pure IssueCommentEditedAction- "deleted" -> pure IssueCommentDeletedAction- _ -> pure (IssueCommentActionOther t)---- | Triggered when an issue comment is created, edited, or deleted.--- See <https://developer.github.com/v3/activity/events/types/#issuecommentevent>.-data IssueCommentEvent = IssueCommentEvent- { evIssueCommentAction :: !IssueCommentEventAction- , evIssueCommentIssue :: !HookIssue- , evIssueCommentPayload :: !HookIssueComment- , evIssueCommentRepo :: !HookRepository- , evIssueCommentSender :: !HookUser- }- deriving (Eq, Show, Typeable, Data, Generic)--instance EventHasSender IssueCommentEvent where senderOfEvent = evIssueCommentSender-instance EventHasRepo IssueCommentEvent where repoForEvent = evIssueCommentRepo-instance NFData IssueCommentEvent where rnf = genericRnf---data IssuesEventAction- -- | Decodes from "assigned"- = IssuesAssignedAction- -- | Decodes from "unassigned"- | IssuesUnassignedAction- -- | Decodes from "labeled"- | IssuesLabeledAction- -- | Decodes from "unlabeled"- | IssuesUnlabeledAction- -- | Decodes from "opened"- | IssuesOpenedAction- -- | Decodes from "edited"- | IssuesEditedAction- -- | Decodes from "milestoned"- | IssuesMilestonedAction- -- | Decodes from "demilestoned"- | IssuesDemilestonedAction- -- | Decodes from "closed"- | IssuesClosedAction- -- | Decodes from "reopened"- | IssuesReopenedAction- -- | The result of decoding an unknown issue comment event action type- | IssuesActionOther !Text- deriving (Eq, Ord, Show, Generic, Typeable, Data)--instance NFData IssuesEventAction where rnf = genericRnf--instance FromJSON IssuesEventAction where- parseJSON = withText "Issue comment event action" $ \t ->- case t of- "assigned" -> pure IssuesAssignedAction- "unassigned" -> pure IssuesUnassignedAction- "labeled" -> pure IssuesLabeledAction- "unlabeled" -> pure IssuesUnlabeledAction- "opened" -> pure IssuesOpenedAction- "edited" -> pure IssuesEditedAction- "milestoned" -> pure IssuesMilestonedAction- "demilestoned" -> pure IssuesDemilestonedAction- "closed" -> pure IssuesClosedAction- "reopened" -> pure IssuesReopenedAction- _ -> pure (IssuesActionOther t)---- | Triggered when an issue is assigned, unassigned, labeled,--- unlabeled, opened, edited, milestoned, demilestoned, closed, or reopened.--- See <https://developer.github.com/v3/activity/events/types/#issuesevent>.-data IssuesEvent = IssuesEvent- { evIssuesEventAction :: !IssuesEventAction- , evIssuesEventIssue :: !HookIssue- , evIssuesEventRepo :: !HookRepository- , evIssuesEventSender :: !HookUser- }- deriving (Eq, Show, Typeable, Data, Generic)--instance EventHasSender IssuesEvent where senderOfEvent = evIssuesEventSender-instance EventHasRepo IssuesEvent where repoForEvent = evIssuesEventRepo-instance NFData IssuesEvent where rnf = genericRnf---data LabelEventAction- -- | Decodes from "created"- = LabelCreatedAction- -- | Decodes from "edited"- | LabelEditedAction- -- | Decodes from "deleted"- | LabelDeletedAction- -- | The result of decoding an unknown label event action type- | LabelActionOther !Text- deriving (Eq, Ord, Show, Generic, Typeable, Data)--instance NFData LabelEventAction where rnf = genericRnf--instance FromJSON LabelEventAction where- parseJSON = withText "Label event action" $ \t ->- case t of- "created" -> pure LabelCreatedAction- "edited" -> pure LabelEditedAction- "deleted" -> pure LabelDeletedAction- _ -> pure (LabelActionOther t)---- | Triggered when a repository's label is created, edited, or deleted.--- Events of this type are not visible in timelines. These events are only used to trigger hooks.--- See <https://developer.github.com/v3/activity/events/types/#labelevent>.-data LabelEvent = LabelEvent- { evLabelEventAction :: !LabelEventAction- , evLabelEventPayload :: !HookRepositoryLabel- , evLabelEventRepo :: !HookRepository- , evLabelEventOrganization :: !(Maybe HookOrganization)- , evLabelEventSender :: !HookUser- }- deriving (Eq, Show, Typeable, Data, Generic)--instance EventHasSender LabelEvent where senderOfEvent = evLabelEventSender-instance EventHasRepo LabelEvent where repoForEvent = evLabelEventRepo-instance NFData LabelEvent where rnf = genericRnf---data MemberEventAction- -- | Decodes from "added"- = MemberAddedAction- -- | Decodes from "edited"- | MemberEditedAction- -- | Decodes from "deleted"- | MemberDeletedAction- -- | The result of decoding an unknown label event action type- | MemberActionOther !Text- deriving (Eq, Ord, Show, Generic, Typeable, Data)--instance NFData MemberEventAction where rnf = genericRnf--instance FromJSON MemberEventAction where- parseJSON = withText "Member event action" $ \t ->- case t of- "added" -> pure MemberAddedAction- "edited" -> pure MemberEditedAction- "deleted" -> pure MemberDeletedAction- _ -> pure (MemberActionOther t)---- | Triggered when a user is added or removed as a collaborator to a repository, or has their permissions changed.--- See <https://developer.github.com/v3/activity/events/types/#memberevent>.-data MemberEvent = MemberEvent- { evMemberAction :: !MemberEventAction- , evMemberUser :: !HookUser- , evMemberRepo :: !HookRepository- , evMemberSender :: !HookUser- }- deriving (Eq, Show, Typeable, Data, Generic)--instance EventHasSender MemberEvent where senderOfEvent = evMemberSender-instance EventHasRepo MemberEvent where repoForEvent = evMemberRepo-instance NFData MemberEvent where rnf = genericRnf---data MembershipEventAction- -- | Decodes from "added"- = MembershipAddedAction- -- | Decodes from "removed"- | MembershipRemovedAction- -- | The result of decoding an unknown label event action type- | MembershipActionOther !Text- deriving (Eq, Ord, Show, Generic, Typeable, Data)--instance NFData MembershipEventAction where rnf = genericRnf--instance FromJSON MembershipEventAction where- parseJSON = withText "Membership event action" $ \t ->- case t of- "added" -> pure MembershipAddedAction- "removed" -> pure MembershipRemovedAction- _ -> pure (MembershipActionOther t)---- | Triggered when a user is added or removed from a team.--- Events of this type are not visible in timelines. These events are only used to trigger hooks.--- See <https://developer.github.com/v3/activity/events/types/#membershipevent>.-data MembershipEvent = MembershipEvent- { evMembershipAction :: !MembershipEventAction- , evMembershipScope :: !Text -- ^ Current can only be "team"- , evMembershipUser :: !HookUser- , evMembershipTeam :: !HookTeam- , evMembershipOrg :: !HookOrganization- , evMembershipSender :: !HookUser- }- deriving (Eq, Show, Typeable, Data, Generic)--instance EventHasSender MembershipEvent where senderOfEvent = evMembershipSender-instance NFData MembershipEvent where rnf = genericRnf---data MilestoneEventAction- -- | Decodes from "created"- = MilestoneCreatedAction- -- | Decodes from "closed"- | MilestoneClosedAction- -- | Decodes from "opened"- | MilestoneOpenedAction- -- | Decodes from "edited"- | MilestoneEditedAction- -- | Decodes from "deleted"- | MilestoneDeletedAction- -- | The result of decoding an unknown label event action type- | MilestoneActionOther !Text- deriving (Eq, Ord, Show, Generic, Typeable, Data)--instance NFData MilestoneEventAction where rnf = genericRnf--instance FromJSON MilestoneEventAction where- parseJSON = withText "Milestone event action" $ \t ->- case t of- "created" -> pure MilestoneCreatedAction- "closed" -> pure MilestoneClosedAction- "opened" -> pure MilestoneOpenedAction- "edited" -> pure MilestoneEditedAction- "deleted" -> pure MilestoneDeletedAction- _ -> pure (MilestoneActionOther t)---- | Triggered when a milestone is created, closed, opened, edited, or deleted.--- Events of this type are not visible in timelines. These events are only used to trigger hooks.--- See <https://developer.github.com/v3/activity/events/types/#milestoneevent>.-data MilestoneEvent = MilestoneEvent- { evMilestoneAction :: !MilestoneEventAction- , evMilestoenPayload :: !HookMilestone- , evMilestoneRepo :: !HookRepository- , evMilestoneOrg :: !HookOrganization- , evMilestoneSender :: !HookUser- }- deriving (Eq, Show, Typeable, Data, Generic)--instance EventHasSender MilestoneEvent where senderOfEvent = evMilestoneSender-instance EventHasRepo MilestoneEvent where repoForEvent = evMilestoneRepo-instance NFData MilestoneEvent where rnf = genericRnf---data OrganizationEventAction- -- | Decodes from "member_added"- = OrgMemberAddedAction- -- | Decodes from "member_removed"- | OrgMemberRemovedAction- -- | Decodes from "member_invited"- | OrgMemberInvitedAction- -- | The result of decoding an unknown label event action type- | OrgActionOther !Text- deriving (Eq, Ord, Show, Generic, Typeable, Data)--instance NFData OrganizationEventAction where rnf = genericRnf--instance FromJSON OrganizationEventAction where- parseJSON = withText "Organization event action" $ \t ->- case t of- "member_added" -> pure OrgMemberAddedAction- "member_removed" -> pure OrgMemberRemovedAction- "member_invited" -> pure OrgMemberInvitedAction- _ -> pure (OrgActionOther t)---- | Triggered when a user is added, removed, or invited to an Organization.--- Events of this type are not visible in timelines. These events are only used to trigger organization hooks.--- See <https://developer.github.com/v3/activity/events/types/#organizationevent>.-data OrganizationEvent = OrganizationEvent- { evOrganizationAction :: !OrganizationEventAction- , evOrganizationInvitation :: !HookOrganizationInvitation- , evOrganizationMembership :: !HookOrganizationMembership- , evOrganizationOrg :: !HookOrganization- , evOrganizationSender :: !HookUser- }- deriving (Eq, Show, Typeable, Data, Generic)--instance EventHasSender OrganizationEvent where senderOfEvent = evOrganizationSender-instance NFData OrganizationEvent where rnf = genericRnf---data OrgBlockEventAction- -- | Decodes from "blocked"- = OrgBlockBlockedAction- -- | Decodes from "unblocked"- | OrgBlockUnblockedAction- -- | The result of decoding an unknown org block event action type- | OrgBlockActionOther !Text- deriving (Eq, Ord, Show, Generic, Typeable, Data)--instance NFData OrgBlockEventAction where rnf = genericRnf--instance FromJSON OrgBlockEventAction where- parseJSON = withText "Organization event action" $ \t ->- case t of- "blocked" -> pure OrgBlockBlockedAction- "unblocked" -> pure OrgBlockUnblockedAction- _ -> pure (OrgBlockActionOther t)---- | Triggered when an organization blocks or unblocks a user.--- See <https://developer.github.com/v3/activity/events/types/#orgblockevent>.-data OrgBlockEvent = OrgBlockEvent- { evOrgBlockAction :: !OrgBlockEventAction- , evOrgBlockUser :: !HookUser- , evOrgBlockOrg :: !HookOrganization- , evOrgBlockSender :: !HookUser- }- deriving (Eq, Show, Typeable, Data, Generic)--instance EventHasSender OrgBlockEvent where senderOfEvent = evOrgBlockSender-instance NFData OrgBlockEvent where rnf = genericRnf----- | Represents an attempted build of a GitHub Pages site, whether successful or not.--- Triggered on push to a GitHub Pages enabled branch (gh-pages for project pages, master for user and organization pages).--- Events of this type are not visible in timelines. These events are only used to trigger hooks.--- See <https://developer.github.com/v3/activity/events/types/#pagebuildevent>.-data PageBuildEvent = PageBuildEvent- { evPageBuildId :: !Int- , evPageBuildResult :: !HookPageBuildResult- , evPageBuildRepo :: !HookRepository- , evPageBuildSender :: !HookUser- }- deriving (Eq, Show, Typeable, Data, Generic)--instance EventHasSender PageBuildEvent where senderOfEvent = evPageBuildSender-instance EventHasRepo PageBuildEvent where repoForEvent = evPageBuildRepo-instance NFData PageBuildEvent where rnf = genericRnf---data ProjectCardEventAction- -- | Decodes from "created"- = ProjectCardCreatedAction- -- | Decodes from "edited"- | ProjectCardEditedAction- -- | Decodes from "converted"- | ProjectCardConvertedAction- -- | Decodes from "moved"- | ProjectCardMovedAction- -- | Decodes from "deleted"- | ProjectCardDeletedAction- -- | The result of decoding an unknown project card event action type- | ProjectCardActionOther !Text- deriving (Eq, Ord, Show, Generic, Typeable, Data)--instance NFData ProjectCardEventAction where rnf = genericRnf--instance FromJSON ProjectCardEventAction where- parseJSON = withText "Project card event action" $ \t ->- case t of- "created" -> pure ProjectCardCreatedAction- "edited" -> pure ProjectCardEditedAction- "converted" -> pure ProjectCardConvertedAction- "moved" -> pure ProjectCardMovedAction- "deleted" -> pure ProjectCardDeletedAction- _ -> pure (ProjectCardActionOther t)---- | Triggered when a project card is created, updated, moved, converted to an issue, or deleted.--- See <https://developer.github.com/v3/activity/events/types/#projectcardevent>.-data ProjectCardEvent = ProjectCardEvent- { evProjectCardAction :: !ProjectCardEventAction- , evProjectCardPayload :: !HookProjectCard- , evProjectCardRepo :: !HookRepository- , evProjectCardOrg :: !HookOrganization- , evProjectCardSender :: !HookUser- }- deriving (Eq, Show, Typeable, Data, Generic)--instance EventHasSender ProjectCardEvent where senderOfEvent = evProjectCardSender-instance EventHasRepo ProjectCardEvent where repoForEvent = evProjectCardRepo-instance NFData ProjectCardEvent where rnf = genericRnf---data ProjectColumnEventAction- -- | Decodes from "created"- = ProjectColumnCreatedAction- -- | Decodes from "edited"- | ProjectColumnEditedAction- -- | Decodes from "moved"- | ProjectColumnMovedAction- -- | Decodes from "deleted"- | ProjectColumnDeletedAction- -- | The result of decoding an unknown project card event action type- | ProjectColumnActionOther !Text- deriving (Eq, Ord, Show, Generic, Typeable, Data)--instance NFData ProjectColumnEventAction where rnf = genericRnf--instance FromJSON ProjectColumnEventAction where- parseJSON = withText "Project column event action" $ \t ->- case t of- "created" -> pure ProjectColumnCreatedAction- "edited" -> pure ProjectColumnEditedAction- "moved" -> pure ProjectColumnMovedAction- "deleted" -> pure ProjectColumnDeletedAction- _ -> pure (ProjectColumnActionOther t)---- | Triggered when a project column is created, updated, moved, or deleted.--- See <https://developer.github.com/v3/activity/events/types/#projectcolumnevent>.-data ProjectColumnEvent = ProjectColumnEvent- { evProjectColumnAction :: !ProjectColumnEventAction- , evProjectColumnPayload :: !HookProjectColumn- , evProjectColumnRepo :: !HookRepository- , evProjectColumnOrg :: !HookOrganization- , evProjectColumnSender :: !HookUser- }- deriving (Eq, Show, Typeable, Data, Generic)--instance EventHasSender ProjectColumnEvent where senderOfEvent = evProjectColumnSender-instance EventHasRepo ProjectColumnEvent where repoForEvent = evProjectColumnRepo-instance NFData ProjectColumnEvent where rnf = genericRnf---data ProjectEventAction- -- | Decodes from "created"- = ProjectCreatedAction- -- | Decodes from "edited"- | ProjectEditedAction- -- | Decodes from "closed"- | ProjectClosedAction- -- | Decodes from "reopened"- | ProjectReopenedAction- -- | Decodes from "deleted"- | ProjectDeletedAction- -- | The result of decoding an unknown project event action type- | ProjectActionOther !Text- deriving (Eq, Ord, Show, Generic, Typeable, Data)--instance NFData ProjectEventAction where rnf = genericRnf--instance FromJSON ProjectEventAction where- parseJSON = withText "Project event action" $ \t ->- case t of- "created" -> pure ProjectCreatedAction- "edited" -> pure ProjectEditedAction- "closed" -> pure ProjectClosedAction- "reopened" -> pure ProjectReopenedAction- "deleted" -> pure ProjectDeletedAction- _ -> pure (ProjectActionOther t)---- | Triggered when a project is created, updated, closed, reopened, or deleted.--- See <https://developer.github.com/v3/activity/events/types/#projectevent>.-data ProjectEvent = ProjectEvent- { evProjectEventAction :: !ProjectEventAction- , evProjectPayload :: !HookProject- , evProjectRepo :: !HookRepository- , evProjectOrganization :: !HookOrganization- , evProjectSender :: !HookUser- }- deriving (Eq, Show, Typeable, Data, Generic)--instance EventHasSender ProjectEvent where senderOfEvent = evProjectSender-instance EventHasRepo ProjectEvent where repoForEvent = evProjectRepo-instance NFData ProjectEvent where rnf = genericRnf----- | Triggered when a private repository is open sourced. Without a doubt: the best GitHub event.--- See <https://developer.github.com/v3/activity/events/types/#publicevent>.-data PublicEvent = PublicEvent- { evPublicEventRepo :: !HookRepository- , evPublicEventSender :: !HookUser- }- deriving (Eq, Show, Typeable, Data, Generic)--instance EventHasSender PublicEvent where senderOfEvent = evPublicEventSender-instance EventHasRepo PublicEvent where repoForEvent = evPublicEventRepo-instance NFData PublicEvent where rnf = genericRnf---data PullRequestEventAction- -- | Decodes from "assigned"- = PullRequestAssignedAction- -- | Decodes from "unassigned"- | PullRequestUnassignedAction- -- | Decodes from "review_requsted"- | PullRequestReviewRequestedAction- -- | Decodes from "review_request_removed"- | PullRequestReviewRequestRemovedAction- -- | Decodes from "labeled"- | PullRequestLabeledAction- -- | Decodes from "unlabeled"- | PullRequestUnlabeledAction- -- | Decodes from "opened"- | PullRequestOpenedAction- -- | Decodes from "edited"- | PullRequestEditedAction- -- | Decodes from "closed"- | PullRequestClosedAction- -- | Decodes from "reopened"- | PullRequestReopenedAction- -- | The result of decoding an unknown pull request event action type- | PullRequestActionOther !Text- deriving (Eq, Ord, Show, Generic, Typeable, Data)--instance NFData PullRequestEventAction where rnf = genericRnf--instance FromJSON PullRequestEventAction where- parseJSON = withText "Pull request event action" $ \t ->- case t of- "assigned" -> pure PullRequestAssignedAction- "unassigned" -> pure PullRequestUnassignedAction- "review_requsted" -> pure PullRequestReviewRequestedAction- "review_request_removed" -> pure PullRequestReviewRequestRemovedAction- "labeled" -> pure PullRequestLabeledAction- "unlabeled" -> pure PullRequestUnlabeledAction- "opened" -> pure PullRequestOpenedAction- "edited" -> pure PullRequestEditedAction- "closed" -> pure PullRequestClosedAction- "reopened" -> pure PullRequestReopenedAction- _ -> pure (PullRequestActionOther t)---- | Triggered when a pull request is assigned, unassigned, labeled, unlabeled, opened, edited,--- closed, reopened, or synchronized. Also triggered when a pull request review is requested,--- or when a review request is removed.--- See <https://developer.github.com/v3/activity/events/types/#pullrequestevent>.-data PullRequestEvent = PullRequestEvent- { evPullReqAction :: !PullRequestEventAction- , evPullReqNumber :: !Int- , evPullReqPayload :: !HookPullRequest- , evPullReqRepo :: !HookRepository- , evPullReqSender :: !HookUser- , evPullReqInstallationId :: !(Maybe Int)- }- deriving (Eq, Show, Typeable, Data, Generic)--instance EventHasSender PullRequestEvent where senderOfEvent = evPullReqSender-instance EventHasRepo PullRequestEvent where repoForEvent = evPullReqRepo-instance NFData PullRequestEvent where rnf = genericRnf---data PullRequestReviewEventAction- -- | Decodes from "submitted"- = PullRequestReviewSubmittedAction- -- | Decodes from "edited"- | PullRequestReviewEditedAction- -- | Decodes from "dismissed"- | PullRequestReviewDismissedAction- -- | The result of decoding an unknown pull request review event action type- | PullRequestReviewActionOther !Text- deriving (Eq, Ord, Show, Generic, Typeable, Data)--instance NFData PullRequestReviewEventAction where rnf = genericRnf--instance FromJSON PullRequestReviewEventAction where- parseJSON = withText "Pull request review event action" $ \t ->- case t of- "submitted" -> pure PullRequestReviewSubmittedAction- "edited" -> pure PullRequestReviewEditedAction- "dismissed" -> pure PullRequestReviewDismissedAction- _ -> pure (PullRequestReviewActionOther t)---- | Triggered when a pull request review is submitted into a non-pending state,--- the body is edited, or the review is dismissed.--- See <https://developer.github.com/v3/activity/events/types/#pullrequestreviewevent>.-data PullRequestReviewEvent = PullRequestReviewEvent- { evPullReqReviewAction :: !PullRequestReviewEventAction- , evPullReqReviewPayload :: !HookPullRequestReview- , evPullReqReviewTarget :: !HookPullRequest- , evPullReqReviewRepo :: !HookRepository- , evPullReqReviewSender :: !HookUser- }- deriving (Eq, Show, Typeable, Data, Generic)--instance EventHasSender PullRequestReviewEvent where senderOfEvent = evPullReqReviewSender-instance EventHasRepo PullRequestReviewEvent where repoForEvent = evPullReqReviewRepo-instance NFData PullRequestReviewEvent where rnf = genericRnf---data PullRequestReviewCommentEventAction- -- | Decodes from "created"- = PullRequestReviewCommentCreatedAction- -- | Decodes from "edited"- | PullRequestReviewCommentEditedAction- -- | Decodes from "deleted"- | PullRequestReviewCommentDeletedAction- -- | The result of decoding an unknown pull request review comment event action type- | PullRequestReviewCommentActionOther !Text- deriving (Eq, Ord, Show, Generic, Typeable, Data)--instance NFData PullRequestReviewCommentEventAction where rnf = genericRnf--instance FromJSON PullRequestReviewCommentEventAction where- parseJSON = withText "Pull request review comment event action" $ \t ->- case t of- "created" -> pure PullRequestReviewCommentCreatedAction- "edited" -> pure PullRequestReviewCommentEditedAction- "deleted" -> pure PullRequestReviewCommentDeletedAction- _ -> pure (PullRequestReviewCommentActionOther t)---- | Triggered when a comment on a pull request's unified diff is created,--- edited, or deleted (in the Files Changed tab).--- See <https://developer.github.com/v3/activity/events/types/#pullrequestreviewcommentevent>.-data PullRequestReviewCommentEvent = PullRequestReviewCommentEvent- { evPullReqRevComAction :: !PullRequestReviewCommentEventAction- , evPullReqRevComment :: !HookPullRequestReviewComment- , evPullReqRevTarget :: !HookPullRequest- , evPullReqRevRepo :: !HookRepository- , evPullReqRevSender :: !HookUser- }- deriving (Eq, Show, Typeable, Data, Generic)--instance EventHasSender PullRequestReviewCommentEvent where senderOfEvent = evPullReqRevSender-instance EventHasRepo PullRequestReviewCommentEvent where repoForEvent = evPullReqRevRepo-instance NFData PullRequestReviewCommentEvent where rnf = genericRnf----- | Triggered on a push to a repository branch. Branch pushes and repository tag--- pushes also trigger webhook push events.--- See <https://developer.github.com/v3/activity/events/types/#pushevent>.-data PushEvent = PushEvent- { evPushRef :: !Text- , evPushHeadSha :: !(Maybe Text)- , evPushBeforeSha :: !(Maybe Text)- , evPushCreated :: !Bool- , evPushDeleted :: !Bool- , evPushForced :: !Bool- , evPushBaseRef :: !(Maybe Text)- , evPushCompareUrl :: !URL- , evPushCommits :: !(Maybe (Vector HookCommit))- , evPushHeadCommit :: !(Maybe HookCommit)- , evPushRepository :: !HookRepository- , evPushOrganization :: !(Maybe HookOrganization)- , evPushSender :: !HookUser- }- deriving (Eq, Show, Typeable, Data, Generic)--instance EventHasSender PushEvent where senderOfEvent = evPushSender-instance EventHasRepo PushEvent where repoForEvent = evPushRepository-instance NFData PushEvent where rnf = genericRnf---data ReleaseEventAction- -- | Decodes from "published"- = ReleasePublishedAction- -- | The result of decoding an unknown release event action type- | ReleaseActionOther !Text- deriving (Eq, Ord, Show, Generic, Typeable, Data)--instance NFData ReleaseEventAction where rnf = genericRnf--instance FromJSON ReleaseEventAction where- parseJSON = withText "Release event action" $ \t ->- case t of- "published" -> pure ReleasePublishedAction- _ -> pure (ReleaseActionOther t)---- | Triggered when a release is published.--- See <https://developer.github.com/v3/activity/events/types/#releaseevent>.-data ReleaseEvent = ReleaseEvent- { evReleaseEventAction :: !ReleaseEventAction -- ^ Currently only releasePublished.- , evReleaseEventPayload :: !HookRelease- , evReleaseEventRepo :: !HookRepository- , evReleaseEventSender :: !HookUser- }- deriving (Eq, Show, Typeable, Data, Generic)--instance EventHasSender ReleaseEvent where senderOfEvent = evReleaseEventSender-instance EventHasRepo ReleaseEvent where repoForEvent = evReleaseEventRepo-instance NFData ReleaseEvent where rnf = genericRnf---data RepositoryEventAction- -- | Decodes from "created"- = RepositoryCreatedAction- -- | Decodes from "deleted"- | RepositoryDeletedAction- -- | Decodes from "archived"- | RepositoryArchivedAction- -- | Decodes from "unarchived"- | RepositoryUnarchivedAction- -- | Decodes from "publicized"- | RepositoryPublicizedAction- -- | Decodes from "privatized"- | RepositoryPrivatizedAction- -- | The result of decoding an unknown repository event action type- | RepositoryActionOther !Text- deriving (Eq, Ord, Show, Generic, Typeable, Data)--instance NFData RepositoryEventAction where rnf = genericRnf--instance FromJSON RepositoryEventAction where- parseJSON = withText "Repository event action" $ \t ->- case t of- "created" -> pure RepositoryCreatedAction- "deleted" -> pure RepositoryDeletedAction- "archived" -> pure RepositoryArchivedAction- "unarchived" -> pure RepositoryUnarchivedAction- "publicized" -> pure RepositoryPublicizedAction- "privatized" -> pure RepositoryPrivatizedAction- _ -> pure (RepositoryActionOther t)---- | Triggered when a repository is created, archived, unarchived, made public, or made private.--- Organization hooks are also triggered when a repository is deleted.--- Events of this type are not visible in timelines. These events are only used to trigger hooks.--- See <https://developer.github.com/v3/activity/events/types/#repositoryevent>.-data RepositoryEvent = RepositoryEvent- { evRepositoryAction :: !RepositoryEventAction- , evRepositoryTarget :: !HookRepository- , evRepositoryOrg :: !(Maybe HookOrganization)- , evRepositorySender :: !HookUser- }- deriving (Eq, Show, Typeable, Data, Generic)--instance EventHasSender RepositoryEvent where senderOfEvent = evRepositorySender-instance EventHasRepo RepositoryEvent where repoForEvent = evRepositoryTarget-instance NFData RepositoryEvent where rnf = genericRnf---data StatusEventState- -- | Decodes from "pending"- = StatusPendingState- -- | Decodes from "success"- | StatusSuccessState- -- | Decodes from "failure"- | StatusFailureState- -- | Decodes from "error"- | StatusErrorState- -- | The result of decoding an unknown status event state- | StatusStateOther !Text- deriving (Eq, Ord, Show, Generic, Typeable, Data)--instance NFData StatusEventState where rnf = genericRnf--instance FromJSON StatusEventState where- parseJSON = withText "Status event state" $ \t ->- case t of- "pending" -> pure StatusPendingState- "success" -> pure StatusSuccessState- "failure" -> pure StatusFailureState- "error" -> pure StatusErrorState- _ -> pure (StatusStateOther t)---- | Triggered when the status of a Git commit changes.--- Events of this type are not visible in timelines. These events are only used to trigger hooks.--- See <https://developer.github.com/v3/activity/events/types/#statusevent>.-data StatusEvent = StatusEvent- { evStatusId :: !Int- , evStatusCommitSha :: !Text- , evStatusCommitName :: !Text- , evStatusTargetUrl :: !(Maybe URL)- , evStatusContext :: !Text- , evStatusDescription :: !(Maybe Text)- , evStatusState :: !StatusEventState- , evStatusCommit :: !HookCommit- -- FIXME: Branches are missing here- , evStatusCreatedAt :: !UTCTime- , evStatusUpdatedAt :: !UTCTime- , evStatusRepo :: !HookRepository- , evStatusSender :: !HookUser- }- deriving (Eq, Show, Typeable, Data, Generic)--instance EventHasSender StatusEvent where senderOfEvent = evStatusSender-instance EventHasRepo StatusEvent where repoForEvent = evStatusRepo-instance NFData StatusEvent where rnf = genericRnf---data TeamEventAction- -- | Decodes from "created"- = TeamCreatedAction- -- | Decodes from "deleted"- | TeamDeletedAction- -- | Decodes from "edited"- | TeamEditedAction- -- | Decodes from "added_to_repository"- | TeamAddedToRepoAction- -- | Decodes from "removed_from_repository"- | TeamRemovedFromRepoAction- -- | The result of decoding an unknown team event action type- | TeamActionOther !Text- deriving (Eq, Ord, Show, Generic, Typeable, Data)--instance NFData TeamEventAction where rnf = genericRnf--instance FromJSON TeamEventAction where- parseJSON = withText "Team event action" $ \t ->- case t of- "created" -> pure TeamCreatedAction- "deleted" -> pure TeamDeletedAction- "edited" -> pure TeamEditedAction- "added_to_repository" -> pure TeamAddedToRepoAction- "removed_from_repository" -> pure TeamRemovedFromRepoAction- _ -> pure (TeamActionOther t)---- | Triggered when an organization's team is created or deleted.--- Events of this type are not visible in timelines. These events are only used to trigger organization hooks.--- See <https://developer.github.com/v3/activity/events/types/#teamevent>.-data TeamEvent = TeamEvent- { evTeamAction :: !TeamEventAction- , evTeamTarget :: !HookTeam- , evTeamOrganization :: !HookOrganization- , evTeamSender :: !HookUser- }- deriving (Eq, Show, Typeable, Data, Generic)--instance EventHasSender TeamEvent where senderOfEvent = evTeamSender-instance NFData TeamEvent where rnf = genericRnf----- | Triggered when a repository is added to a team.--- Events of this type are not visible in timelines. These events are only used to trigger hooks.--- See <https://developer.github.com/v3/activity/events/types/#teamaddevent>.-data TeamAddEvent = TeamAddEvent- { evTeamAddTarget :: !(Maybe HookTeam) -- ^ Older events may not include this in the payload.- , evTeamAddRepo :: !HookRepository- , evTeamAddOrg :: !HookOrganization- , evTeamAddSender :: !HookUser- }- deriving (Eq, Show, Typeable, Data, Generic)--instance EventHasSender TeamAddEvent where senderOfEvent = evTeamAddSender-instance EventHasRepo TeamAddEvent where repoForEvent = evTeamAddRepo-instance NFData TeamAddEvent where rnf = genericRnf---data WatchEventAction- -- | Decodes from "started"- = WatchStartedAction- -- | The result of decoding an unknown watch event action type- | WatchActionOther !Text- deriving (Eq, Ord, Show, Generic, Typeable, Data)--instance NFData WatchEventAction where rnf = genericRnf--instance FromJSON WatchEventAction where- parseJSON = withText "Watch event action" $ \t ->- case t of- "started" -> pure WatchStartedAction- _ -> pure (WatchActionOther t)---- | The WatchEvent is related to starring a repository, not watching.--- The event’s actor is the user who starred a repository, and the event’s--- repository is the repository that was starred.--- See <https://developer.github.com/v3/activity/events/types/#watchevent>.-data WatchEvent = WatchEvent- { evWatchAction :: !WatchEventAction- , evWatchRepo :: !HookRepository- , evWatchSender :: !HookUser- }- deriving (Eq, Show, Typeable, Data, Generic)--instance EventHasSender WatchEvent where senderOfEvent = evWatchSender-instance EventHasRepo WatchEvent where repoForEvent = evWatchRepo-instance NFData WatchEvent where rnf = genericRnf----- Aeson Instances--instance FromJSON CheckSuiteEvent where- parseJSON = withObject "CheckSuiteEvent" $ \o -> CheckSuiteEvent- <$> o .: "action"- <*> o .: "check_suite"- <*> o .: "repository"- <*> o .:? "organization"- <*> o .: "sender"- <*> o .:? "installation"--instance FromJSON CheckRunEvent where- parseJSON = withObject "CheckRunEvent" $ \o -> CheckRunEvent- <$> o .: "action"- <*> o .: "check_run"- <*> o .:? "requested_action"- <*> o .: "repository"- <*> o .:? "organization"- <*> o .: "sender"- <*> o .:? "installation"--instance FromJSON CommitCommentEvent where- parseJSON = withObject "CommitCommentEvent" $ \o -> CommitCommentEvent- <$> o .: "action"- <*> o .: "comment"- <*> o .: "repository"- <*> o .: "sender"--instance FromJSON CreateEvent where- parseJSON = withObject "CreateEvent" $ \o -> CreateEvent- <$> o .: "ref"- <*> o .: "ref_type"- <*> o .: "master_branch"- <*> o .: "description"- <*> o .: "pusher_type"- <*> o .: "repository"- <*> o .: "sender"--instance FromJSON DeleteEvent where- parseJSON = withObject "DeleteEvent" $ \o -> DeleteEvent- <$> o .: "ref"- <*> o .: "ref_type"- <*> o .: "pusher_type"- <*> o .: "repository"- <*> o .: "sender"--instance FromJSON DeploymentEvent where- parseJSON = withObject "DeploymentEvent" $ \o -> DeploymentEvent- <$> o .: "deployment"- <*> o .: "repository"- <*> o .: "sender"--instance FromJSON DeploymentStatusEvent where- parseJSON = withObject "DeploymentStatusEvent" $ \o -> DeploymentStatusEvent- <$> o .: "deployment_status"- <*> o .: "deployment"- <*> o .: "repository"- <*> o .: "sender"--instance FromJSON ForkEvent where- parseJSON = withObject "ForkEvent" $ \o -> ForkEvent- <$> o .: "forkee"- <*> o .: "repository"- <*> o .: "sender"--instance FromJSON GollumEvent where- parseJSON = withObject "GollumEvent" $ \o -> GollumEvent- <$> o .: "pages"- <*> o .: "repository"- <*> o .: "sender"--instance FromJSON InstallationEvent where- parseJSON = withObject "InstallationEvent" $ \o -> InstallationEvent- <$> o .: "action"- <*> o .: "installation"- <*> o .:? "repositories" .!= mempty- <*> o .: "sender"--instance FromJSON InstallationRepositoriesEvent where- parseJSON = withObject "InstallationRepositoriesEvent" $ \o -> InstallationRepositoriesEvent- <$> o .: "action"- <*> o .: "installation"- <*> o .: "repository_selection"- <*> o .: "repositories_added"- <*> o .: "repositories_removed"- <*> o .: "sender"--instance FromJSON IssueCommentEvent where- parseJSON = withObject "IssueCommentEvent" $ \o -> IssueCommentEvent- <$> o .: "action"- <*> o .: "issue"- <*> o .: "comment"- <*> o .: "repository"- <*> o .: "sender"--instance FromJSON IssuesEvent where- parseJSON = withObject "IssuesEvent" $ \o -> IssuesEvent- <$> o .: "action"- <*> o .: "issue"- <*> o .: "repository"- <*> o .: "sender"--instance FromJSON LabelEvent where- parseJSON = withObject "LabelEvent" $ \o -> LabelEvent- <$> o .: "action"- <*> o .: "label"- <*> o .: "repository"- <*> o .:? "organization"- <*> o .: "sender"--instance FromJSON MemberEvent where- parseJSON = withObject "MemberEvent" $ \o -> MemberEvent- <$> o .: "action"- <*> o .: "member"- <*> o .: "repository"- <*> o .: "sender"--instance FromJSON MembershipEvent where- parseJSON = withObject "MembershipEvent" $ \o -> MembershipEvent- <$> o .: "action"- <*> o .: "scope"- <*> o .: "member"- <*> o .: "team"- <*> o .: "organization"- <*> o .: "sender"--instance FromJSON MilestoneEvent where- parseJSON = withObject "MilestoneEvent" $ \o -> MilestoneEvent- <$> o .: "action"- <*> o .: "milestone"- <*> o .: "repository"- <*> o .: "organization"- <*> o .: "sender"--instance FromJSON OrganizationEvent where- parseJSON = withObject "OrganizationEvent" $ \o -> OrganizationEvent- <$> o .: "action"- <*> o .: "invitation"- <*> o .: "membership"- <*> o .: "organization"- <*> o .: "sender"--instance FromJSON OrgBlockEvent where- parseJSON = withObject "OrgBlockEvent" $ \o -> OrgBlockEvent- <$> o .: "action"- <*> o .: "blocked_user"- <*> o .: "organization"- <*> o .: "sender"--instance FromJSON PageBuildEvent where- parseJSON = withObject "PageBuildEvent" $ \o -> PageBuildEvent- <$> o .: "id"- <*> o .: "build"- <*> o .: "repository"- <*> o .: "sender"--instance FromJSON ProjectCardEvent where- parseJSON = withObject "ProjectCardEvent" $ \o -> ProjectCardEvent- <$> o .: "action"- <*> o .: "project_card"- <*> o .: "repository"- <*> o .: "organization"- <*> o .: "sender"--instance FromJSON ProjectColumnEvent where- parseJSON = withObject "ProjectColumnEvent" $ \o -> ProjectColumnEvent- <$> o .: "action"- <*> o .: "project_column"- <*> o .: "repository"- <*> o .: "organization"- <*> o .: "sender"--instance FromJSON ProjectEvent where- parseJSON = withObject "ProjectEvent" $ \o -> ProjectEvent- <$> o .: "action"- <*> o .: "project"- <*> o .: "repository"- <*> o .: "organization"- <*> o .: "sender"--instance FromJSON PublicEvent where- parseJSON = withObject "PublicEvent" $ \o -> PublicEvent- <$> o .: "repository"- <*> o .: "sender"--instance FromJSON PullRequestEvent where- parseJSON = withObject "PullRequestEvent" $ \o -> PullRequestEvent- <$> o .: "action"- <*> o .: "number"- <*> o .: "pull_request"- <*> o .: "repository"- <*> o .: "sender"- <*> (o .:? "installation" >>= maybe (pure Nothing) (.:? "id"))--instance FromJSON PullRequestReviewEvent where- parseJSON = withObject "PullRequestReviewEvent" $ \o -> PullRequestReviewEvent- <$> o .: "action"- <*> o .: "review"- <*> o .: "pull_request"- <*> o .: "repository"- <*> o .: "sender"--instance FromJSON PullRequestReviewCommentEvent where- parseJSON = withObject "PullRequestReviewCommentEvent" $ \o -> PullRequestReviewCommentEvent- <$> o .: "action"- <*> o .: "comment"- <*> o .: "pull_request"- <*> o .: "repository"- <*> o .: "sender"--instance FromJSON PushEvent where- parseJSON = withObject "PushEvent" $ \o -> PushEvent- <$> o .: "ref"- <*> o .:? "after"- <*> o .:? "before"- <*> o .: "created"- <*> o .: "deleted"- <*> o .: "forced"- <*> o .:? "base_ref"- <*> o .: "compare"- <*> o .:? "commits"- <*> o .:? "head_commit"- <*> o .: "repository"- <*> o .:? "organization"- <*> o .: "sender"--instance FromJSON ReleaseEvent where- parseJSON = withObject "ReleaseEvent" $ \o -> ReleaseEvent- <$> o .: "action"- <*> o .: "release"- <*> o .: "repository"- <*> o .: "sender"--instance FromJSON RepositoryEvent where- parseJSON = withObject "RepositoryEvent" $ \o -> RepositoryEvent- <$> o .: "action"- <*> o .: "repository"- <*> o .: "organization"- <*> o .: "sender"--instance FromJSON StatusEvent where- parseJSON = withObject "StatusEvent" $ \o -> StatusEvent- <$> o .: "id"- <*> o .: "sha"- <*> o .: "name"- <*> o .:? "target_url"- <*> o .: "context"- <*> o .:? "description"- <*> o .: "state"- <*> o .: "commit"- <*> o .: "created_at"- <*> o .: "updated_at"- <*> o .: "repository"- <*> o .: "sender"--instance FromJSON TeamEvent where- parseJSON = withObject "TeamEvent" $ \o -> TeamEvent- <$> o .: "action"- <*> o .: "team"- <*> o .: "organization"- <*> o .: "sender"--instance FromJSON TeamAddEvent where- parseJSON = withObject "TeamAddEvent" $ \o -> TeamAddEvent- <$> o .:? "team"- <*> o .: "repository"- <*> o .: "organization"- <*> o .: "sender"--instance FromJSON WatchEvent where- parseJSON = withObject "WatchEvent" $ \o -> WatchEvent- <$> o .: "action"- <*> o .: "repository"- <*> o .: "sender"+{-# LANGUAGE Trustworthy #-} +{-| +Module : Github.Data.Webhooks.Events +Copyright : (c) Cuedo Control Engineering 2017-2022 +License : MIT +Maintainer : Kyle Van Berendonck <foss@cuedo.com.au> + +This module contains types that represent GitHub webhook's events. +-} +module GitHub.Data.Webhooks.Events + ( EventHasSender(..) + , EventHasRepo(..) + -- + , CheckSuiteEventAction(..) + , CheckSuiteEvent(..) + -- + , CheckRunEventAction(..) + , CheckRunEvent(..) + -- + , CommitCommentEvent(..) + , CommitCommentEventAction(..) + -- + , CreateEvent(..) + -- + , DeleteEvent(..) + -- + , DeploymentEvent(..) + -- + , DeploymentStatusEvent(..) + -- Deprecated events + , DownloadEvent(..) + , FollowEvent(..) + , ForkEvent(..) + , ForkApplyEvent(..) + , GistEvent(..) + -- + , GollumEvent(..) + -- + , InstallationEvent(..) + , InstallationEventAction(..) + -- + , InstallationRepositoriesEvent(..) + , InstallationRepoEventAction(..) + -- + , IssueCommentEvent(..) + , IssueCommentEventAction(..) + -- + , IssuesEvent(..) + , IssuesEventAction(..) + -- + , LabelEvent(..) + , LabelEventAction(..) + -- + , MarketplacePurchaseEvent(..) + , MarketplacePurchaseEventAction(..) + -- + , MemberEvent(..) + , MemberEventAction(..) + -- + , MembershipEvent(..) + , MembershipEventAction(..) + -- + , MilestoneEvent(..) + , MilestoneEventAction(..) + -- + , OrganizationEvent(..) + , OrganizationEventAction(..) + -- + , OrgBlockEvent(..) + , OrgBlockEventAction(..) + -- + , PageBuildEvent(..) + -- + , ProjectCardEvent(..) + , ProjectCardEventAction(..) + -- + , ProjectColumnEvent(..) + , ProjectColumnEventAction(..) + -- + , ProjectEvent(..) + , ProjectEventAction(..) + -- + , PublicEvent(..) + -- + , PullRequestEvent(..) + , PullRequestEventAction(..) + -- + , PullRequestReviewEvent(..) + , PullRequestReviewEventAction(..) + -- + , PullRequestReviewCommentEvent(..) + , PullRequestReviewCommentEventAction(..) + -- + , PushEvent(..) + -- + , ReleaseEvent(..) + , ReleaseEventAction(..) + -- + , RepositoryEvent(..) + , RepositoryEventAction(..) + -- + , StatusEvent(..) + , StatusEventState(..) + -- + , TeamEvent(..) + , TeamEventAction(..) + -- + , TeamAddEvent(..) + -- + , WatchEvent(..) + , WatchEventAction(..) + ) where + +import Data.Aeson (FromJSON(..), withObject, withText, (.:), (.:?), (.!=)) +import Control.Applicative ((<*>), pure) +import Control.DeepSeq (NFData(..)) +import Control.DeepSeq.Generics (genericRnf) +import Data.Data (Data, Typeable) +import Data.Functor ((<$>)) +import Data.Monoid (mempty) +import Data.Time (UTCTime) +import Data.Time.LocalTime (zonedTimeToUTC) +import Data.Text (Text) +import Data.Vector (Vector) +import GHC.Generics (Generic) + +import GitHub.Data.Webhooks.Payload + +-- | Represents an event that contains its sender information. +class EventHasSender eventKind where + -- | Provides the sender context of a Webhook event. + senderOfEvent :: eventKind -> HookUser + +-- | Represents an event that contains its repository information. +class EventHasRepo eventKind where + -- | Provides the repository context of a Webhook event. + repoForEvent :: eventKind -> HookRepository + +-- | Represents the "action" field in the +-- 'CheckSuiteEvent' payload. +data CheckSuiteEventAction + -- | Decodes from "completed" + = CheckSuiteEventActionCompleted + -- | Decodes from "requested" + | CheckSuiteEventActionRequested + -- | Decodes from "rerequested" + | CheckSuiteEventActionRerequested + -- | The result of decoding an unknown check suite event action type + | CheckSuiteEventActionOther !Text + deriving (Eq, Ord, Show, Generic, Typeable, Data) + +instance NFData CheckSuiteEventAction where rnf = genericRnf + +instance FromJSON CheckSuiteEventAction where + parseJSON = withText "Check suite event action" $ \t -> + case t of + "completed" -> pure CheckSuiteEventActionCompleted + "requested" -> pure CheckSuiteEventActionRequested + "rerequested" -> pure CheckSuiteEventActionRerequested + _ -> pure (CheckSuiteEventActionOther t) + +-- | Triggered when a check suite is completed, requested, or rerequested. +-- See <https://developer.github.com/v3/activity/events/types/#checksuiteevent>. +data CheckSuiteEvent = CheckSuiteEvent + { evCheckSuiteAction :: !CheckSuiteEventAction + , evCheckSuiteCheckSuite :: !HookCheckSuite + , evCheckSuiteRepository :: !HookRepository + , evCheckSuiteOrganization :: !(Maybe HookOrganization) + , evCheckSuiteSender :: !HookUser + , evCheckSuiteInstallation :: !(Maybe HookChecksInstallation) + } + deriving (Eq, Show, Typeable, Data, Generic) + +instance EventHasSender CheckSuiteEvent where senderOfEvent = evCheckSuiteSender +instance EventHasRepo CheckSuiteEvent where repoForEvent = evCheckSuiteRepository +instance NFData CheckSuiteEvent where rnf = genericRnf + +-- | Represents the "action" field in the +-- 'CheckRunEvent' payload. +data CheckRunEventAction + -- | Decodes from "created" + = CheckRunEventActionCreated + -- | Decodes from "completed" + | CheckRunEventActionCompleted + -- | Decodes from "rerequested" + | CheckRunEventActionRerequested + -- | Decodes from "requested_action" + | CheckRunEventActionRequestedAction + -- | The result of decoding an unknown check run event action type + | CheckRunEventActionOther !Text + deriving (Eq, Ord, Show, Generic, Typeable, Data) + +instance NFData CheckRunEventAction where rnf = genericRnf + +instance FromJSON CheckRunEventAction where + parseJSON = withText "Check run event action" $ \t -> + case t of + "created" -> pure CheckRunEventActionCreated + "completed" -> pure CheckRunEventActionCompleted + "rerequested" -> pure CheckRunEventActionRerequested + "requested_action" -> pure CheckRunEventActionRequestedAction + _ -> pure (CheckRunEventActionOther t) + +-- | Triggered when a check run is created, rerequested, completed, or has a requested_action. +-- See <https://developer.github.com/v3/activity/events/types/#checkrunevent>. +data CheckRunEvent = CheckRunEvent + { evCheckRunAction :: !CheckRunEventAction + , evCheckRunCheckRun :: !HookCheckRun + , evCheckRunRequestedAction :: !(Maybe HookCheckRunRequestedAction) + , evCheckRunRepository :: !HookRepository + , evCheckRunOrganization :: !(Maybe HookOrganization) + , evCheckRunSender :: !HookUser + , evCheckRunInstallation :: !(Maybe HookChecksInstallation) + } + deriving (Eq, Show, Typeable, Data, Generic) + +instance EventHasSender CheckRunEvent where senderOfEvent = evCheckRunSender +instance EventHasRepo CheckRunEvent where repoForEvent = evCheckRunRepository +instance NFData CheckRunEvent where rnf = genericRnf + +-- | Represents the "action" field in the +-- 'CommitCommentEvent' payload. +data CommitCommentEventAction + -- | Decodes from "created" + = CommitCommentActionCreated + -- | The result of decoding an unknown commit comment event action type + | CommitCommentActionOther !Text + deriving (Eq, Ord, Show, Generic, Typeable, Data) + +instance NFData CommitCommentEventAction where rnf = genericRnf + +instance FromJSON CommitCommentEventAction where + parseJSON = withText "Commit comment event action" $ \t -> + case t of + "created" -> pure CommitCommentActionCreated + _ -> pure (CommitCommentActionOther t) + +-- | Triggered when a commit comment is created. +-- See <https://developer.github.com/v3/activity/events/types/#commitcommentevent>. +data CommitCommentEvent = CommitCommentEvent + { evCommitCommentAction :: !CommitCommentEventAction + , evCommitCommentPayload :: !HookCommitComment + , evCommitCommentRepo :: !HookRepository + , evCommitCommentSender :: !HookUser + } + deriving (Eq, Show, Typeable, Data, Generic) + +instance EventHasSender CommitCommentEvent where senderOfEvent = evCommitCommentSender +instance EventHasRepo CommitCommentEvent where repoForEvent = evCommitCommentRepo +instance NFData CommitCommentEvent where rnf = genericRnf + + +-- | Represents a created repository, branch, or tag. +-- Note: webhooks will not receive this event for created repositories. +-- Additionally, webhooks will not receive this event for tags if more than three tags are pushed at once. +-- See <https://developer.github.com/v3/activity/events/types/#createevent>. +data CreateEvent = CreateEvent + { evCreateRef :: !Text + , evCreateRefType :: !Text + , evCreateMasterBranch :: !Text + , evCreateDescription :: !Text + , evCreatePusherType :: !OwnerType + , evCreateRepo :: !HookRepository + , evCreateSender :: !HookUser + } + deriving (Eq, Show, Typeable, Data, Generic) + +instance EventHasSender CreateEvent where senderOfEvent = evCreateSender +instance EventHasRepo CreateEvent where repoForEvent = evCreateRepo +instance NFData CreateEvent where rnf = genericRnf + + +-- | Represents a deleted branch or tag. +-- Note: webhooks will not receive this event for tags if more than three tags are deleted at once. +-- See <https://developer.github.com/v3/activity/events/types/#deleteevent>. +data DeleteEvent = DeleteEvent + { evDeleteRef :: !Text + , evDeleteRefType :: !Text + , evDeletePusherType :: !OwnerType + , evDeleteRepo :: !HookRepository + , evDeleteSender :: !HookUser + } + deriving (Eq, Show, Typeable, Data, Generic) + +instance EventHasSender DeleteEvent where senderOfEvent = evDeleteSender +instance EventHasRepo DeleteEvent where repoForEvent = evDeleteRepo +instance NFData DeleteEvent where rnf = genericRnf + + +-- | Represents a deployment. +-- Events of this type are not visible in timelines. These events are only used to trigger hooks. +-- See <https://developer.github.com/v3/activity/events/types/#deploymentevent>. +data DeploymentEvent = DeploymentEvent + { evDeploymentInfo :: !HookDeployment + , evDeploymentRepo :: !HookRepository + , evDeploymentSender :: !HookUser + } + deriving (Eq, Show, Typeable, Data, Generic) + +instance EventHasSender DeploymentEvent where senderOfEvent = evDeploymentSender +instance EventHasRepo DeploymentEvent where repoForEvent = evDeploymentRepo +instance NFData DeploymentEvent where rnf = genericRnf + + +-- | Represents a deployment status. +-- Events of this type are not visible in timelines. These events are only used to trigger hooks. +-- See <https://developer.github.com/v3/activity/events/types/#deploymentstatusevent>. +data DeploymentStatusEvent = DeploymentStatusEvent + { evDeplStatusInfo :: !HookDeploymentStatus + , evDeplStatusDeployment :: !HookDeployment + , evDeplStatusRepo :: !HookRepository + , evDeplStatusSender :: !HookUser + } + deriving (Eq, Show, Typeable, Data, Generic) + +instance EventHasSender DeploymentStatusEvent where senderOfEvent = evDeplStatusSender +instance EventHasRepo DeploymentStatusEvent where repoForEvent = evDeplStatusRepo +instance NFData DeploymentStatusEvent where rnf = genericRnf + + +-- | Triggered when a new download is created. +-- Events of this kind are no longer delivered. +-- See <https://developer.github.com/v3/activity/events/types/#downloadevent>. +data DownloadEvent = DownloadEvent + +-- | Triggered when a user follows another user. +-- Events of this kind are no longer delivered. +-- See <https://developer.github.com/v3/activity/events/types/#downloadevent>. +data FollowEvent = FollowEvent + +-- | Triggered when a user forks a repository. +-- See <https://developer.github.com/v3/activity/events/types/#forkevent>. +data ForkEvent = ForkEvent + { evForkDestination :: !HookRepository + , evForkSource :: !HookRepository + , evForkSender :: !HookUser + } + deriving (Eq, Show, Typeable, Data, Generic) + +instance EventHasSender ForkEvent where senderOfEvent = evForkSender +instance EventHasRepo ForkEvent where repoForEvent = evForkSource +instance NFData ForkEvent where rnf = genericRnf + + +-- | Triggered when a patch is applied in the Fork Queue. +-- Events of this kind are no longer delivered. +-- See <https://developer.github.com/v3/activity/events/types/#forkapplyevent>. +data ForkApplyEvent = ForkApplyEvent + + +-- | Triggered when a Gist is created or updated. +-- Events of this kind are no longer delivered. +-- See <https://developer.github.com/v3/activity/events/types/#gistevent>. +data GistEvent = GistEvent + + +-- | Triggered when a Wiki page is created or updated. +-- See <https://developer.github.com/v3/activity/events/types/#gollumevent>. +data GollumEvent = GollumEvent + { evGollumPages :: !(Vector HookWikiPage) + , evGollumRepo :: !HookRepository + , evGollumSender :: !HookUser + } + deriving (Eq, Show, Typeable, Data, Generic) + +instance EventHasSender GollumEvent where senderOfEvent = evGollumSender +instance EventHasRepo GollumEvent where repoForEvent = evGollumRepo +instance NFData GollumEvent where rnf = genericRnf + + +data InstallationEventAction + -- | Decodes from "created" + = InstallationCreatedAction + -- | Decodes from "deleted" + | InstallationDeletedAction + -- | Decodes from "suspend" + | InstallationSuspendAction + -- | Decodes from "unsuspend" + | InstallationUnsuspendAction + -- | Decodes from "new_permissions_accepted" + | InstallationNewPermissionsAcceptedAction + -- | The result of decoding an unknown installation event action type + | InstallationActionOther !Text + deriving (Eq, Ord, Show, Generic, Typeable, Data) + +instance NFData InstallationEventAction where rnf = genericRnf + +instance FromJSON InstallationEventAction where + parseJSON = withText "Installation event action" $ \t -> + case t of + "created" -> pure InstallationCreatedAction + "deleted" -> pure InstallationDeletedAction + "suspend" -> pure InstallationSuspendAction + "unsuspend" -> pure InstallationUnsuspendAction + "new_permissions_accepted" -> pure InstallationNewPermissionsAcceptedAction + _ -> pure (InstallationActionOther t) + +-- | Triggered when a GitHub App has been installed or uninstalled. +-- See <https://developer.github.com/v3/activity/events/types/#installationevent>. +data InstallationEvent = InstallationEvent + { evInstallationAction :: !InstallationEventAction + , evInstallationInfo :: !HookInstallation + , evInstallationRepos :: !(Vector HookRepositorySimple) + , evInstallationSender :: !HookUser + } + deriving (Eq, Show, Typeable, Data, Generic) + +instance EventHasSender InstallationEvent where senderOfEvent = evInstallationSender +instance NFData InstallationEvent where rnf = genericRnf + + +data InstallationRepoEventAction + -- | Decodes from "added" + = InstallationRepoAddedAction + -- | Decodes from "removed" + | InstallationRepoRemovedAction + -- | The result of decoding an unknown installation repo event action type + | InstallationRepoActionOther !Text + deriving (Eq, Ord, Show, Generic, Typeable, Data) + +instance NFData InstallationRepoEventAction where rnf = genericRnf + +instance FromJSON InstallationRepoEventAction where + parseJSON = withText "Installation repo event action" $ \t -> + case t of + "added" -> pure InstallationRepoAddedAction + "removed" -> pure InstallationRepoRemovedAction + _ -> pure (InstallationRepoActionOther t) + +-- | Triggered when a repository is added or removed from an installation. +-- See <https://developer.github.com/v3/activity/events/types/#installationrepositoriesevent>. +data InstallationRepositoriesEvent = InstallationRepositoriesEvent + { evInstallationRepoAction :: !InstallationRepoEventAction + , evInstallationRepoInfo :: !HookInstallation + , evInstallationRepoSel :: !Text + , evInstallationReposAdd :: !(Vector HookRepositorySimple) + , evInstallationReposRemove :: !(Vector HookRepositorySimple) + , evInstallationReposSender :: !HookUser + } + deriving (Eq, Show, Typeable, Data, Generic) + +instance EventHasSender InstallationRepositoriesEvent where senderOfEvent = evInstallationReposSender +instance NFData InstallationRepositoriesEvent where rnf = genericRnf + + +data IssueCommentEventAction + -- | Decodes from "created" + = IssueCommentCreatedAction + -- | Decodes from "edited" + | IssueCommentEditedAction + -- | Decodes from "deleted" + | IssueCommentDeletedAction + -- | The result of decoding an unknown issue comment event action type + | IssueCommentActionOther !Text + deriving (Eq, Ord, Show, Generic, Typeable, Data) + +instance NFData IssueCommentEventAction where rnf = genericRnf + +instance FromJSON IssueCommentEventAction where + parseJSON = withText "Issue comment event action" $ \t -> + case t of + "created" -> pure IssueCommentCreatedAction + "edited" -> pure IssueCommentEditedAction + "deleted" -> pure IssueCommentDeletedAction + _ -> pure (IssueCommentActionOther t) + +-- | Triggered when an issue comment is created, edited, or deleted. +-- See <https://developer.github.com/v3/activity/events/types/#issuecommentevent>. +data IssueCommentEvent = IssueCommentEvent + { evIssueCommentAction :: !IssueCommentEventAction + , evIssueCommentIssue :: !HookIssue + , evIssueCommentPayload :: !HookIssueComment + , evIssueCommentRepo :: !HookRepository + , evIssueCommentSender :: !HookUser + } + deriving (Eq, Show, Typeable, Data, Generic) + +instance EventHasSender IssueCommentEvent where senderOfEvent = evIssueCommentSender +instance EventHasRepo IssueCommentEvent where repoForEvent = evIssueCommentRepo +instance NFData IssueCommentEvent where rnf = genericRnf + + +data IssuesEventAction + -- | Decodes from "assigned" + = IssuesAssignedAction + -- | Decodes from "unassigned" + | IssuesUnassignedAction + -- | Decodes from "labeled" + | IssuesLabeledAction + -- | Decodes from "unlabeled" + | IssuesUnlabeledAction + -- | Decodes from "opened" + | IssuesOpenedAction + -- | Decodes from "edited" + | IssuesEditedAction + -- | Decodes from "milestoned" + | IssuesMilestonedAction + -- | Decodes from "demilestoned" + | IssuesDemilestonedAction + -- | Decodes from "closed" + | IssuesClosedAction + -- | Decodes from "reopened" + | IssuesReopenedAction + -- | The result of decoding an unknown issue comment event action type + | IssuesActionOther !Text + deriving (Eq, Ord, Show, Generic, Typeable, Data) + +instance NFData IssuesEventAction where rnf = genericRnf + +instance FromJSON IssuesEventAction where + parseJSON = withText "Issue comment event action" $ \t -> + case t of + "assigned" -> pure IssuesAssignedAction + "unassigned" -> pure IssuesUnassignedAction + "labeled" -> pure IssuesLabeledAction + "unlabeled" -> pure IssuesUnlabeledAction + "opened" -> pure IssuesOpenedAction + "edited" -> pure IssuesEditedAction + "milestoned" -> pure IssuesMilestonedAction + "demilestoned" -> pure IssuesDemilestonedAction + "closed" -> pure IssuesClosedAction + "reopened" -> pure IssuesReopenedAction + _ -> pure (IssuesActionOther t) + +-- | Triggered when an issue is assigned, unassigned, labeled, +-- unlabeled, opened, edited, milestoned, demilestoned, closed, or reopened. +-- See <https://developer.github.com/v3/activity/events/types/#issuesevent>. +data IssuesEvent = IssuesEvent + { evIssuesEventAction :: !IssuesEventAction + , evIssuesEventIssue :: !HookIssue + , evIssuesEventRepo :: !HookRepository + , evIssuesEventSender :: !HookUser + } + deriving (Eq, Show, Typeable, Data, Generic) + +instance EventHasSender IssuesEvent where senderOfEvent = evIssuesEventSender +instance EventHasRepo IssuesEvent where repoForEvent = evIssuesEventRepo +instance NFData IssuesEvent where rnf = genericRnf + + +data LabelEventAction + -- | Decodes from "created" + = LabelCreatedAction + -- | Decodes from "edited" + | LabelEditedAction + -- | Decodes from "deleted" + | LabelDeletedAction + -- | The result of decoding an unknown label event action type + | LabelActionOther !Text + deriving (Eq, Ord, Show, Generic, Typeable, Data) + +instance NFData LabelEventAction where rnf = genericRnf + +instance FromJSON LabelEventAction where + parseJSON = withText "Label event action" $ \t -> + case t of + "created" -> pure LabelCreatedAction + "edited" -> pure LabelEditedAction + "deleted" -> pure LabelDeletedAction + _ -> pure (LabelActionOther t) + +-- | Triggered when a repository's label is created, edited, or deleted. +-- Events of this type are not visible in timelines. These events are only used to trigger hooks. +-- See <https://developer.github.com/v3/activity/events/types/#labelevent>. +data LabelEvent = LabelEvent + { evLabelEventAction :: !LabelEventAction + , evLabelEventPayload :: !HookRepositoryLabel + , evLabelEventRepo :: !HookRepository + , evLabelEventOrganization :: !(Maybe HookOrganization) + , evLabelEventSender :: !HookUser + } + deriving (Eq, Show, Typeable, Data, Generic) + +instance EventHasSender LabelEvent where senderOfEvent = evLabelEventSender +instance EventHasRepo LabelEvent where repoForEvent = evLabelEventRepo +instance NFData LabelEvent where rnf = genericRnf + + +data MarketplacePurchaseEventAction + -- | Decodes from "purchased" + = MarketplacePurchasePurchasedAction + -- | Decodes from "cancelled" + | MarketplacePurchaseCancelledAction + -- | Decodes from "pending_change" + | MarketplacePurchasePendingChangeAction + -- | Decodes from "pending_change_cancelled" + | MarketplacePurchasePendingChangeCancelledAction + -- | Decodes from "changed" + | MarketplacePurchaseChangedAction + -- | The result of decoding an unknown marketplace purchase event action type + | MarketplacePurchaseActionOther !Text + deriving (Eq, Ord, Show, Generic, Typeable, Data) + +instance NFData MarketplacePurchaseEventAction where rnf = genericRnf + +instance FromJSON MarketplacePurchaseEventAction where + parseJSON = withText "Marketplace purchase event action" $ \t -> + case t of + "purchased" -> pure MarketplacePurchasePurchasedAction + "cancelled" -> pure MarketplacePurchaseCancelledAction + "pending_change" -> pure MarketplacePurchasePendingChangeAction + "pending_change_cancelled" -> pure MarketplacePurchasePendingChangeCancelledAction + "changed" -> pure MarketplacePurchaseChangedAction + _ -> pure (MarketplacePurchaseActionOther t) + +-- | A GitHub Marketplace app receives information about changes to a user's plan from the Marketplace purchase event webhook. A Marketplace purchase event is triggered when a user purchases, cancels, or changes their payment plan. +-- See <https://docs.github.com/en/developers/github-marketplace/using-the-github-marketplace-api-in-your-app/webhook-events-for-the-github-marketplace-api#github-marketplace-purchase-webhook-payload>. +data MarketplacePurchaseEvent = MarketplacePurchaseEvent + { evMarketplacePurchaseAction :: !MarketplacePurchaseEventAction + , evMarketplacePurchaseEffectiveDate :: !UTCTime + , evMarketplacePurchaseSender :: !HookUser + , evMarketplacePurchaseNew :: !HookMarketplacePurchase + , evMarketplacePurchasePrevious :: !(Maybe HookMarketplacePurchase) + } + deriving (Eq, Show, Typeable, Data, Generic) + +instance EventHasSender MarketplacePurchaseEvent where senderOfEvent = evMarketplacePurchaseSender +instance NFData MarketplacePurchaseEvent where rnf = genericRnf + + +data MemberEventAction + -- | Decodes from "added" + = MemberAddedAction + -- | Decodes from "edited" + | MemberEditedAction + -- | Decodes from "deleted" + | MemberDeletedAction + -- | The result of decoding an unknown label event action type + | MemberActionOther !Text + deriving (Eq, Ord, Show, Generic, Typeable, Data) + +instance NFData MemberEventAction where rnf = genericRnf + +instance FromJSON MemberEventAction where + parseJSON = withText "Member event action" $ \t -> + case t of + "added" -> pure MemberAddedAction + "edited" -> pure MemberEditedAction + "deleted" -> pure MemberDeletedAction + _ -> pure (MemberActionOther t) + +-- | Triggered when a user is added or removed as a collaborator to a repository, or has their permissions changed. +-- See <https://developer.github.com/v3/activity/events/types/#memberevent>. +data MemberEvent = MemberEvent + { evMemberAction :: !MemberEventAction + , evMemberUser :: !HookUser + , evMemberRepo :: !HookRepository + , evMemberSender :: !HookUser + } + deriving (Eq, Show, Typeable, Data, Generic) + +instance EventHasSender MemberEvent where senderOfEvent = evMemberSender +instance EventHasRepo MemberEvent where repoForEvent = evMemberRepo +instance NFData MemberEvent where rnf = genericRnf + + +data MembershipEventAction + -- | Decodes from "added" + = MembershipAddedAction + -- | Decodes from "removed" + | MembershipRemovedAction + -- | The result of decoding an unknown label event action type + | MembershipActionOther !Text + deriving (Eq, Ord, Show, Generic, Typeable, Data) + +instance NFData MembershipEventAction where rnf = genericRnf + +instance FromJSON MembershipEventAction where + parseJSON = withText "Membership event action" $ \t -> + case t of + "added" -> pure MembershipAddedAction + "removed" -> pure MembershipRemovedAction + _ -> pure (MembershipActionOther t) + +-- | Triggered when a user is added or removed from a team. +-- Events of this type are not visible in timelines. These events are only used to trigger hooks. +-- See <https://developer.github.com/v3/activity/events/types/#membershipevent>. +data MembershipEvent = MembershipEvent + { evMembershipAction :: !MembershipEventAction + , evMembershipScope :: !Text -- ^ Current can only be "team" + , evMembershipUser :: !HookUser + , evMembershipTeam :: !HookTeam + , evMembershipOrg :: !HookOrganization + , evMembershipSender :: !HookUser + } + deriving (Eq, Show, Typeable, Data, Generic) + +instance EventHasSender MembershipEvent where senderOfEvent = evMembershipSender +instance NFData MembershipEvent where rnf = genericRnf + + +data MilestoneEventAction + -- | Decodes from "created" + = MilestoneCreatedAction + -- | Decodes from "closed" + | MilestoneClosedAction + -- | Decodes from "opened" + | MilestoneOpenedAction + -- | Decodes from "edited" + | MilestoneEditedAction + -- | Decodes from "deleted" + | MilestoneDeletedAction + -- | The result of decoding an unknown label event action type + | MilestoneActionOther !Text + deriving (Eq, Ord, Show, Generic, Typeable, Data) + +instance NFData MilestoneEventAction where rnf = genericRnf + +instance FromJSON MilestoneEventAction where + parseJSON = withText "Milestone event action" $ \t -> + case t of + "created" -> pure MilestoneCreatedAction + "closed" -> pure MilestoneClosedAction + "opened" -> pure MilestoneOpenedAction + "edited" -> pure MilestoneEditedAction + "deleted" -> pure MilestoneDeletedAction + _ -> pure (MilestoneActionOther t) + +-- | Triggered when a milestone is created, closed, opened, edited, or deleted. +-- Events of this type are not visible in timelines. These events are only used to trigger hooks. +-- See <https://developer.github.com/v3/activity/events/types/#milestoneevent>. +data MilestoneEvent = MilestoneEvent + { evMilestoneAction :: !MilestoneEventAction + , evMilestoenPayload :: !HookMilestone + , evMilestoneRepo :: !HookRepository + , evMilestoneOrg :: !HookOrganization + , evMilestoneSender :: !HookUser + } + deriving (Eq, Show, Typeable, Data, Generic) + +instance EventHasSender MilestoneEvent where senderOfEvent = evMilestoneSender +instance EventHasRepo MilestoneEvent where repoForEvent = evMilestoneRepo +instance NFData MilestoneEvent where rnf = genericRnf + + +data OrganizationEventAction + -- | Decodes from "member_added" + = OrgMemberAddedAction + -- | Decodes from "member_removed" + | OrgMemberRemovedAction + -- | Decodes from "member_invited" + | OrgMemberInvitedAction + -- | The result of decoding an unknown label event action type + | OrgActionOther !Text + deriving (Eq, Ord, Show, Generic, Typeable, Data) + +instance NFData OrganizationEventAction where rnf = genericRnf + +instance FromJSON OrganizationEventAction where + parseJSON = withText "Organization event action" $ \t -> + case t of + "member_added" -> pure OrgMemberAddedAction + "member_removed" -> pure OrgMemberRemovedAction + "member_invited" -> pure OrgMemberInvitedAction + _ -> pure (OrgActionOther t) + +-- | Triggered when a user is added, removed, or invited to an Organization. +-- Events of this type are not visible in timelines. These events are only used to trigger organization hooks. +-- See <https://developer.github.com/v3/activity/events/types/#organizationevent>. +data OrganizationEvent = OrganizationEvent + { evOrganizationAction :: !OrganizationEventAction + , evOrganizationInvitation :: !(Maybe HookOrganizationInvitation) + , evOrganizationMembership :: !(Maybe HookOrganizationMembership) + , evOrganizationOrg :: !HookOrganization + , evOrganizationSender :: !HookUser + } + deriving (Eq, Show, Typeable, Data, Generic) + +instance EventHasSender OrganizationEvent where senderOfEvent = evOrganizationSender +instance NFData OrganizationEvent where rnf = genericRnf + + +data OrgBlockEventAction + -- | Decodes from "blocked" + = OrgBlockBlockedAction + -- | Decodes from "unblocked" + | OrgBlockUnblockedAction + -- | The result of decoding an unknown org block event action type + | OrgBlockActionOther !Text + deriving (Eq, Ord, Show, Generic, Typeable, Data) + +instance NFData OrgBlockEventAction where rnf = genericRnf + +instance FromJSON OrgBlockEventAction where + parseJSON = withText "Organization event action" $ \t -> + case t of + "blocked" -> pure OrgBlockBlockedAction + "unblocked" -> pure OrgBlockUnblockedAction + _ -> pure (OrgBlockActionOther t) + +-- | Triggered when an organization blocks or unblocks a user. +-- See <https://developer.github.com/v3/activity/events/types/#orgblockevent>. +data OrgBlockEvent = OrgBlockEvent + { evOrgBlockAction :: !OrgBlockEventAction + , evOrgBlockUser :: !HookUser + , evOrgBlockOrg :: !HookOrganization + , evOrgBlockSender :: !HookUser + } + deriving (Eq, Show, Typeable, Data, Generic) + +instance EventHasSender OrgBlockEvent where senderOfEvent = evOrgBlockSender +instance NFData OrgBlockEvent where rnf = genericRnf + + +-- | Represents an attempted build of a GitHub Pages site, whether successful or not. +-- Triggered on push to a GitHub Pages enabled branch (gh-pages for project pages, master for user and organization pages). +-- Events of this type are not visible in timelines. These events are only used to trigger hooks. +-- See <https://developer.github.com/v3/activity/events/types/#pagebuildevent>. +data PageBuildEvent = PageBuildEvent + { evPageBuildId :: !Int + , evPageBuildResult :: !HookPageBuildResult + , evPageBuildRepo :: !HookRepository + , evPageBuildSender :: !HookUser + } + deriving (Eq, Show, Typeable, Data, Generic) + +instance EventHasSender PageBuildEvent where senderOfEvent = evPageBuildSender +instance EventHasRepo PageBuildEvent where repoForEvent = evPageBuildRepo +instance NFData PageBuildEvent where rnf = genericRnf + + +data ProjectCardEventAction + -- | Decodes from "created" + = ProjectCardCreatedAction + -- | Decodes from "edited" + | ProjectCardEditedAction + -- | Decodes from "converted" + | ProjectCardConvertedAction + -- | Decodes from "moved" + | ProjectCardMovedAction + -- | Decodes from "deleted" + | ProjectCardDeletedAction + -- | The result of decoding an unknown project card event action type + | ProjectCardActionOther !Text + deriving (Eq, Ord, Show, Generic, Typeable, Data) + +instance NFData ProjectCardEventAction where rnf = genericRnf + +instance FromJSON ProjectCardEventAction where + parseJSON = withText "Project card event action" $ \t -> + case t of + "created" -> pure ProjectCardCreatedAction + "edited" -> pure ProjectCardEditedAction + "converted" -> pure ProjectCardConvertedAction + "moved" -> pure ProjectCardMovedAction + "deleted" -> pure ProjectCardDeletedAction + _ -> pure (ProjectCardActionOther t) + +-- | Triggered when a project card is created, updated, moved, converted to an issue, or deleted. +-- See <https://developer.github.com/v3/activity/events/types/#projectcardevent>. +data ProjectCardEvent = ProjectCardEvent + { evProjectCardAction :: !ProjectCardEventAction + , evProjectCardPayload :: !HookProjectCard + , evProjectCardRepo :: !HookRepository + , evProjectCardOrg :: !HookOrganization + , evProjectCardSender :: !HookUser + } + deriving (Eq, Show, Typeable, Data, Generic) + +instance EventHasSender ProjectCardEvent where senderOfEvent = evProjectCardSender +instance EventHasRepo ProjectCardEvent where repoForEvent = evProjectCardRepo +instance NFData ProjectCardEvent where rnf = genericRnf + + +data ProjectColumnEventAction + -- | Decodes from "created" + = ProjectColumnCreatedAction + -- | Decodes from "edited" + | ProjectColumnEditedAction + -- | Decodes from "moved" + | ProjectColumnMovedAction + -- | Decodes from "deleted" + | ProjectColumnDeletedAction + -- | The result of decoding an unknown project card event action type + | ProjectColumnActionOther !Text + deriving (Eq, Ord, Show, Generic, Typeable, Data) + +instance NFData ProjectColumnEventAction where rnf = genericRnf + +instance FromJSON ProjectColumnEventAction where + parseJSON = withText "Project column event action" $ \t -> + case t of + "created" -> pure ProjectColumnCreatedAction + "edited" -> pure ProjectColumnEditedAction + "moved" -> pure ProjectColumnMovedAction + "deleted" -> pure ProjectColumnDeletedAction + _ -> pure (ProjectColumnActionOther t) + +-- | Triggered when a project column is created, updated, moved, or deleted. +-- See <https://developer.github.com/v3/activity/events/types/#projectcolumnevent>. +data ProjectColumnEvent = ProjectColumnEvent + { evProjectColumnAction :: !ProjectColumnEventAction + , evProjectColumnPayload :: !HookProjectColumn + , evProjectColumnRepo :: !HookRepository + , evProjectColumnOrg :: !HookOrganization + , evProjectColumnSender :: !HookUser + } + deriving (Eq, Show, Typeable, Data, Generic) + +instance EventHasSender ProjectColumnEvent where senderOfEvent = evProjectColumnSender +instance EventHasRepo ProjectColumnEvent where repoForEvent = evProjectColumnRepo +instance NFData ProjectColumnEvent where rnf = genericRnf + + +data ProjectEventAction + -- | Decodes from "created" + = ProjectCreatedAction + -- | Decodes from "edited" + | ProjectEditedAction + -- | Decodes from "closed" + | ProjectClosedAction + -- | Decodes from "reopened" + | ProjectReopenedAction + -- | Decodes from "deleted" + | ProjectDeletedAction + -- | The result of decoding an unknown project event action type + | ProjectActionOther !Text + deriving (Eq, Ord, Show, Generic, Typeable, Data) + +instance NFData ProjectEventAction where rnf = genericRnf + +instance FromJSON ProjectEventAction where + parseJSON = withText "Project event action" $ \t -> + case t of + "created" -> pure ProjectCreatedAction + "edited" -> pure ProjectEditedAction + "closed" -> pure ProjectClosedAction + "reopened" -> pure ProjectReopenedAction + "deleted" -> pure ProjectDeletedAction + _ -> pure (ProjectActionOther t) + +-- | Triggered when a project is created, updated, closed, reopened, or deleted. +-- See <https://developer.github.com/v3/activity/events/types/#projectevent>. +data ProjectEvent = ProjectEvent + { evProjectEventAction :: !ProjectEventAction + , evProjectPayload :: !HookProject + , evProjectRepo :: !HookRepository + , evProjectOrganization :: !HookOrganization + , evProjectSender :: !HookUser + } + deriving (Eq, Show, Typeable, Data, Generic) + +instance EventHasSender ProjectEvent where senderOfEvent = evProjectSender +instance EventHasRepo ProjectEvent where repoForEvent = evProjectRepo +instance NFData ProjectEvent where rnf = genericRnf + + +-- | Triggered when a private repository is open sourced. Without a doubt: the best GitHub event. +-- See <https://developer.github.com/v3/activity/events/types/#publicevent>. +data PublicEvent = PublicEvent + { evPublicEventRepo :: !HookRepository + , evPublicEventSender :: !HookUser + } + deriving (Eq, Show, Typeable, Data, Generic) + +instance EventHasSender PublicEvent where senderOfEvent = evPublicEventSender +instance EventHasRepo PublicEvent where repoForEvent = evPublicEventRepo +instance NFData PublicEvent where rnf = genericRnf + + +data PullRequestEventAction + -- | Decodes from "assigned" + = PullRequestAssignedAction + -- | Decodes from "unassigned" + | PullRequestUnassignedAction + -- | Decodes from "review_requsted" + | PullRequestReviewRequestedAction + -- | Decodes from "review_request_removed" + | PullRequestReviewRequestRemovedAction + -- | Decodes from "labeled" + | PullRequestLabeledAction + -- | Decodes from "unlabeled" + | PullRequestUnlabeledAction + -- | Decodes from "opened" + | PullRequestOpenedAction + -- | Decodes from "edited" + | PullRequestEditedAction + -- | Decodes from "closed" + | PullRequestClosedAction + -- | Decodes from "reopened" + | PullRequestReopenedAction + -- | The result of decoding an unknown pull request event action type + | PullRequestActionOther !Text + deriving (Eq, Ord, Show, Generic, Typeable, Data) + +instance NFData PullRequestEventAction where rnf = genericRnf + +instance FromJSON PullRequestEventAction where + parseJSON = withText "Pull request event action" $ \t -> + case t of + "assigned" -> pure PullRequestAssignedAction + "unassigned" -> pure PullRequestUnassignedAction + "review_requsted" -> pure PullRequestReviewRequestedAction + "review_request_removed" -> pure PullRequestReviewRequestRemovedAction + "labeled" -> pure PullRequestLabeledAction + "unlabeled" -> pure PullRequestUnlabeledAction + "opened" -> pure PullRequestOpenedAction + "edited" -> pure PullRequestEditedAction + "closed" -> pure PullRequestClosedAction + "reopened" -> pure PullRequestReopenedAction + _ -> pure (PullRequestActionOther t) + +-- | Triggered when a pull request is assigned, unassigned, labeled, unlabeled, opened, edited, +-- closed, reopened, or synchronized. Also triggered when a pull request review is requested, +-- or when a review request is removed. +-- See <https://developer.github.com/v3/activity/events/types/#pullrequestevent>. +data PullRequestEvent = PullRequestEvent + { evPullReqAction :: !PullRequestEventAction + , evPullReqNumber :: !Int + , evPullReqPayload :: !HookPullRequest + , evPullReqRepo :: !HookRepository + , evPullReqSender :: !HookUser + , evPullReqInstallationId :: !(Maybe Int) + } + deriving (Eq, Show, Typeable, Data, Generic) + +instance EventHasSender PullRequestEvent where senderOfEvent = evPullReqSender +instance EventHasRepo PullRequestEvent where repoForEvent = evPullReqRepo +instance NFData PullRequestEvent where rnf = genericRnf + + +data PullRequestReviewEventAction + -- | Decodes from "submitted" + = PullRequestReviewSubmittedAction + -- | Decodes from "edited" + | PullRequestReviewEditedAction + -- | Decodes from "dismissed" + | PullRequestReviewDismissedAction + -- | The result of decoding an unknown pull request review event action type + | PullRequestReviewActionOther !Text + deriving (Eq, Ord, Show, Generic, Typeable, Data) + +instance NFData PullRequestReviewEventAction where rnf = genericRnf + +instance FromJSON PullRequestReviewEventAction where + parseJSON = withText "Pull request review event action" $ \t -> + case t of + "submitted" -> pure PullRequestReviewSubmittedAction + "edited" -> pure PullRequestReviewEditedAction + "dismissed" -> pure PullRequestReviewDismissedAction + _ -> pure (PullRequestReviewActionOther t) + +-- | Triggered when a pull request review is submitted into a non-pending state, +-- the body is edited, or the review is dismissed. +-- See <https://developer.github.com/v3/activity/events/types/#pullrequestreviewevent>. +data PullRequestReviewEvent = PullRequestReviewEvent + { evPullReqReviewAction :: !PullRequestReviewEventAction + , evPullReqReviewPayload :: !HookPullRequestReview + , evPullReqReviewTarget :: !HookPullRequest + , evPullReqReviewRepo :: !HookRepository + , evPullReqReviewSender :: !HookUser + } + deriving (Eq, Show, Typeable, Data, Generic) + +instance EventHasSender PullRequestReviewEvent where senderOfEvent = evPullReqReviewSender +instance EventHasRepo PullRequestReviewEvent where repoForEvent = evPullReqReviewRepo +instance NFData PullRequestReviewEvent where rnf = genericRnf + + +data PullRequestReviewCommentEventAction + -- | Decodes from "created" + = PullRequestReviewCommentCreatedAction + -- | Decodes from "edited" + | PullRequestReviewCommentEditedAction + -- | Decodes from "deleted" + | PullRequestReviewCommentDeletedAction + -- | The result of decoding an unknown pull request review comment event action type + | PullRequestReviewCommentActionOther !Text + deriving (Eq, Ord, Show, Generic, Typeable, Data) + +instance NFData PullRequestReviewCommentEventAction where rnf = genericRnf + +instance FromJSON PullRequestReviewCommentEventAction where + parseJSON = withText "Pull request review comment event action" $ \t -> + case t of + "created" -> pure PullRequestReviewCommentCreatedAction + "edited" -> pure PullRequestReviewCommentEditedAction + "deleted" -> pure PullRequestReviewCommentDeletedAction + _ -> pure (PullRequestReviewCommentActionOther t) + +-- | Triggered when a comment on a pull request's unified diff is created, +-- edited, or deleted (in the Files Changed tab). +-- See <https://developer.github.com/v3/activity/events/types/#pullrequestreviewcommentevent>. +data PullRequestReviewCommentEvent = PullRequestReviewCommentEvent + { evPullReqRevComAction :: !PullRequestReviewCommentEventAction + , evPullReqRevComment :: !HookPullRequestReviewComment + , evPullReqRevTarget :: !HookPullRequest + , evPullReqRevRepo :: !HookRepository + , evPullReqRevSender :: !HookUser + } + deriving (Eq, Show, Typeable, Data, Generic) + +instance EventHasSender PullRequestReviewCommentEvent where senderOfEvent = evPullReqRevSender +instance EventHasRepo PullRequestReviewCommentEvent where repoForEvent = evPullReqRevRepo +instance NFData PullRequestReviewCommentEvent where rnf = genericRnf + + +-- | Triggered on a push to a repository branch. Branch pushes and repository tag +-- pushes also trigger webhook push events. +-- See <https://developer.github.com/v3/activity/events/types/#pushevent>. +data PushEvent = PushEvent + { evPushRef :: !Text + , evPushHeadSha :: !(Maybe Text) + , evPushBeforeSha :: !(Maybe Text) + , evPushCreated :: !Bool + , evPushDeleted :: !Bool + , evPushForced :: !Bool + , evPushBaseRef :: !(Maybe Text) + , evPushCompareUrl :: !URL + , evPushCommits :: !(Maybe (Vector HookCommit)) + , evPushHeadCommit :: !(Maybe HookCommit) + , evPushRepository :: !HookRepository + , evPushOrganization :: !(Maybe HookOrganization) + , evPushSender :: !HookUser + } + deriving (Eq, Show, Typeable, Data, Generic) + +instance EventHasSender PushEvent where senderOfEvent = evPushSender +instance EventHasRepo PushEvent where repoForEvent = evPushRepository +instance NFData PushEvent where rnf = genericRnf + + +data ReleaseEventAction + -- | Decodes from "published" + = ReleasePublishedAction + -- | The result of decoding an unknown release event action type + | ReleaseActionOther !Text + deriving (Eq, Ord, Show, Generic, Typeable, Data) + +instance NFData ReleaseEventAction where rnf = genericRnf + +instance FromJSON ReleaseEventAction where + parseJSON = withText "Release event action" $ \t -> + case t of + "published" -> pure ReleasePublishedAction + _ -> pure (ReleaseActionOther t) + +-- | Triggered when a release is published. +-- See <https://developer.github.com/v3/activity/events/types/#releaseevent>. +data ReleaseEvent = ReleaseEvent + { evReleaseEventAction :: !ReleaseEventAction -- ^ Currently only releasePublished. + , evReleaseEventPayload :: !HookRelease + , evReleaseEventRepo :: !HookRepository + , evReleaseEventSender :: !HookUser + } + deriving (Eq, Show, Typeable, Data, Generic) + +instance EventHasSender ReleaseEvent where senderOfEvent = evReleaseEventSender +instance EventHasRepo ReleaseEvent where repoForEvent = evReleaseEventRepo +instance NFData ReleaseEvent where rnf = genericRnf + + +data RepositoryEventAction + -- | Decodes from "created" + = RepositoryCreatedAction + -- | Decodes from "deleted" + | RepositoryDeletedAction + -- | Decodes from "archived" + | RepositoryArchivedAction + -- | Decodes from "unarchived" + | RepositoryUnarchivedAction + -- | Decodes from "publicized" + | RepositoryPublicizedAction + -- | Decodes from "privatized" + | RepositoryPrivatizedAction + -- | The result of decoding an unknown repository event action type + | RepositoryActionOther !Text + deriving (Eq, Ord, Show, Generic, Typeable, Data) + +instance NFData RepositoryEventAction where rnf = genericRnf + +instance FromJSON RepositoryEventAction where + parseJSON = withText "Repository event action" $ \t -> + case t of + "created" -> pure RepositoryCreatedAction + "deleted" -> pure RepositoryDeletedAction + "archived" -> pure RepositoryArchivedAction + "unarchived" -> pure RepositoryUnarchivedAction + "publicized" -> pure RepositoryPublicizedAction + "privatized" -> pure RepositoryPrivatizedAction + _ -> pure (RepositoryActionOther t) + +-- | Triggered when a repository is created, archived, unarchived, made public, or made private. +-- Organization hooks are also triggered when a repository is deleted. +-- Events of this type are not visible in timelines. These events are only used to trigger hooks. +-- See <https://developer.github.com/v3/activity/events/types/#repositoryevent>. +data RepositoryEvent = RepositoryEvent + { evRepositoryAction :: !RepositoryEventAction + , evRepositoryTarget :: !HookRepository + , evRepositoryOrg :: !(Maybe HookOrganization) + , evRepositorySender :: !HookUser + } + deriving (Eq, Show, Typeable, Data, Generic) + +instance EventHasSender RepositoryEvent where senderOfEvent = evRepositorySender +instance EventHasRepo RepositoryEvent where repoForEvent = evRepositoryTarget +instance NFData RepositoryEvent where rnf = genericRnf + + +data StatusEventState + -- | Decodes from "pending" + = StatusPendingState + -- | Decodes from "success" + | StatusSuccessState + -- | Decodes from "failure" + | StatusFailureState + -- | Decodes from "error" + | StatusErrorState + -- | The result of decoding an unknown status event state + | StatusStateOther !Text + deriving (Eq, Ord, Show, Generic, Typeable, Data) + +instance NFData StatusEventState where rnf = genericRnf + +instance FromJSON StatusEventState where + parseJSON = withText "Status event state" $ \t -> + case t of + "pending" -> pure StatusPendingState + "success" -> pure StatusSuccessState + "failure" -> pure StatusFailureState + "error" -> pure StatusErrorState + _ -> pure (StatusStateOther t) + +-- | Triggered when the status of a Git commit changes. +-- Events of this type are not visible in timelines. These events are only used to trigger hooks. +-- See <https://developer.github.com/v3/activity/events/types/#statusevent>. +data StatusEvent = StatusEvent + { evStatusId :: !Int + , evStatusCommitSha :: !Text + , evStatusCommitName :: !Text + , evStatusTargetUrl :: !(Maybe URL) + , evStatusContext :: !Text + , evStatusDescription :: !(Maybe Text) + , evStatusState :: !StatusEventState + , evStatusCommit :: !HookCommit + -- FIXME: Branches are missing here + , evStatusCreatedAt :: !UTCTime + , evStatusUpdatedAt :: !UTCTime + , evStatusRepo :: !HookRepository + , evStatusSender :: !HookUser + } + deriving (Eq, Show, Typeable, Data, Generic) + +instance EventHasSender StatusEvent where senderOfEvent = evStatusSender +instance EventHasRepo StatusEvent where repoForEvent = evStatusRepo +instance NFData StatusEvent where rnf = genericRnf + + +data TeamEventAction + -- | Decodes from "created" + = TeamCreatedAction + -- | Decodes from "deleted" + | TeamDeletedAction + -- | Decodes from "edited" + | TeamEditedAction + -- | Decodes from "added_to_repository" + | TeamAddedToRepoAction + -- | Decodes from "removed_from_repository" + | TeamRemovedFromRepoAction + -- | The result of decoding an unknown team event action type + | TeamActionOther !Text + deriving (Eq, Ord, Show, Generic, Typeable, Data) + +instance NFData TeamEventAction where rnf = genericRnf + +instance FromJSON TeamEventAction where + parseJSON = withText "Team event action" $ \t -> + case t of + "created" -> pure TeamCreatedAction + "deleted" -> pure TeamDeletedAction + "edited" -> pure TeamEditedAction + "added_to_repository" -> pure TeamAddedToRepoAction + "removed_from_repository" -> pure TeamRemovedFromRepoAction + _ -> pure (TeamActionOther t) + +-- | Triggered when an organization's team is created or deleted. +-- Events of this type are not visible in timelines. These events are only used to trigger organization hooks. +-- See <https://developer.github.com/v3/activity/events/types/#teamevent>. +data TeamEvent = TeamEvent + { evTeamAction :: !TeamEventAction + , evTeamTarget :: !HookTeam + , evTeamOrganization :: !HookOrganization + , evTeamSender :: !HookUser + } + deriving (Eq, Show, Typeable, Data, Generic) + +instance EventHasSender TeamEvent where senderOfEvent = evTeamSender +instance NFData TeamEvent where rnf = genericRnf + + +-- | Triggered when a repository is added to a team. +-- Events of this type are not visible in timelines. These events are only used to trigger hooks. +-- See <https://developer.github.com/v3/activity/events/types/#teamaddevent>. +data TeamAddEvent = TeamAddEvent + { evTeamAddTarget :: !(Maybe HookTeam) -- ^ Older events may not include this in the payload. + , evTeamAddRepo :: !HookRepository + , evTeamAddOrg :: !HookOrganization + , evTeamAddSender :: !HookUser + } + deriving (Eq, Show, Typeable, Data, Generic) + +instance EventHasSender TeamAddEvent where senderOfEvent = evTeamAddSender +instance EventHasRepo TeamAddEvent where repoForEvent = evTeamAddRepo +instance NFData TeamAddEvent where rnf = genericRnf + + +data WatchEventAction + -- | Decodes from "started" + = WatchStartedAction + -- | The result of decoding an unknown watch event action type + | WatchActionOther !Text + deriving (Eq, Ord, Show, Generic, Typeable, Data) + +instance NFData WatchEventAction where rnf = genericRnf + +instance FromJSON WatchEventAction where + parseJSON = withText "Watch event action" $ \t -> + case t of + "started" -> pure WatchStartedAction + _ -> pure (WatchActionOther t) + +-- | The WatchEvent is related to starring a repository, not watching. +-- The event’s actor is the user who starred a repository, and the event’s +-- repository is the repository that was starred. +-- See <https://developer.github.com/v3/activity/events/types/#watchevent>. +data WatchEvent = WatchEvent + { evWatchAction :: !WatchEventAction + , evWatchRepo :: !HookRepository + , evWatchSender :: !HookUser + } + deriving (Eq, Show, Typeable, Data, Generic) + +instance EventHasSender WatchEvent where senderOfEvent = evWatchSender +instance EventHasRepo WatchEvent where repoForEvent = evWatchRepo +instance NFData WatchEvent where rnf = genericRnf + + +-- Aeson Instances + +instance FromJSON CheckSuiteEvent where + parseJSON = withObject "CheckSuiteEvent" $ \o -> CheckSuiteEvent + <$> o .: "action" + <*> o .: "check_suite" + <*> o .: "repository" + <*> o .:? "organization" + <*> o .: "sender" + <*> o .:? "installation" + +instance FromJSON CheckRunEvent where + parseJSON = withObject "CheckRunEvent" $ \o -> CheckRunEvent + <$> o .: "action" + <*> o .: "check_run" + <*> o .:? "requested_action" + <*> o .: "repository" + <*> o .:? "organization" + <*> o .: "sender" + <*> o .:? "installation" + +instance FromJSON CommitCommentEvent where + parseJSON = withObject "CommitCommentEvent" $ \o -> CommitCommentEvent + <$> o .: "action" + <*> o .: "comment" + <*> o .: "repository" + <*> o .: "sender" + +instance FromJSON CreateEvent where + parseJSON = withObject "CreateEvent" $ \o -> CreateEvent + <$> o .: "ref" + <*> o .: "ref_type" + <*> o .: "master_branch" + <*> o .: "description" + <*> o .: "pusher_type" + <*> o .: "repository" + <*> o .: "sender" + +instance FromJSON DeleteEvent where + parseJSON = withObject "DeleteEvent" $ \o -> DeleteEvent + <$> o .: "ref" + <*> o .: "ref_type" + <*> o .: "pusher_type" + <*> o .: "repository" + <*> o .: "sender" + +instance FromJSON DeploymentEvent where + parseJSON = withObject "DeploymentEvent" $ \o -> DeploymentEvent + <$> o .: "deployment" + <*> o .: "repository" + <*> o .: "sender" + +instance FromJSON DeploymentStatusEvent where + parseJSON = withObject "DeploymentStatusEvent" $ \o -> DeploymentStatusEvent + <$> o .: "deployment_status" + <*> o .: "deployment" + <*> o .: "repository" + <*> o .: "sender" + +instance FromJSON ForkEvent where + parseJSON = withObject "ForkEvent" $ \o -> ForkEvent + <$> o .: "forkee" + <*> o .: "repository" + <*> o .: "sender" + +instance FromJSON GollumEvent where + parseJSON = withObject "GollumEvent" $ \o -> GollumEvent + <$> o .: "pages" + <*> o .: "repository" + <*> o .: "sender" + +instance FromJSON InstallationEvent where + parseJSON = withObject "InstallationEvent" $ \o -> InstallationEvent + <$> o .: "action" + <*> o .: "installation" + <*> o .:? "repositories" .!= mempty + <*> o .: "sender" + +instance FromJSON InstallationRepositoriesEvent where + parseJSON = withObject "InstallationRepositoriesEvent" $ \o -> InstallationRepositoriesEvent + <$> o .: "action" + <*> o .: "installation" + <*> o .: "repository_selection" + <*> o .: "repositories_added" + <*> o .: "repositories_removed" + <*> o .: "sender" + +instance FromJSON IssueCommentEvent where + parseJSON = withObject "IssueCommentEvent" $ \o -> IssueCommentEvent + <$> o .: "action" + <*> o .: "issue" + <*> o .: "comment" + <*> o .: "repository" + <*> o .: "sender" + +instance FromJSON IssuesEvent where + parseJSON = withObject "IssuesEvent" $ \o -> IssuesEvent + <$> o .: "action" + <*> o .: "issue" + <*> o .: "repository" + <*> o .: "sender" + +instance FromJSON LabelEvent where + parseJSON = withObject "LabelEvent" $ \o -> LabelEvent + <$> o .: "action" + <*> o .: "label" + <*> o .: "repository" + <*> o .:? "organization" + <*> o .: "sender" + +instance FromJSON MarketplacePurchaseEvent where + parseJSON = withObject "MarketplacePurchaseEvent" $ \o -> MarketplacePurchaseEvent + <$> o .: "action" + <*> (zonedTimeToUTC <$> o .: "effective_date") + <*> o .: "sender" + <*> o .: "marketplace_purchase" + <*> o .:? "previous_marketplace_purchase" + +instance FromJSON MemberEvent where + parseJSON = withObject "MemberEvent" $ \o -> MemberEvent + <$> o .: "action" + <*> o .: "member" + <*> o .: "repository" + <*> o .: "sender" + +instance FromJSON MembershipEvent where + parseJSON = withObject "MembershipEvent" $ \o -> MembershipEvent + <$> o .: "action" + <*> o .: "scope" + <*> o .: "member" + <*> o .: "team" + <*> o .: "organization" + <*> o .: "sender" + +instance FromJSON MilestoneEvent where + parseJSON = withObject "MilestoneEvent" $ \o -> MilestoneEvent + <$> o .: "action" + <*> o .: "milestone" + <*> o .: "repository" + <*> o .: "organization" + <*> o .: "sender" + +instance FromJSON OrganizationEvent where + parseJSON = withObject "OrganizationEvent" $ \o -> OrganizationEvent + <$> o .: "action" + <*> o .:? "invitation" + <*> o .:? "membership" + <*> o .: "organization" + <*> o .: "sender" + +instance FromJSON OrgBlockEvent where + parseJSON = withObject "OrgBlockEvent" $ \o -> OrgBlockEvent + <$> o .: "action" + <*> o .: "blocked_user" + <*> o .: "organization" + <*> o .: "sender" + +instance FromJSON PageBuildEvent where + parseJSON = withObject "PageBuildEvent" $ \o -> PageBuildEvent + <$> o .: "id" + <*> o .: "build" + <*> o .: "repository" + <*> o .: "sender" + +instance FromJSON ProjectCardEvent where + parseJSON = withObject "ProjectCardEvent" $ \o -> ProjectCardEvent + <$> o .: "action" + <*> o .: "project_card" + <*> o .: "repository" + <*> o .: "organization" + <*> o .: "sender" + +instance FromJSON ProjectColumnEvent where + parseJSON = withObject "ProjectColumnEvent" $ \o -> ProjectColumnEvent + <$> o .: "action" + <*> o .: "project_column" + <*> o .: "repository" + <*> o .: "organization" + <*> o .: "sender" + +instance FromJSON ProjectEvent where + parseJSON = withObject "ProjectEvent" $ \o -> ProjectEvent + <$> o .: "action" + <*> o .: "project" + <*> o .: "repository" + <*> o .: "organization" + <*> o .: "sender" + +instance FromJSON PublicEvent where + parseJSON = withObject "PublicEvent" $ \o -> PublicEvent + <$> o .: "repository" + <*> o .: "sender" + +instance FromJSON PullRequestEvent where + parseJSON = withObject "PullRequestEvent" $ \o -> PullRequestEvent + <$> o .: "action" + <*> o .: "number" + <*> o .: "pull_request" + <*> o .: "repository" + <*> o .: "sender" + <*> (o .:? "installation" >>= maybe (pure Nothing) (.:? "id")) + +instance FromJSON PullRequestReviewEvent where + parseJSON = withObject "PullRequestReviewEvent" $ \o -> PullRequestReviewEvent + <$> o .: "action" + <*> o .: "review" + <*> o .: "pull_request" + <*> o .: "repository" + <*> o .: "sender" + +instance FromJSON PullRequestReviewCommentEvent where + parseJSON = withObject "PullRequestReviewCommentEvent" $ \o -> PullRequestReviewCommentEvent + <$> o .: "action" + <*> o .: "comment" + <*> o .: "pull_request" + <*> o .: "repository" + <*> o .: "sender" + +instance FromJSON PushEvent where + parseJSON = withObject "PushEvent" $ \o -> PushEvent + <$> o .: "ref" + <*> o .:? "after" + <*> o .:? "before" + <*> o .: "created" + <*> o .: "deleted" + <*> o .: "forced" + <*> o .:? "base_ref" + <*> o .: "compare" + <*> o .:? "commits" + <*> o .:? "head_commit" + <*> o .: "repository" + <*> o .:? "organization" + <*> o .: "sender" + +instance FromJSON ReleaseEvent where + parseJSON = withObject "ReleaseEvent" $ \o -> ReleaseEvent + <$> o .: "action" + <*> o .: "release" + <*> o .: "repository" + <*> o .: "sender" + +instance FromJSON RepositoryEvent where + parseJSON = withObject "RepositoryEvent" $ \o -> RepositoryEvent + <$> o .: "action" + <*> o .: "repository" + <*> o .: "organization" + <*> o .: "sender" + +instance FromJSON StatusEvent where + parseJSON = withObject "StatusEvent" $ \o -> StatusEvent + <$> o .: "id" + <*> o .: "sha" + <*> o .: "name" + <*> o .:? "target_url" + <*> o .: "context" + <*> o .:? "description" + <*> o .: "state" + <*> o .: "commit" + <*> o .: "created_at" + <*> o .: "updated_at" + <*> o .: "repository" + <*> o .: "sender" + +instance FromJSON TeamEvent where + parseJSON = withObject "TeamEvent" $ \o -> TeamEvent + <$> o .: "action" + <*> o .: "team" + <*> o .: "organization" + <*> o .: "sender" + +instance FromJSON TeamAddEvent where + parseJSON = withObject "TeamAddEvent" $ \o -> TeamAddEvent + <$> o .:? "team" + <*> o .: "repository" + <*> o .: "organization" + <*> o .: "sender" + +instance FromJSON WatchEvent where + parseJSON = withObject "WatchEvent" $ \o -> WatchEvent + <$> o .: "action" + <*> o .: "repository" + <*> o .: "sender"
src/GitHub/Data/Webhooks/Payload.hs view
@@ -1,1451 +1,1571 @@-{-# LANGUAGE Trustworthy #-}-{-|-Module : Github.Data.Webhooks.Payload-Copyright : (c) ONROCK, 2018-License : MIT-Maintainer : Kyle Van Berendonck <foss@onrock.online>--This module contains types that represent GitHub webhook's payload contents.--}-module GitHub.Data.Webhooks.Payload- ( -- * Construction Types- URL(..)- , getUrl- , OwnerType(..)- -- * Webhook Types- , HookIssue(..)- , HookRepository(..)- , HookRepositorySimple(..)- , HookRepositoryLabel(..)- , HookUser(..)- , HookSimpleUser(..)- , HookOrganization(..)- , HookOrganizationInvitation(..)- , HookOrganizationMembership(..)- , HookTeam(..)- , HookMilestone(..)- , HookMembership(..)- , HookProject(..)- , HookProjectCard(..)- , HookProjectColumn(..)- , HookIssueLabels(..)- , HookCommit(..)- , HookCheckSuiteStatus(..)- , HookCheckSuiteConclusion(..)- , HookCheckSuite(..)- , HookCheckSuiteCommit(..)- , HookCheckRunStatus(..)- , HookCheckRunConclusion(..)- , HookCheckRun(..)- , HookCheckRunOutput(..)- , HookCheckRunRequestedAction(..)- , HookChecksInstallation(..)- , HookChecksPullRequest(..)- , HookChecksPullRequestRepository(..)- , HookChecksPullRequestTarget(..)- , HookRelease(..)- , HookPullRequest(..)- , PullRequestTarget(..)- , HookPullRequestReview(..)- , HookInstallation(..)- , HookDeployment(..)- , HookDeploymentStatus(..)- , HookWikiPage(..)- , HookPageBuildResult(..)- , HookIssueComment(..)- , HookCommitComment(..)- , HookPullRequestReviewComment(..)- ) where--import Data.Aeson (FromJSON(..), withObject, withText, (.!=), (.:), (.:?))-import Control.DeepSeq (NFData (..))-import Control.DeepSeq.Generics (genericRnf)-import Control.Applicative ((<|>), (<*>), pure)-import Data.Data (Data, Typeable)-import Data.Functor ((<$>))-import Data.Time (UTCTime)-import Data.Time.Clock.POSIX (posixSecondsToUTCTime)-import Data.Text (Text)-import qualified Data.Text as T-import Data.Vector (Vector)-import GHC.Generics (Generic)----- Types lifted from the @github@ package.---- | Represents the owner of a repository, pull request or similar.------ A bot is a "special type of user which takes actions on behalf of GitHub Apps".--- See also https://developer.github.com/v4/object/bot/-data OwnerType = OwnerUser | OwnerOrganization | OwnerBot- deriving (Eq, Ord, Enum, Bounded, Show, Read, Generic, Typeable, Data)--instance NFData OwnerType--instance FromJSON OwnerType where- parseJSON = withText "Owner type" $ \t ->- case T.toLower t of- "user" -> pure OwnerUser- "organization" -> pure OwnerOrganization- "bot" -> pure OwnerBot- _ -> fail $ "Unknown owner type: " ++ T.unpack t----- | Represents an internet address that would be suitable to query--- for more information. The GitHub API only returns valid 'URL's.-newtype URL = URL Text- deriving (Eq, Ord, Show, Generic, Typeable, Data)--instance NFData URL where rnf = genericRnf--instance FromJSON URL where- parseJSON = withText "URL" (pure . URL)---- | Demote GitHub URL to Text.-getUrl :: URL -> Text-getUrl (URL url) = url----- Hooks--type IssueState = Text---- | Represents the "issue" field in the 'IssueCommentEvent'--- and 'IssueEvent' payload.-data HookIssue = HookIssue- { whIssueUrl :: !URL- , whIssueLabelsUrl :: !URL- , whIssueCommentsUrl :: !URL- , whIssueEventsUrl :: !URL- , whIssueHtmlUrl :: !URL- , whIssueId :: !Int- , whIssueNodeId :: !Text- , whIssueNumber :: !Int- , whIssueTitle :: !Text- , whIssueUser :: !HookUser- , whIssueLabels :: !(Vector HookIssueLabels)- , whIssueState :: IssueState- , whIssueIsLocked :: !Bool- , whIssueAssignee :: !(Maybe HookUser)- , whIssueMilestone :: !(Maybe HookMilestone)- , whIssueCommentCount :: !Int- , whIssueCreatedAt :: !UTCTime- , whIssueUpdatedAt :: !UTCTime- , whIssueClosedAt :: !(Maybe UTCTime)- , whIssueBody :: !Text- }- deriving (Eq, Show, Typeable, Data, Generic)--instance NFData HookIssue where rnf = genericRnf---- | Represents the "repository" field in all types of payload.-data HookRepository = HookRepository- { whRepoId :: !Int- , whRepoNodeId :: !Text- , whRepoName :: !Text- , whRepoFullName :: !Text- , whRepoOwner :: !(Either HookSimpleUser HookUser)- , whRepoIsPrivate :: !Bool- , whRepoHtmlUrl :: !URL- , whRepoDescription :: !Text- , whRepoIsAFork :: !Bool- , whRepoUrl :: !URL- , whRepoForksUrl :: !URL- , whRepoKeysUrl :: !URL- , whRepoCollaboratorsUrl :: !URL- , whRepoTeamsUrl :: !URL- , whRepoHooksUrl :: !URL- , whRepoIssueEventsUrl :: !URL- , whRepoEventsUrl :: !URL- , whRepoAssigneesUrl :: !URL- , whRepoBranchesUrl :: !URL- , whRepoTagsUrl :: !URL- , whRepoBlobsUrl :: !URL- , whRepoGitTagsUrl :: !URL- , whRepoGitRefsUrl :: !URL- , whRepoTreesUrl :: !URL- , whRepoStatusesUrl :: !URL- , whRepoLanguagesUrl :: !URL- , whRepoStargazersUrl :: !URL- , whRepoContributorsUrl :: !URL- , whRepoSubscribersUrl :: !URL- , whRepoSubscriptionUrl :: !URL- , whRepoCommitsUrl :: !URL- , whRepoGitCommitsUrl :: !URL- , whRepoCommentsUrl :: !URL- , whRepoIssueCommentsUrl :: !URL- , whRepoContentsUrl :: !URL- , whRepoCompareUrl :: !URL- , whRepoMergesUrl :: !URL- , whRepoArchiveUrl :: !URL- , whRepoDownloadsUrl :: !URL- , whRepoIssuesUrl :: !URL- , whRepoPullsUrl :: !URL- , whRepoMilestonesUrl :: !URL- , whRepoNotificationsUrl :: !URL- , whRepoLabelsUrl :: !URL- , whRepoReleasesUrl :: !URL- , whRepoCreatedAt :: !UTCTime- , whRepoUpdatedAt :: !UTCTime- , whRepoPushedAt :: !UTCTime- , whRepoGitUrl :: !URL- , whRepoSshUrl :: !URL- , whRepoCloneUrl :: !URL- , whRepoSvnUrl :: !URL- , whRepoHomepage :: !(Maybe URL)- , whRepoSize :: !Int- , whRepoStargazersCount :: !Int- , whRepoWatchersCount :: !Int- , whRepoLanguage :: !(Maybe Text)- , whRepoHasIssues :: !Bool- , whRepoHasDownloads :: !Bool- , whRepoHasWiki :: !Bool- , whRepoHasPages :: !Bool- , whRepoForkCount :: !Int- , whRepoMirrorUrl :: !(Maybe URL)- , whRepoOpenIssuesCount :: !Int- , whRepoDefaultBranchName :: !Text- }- deriving (Eq, Show, Typeable, Data, Generic)--instance NFData HookRepository where rnf = genericRnf---- | Represents the "repositories_added" and "repositories_removed"--- field in the 'InstallationRepositoriesEvent' payload.-data HookRepositorySimple = HookRepositorySimple- { whSimplRepoId :: !Int- , whSimplRepoNodeId :: !Text- , whSimplRepoName :: !Text- , whSimplRepoFullName :: !Text- , whSimplRepoIsPrivate :: !Bool- }- deriving (Eq, Show, Typeable, Data, Generic)--instance NFData HookRepositorySimple where rnf = genericRnf---- | Represents the "label" field in the 'LabelEvent' payload.-data HookRepositoryLabel = HookRepositoryLabel- { whRepoLabelNodeId :: !(Maybe Text)- , whRepoLabelUrl :: !URL- , whRepoLabelName :: !Text- , whRepoLabelColor :: !Text- }- deriving (Eq, Show, Typeable, Data, Generic)--instance NFData HookRepositoryLabel where rnf = genericRnf---- | Represents the "user" field in all types of payload.-data HookUser = HookUser- { whUserLogin :: !Text- , whUserId :: !Int- , whUserNodeId :: !Text- , whUserAvatarUrl :: !URL- , whUserGravatarId :: !URL- , whUserUrl :: !URL- , whUserHtmlUrl :: !URL- , whUserFollowersUrl :: !URL- , whUserFollowingUrl :: !URL- , whUserGistsUrl :: !URL- , whUserStarredUrl :: !URL- , whUserSubscriptionsUrl :: !URL- , whUserOrganizationsUrl :: !URL- , whUserReposUrl :: !URL- , whUserEventsUrl :: !URL- , whUserReceivedEventsUrl :: !URL- , whUserType :: !OwnerType- , whUserIsAdminOfSite :: !Bool- }- deriving (Eq, Show, Typeable, Data, Generic)--instance NFData HookUser where rnf = genericRnf---- FIXME: Not sure where this is.-data HookSimpleUser = HookSimpleUser- { whSimplUserName :: !Text- , whSimplUserEmail :: !Text- , whSimplUserLogin :: !(Maybe Text)- }- deriving (Eq, Show, Typeable, Data, Generic)--instance NFData HookSimpleUser where rnf = genericRnf---- | Represents the "organization" field in all types of payload.-data HookOrganization = HookOrganization- { whOrgLogin :: !Text- , whOrgId :: !Int- , whOrgNodeId :: !Text- , whOrgUrl :: !URL- , whOrgReposUrl :: !URL- , whOrgEventsUrl :: !URL- , whOrgHooksUrl :: !(Maybe URL)- , whOrgIssuesUrl :: !(Maybe URL)- , whOrgMembersUrl :: !URL- , whOrgPublicMembersUrl :: !URL- , whOrgAvatarUrl :: !URL- , whOrgDescription :: !Text- }- deriving (Eq, Show, Typeable, Data, Generic)--instance NFData HookOrganization where rnf = genericRnf---- | Represents the "invitation" field in the 'OrganizationEvent' payload.-data HookOrganizationInvitation = HookOrganizationInvitation- { whOrgInvitationId :: !Int- , whOrgInvitationNodeId :: !Text- , whOrgInvitationLogin :: !Text- , whOrgInvitationEmail :: !(Maybe Text)- , whOrgInvitationRole :: !Text- }- deriving (Eq, Show, Typeable, Data, Generic)--instance NFData HookOrganizationInvitation where rnf = genericRnf---- | Represents the "membership" field in the 'OrganizationEvent' payload.-data HookOrganizationMembership = HookOrganizationMembership- { whOrgMembershipUrl :: !URL- , whOrgMembershipState :: !Text- , whOrgMembershipRole :: !Text- , whOrgMembershipOrgUrl :: !URL- , whOrgMembershipUser :: !HookUser- }- deriving (Eq, Show, Typeable, Data, Generic)--instance NFData HookOrganizationMembership where rnf = genericRnf---- | Represents the "team" field in the 'TeamEvent' and--- 'TeamAddEvent' payload.-data HookTeam = HookTeam- { whTeamName :: !Text- , whTeamId :: !Int- , whTeamNodeId :: !Text- , whTeamSlug :: !Text- , whTeamPermission :: !Text- , whTeamUrl :: !URL- , whTeamMembersUrl :: !URL- , whTeamRepositoriesUrl :: !URL- }- deriving (Eq, Show, Typeable, Data, Generic)--instance NFData HookTeam where rnf = genericRnf---type MilestoneState = Text---- | Represents the "milestone" field in the 'MilestoneEvent' payload.-data HookMilestone = HookMilestone- { whMilestoneUrl :: !URL- , whMilestoneHtmlUrl :: !URL- , whMilestoneLabelsUrl :: !URL- , whMilestoneId :: !Int- , whMilestoneNodeId :: !Text- , whMilestoneNumber :: !Int- , whMilestoneTitle :: !Text- , whMilestoneDescription :: !(Maybe Text)- , whMilestoneCreator :: !HookUser- , whMilestoneOpenIssues :: !Int- , whMilestoneClosedIssues :: !Int- , whMilestoneState :: !MilestoneState- , whMilestoneCreatedAt :: !UTCTime- , whMilestoneUpdatedAt :: !UTCTime- , whMilestoneDueOn :: !(Maybe UTCTime)- , whMilestoneClosedAt :: !(Maybe UTCTime)- }- deriving (Eq, Show, Typeable, Data, Generic)--instance NFData HookMilestone where rnf = genericRnf---type MembershipState = Text-type MembershipRole = Text---- FIXME: Not sure where this is.-data HookMembership = HookMembership- { whMembershipUrl :: !URL- , whMembershipState :: !MembershipState- , whMembershipRole :: !MembershipRole- , whMembershipOrgUrl :: !URL- , whMembershipUser :: !HookUser- }- deriving (Eq, Show, Typeable, Data, Generic)--instance NFData HookMembership where rnf = genericRnf---type ProjectState = Text---- | Represents the "project" field in the 'ProjectEvent' payload.-data HookProject = HookProject- { whProjectOwnerUrl :: !URL- , whProjectUrl :: !URL- , whProjectColumnsUrl :: !URL- , whProjectId :: !Int- , whProjectNodeId :: !Text- , whProjectName :: !Text- , whProjectBody :: !Text- , whProjectNumber :: !Int- , whProjectState :: !ProjectState- , whProjectCreator :: !HookUser- , whProjectCreatedAt :: !UTCTime- , whProjectUpdatedAt :: !UTCTime- }- deriving (Eq, Show, Typeable, Data, Generic)--instance NFData HookProject where rnf = genericRnf---- | Represents the "project_card" field in the 'ProjectCardEvent' payload.-data HookProjectCard = HookProjectCard- { whProjectCardUrl :: !URL- , whProjectCardColumnUrl :: !URL- , whProjectCardColumnId :: !Int- , whProjectCardId :: !Int- , whProjectCardNodeId :: !Text- , whProjectCardNote :: !(Maybe Text)- , whProjectCardCreator :: !HookUser- , whProjectCardCreatedAt :: !UTCTime- , whProjectCardUpdatedAt :: !UTCTime- , whProjectCardContentUrl :: !URL- }- deriving (Eq, Show, Typeable, Data, Generic)--instance NFData HookProjectCard where rnf = genericRnf---- | Represents the "project_column" field in the 'ProjectColumnEvent' payload.-data HookProjectColumn = HookProjectColumn- { whProjectColumnUrl :: !URL- , whProjectColumnProjUrl :: !URL- , whProjectColumnCardsUrl :: !URL- , whProjectColumnId :: !Int- , whProjectColumnNodeId :: !Text- , whProjectColumnName :: !Text- , whProjectColumnCreatedAt :: !UTCTime- , whProjectColumnUpdatedAt :: !UTCTime- }- deriving (Eq, Show, Typeable, Data, Generic)--instance NFData HookProjectColumn where rnf = genericRnf---- | Represents the "issue.labels" field in the--- 'IssueCommentEvent' and 'IssueEvent' payloads.-data HookIssueLabels = HookIssueLabels- { whIssueLabelId :: !(Maybe Int) -- ^ Not always sent.- , whIssueLabelNodeId :: !(Maybe Text)- , whIssueLabelUrl :: !URL- , whIssueLabelName :: !Text- , whIssueLabelColor :: !Text- , whIssueLabelIsDefault :: !Bool -- ^ Defaults to false when not present.- }- deriving (Eq, Show, Typeable, Data, Generic)--instance NFData HookIssueLabels where rnf = genericRnf---- | Represents the "status" field in the--- 'HookCheckSuite' payload.-data HookCheckSuiteStatus- -- | Decodes from "requested"- = HookCheckSuiteStatusRequested- -- | Decodes from "queued".- | HookCheckSuiteStatusQueued- -- | Decodes from "in_progress"- | HookCheckSuiteStatusInProgress- -- | Decodes from "completed"- | HookCheckSuiteStatusCompleted- -- | The result of decoding an unknown check suite status type- | HookCheckSuiteStatusOther !Text- deriving (Eq, Ord, Show, Generic, Typeable, Data)--instance NFData HookCheckSuiteStatus where rnf = genericRnf--instance FromJSON HookCheckSuiteStatus where- parseJSON = withText "Hook check suite status" $ \t ->- case t of- "requested" -> pure HookCheckSuiteStatusRequested- "queued" -> pure HookCheckSuiteStatusQueued- "in_progress" -> pure HookCheckSuiteStatusInProgress- "completed" -> pure HookCheckSuiteStatusCompleted- _ -> pure (HookCheckSuiteStatusOther t)---- | Represents the "conclusion" field in the--- 'HookCheckSuite' payload.-data HookCheckSuiteConclusion- -- | Decodes from "success"- = HookCheckSuiteConclusionSuccess- -- | Decodes from "failure"- | HookCheckSuiteConclusionFailure- -- | Decodes from "neutral"- | HookCheckSuiteConclusionNeutral- -- | Decodes from "cancelled"- | HookCheckSuiteConclusionCancelled- -- | Decodes from "timed_out"- | HookCheckSuiteConclusionTimedOut- -- | Decodes from "action_required"- | HookCheckSuiteConclusionActionRequired- -- | Decodes from "stale"- | HookCheckSuiteConclusionStale- -- | The result of decoding an unknown check suite conclusion type- | HookCheckSuiteConclusionOther !Text- deriving (Eq, Ord, Show, Generic, Typeable, Data)--instance NFData HookCheckSuiteConclusion where rnf = genericRnf--instance FromJSON HookCheckSuiteConclusion where- parseJSON = withText "Hook check suite status" $ \t ->- case t of- "success" -> pure HookCheckSuiteConclusionSuccess- "failure" -> pure HookCheckSuiteConclusionFailure- "neutral" -> pure HookCheckSuiteConclusionNeutral- "cancelled" -> pure HookCheckSuiteConclusionCancelled- "timed_out" -> pure HookCheckSuiteConclusionTimedOut- "action_required" -> pure HookCheckSuiteConclusionActionRequired- "stale" -> pure HookCheckSuiteConclusionStale- _ -> pure (HookCheckSuiteConclusionOther t)---- FIXME: Missing nested "app", there are examples, but no documentation.--- | Represents the "check_suite" field in the--- 'CheckSuiteEvent' payload.-data HookCheckSuite = HookCheckSuite- { whCheckSuiteId :: !Int- , whCheckSuiteNodeId :: !Text- , whCheckSuiteHeadBranch :: !(Maybe Text) -- ^ The Checks API only looks for pushes in the repository where the check suite or check run were created. Pushes to a branch in a forked repository are not detected and return an empty pull_requests array and a null value for head_branch.- , whCheckSuiteHeadSha :: !Text- , whCheckSuiteStatus :: !HookCheckSuiteStatus- , whCheckSuiteConclusion :: !(Maybe HookCheckSuiteConclusion)- , whCheckSuiteUrl :: !URL- , whCheckSuiteBeforeSha :: !(Maybe Text)- , whCheckSuiteAfterSha :: !Text- , whCheckSuitePullRequests :: !(Vector HookChecksPullRequest)- , whCheckSuiteCreatedAt :: !UTCTime- , whCheckSuiteUpdatedAt :: !UTCTime- , whCheckSuiteLatestCheckRunsCount :: !(Maybe Int) -- not included in the check run nested payload- , whCheckSuiteCheckRunsUrl :: !(Maybe URL) -- not included in the check run nested payload- , whCheckSuiteHeadCommit :: !(Maybe HookCheckSuiteCommit) -- not included in the check run nested payload- }- deriving (Eq, Show, Typeable, Data, Generic)--instance NFData HookCheckSuite where rnf = genericRnf---- | Represents the "head_commit" field in the--- 'CheckSuiteEvent' payload.-data HookCheckSuiteCommit = HookCheckSuiteCommit- { whCheckSuiteCommitSha :: !Text -- ^ Sometimes called the commit 'id'.- , whCheckSuiteCommitAuthor :: !HookSimpleUser- , whCheckSuiteCommitCommitter :: !HookSimpleUser- }- deriving (Eq, Show, Typeable, Data, Generic)--instance NFData HookCheckSuiteCommit where rnf = genericRnf---- | Represents the "status" field in the--- 'HookCheckRun' payload.-data HookCheckRunStatus- -- | Decodes from "queued"- = HookCheckRunStatusQueued- -- | Decodes from "in_progress"- | HookCheckRunStatusInProgress- -- | Decodes from "completed"- | HookCheckRunStatusCompleted- -- | The result of decoding an unknown check run status type- | HookCheckRunStatusOther !Text- deriving (Eq, Ord, Show, Generic, Typeable, Data)--instance NFData HookCheckRunStatus where rnf = genericRnf--instance FromJSON HookCheckRunStatus where- parseJSON = withText "Hook check suite status" $ \t ->- case t of- "queued" -> pure HookCheckRunStatusQueued- "in_progress" -> pure HookCheckRunStatusInProgress- "completed" -> pure HookCheckRunStatusCompleted- _ -> pure (HookCheckRunStatusOther t)---- | Represents the "conclusion" field in the--- 'HookCheckRun' payload.-data HookCheckRunConclusion- -- | Decodes from "success"- = HookCheckRunConclusionSuccess- -- | Decodes from "failure"- | HookCheckRunConclusionFailure- -- | Decodes from "neutral"- | HookCheckRunConclusionNeutral- -- | Decodes from "cancelled"- | HookCheckRunConclusionCancelled- -- | Decodes from "timed_out"- | HookCheckRunConclusionTimedOut- -- | Decodes from "action_required"- | HookCheckRunConclusionActionRequired- -- | Decodes from "stale"- | HookCheckRunConclusionStale- -- | The result of decoding an unknown check run conclusion type- | HookCheckRunConclusionOther !Text- deriving (Eq, Ord, Show, Generic, Typeable, Data)--instance NFData HookCheckRunConclusion where rnf = genericRnf--instance FromJSON HookCheckRunConclusion where- parseJSON = withText "Hook check suite status" $ \t ->- case t of- "success" -> pure HookCheckRunConclusionSuccess- "failure" -> pure HookCheckRunConclusionFailure- "neutral" -> pure HookCheckRunConclusionNeutral- "cancelled" -> pure HookCheckRunConclusionCancelled- "timed_out" -> pure HookCheckRunConclusionTimedOut- "action_required" -> pure HookCheckRunConclusionActionRequired- "stale" -> pure HookCheckRunConclusionStale- _ -> pure (HookCheckRunConclusionOther t)---- FIXME: Missing nested "app", there are examples, but no documentation.--- | Represents the "check_run" field in the--- 'CheckRunEvent' payload.-data HookCheckRun = HookCheckRun- { whCheckRunId :: !Int- , whCheckRunNodeId :: !Text- , whCheckRunHeadSha :: !Text- , whCheckRunExternalId :: !Text- , whCheckRunUrl :: !URL- , whCheckRunHtmlUrl :: !URL- , whCheckRunDetailsUrl :: !URL- , whCheckRunStatus :: !HookCheckRunStatus- , whCheckRunConclusion :: !(Maybe HookCheckRunConclusion)- , whCheckRunStartedAt :: !UTCTime- , whCheckRunCompletedAt :: !(Maybe UTCTime)- , whCheckRunOutput :: !HookCheckRunOutput- , whCheckRunName :: !Text- , whCheckRunCheckSuite :: !HookCheckSuite- , whCheckRunPullRequests :: !(Vector HookChecksPullRequest)- }- deriving (Eq, Show, Typeable, Data, Generic)--instance NFData HookCheckRun where rnf = genericRnf---- | Represents the "output" field in the--- 'HookCheckRun' payload.-data HookCheckRunOutput = HookCheckRunOutput- { whCheckRunOutputTitle :: !(Maybe Text)- , whCheckRunOutputSummary :: !(Maybe Text)- , whCheckRunOutputText :: !(Maybe Text)- , whCheckRunOutputAnnotationsCount :: !Int- , whCheckRunOutputAnnotationsUrl :: !URL- }- deriving (Eq, Show, Typeable, Data, Generic)--instance NFData HookCheckRunOutput where rnf = genericRnf---- | Represents the "requested_action" field in the--- 'CheckRunEvent' payload.-newtype HookCheckRunRequestedAction = HookCheckRunRequestedAction- { whCheckRunRequestedActionIdentifier :: Text- }- deriving (Eq, Show, Typeable, Data, Generic)--instance NFData HookCheckRunRequestedAction where rnf = genericRnf---- | Represents the "installation" field in the checks payloads.-data HookChecksInstallation = HookChecksInstallation- { whChecksInstallationId :: Int- , whChecksInstallationNodeId :: Text- }- deriving (Eq, Show, Typeable, Data, Generic)--instance NFData HookChecksInstallation where rnf = genericRnf---- | Represents the "pull_requests" field in the checks payloads.-data HookChecksPullRequest = HookChecksPullRequest- { whChecksPullRequestUrl :: !URL- , whChecksPullRequestId :: !Int- , whChecksPullRequestNumber :: !Int- , whChecksPullRequestHead :: !HookChecksPullRequestTarget- , whChecksPullRequestBase :: !HookChecksPullRequestTarget- }- deriving (Eq, Show, Typeable, Data, Generic)--instance NFData HookChecksPullRequest where rnf = genericRnf---- | Represents the "repo" field in the checks pull_request payloads.-data HookChecksPullRequestRepository = HookChecksPullRequestRepository- { whChecksPullRequestRepositoryId :: !Int- , whChecksPullRequestRepositoryUrl :: !URL- , whChecksPullRequestRepositoryName :: !Text- }- deriving (Eq, Show, Typeable, Data, Generic)--instance NFData HookChecksPullRequestRepository where rnf = genericRnf---- | Represents the repo targets in--- the checks pull requests repository payloads.-data HookChecksPullRequestTarget = HookChecksPullRequestTarget- { whChecksPullRequestTargetSha :: !Text- , whChecksPullRequestTargetRef :: !Text -- ex "somebranch"- , whChecksPullRequestTargetRepo :: !HookChecksPullRequestRepository- }- deriving (Eq, Show, Typeable, Data, Generic)--instance NFData HookChecksPullRequestTarget where rnf = genericRnf----- FIXME: Missing nested metadata that provides commit description---- FIXME: Missing property "parent" (no examples provided)-data HookCommit = HookCommit- { whCommitSha :: !Text -- ^ Sometimes called the commit 'id'.- , whCommitUrl :: !URL- , whCommitHtmlUrl :: !(Maybe URL) -- ^ Not always sent.- , whCommitCommentsUrl :: !(Maybe URL) -- ^ Not always sent.- , whCommitAuthor :: !(Either HookSimpleUser HookUser)- , whCommitCommitter :: !(Either HookSimpleUser HookUser)- }- deriving (Eq, Show, Typeable, Data, Generic)--instance NFData HookCommit where rnf = genericRnf---- FIXME: Missing property "assets" (no examples provided)-data HookRelease = HookRelease- { whReleaseUrl :: !URL- , whReleaseAssetsUrl :: !URL- , whReleaseUploadUrl :: !URL- , whReleaseHtmlUrl :: !URL- , whReleaseId :: !Int- , whReleaseNodeId :: !Text- , whReleaseTagName :: !Text- , whReleaseTargetCommitish :: !Text- , whReleaseName :: !(Maybe Text)- , whReleaseIsDraft :: !Bool- , whReleaseAuthor :: !HookUser- , whReleaseIsPreRelease :: !Bool- , whReleaseCreatedAt :: !UTCTime- , whReleasePublishedAt :: !(Maybe UTCTime)- , whReleaseTarballUrl :: !URL- , whReleaseZipballUrl :: !URL- , whReleaseBody :: !(Maybe Text)- }- deriving (Eq, Show, Typeable, Data, Generic)--instance NFData HookRelease where rnf = genericRnf--data HookPullRequest = HookPullRequest- { whPullReqUrl :: !URL- , whPullReqId :: !Int- , whPullReqNodeId :: !Text- , whPullReqHtmlUrl :: !URL- , whPullReqDiffUrl :: !URL- , whPullReqPatchUrl :: !URL- , whPullReqIssueUrl :: !URL- , whPullReqNumber :: !Int- , whPullReqState :: !Text -- FIXME: Smart constructor?- , whPullReqIsLocked :: !Bool- , whPullReqTitle :: !Text- , whPullReqUser :: !HookUser- , whPullReqBody :: !Text- , whPullReqCreatedAt :: !UTCTime- , whPullReqUpdatedAt :: !UTCTime- , whPullReqClosedAt :: !(Maybe UTCTime)- , whPullReqMergedAt :: !(Maybe UTCTime)- , whPullReqMergeCommitSha :: !(Maybe Text)- , whPullReqAssignee :: !(Maybe HookUser)- , whPullReqMilestone :: !(Maybe HookMilestone)- , whPullReqCommitsUrl :: !URL- , whPullReqRevCommentsUrl :: !URL- , whPullReqRevCommentUrl :: !URL- , whPullReqCommentsUrl :: !URL- , whPullReqStatusesUrl :: !URL- , whPullReqBase :: !PullRequestTarget- , whPullReqHead :: !PullRequestTarget- -- , whPullReqIsMerged :: !Bool- -- , whPullReqIsMergeable :: !Bool- , whPullReqMergeableState :: !(Maybe Text) -- ^ Not sent with all events.- -- , whPullReqMergedBy :: !(Maybe HookUser)- , whPullReqCommentCount :: !(Maybe Int) -- ^ Not sent with all events.- , whPullReqRevCommentCount :: !(Maybe Int) -- ^ Not sent with all events.- , whPullReqCommitCount :: !(Maybe Int) -- ^ Not sent with all events.- , whPullReqAdditionsCount :: !(Maybe Int) -- ^ Not sent with all events.- , whPullReqDeletionsCount :: !(Maybe Int) -- ^ Not sent with all events.- , whPullReqFileChangeCount :: !(Maybe Int) -- ^ Not sent with all events.- }- deriving (Eq, Show, Typeable, Data, Generic)--instance NFData HookPullRequest where rnf = genericRnf--data PullRequestTarget = PullRequestTarget- { whPullReqTargetSha :: !Text- , whPullReqTargetUser :: !HookUser- , whPullReqTargetRepo :: !HookRepository- , whPullReqTargetLabel :: !Text -- ex "user:branch"- , whPullReqTargetRef :: !Text -- ex "somebranch"- }- deriving (Eq, Show, Typeable, Data, Generic)--instance NFData PullRequestTarget where rnf = genericRnf---- | Represents the "pull_request" field in the 'PullRequestReviewEvent' payload.-data HookPullRequestReview = HookPullRequestReview- { whPullReqReviewId :: !Int- , whPullReqReviewNodeId :: !Text- , whPullReqReviewUser :: !HookUser- , whPullReqReviewBody :: !Text- , whPullReqReviewSubmittedAt :: !UTCTime- , whPullReqReviewState :: !Text- , whPullReqReviewHtmlUrl :: !URL- , whPullReqReviewPullUrl :: !URL- }- deriving (Eq, Show, Typeable, Data, Generic)--instance NFData HookPullRequestReview where rnf = genericRnf---- | Represents the "installation" field in the 'InstallationEvent' payload.-data HookInstallation = HookInstallation- { whInstallationId :: !Int- , whInstallationAccount :: !HookUser- , whInstallationRepoSel :: !Text- , whInstallationTokenUrl :: !URL- , whInstallationRepoUrl :: !URL- }- deriving (Eq, Show, Typeable, Data, Generic)--instance NFData HookInstallation where rnf = genericRnf---- | Represents the "deployment" field in the--- 'DeploymentEvent' and 'DeploymentStatusEvent' payload.-data HookDeployment = HookDeployment- { whDeploymentUrl :: !URL- , whDeploymentId :: !Int- , whDeploymentNodeId :: !Text- , whDeploymentSha :: !Text- , whDeploymentRef :: !Text- , whDeploymentTask :: !Text- -- , whDeploymentPayload- , whDeploymentEnv :: !Text- , whDeploymentDescription :: !(Maybe Text)- , whDeploymentCreator :: !HookUser- , whDeploymentCreatedAt :: !UTCTime- , whDeploymentUpdatedAt :: !UTCTime- , whDeploymentStatusesUrl :: !URL- , whDeploymentRepoUrl :: !URL- }- deriving (Eq, Show, Typeable, Data, Generic)--instance NFData HookDeployment where rnf = genericRnf---- | Represents the "deployment_status" field in the--- 'DeploymentStatusEvent' payload.-data HookDeploymentStatus = HookDeploymentStatus- { whDeploymentStatusUrl :: !URL- , whDeploymentStatusId :: !Int- , whDeploymentStatusNodeId :: !Text- , whDeploymentStatusState :: !Text- , whDeploymentStatusCreator :: !HookUser- , whDeploymentStatusDesc :: !(Maybe Text)- , whDeploymentStatusTargetUrl :: !(Maybe URL)- , whDeploymentStatusCreatedAt :: !UTCTime- , whDeploymentStatusUpdatedAt :: !UTCTime- , whDeploymentStatusDeplUrl :: !URL- , whDeploymentStatusRepoUrl :: !URL- }- deriving (Eq, Show, Typeable, Data, Generic)--instance NFData HookDeploymentStatus where rnf = genericRnf---- | Represents the "pages" field in the 'GollumEvent' payload.-data HookWikiPage = HookWikiPage- { whWikiPageName :: !Text- , whWikiPageTitle :: !Text- , whWikiPageSummary :: !(Maybe Text)- , wkWikiPageAction :: !Text- , whWikiPageSha :: !Text- , whWikiPageHtmlUrl :: URL- }- deriving (Eq, Show, Typeable, Data, Generic)--instance NFData HookWikiPage where rnf = genericRnf---- | Represents the "build" field in the 'PageBuildEvent' payload.-data HookPageBuildResult = HookPageBuildResult- { whPageBuildUrl :: !URL- , whPageBuildStatus :: !Text- , whPageBuildError :: !(Maybe Text)- , whPageBuildPusher :: !HookUser- , whPageBuildCommitSha :: !Text- , whPageBuildDuration :: !Int- , whPageBuildCreatedAt :: !UTCTime- , whPageBuildUpdatedAt :: !UTCTime- }- deriving (Eq, Show, Typeable, Data, Generic)--instance NFData HookPageBuildResult where rnf = genericRnf---- | Represents the "issue" field in 'IssueComentEvent' payload.-data HookIssueComment = HookIssueComment- { whIssueCommentUrl :: !URL- , whIssueCommentHtmlUrl :: !URL- , whIssueCommentIssueUrl :: !URL- , whIssueCommentId :: !Int- , whIssueCommentNodeId :: !Text- , whIssueCommentUser :: !HookUser- , whIssueCommentCreatedAt :: !UTCTime- , whIssueCommentUpdatedAt :: !UTCTime- , whIssueCommentBody :: !Text- }- deriving (Eq, Show, Typeable, Data, Generic)--instance NFData HookIssueComment where rnf = genericRnf---- | Represents the "comment" field in the 'CommitCommentEvent' payload.-data HookCommitComment = HookCommitComment- { whCommitCommentUrl :: !URL- , whCommitCommentHtmlUrl :: !URL- , whCommitCommentId :: !Int- , whCommitCommentNodeId :: !Text- , whCommitCommentUser :: !HookUser- , whCommitCommentPos :: !(Maybe Int)- , whCommitCommentLine :: !(Maybe Int)- , whCommitCommentPath :: !(Maybe Text)- , whCommitCommentCommitSha :: !Text- , whCommitCommentCreatedAt :: !UTCTime- , whCommitCommentUpdatedAt :: !UTCTime- , whCommitCommentBody :: !Text- }- deriving (Eq, Show, Typeable, Data, Generic)--instance NFData HookCommitComment where rnf = genericRnf---- | Represents the "pull_request" field in the--- 'PullRequestReviewCommentEvent' payload.-data HookPullRequestReviewComment = HookPullRequestReviewComment- { whPullReqRevComUrl :: !URL- , whPullReqRevComId :: !Int- , whPullReqRevComNodeId :: !Text- , whPullReqRevComDiffHunk :: !Text- , whPullReqRevComPath :: !Text- , whPullReqRevComPos :: !Int- , whPullReqRevComOrigPos :: !Int- , whPullReqRevComCommitSha :: !Text- , whPullReqRevComOrigSha :: !Text- , whPullReqRevComUser :: !HookUser- , whPullReqRevComBody :: !Text- , whPullReqRevComCreatedAt :: !UTCTime- , whPullReqRevComUpdatedAt :: !UTCTime- , whPullReqRevComHtmlUrl :: !URL- , whPullReqRevComPullReqUrl :: !URL- }- deriving (Eq, Show, Typeable, Data, Generic)--instance NFData HookPullRequestReviewComment where rnf = genericRnf----- Aeson Instances--instance FromJSON HookIssue where- parseJSON = withObject "HookIssue" $ \o -> HookIssue- <$> o .: "url"- <*> o .: "labels_url"- <*> o .: "comments_url"- <*> o .: "events_url"- <*> o .: "html_url"- <*> o .: "id"- <*> o .: "node_id"- <*> o .: "number"- <*> o .: "title"- <*> o .: "user"- <*> o .: "labels"- <*> o .: "state"- <*> o .: "locked"- <*> o .: "assignee"- <*> o .: "milestone"- <*> o .: "comments"- <*> o .: "created_at"- <*> o .: "updated_at"- <*> o .:? "closed_at"- <*> o .:? "body" .!= ""--instance FromJSON HookRepository where- parseJSON = withObject "HookRepository" $ \o -> HookRepository- <$> o .: "id"- <*> o .: "node_id"- <*> o .: "name"- <*> o .: "full_name"- <*> ((Right <$> o .: "owner") <|> (Left <$> o .: "owner")) -- try complex form first- <*> o .: "private"- <*> o .: "html_url"- <*> o .:? "description" .!= T.empty- <*> o .: "fork"- <*> o .: "url"- <*> o .: "forks_url"- <*> o .: "keys_url"- <*> o .: "collaborators_url"- <*> o .: "teams_url"- <*> o .: "hooks_url"- <*> o .: "issue_events_url"- <*> o .: "events_url"- <*> o .: "assignees_url"- <*> o .: "branches_url"- <*> o .: "tags_url"- <*> o .: "blobs_url"- <*> o .: "git_tags_url"- <*> o .: "git_refs_url"- <*> o .: "trees_url"- <*> o .: "statuses_url"- <*> o .: "languages_url"- <*> o .: "stargazers_url"- <*> o .: "contributors_url"- <*> o .: "subscribers_url"- <*> o .: "subscription_url"- <*> o .: "commits_url"- <*> o .: "git_commits_url"- <*> o .: "comments_url"- <*> o .: "issue_comment_url"- <*> o .: "contents_url"- <*> o .: "compare_url"- <*> o .: "merges_url"- <*> o .: "archive_url"- <*> o .: "downloads_url"- <*> o .: "issues_url"- <*> o .: "pulls_url"- <*> o .: "milestones_url"- <*> o .: "notifications_url"- <*> o .: "labels_url"- <*> o .: "releases_url"- -- FIXME: Wrap optional number/stringified UTCTime in a helper function? See PushEvent fixture- <*> ((o .: "created_at") <|> (posixSecondsToUTCTime . fromInteger <$> o .: "created_at"))- <*> ((o .: "updated_at") <|> (posixSecondsToUTCTime . fromInteger <$> o .: "updated_at"))- <*> ((o .: "pushed_at") <|> (posixSecondsToUTCTime . fromInteger <$> o .: "pushed_at"))- <*> o .: "git_url"- <*> o .: "ssh_url"- <*> o .: "clone_url"- <*> o .: "svn_url"- <*> o .:? "homepage"- <*> o .: "size"- <*> o .: "stargazers_count"- <*> o .: "watchers_count"- <*> o .: "language"- <*> o .: "has_issues"- <*> o .: "has_downloads"- <*> o .: "has_wiki"- <*> o .: "has_pages"- <*> o .: "forks_count"- <*> o .:? "mirror_url"- <*> o .: "open_issues_count"- <*> o .: "default_branch"--instance FromJSON HookRepositorySimple where- parseJSON = withObject "HookRepositorySimple" $ \o -> HookRepositorySimple- <$> o .: "id"- <*> o .: "node_id"- <*> o .: "name"- <*> o .: "full_name"- <*> o .: "private"--instance FromJSON HookRepositoryLabel where- parseJSON = withObject "HookRepositoryLabel" $ \o -> HookRepositoryLabel- <$> o .:? "node_id"- <*> o .: "url"- <*> o .: "name"- <*> o .: "color"--instance FromJSON HookUser where- parseJSON = withObject "HookUser" $ \o -> HookUser- <$> o .: "login"- <*> o .: "id"- <*> o .: "node_id"- <*> o .: "avatar_url"- <*> o .: "gravatar_id"- <*> o .: "url"- <*> o .: "html_url"- <*> o .: "followers_url"- <*> o .: "following_url"- <*> o .: "gists_url"- <*> o .: "starred_url"- <*> o .: "subscriptions_url"- <*> o .: "organizations_url"- <*> o .: "repos_url"- <*> o .: "events_url"- <*> o .: "received_events_url"- <*> o .: "type"- <*> o .: "site_admin"--instance FromJSON HookSimpleUser where- parseJSON = withObject "HookSimpleUser" $ \o -> HookSimpleUser- <$> o .: "name"- <*> o .: "email"- <*> o .:? "username"--instance FromJSON HookOrganization where- parseJSON = withObject "HookOrganization" $ \o -> HookOrganization- <$> o .: "login"- <*> o .: "id"- <*> o .: "node_id"- <*> o .: "url"- <*> o .: "repos_url"- <*> o .: "events_url"- <*> o .:? "hooks_url"- <*> o .:? "issues_url"- <*> o .: "members_url"- <*> o .: "public_members_url"- <*> o .: "avatar_url"- <*> o .:? "description" .!= T.empty--instance FromJSON HookOrganizationInvitation where- parseJSON = withObject "HookOrganizationInvitation" $ \o -> HookOrganizationInvitation- <$> o .: "id"- <*> o .: "node_id"- <*> o .: "login"- <*> o .: "email"- <*> o .: "role"--instance FromJSON HookOrganizationMembership where- parseJSON = withObject "HookOrganizationMembership" $ \o -> HookOrganizationMembership- <$> o .: "url"- <*> o .: "state"- <*> o .: "role"- <*> o .: "organization_url"- <*> o .: "user"--instance FromJSON HookTeam where- parseJSON = withObject "HookTeam" $ \o -> HookTeam- <$> o .: "name"- <*> o .: "id"- <*> o .: "node_id"- <*> o .: "slug"- <*> o .: "permission"- <*> o .: "url"- <*> o .: "members_url"- <*> o .: "repositories_url"--instance FromJSON HookMilestone where- parseJSON = withObject "HookMilestone" $ \o -> HookMilestone- <$> o .: "url"- <*> o .: "html_url"- <*> o .: "labels_url"- <*> o .: "id"- <*> o .: "node_id"- <*> o .: "number"- <*> o .: "title"- <*> o .: "description"- <*> o .: "creator"- <*> o .: "open_issues"- <*> o .: "closed_issues"- <*> o .: "state"- <*> o .: "created_at"- <*> o .: "updated_at"- <*> o .: "due_on"- <*> o .: "closed_at"--instance FromJSON HookMembership where- parseJSON = withObject "HookMembership" $ \o -> HookMembership- <$> o .: "url"- <*> o .: "state"- <*> o .: "role"- <*> o .: "organization_url"- <*> o .: "user"--instance FromJSON HookProject where- parseJSON = withObject "HookProject" $ \o -> HookProject- <$> o .: "owner_url"- <*> o .: "url"- <*> o .: "columns_url"- <*> o .: "id"- <*> o .: "node_id"- <*> o .: "name"- <*> o .: "body"- <*> o .: "number"- <*> o .: "state"- <*> o .: "creator"- <*> o .: "created_at"- <*> o .: "updated_at"--instance FromJSON HookProjectCard where- parseJSON = withObject "HookProjectCard" $ \o -> HookProjectCard- <$> o .: "url"- <*> o .: "column_url"- <*> o .: "column_id"- <*> o .: "id"- <*> o .: "node_id"- <*> o .:? "note"- <*> o .: "creator"- <*> o .: "created_at"- <*> o .: "updated_at"- <*> o .: "content_url"--instance FromJSON HookProjectColumn where- parseJSON = withObject "HookProjectColumn" $ \o -> HookProjectColumn- <$> o .: "url"- <*> o .: "project_url"- <*> o .: "cards_url"- <*> o .: "id"- <*> o .: "node_id"- <*> o .: "name"- <*> o .: "created_at"- <*> o .: "updated_at"--instance FromJSON HookIssueLabels where- parseJSON = withObject "HookIssueLabels" $ \o -> HookIssueLabels- <$> o .:? "id"- <*> o .:? "node_id"- <*> o .: "url"- <*> o .: "name"- <*> o .: "color"- <*> o .:? "default" .!= False--instance FromJSON HookCheckSuite where- parseJSON = withObject "HookCheckSuite" $ \o -> HookCheckSuite- <$> o .: "id"- <*> o .: "node_id"- <*> o .:? "head_branch"- <*> o .: "head_sha"- <*> o .: "status"- <*> o .:? "conclusion"- <*> o .: "url"- <*> o .:? "before"- <*> o .: "after"- <*> o .: "pull_requests"- <*> o .: "created_at"- <*> o .: "updated_at"- <*> o .:? "latest_check_runs_count"- <*> o .:? "check_runs_url"- <*> o .:? "head_commit"--instance FromJSON HookCheckSuiteCommit where- parseJSON = withObject "HookCheckSuiteCommit" $ \o -> HookCheckSuiteCommit- <$> o .: "id"- <*> o .: "author"- <*> o .: "committer"--instance FromJSON HookCheckRun where- parseJSON = withObject "HookCheckRun" $ \o -> HookCheckRun- <$> o .: "id"- <*> o .: "node_id"- <*> o .: "head_sha"- <*> o .: "external_id"- <*> o .: "url"- <*> o .: "html_url"- <*> o .: "details_url"- <*> o .: "status"- <*> o .:? "conclusion"- <*> o .: "started_at"- <*> o .:? "completed_at"- <*> o .: "output"- <*> o .: "name"- <*> o .: "check_suite"- <*> o .: "pull_requests"--instance FromJSON HookCheckRunOutput where- parseJSON = withObject "HookCheckRunOutput" $ \o -> HookCheckRunOutput- <$> o .: "title"- <*> o .: "summary"- <*> o .: "text"- <*> o .: "annotations_count"- <*> o .: "annotations_url"--instance FromJSON HookCheckRunRequestedAction where- parseJSON = withObject "HookCheckRunRequestedAction" $ \o -> HookCheckRunRequestedAction- <$> o .: "identifier"--instance FromJSON HookChecksInstallation where- parseJSON = withObject "HookChecksInstallation" $ \o -> HookChecksInstallation- <$> o .: "id"- <*> o .: "node_id"--instance FromJSON HookChecksPullRequest where- parseJSON = withObject "HookChecksPullRequest" $ \o -> HookChecksPullRequest- <$> o .: "url"- <*> o .: "id"- <*> o .: "number"- <*> o .: "head"- <*> o .: "base"--instance FromJSON HookChecksPullRequestTarget where- parseJSON = withObject "PullRequestTarget" $ \o -> HookChecksPullRequestTarget- <$> o .: "sha"- <*> o .: "ref"- <*> o .: "repo"--instance FromJSON HookChecksPullRequestRepository where- parseJSON = withObject "HookChecksPullRequestRepository" $ \o -> HookChecksPullRequestRepository- <$> o .: "id"- <*> o .: "url"- <*> o .: "name"--instance FromJSON HookCommit where- parseJSON = withObject "HookCommit" $ \o -> HookCommit- <$> (o .: "sha" <|> o .: "id")- <*> o .: "url"- <*> o .:? "html_url"- <*> o .:? "comments_url"- <*> ((Right <$> o .: "author") <|> (Left <$> o .: "author")) -- try complex form first- <*> ((Right <$> o .: "committer") <|> (Left <$> o .: "committer")) -- try complex form first--instance FromJSON HookRelease where- parseJSON = withObject "HookRelease" $ \o -> HookRelease- <$> o .: "url"- <*> o .: "assets_url"- <*> o .: "upload_url"- <*> o .: "html_url"- <*> o .: "id"- <*> o .: "node_id"- <*> o .: "tag_name"- <*> o .: "target_commitish"- <*> o .:? "name"- <*> o .: "draft"- <*> o .: "author"- <*> o .: "prerelease"- <*> o .: "created_at"- <*> o .:? "published_at"- <*> o .: "tarball_url"- <*> o .: "zipball_url"- <*> o .:? "body"--instance FromJSON HookPullRequest where- parseJSON = withObject "HookPullRequest" $ \o -> HookPullRequest- <$> o .: "url"- <*> o .: "id"- <*> o .: "node_id"- <*> o .: "html_url"- <*> o .: "diff_url"- <*> o .: "patch_url"- <*> o .: "issue_url"- <*> o .: "number"- <*> o .: "state"- <*> o .: "locked"- <*> o .: "title"- <*> o .: "user"- <*> o .:? "body" .!= ""- <*> o .: "created_at"- <*> o .: "updated_at"- <*> o .:? "closed_at"- <*> o .:? "merged_at"- <*> o .:? "merge_commit_sha"- <*> o .:? "assignee"- <*> o .:? "milestone"- <*> o .: "commits_url"- <*> o .: "review_comments_url"- <*> o .: "review_comment_url"- <*> o .: "comments_url"- <*> o .: "statuses_url"- <*> o .: "base"- <*> o .: "head"- -- <*> o .: "merged"- -- <*> o .: "mergeable"- <*> o .:? "mergeable_state"- -- <*> o .: "merged_by"- <*> o .:? "comments"- <*> o .:? "review_comments"- <*> o .:? "commits"- <*> o .:? "additions"- <*> o .:? "deletions"- <*> o .:? "changed_files"--instance FromJSON PullRequestTarget where- parseJSON = withObject "PullRequestTarget" $ \o -> PullRequestTarget- <$> o .: "sha"- <*> o .: "user"- <*> o .: "repo"- <*> o .: "label"- <*> o .: "ref"--instance FromJSON HookPullRequestReview where- parseJSON = withObject "HookPullRequestReview" $ \o -> HookPullRequestReview- <$> o .: "id"- <*> o .: "node_id"- <*> o .: "user"- <*> o .: "body"- <*> o .: "submitted_at"- <*> o .: "state"- <*> o .: "html_url"- <*> o .: "pull_request_url"--instance FromJSON HookInstallation where- parseJSON = withObject "HookInstallation" $ \o -> HookInstallation- <$> o .: "id"- <*> o .: "account"- <*> o .: "repository_selection"- <*> o .: "access_tokens_url"- <*> o .: "repositories_url"--instance FromJSON HookDeployment where- parseJSON = withObject "HookDeployment" $ \o -> HookDeployment- <$> o .: "url"- <*> o .: "id"- <*> o .: "node_id"- <*> o .: "sha"- <*> o .: "ref"- <*> o .: "task"- <*> o .: "environment"- <*> o .:? "description"- <*> o .: "creator"- <*> o .: "created_at"- <*> o .: "updated_at"- <*> o .: "statuses_url"- <*> o .: "repository_url"--instance FromJSON HookDeploymentStatus where- parseJSON = withObject "HookDeploymentStatus" $ \o -> HookDeploymentStatus- <$> o .: "url"- <*> o .: "id"- <*> o .: "node_id"- <*> o .: "state"- <*> o .: "creator"- <*> o .:? "description"- <*> o .:? "target_url"- <*> o .: "created_at"- <*> o .: "updated_at"- <*> o .: "deployment_url"- <*> o .: "repository_url"--instance FromJSON HookWikiPage where- parseJSON = withObject "HookWikiPage" $ \o -> HookWikiPage- <$> o .: "page_name"- <*> o .: "title"- <*> o .:? "summary"- <*> o .: "action"- <*> o .: "sha"- <*> o .: "html_url"--instance FromJSON HookPageBuildResult where- parseJSON = withObject "HookPageBuildResult" $ \o -> HookPageBuildResult- <$> o .: "url"- <*> o .: "status"- <*> (o .: "error" >>= \e -> e .:? "message")- <*> o .: "pusher"- <*> o .: "commit"- <*> o .: "duration"- <*> o .: "created_at"- <*> o .: "updated_at"--instance FromJSON HookIssueComment where- parseJSON = withObject "HookIssueComment" $ \o -> HookIssueComment- <$> o .: "url"- <*> o .: "html_url"- <*> o .: "issue_url"- <*> o .: "id"- <*> o .: "node_id"- <*> o .: "user"- <*> o .: "created_at"- <*> o .: "updated_at"- <*> o .: "body"--instance FromJSON HookCommitComment where- parseJSON = withObject "HookCommitComment" $ \o -> HookCommitComment- <$> o .: "url"- <*> o .: "html_url"- <*> o .: "id"- <*> o .: "node_id"- <*> o .: "user"- <*> o .:? "position"- <*> o .:? "line"- <*> o .:? "path"- <*> o .: "commit_id"- <*> o .: "created_at"- <*> o .: "updated_at"- <*> o .: "body"--instance FromJSON HookPullRequestReviewComment where- parseJSON = withObject "HookPullRequestReviewComment" $ \o -> HookPullRequestReviewComment- <$> o .: "url"- <*> o .: "id"- <*> o .: "node_id"- <*> o .: "diff_hunk"- <*> o .: "path"- <*> o .: "position"- <*> o .: "original_position"- <*> o .: "commit_id"- <*> o .: "original_commit_id"- <*> o .: "user"- <*> o .: "body"- <*> o .: "created_at"- <*> o .: "updated_at"- <*> o .: "html_url"- <*> o .: "pull_request_url"+{-# LANGUAGE Trustworthy #-} +{-| +Module : Github.Data.Webhooks.Payload +Copyright : (c) Cuedo Control Engineering 2017-2022 +License : MIT +Maintainer : Kyle Van Berendonck <foss@cuedo.com.au> + +This module contains types that represent GitHub webhook's payload contents. +-} +module GitHub.Data.Webhooks.Payload + ( -- * Construction Types + URL(..) + , getUrl + , OwnerType(..) + -- * Webhook Types + , HookIssue(..) + , HookRepository(..) + , HookRepositorySimple(..) + , HookRepositoryLabel(..) + , HookUser(..) + , HookSimpleUser(..) + , HookOrganization(..) + , HookOrganizationInvitation(..) + , HookOrganizationMembership(..) + , HookTeam(..) + , HookMarketplaceAccount(..) + , HookMarketplaceBillingCycle(..) + , HookMarketplacePlan(..) + , HookMarketplacePlanPriceModel(..) + , HookMarketplacePurchase(..) + , HookMilestone(..) + , HookMembership(..) + , HookProject(..) + , HookProjectCard(..) + , HookProjectColumn(..) + , HookIssueLabels(..) + , HookCommit(..) + , HookCheckSuiteStatus(..) + , HookCheckSuiteConclusion(..) + , HookCheckSuite(..) + , HookCheckSuiteCommit(..) + , HookCheckRunStatus(..) + , HookCheckRunConclusion(..) + , HookCheckRun(..) + , HookCheckRunOutput(..) + , HookCheckRunRequestedAction(..) + , HookChecksInstallation(..) + , HookChecksPullRequest(..) + , HookChecksPullRequestRepository(..) + , HookChecksPullRequestTarget(..) + , HookRelease(..) + , HookPullRequest(..) + , PullRequestTarget(..) + , HookPullRequestReview(..) + , HookInstallation(..) + , HookDeployment(..) + , HookDeploymentStatus(..) + , HookWikiPage(..) + , HookPageBuildResult(..) + , HookIssueComment(..) + , HookCommitComment(..) + , HookPullRequestReviewComment(..) + ) where + +import Data.Aeson (FromJSON(..), withObject, withText, (.!=), (.:), (.:?)) +import Control.DeepSeq (NFData (..)) +import Control.DeepSeq.Generics (genericRnf) +import Control.Applicative ((<|>), (<*>), pure) +import Data.Data (Data, Typeable) +import Data.Functor ((<$>)) +import Data.Time (UTCTime) +import Data.Time.LocalTime (zonedTimeToUTC) +import Data.Time.Clock.POSIX (posixSecondsToUTCTime) +import Data.Text (Text) +import qualified Data.Text as T +import Data.Vector (Vector) +import GHC.Generics (Generic) + + +-- Types lifted from the @github@ package. + +-- | Represents the owner of a repository, pull request or similar. +-- +-- A bot is a "special type of user which takes actions on behalf of GitHub Apps". +-- See also https://developer.github.com/v4/object/bot/ +data OwnerType = OwnerUser | OwnerOrganization | OwnerBot + deriving (Eq, Ord, Enum, Bounded, Show, Read, Generic, Typeable, Data) + +instance NFData OwnerType + +instance FromJSON OwnerType where + parseJSON = withText "Owner type" $ \t -> + case T.toLower t of + "user" -> pure OwnerUser + "organization" -> pure OwnerOrganization + "bot" -> pure OwnerBot + _ -> fail $ "Unknown owner type: " ++ T.unpack t + + +-- | Represents an internet address that would be suitable to query +-- for more information. The GitHub API only returns valid 'URL's. +newtype URL = URL Text + deriving (Eq, Ord, Show, Generic, Typeable, Data) + +instance NFData URL where rnf = genericRnf + +instance FromJSON URL where + parseJSON = withText "URL" (pure . URL) + +-- | Demote GitHub URL to Text. +getUrl :: URL -> Text +getUrl (URL url) = url + + +-- Hooks + +type IssueState = Text + +-- | Represents the "issue" field in the 'IssueCommentEvent' +-- and 'IssueEvent' payload. +data HookIssue = HookIssue + { whIssueUrl :: !URL + , whIssueLabelsUrl :: !URL + , whIssueCommentsUrl :: !URL + , whIssueEventsUrl :: !URL + , whIssueHtmlUrl :: !URL + , whIssueId :: !Int + , whIssueNodeId :: !Text + , whIssueNumber :: !Int + , whIssueTitle :: !Text + , whIssueUser :: !HookUser + , whIssueLabels :: !(Vector HookIssueLabels) + , whIssueState :: IssueState + , whIssueIsLocked :: !Bool + , whIssueAssignee :: !(Maybe HookUser) + , whIssueMilestone :: !(Maybe HookMilestone) + , whIssueCommentCount :: !Int + , whIssueCreatedAt :: !UTCTime + , whIssueUpdatedAt :: !UTCTime + , whIssueClosedAt :: !(Maybe UTCTime) + , whIssueBody :: !Text + } + deriving (Eq, Show, Typeable, Data, Generic) + +instance NFData HookIssue where rnf = genericRnf + +-- | Represents the "repository" field in all types of payload. +data HookRepository = HookRepository + { whRepoId :: !Int + , whRepoNodeId :: !Text + , whRepoName :: !Text + , whRepoFullName :: !Text + , whRepoOwner :: !(Either HookSimpleUser HookUser) + , whRepoIsPrivate :: !Bool + , whRepoHtmlUrl :: !URL + , whRepoDescription :: !Text + , whRepoIsAFork :: !Bool + , whRepoUrl :: !URL + , whRepoForksUrl :: !URL + , whRepoKeysUrl :: !URL + , whRepoCollaboratorsUrl :: !URL + , whRepoTeamsUrl :: !URL + , whRepoHooksUrl :: !URL + , whRepoIssueEventsUrl :: !URL + , whRepoEventsUrl :: !URL + , whRepoAssigneesUrl :: !URL + , whRepoBranchesUrl :: !URL + , whRepoTagsUrl :: !URL + , whRepoBlobsUrl :: !URL + , whRepoGitTagsUrl :: !URL + , whRepoGitRefsUrl :: !URL + , whRepoTreesUrl :: !URL + , whRepoStatusesUrl :: !URL + , whRepoLanguagesUrl :: !URL + , whRepoStargazersUrl :: !URL + , whRepoContributorsUrl :: !URL + , whRepoSubscribersUrl :: !URL + , whRepoSubscriptionUrl :: !URL + , whRepoCommitsUrl :: !URL + , whRepoGitCommitsUrl :: !URL + , whRepoCommentsUrl :: !URL + , whRepoIssueCommentsUrl :: !URL + , whRepoContentsUrl :: !URL + , whRepoCompareUrl :: !URL + , whRepoMergesUrl :: !URL + , whRepoArchiveUrl :: !URL + , whRepoDownloadsUrl :: !URL + , whRepoIssuesUrl :: !URL + , whRepoPullsUrl :: !URL + , whRepoMilestonesUrl :: !URL + , whRepoNotificationsUrl :: !URL + , whRepoLabelsUrl :: !URL + , whRepoReleasesUrl :: !URL + , whRepoCreatedAt :: !UTCTime + , whRepoUpdatedAt :: !UTCTime + , whRepoPushedAt :: !UTCTime + , whRepoGitUrl :: !URL + , whRepoSshUrl :: !URL + , whRepoCloneUrl :: !URL + , whRepoSvnUrl :: !URL + , whRepoHomepage :: !(Maybe URL) + , whRepoSize :: !Int + , whRepoStargazersCount :: !Int + , whRepoWatchersCount :: !Int + , whRepoLanguage :: !(Maybe Text) + , whRepoHasIssues :: !Bool + , whRepoHasDownloads :: !Bool + , whRepoHasWiki :: !Bool + , whRepoHasPages :: !Bool + , whRepoForkCount :: !Int + , whRepoMirrorUrl :: !(Maybe URL) + , whRepoOpenIssuesCount :: !Int + , whRepoDefaultBranchName :: !Text + } + deriving (Eq, Show, Typeable, Data, Generic) + +instance NFData HookRepository where rnf = genericRnf + +-- | Represents the "repositories_added" and "repositories_removed" +-- field in the 'InstallationRepositoriesEvent' payload. +data HookRepositorySimple = HookRepositorySimple + { whSimplRepoId :: !Int + , whSimplRepoNodeId :: !Text + , whSimplRepoName :: !Text + , whSimplRepoFullName :: !Text + , whSimplRepoIsPrivate :: !Bool + } + deriving (Eq, Show, Typeable, Data, Generic) + +instance NFData HookRepositorySimple where rnf = genericRnf + +-- | Represents the "label" field in the 'LabelEvent' payload. +data HookRepositoryLabel = HookRepositoryLabel + { whRepoLabelNodeId :: !(Maybe Text) + , whRepoLabelUrl :: !URL + , whRepoLabelName :: !Text + , whRepoLabelColor :: !Text + } + deriving (Eq, Show, Typeable, Data, Generic) + +instance NFData HookRepositoryLabel where rnf = genericRnf + +-- | Represents the "user" field in all types of payload. +data HookUser = HookUser + { whUserLogin :: !Text + , whUserId :: !Int + , whUserNodeId :: !Text + , whUserAvatarUrl :: !URL + , whUserGravatarId :: !URL + , whUserUrl :: !URL + , whUserHtmlUrl :: !URL + , whUserFollowersUrl :: !URL + , whUserFollowingUrl :: !URL + , whUserGistsUrl :: !URL + , whUserStarredUrl :: !URL + , whUserSubscriptionsUrl :: !URL + , whUserOrganizationsUrl :: !URL + , whUserReposUrl :: !URL + , whUserEventsUrl :: !URL + , whUserReceivedEventsUrl :: !URL + , whUserType :: !OwnerType + , whUserIsAdminOfSite :: !Bool + } + deriving (Eq, Show, Typeable, Data, Generic) + +instance NFData HookUser where rnf = genericRnf + +-- FIXME: Not sure where this is. +data HookSimpleUser = HookSimpleUser + { whSimplUserName :: !Text + , whSimplUserEmail :: !Text + , whSimplUserLogin :: !(Maybe Text) + } + deriving (Eq, Show, Typeable, Data, Generic) + +instance NFData HookSimpleUser where rnf = genericRnf + +-- | Represents the "organization" field in all types of payload. +data HookOrganization = HookOrganization + { whOrgLogin :: !Text + , whOrgId :: !Int + , whOrgNodeId :: !Text + , whOrgUrl :: !URL + , whOrgReposUrl :: !URL + , whOrgEventsUrl :: !URL + , whOrgHooksUrl :: !(Maybe URL) + , whOrgIssuesUrl :: !(Maybe URL) + , whOrgMembersUrl :: !URL + , whOrgPublicMembersUrl :: !URL + , whOrgAvatarUrl :: !URL + , whOrgDescription :: !Text + } + deriving (Eq, Show, Typeable, Data, Generic) + +instance NFData HookOrganization where rnf = genericRnf + +-- | Represents the "invitation" field in the 'OrganizationEvent' payload. +data HookOrganizationInvitation = HookOrganizationInvitation + { whOrgInvitationId :: !Int + , whOrgInvitationNodeId :: !Text + , whOrgInvitationLogin :: !Text + , whOrgInvitationEmail :: !(Maybe Text) + , whOrgInvitationRole :: !Text + } + deriving (Eq, Show, Typeable, Data, Generic) + +instance NFData HookOrganizationInvitation where rnf = genericRnf + +-- | Represents the "membership" field in the 'OrganizationEvent' payload. +data HookOrganizationMembership = HookOrganizationMembership + { whOrgMembershipUrl :: !URL + , whOrgMembershipState :: !Text + , whOrgMembershipRole :: !Text + , whOrgMembershipOrgUrl :: !URL + , whOrgMembershipUser :: !HookUser + } + deriving (Eq, Show, Typeable, Data, Generic) + +instance NFData HookOrganizationMembership where rnf = genericRnf + +-- | Represents the "team" field in the 'TeamEvent' and +-- 'TeamAddEvent' payload. +data HookTeam = HookTeam + { whTeamName :: !Text + , whTeamId :: !Int + , whTeamNodeId :: !Text + , whTeamSlug :: !Text + , whTeamPermission :: !Text + , whTeamUrl :: !URL + , whTeamMembersUrl :: !URL + , whTeamRepositoriesUrl :: !URL + } + deriving (Eq, Show, Typeable, Data, Generic) + +instance NFData HookTeam where rnf = genericRnf + +-- | Represents the "billing_cycle" field in the +-- 'HookMarketplacePurchase' payload. +data HookMarketplaceBillingCycle + -- | Decodes from "yearly" + = HookMarketplaceBillingCycleYearly + -- | Decodes from "monthly". + | HookMarketplaceBillingCycleMonthly + -- | The result of decoding an unknown marketplace purchase billing cycle type + | HookMarketplaceBillingCycleOther !Text + deriving (Eq, Ord, Show, Generic, Typeable, Data) + +instance NFData HookMarketplaceBillingCycle where rnf = genericRnf + +instance FromJSON HookMarketplaceBillingCycle where + parseJSON = withText "Hook marketplace billing cycle" $ \t -> + case t of + "yearly" -> pure HookMarketplaceBillingCycleYearly + "monthly" -> pure HookMarketplaceBillingCycleMonthly + _ -> pure (HookMarketplaceBillingCycleOther t) + +-- | Represents the "marketplace_purchase" field in the 'MarketplacePurchaseEvent' payload. +data HookMarketplacePurchase = HookMarketplacePurchase + { whMarketplacePurchaseAccount :: !HookMarketplaceAccount + , whMarketplacePurchaseBillingCycle :: !(Maybe HookMarketplaceBillingCycle) + , whMarketplacePurchaseUnitCount :: !Int + , whMarketplacePurchaseOnFreeTrial :: !Bool + , whMarketplacePurchaseFreeTrialEndsOn :: !(Maybe UTCTime) + , whMarketplacePurchaseNextBillingDate :: !(Maybe UTCTime) + , whMarketplacePurchasePlan :: !HookMarketplacePlan + } + deriving (Eq, Show, Typeable, Data, Generic) + +instance NFData HookMarketplacePurchase where rnf = genericRnf + +-- | Represents the "account" field in the 'HookMarketplacePurchase' payload. +data HookMarketplaceAccount = HookMarketplaceAccount + { whMarketplaceAccountType :: !OwnerType + , whMarketplaceAccountId :: !Int + , whMarketplaceAccountNodeId :: !Text + , whMarketplaceAccountLogin :: !Text + , whMarketplaceAccountOrganizationBillingEmail :: !(Maybe Text) + } + deriving (Eq, Show, Typeable, Data, Generic) + +instance NFData HookMarketplaceAccount where rnf = genericRnf + +-- | Represents the "plan" field in the 'HookMarketplacePurchase' payload. +data HookMarketplacePlan = HookMarketplacePlan + { whMarketplacePlanId :: !Int + , whMarketplacePlanName :: !Text + , whMarketplacePlanDescription :: !Text + , whMarketplacePlanMonthlyPriceInCents :: !Int + , whMarketplacePlanYearlyPriceInCents :: !Int + , whMarketplacePlanPriceModel :: !HookMarketplacePlanPriceModel + , whMarketplacePlanHasFreeTrial :: !Bool + , whMarketplacePlanUnitName :: !(Maybe Text) + , whMarketplacePlanBullet :: !(Vector Text) + } + deriving (Eq, Show, Typeable, Data, Generic) + +instance NFData HookMarketplacePlan where rnf = genericRnf + +-- | Represents the "price_model" field in the +-- 'HookMarketplacePlan' payload. +data HookMarketplacePlanPriceModel + -- | Decodes from "flat-rate" + = HookMarketplacePlanPriceModelFlatRate + -- | Decodes from "per-unit". + | HookMarketplacePlanPriceModelPerUnit + -- | Decodes from "free". + | HookMarketplacePlanPriceModelFree + -- | The result of decoding an unknown marketplace plan price model + | HookMarketplacePlanPriceModelOther !Text + deriving (Eq, Ord, Show, Generic, Typeable, Data) + +instance NFData HookMarketplacePlanPriceModel where rnf = genericRnf + +instance FromJSON HookMarketplacePlanPriceModel where + parseJSON = withText "Hook marketplace plan price model" $ \t -> + case t of + "flat-rate" -> pure HookMarketplacePlanPriceModelFlatRate + "per-unit" -> pure HookMarketplacePlanPriceModelPerUnit + "free" -> pure HookMarketplacePlanPriceModelFree + _ -> pure (HookMarketplacePlanPriceModelOther t) + +type MilestoneState = Text + +-- | Represents the "milestone" field in the 'MilestoneEvent' payload. +data HookMilestone = HookMilestone + { whMilestoneUrl :: !URL + , whMilestoneHtmlUrl :: !URL + , whMilestoneLabelsUrl :: !URL + , whMilestoneId :: !Int + , whMilestoneNodeId :: !Text + , whMilestoneNumber :: !Int + , whMilestoneTitle :: !Text + , whMilestoneDescription :: !(Maybe Text) + , whMilestoneCreator :: !HookUser + , whMilestoneOpenIssues :: !Int + , whMilestoneClosedIssues :: !Int + , whMilestoneState :: !MilestoneState + , whMilestoneCreatedAt :: !UTCTime + , whMilestoneUpdatedAt :: !UTCTime + , whMilestoneDueOn :: !(Maybe UTCTime) + , whMilestoneClosedAt :: !(Maybe UTCTime) + } + deriving (Eq, Show, Typeable, Data, Generic) + +instance NFData HookMilestone where rnf = genericRnf + + +type MembershipState = Text +type MembershipRole = Text + +-- FIXME: Not sure where this is. +data HookMembership = HookMembership + { whMembershipUrl :: !URL + , whMembershipState :: !MembershipState + , whMembershipRole :: !MembershipRole + , whMembershipOrgUrl :: !URL + , whMembershipUser :: !HookUser + } + deriving (Eq, Show, Typeable, Data, Generic) + +instance NFData HookMembership where rnf = genericRnf + + +type ProjectState = Text + +-- | Represents the "project" field in the 'ProjectEvent' payload. +data HookProject = HookProject + { whProjectOwnerUrl :: !URL + , whProjectUrl :: !URL + , whProjectColumnsUrl :: !URL + , whProjectId :: !Int + , whProjectNodeId :: !Text + , whProjectName :: !Text + , whProjectBody :: !Text + , whProjectNumber :: !Int + , whProjectState :: !ProjectState + , whProjectCreator :: !HookUser + , whProjectCreatedAt :: !UTCTime + , whProjectUpdatedAt :: !UTCTime + } + deriving (Eq, Show, Typeable, Data, Generic) + +instance NFData HookProject where rnf = genericRnf + +-- | Represents the "project_card" field in the 'ProjectCardEvent' payload. +data HookProjectCard = HookProjectCard + { whProjectCardUrl :: !URL + , whProjectCardColumnUrl :: !URL + , whProjectCardColumnId :: !Int + , whProjectCardId :: !Int + , whProjectCardNodeId :: !Text + , whProjectCardNote :: !(Maybe Text) + , whProjectCardCreator :: !HookUser + , whProjectCardCreatedAt :: !UTCTime + , whProjectCardUpdatedAt :: !UTCTime + , whProjectCardContentUrl :: !URL + } + deriving (Eq, Show, Typeable, Data, Generic) + +instance NFData HookProjectCard where rnf = genericRnf + +-- | Represents the "project_column" field in the 'ProjectColumnEvent' payload. +data HookProjectColumn = HookProjectColumn + { whProjectColumnUrl :: !URL + , whProjectColumnProjUrl :: !URL + , whProjectColumnCardsUrl :: !URL + , whProjectColumnId :: !Int + , whProjectColumnNodeId :: !Text + , whProjectColumnName :: !Text + , whProjectColumnCreatedAt :: !UTCTime + , whProjectColumnUpdatedAt :: !UTCTime + } + deriving (Eq, Show, Typeable, Data, Generic) + +instance NFData HookProjectColumn where rnf = genericRnf + +-- | Represents the "issue.labels" field in the +-- 'IssueCommentEvent' and 'IssueEvent' payloads. +data HookIssueLabels = HookIssueLabels + { whIssueLabelId :: !(Maybe Int) -- ^ Not always sent. + , whIssueLabelNodeId :: !(Maybe Text) + , whIssueLabelUrl :: !URL + , whIssueLabelName :: !Text + , whIssueLabelColor :: !Text + , whIssueLabelIsDefault :: !Bool -- ^ Defaults to false when not present. + } + deriving (Eq, Show, Typeable, Data, Generic) + +instance NFData HookIssueLabels where rnf = genericRnf + +-- | Represents the "status" field in the +-- 'HookCheckSuite' payload. +data HookCheckSuiteStatus + -- | Decodes from "requested" + = HookCheckSuiteStatusRequested + -- | Decodes from "queued". + | HookCheckSuiteStatusQueued + -- | Decodes from "in_progress" + | HookCheckSuiteStatusInProgress + -- | Decodes from "completed" + | HookCheckSuiteStatusCompleted + -- | The result of decoding an unknown check suite status type + | HookCheckSuiteStatusOther !Text + deriving (Eq, Ord, Show, Generic, Typeable, Data) + +instance NFData HookCheckSuiteStatus where rnf = genericRnf + +instance FromJSON HookCheckSuiteStatus where + parseJSON = withText "Hook check suite status" $ \t -> + case t of + "requested" -> pure HookCheckSuiteStatusRequested + "queued" -> pure HookCheckSuiteStatusQueued + "in_progress" -> pure HookCheckSuiteStatusInProgress + "completed" -> pure HookCheckSuiteStatusCompleted + _ -> pure (HookCheckSuiteStatusOther t) + +-- | Represents the "conclusion" field in the +-- 'HookCheckSuite' payload. +data HookCheckSuiteConclusion + -- | Decodes from "success" + = HookCheckSuiteConclusionSuccess + -- | Decodes from "failure" + | HookCheckSuiteConclusionFailure + -- | Decodes from "neutral" + | HookCheckSuiteConclusionNeutral + -- | Decodes from "cancelled" + | HookCheckSuiteConclusionCancelled + -- | Decodes from "timed_out" + | HookCheckSuiteConclusionTimedOut + -- | Decodes from "action_required" + | HookCheckSuiteConclusionActionRequired + -- | Decodes from "stale" + | HookCheckSuiteConclusionStale + -- | The result of decoding an unknown check suite conclusion type + | HookCheckSuiteConclusionOther !Text + deriving (Eq, Ord, Show, Generic, Typeable, Data) + +instance NFData HookCheckSuiteConclusion where rnf = genericRnf + +instance FromJSON HookCheckSuiteConclusion where + parseJSON = withText "Hook check suite status" $ \t -> + case t of + "success" -> pure HookCheckSuiteConclusionSuccess + "failure" -> pure HookCheckSuiteConclusionFailure + "neutral" -> pure HookCheckSuiteConclusionNeutral + "cancelled" -> pure HookCheckSuiteConclusionCancelled + "timed_out" -> pure HookCheckSuiteConclusionTimedOut + "action_required" -> pure HookCheckSuiteConclusionActionRequired + "stale" -> pure HookCheckSuiteConclusionStale + _ -> pure (HookCheckSuiteConclusionOther t) + +-- FIXME: Missing nested "app", there are examples, but no documentation. +-- | Represents the "check_suite" field in the +-- 'CheckSuiteEvent' payload. +data HookCheckSuite = HookCheckSuite + { whCheckSuiteId :: !Int + , whCheckSuiteNodeId :: !Text + , whCheckSuiteHeadBranch :: !(Maybe Text) -- ^ The Checks API only looks for pushes in the repository where the check suite or check run were created. Pushes to a branch in a forked repository are not detected and return an empty pull_requests array and a null value for head_branch. + , whCheckSuiteHeadSha :: !Text + , whCheckSuiteStatus :: !HookCheckSuiteStatus + , whCheckSuiteConclusion :: !(Maybe HookCheckSuiteConclusion) + , whCheckSuiteUrl :: !URL + , whCheckSuiteBeforeSha :: !(Maybe Text) + , whCheckSuiteAfterSha :: !(Maybe Text) + , whCheckSuitePullRequests :: !(Vector HookChecksPullRequest) + , whCheckSuiteCreatedAt :: !UTCTime + , whCheckSuiteUpdatedAt :: !UTCTime + , whCheckSuiteLatestCheckRunsCount :: !(Maybe Int) -- not included in the check run nested payload + , whCheckSuiteCheckRunsUrl :: !(Maybe URL) -- not included in the check run nested payload + , whCheckSuiteHeadCommit :: !(Maybe HookCheckSuiteCommit) -- not included in the check run nested payload + } + deriving (Eq, Show, Typeable, Data, Generic) + +instance NFData HookCheckSuite where rnf = genericRnf + +-- | Represents the "head_commit" field in the +-- 'CheckSuiteEvent' payload. +data HookCheckSuiteCommit = HookCheckSuiteCommit + { whCheckSuiteCommitSha :: !Text -- ^ Sometimes called the commit 'id'. + , whCheckSuiteCommitAuthor :: !HookSimpleUser + , whCheckSuiteCommitCommitter :: !HookSimpleUser + } + deriving (Eq, Show, Typeable, Data, Generic) + +instance NFData HookCheckSuiteCommit where rnf = genericRnf + +-- | Represents the "status" field in the +-- 'HookCheckRun' payload. +data HookCheckRunStatus + -- | Decodes from "queued" + = HookCheckRunStatusQueued + -- | Decodes from "in_progress" + | HookCheckRunStatusInProgress + -- | Decodes from "completed" + | HookCheckRunStatusCompleted + -- | The result of decoding an unknown check run status type + | HookCheckRunStatusOther !Text + deriving (Eq, Ord, Show, Generic, Typeable, Data) + +instance NFData HookCheckRunStatus where rnf = genericRnf + +instance FromJSON HookCheckRunStatus where + parseJSON = withText "Hook check suite status" $ \t -> + case t of + "queued" -> pure HookCheckRunStatusQueued + "in_progress" -> pure HookCheckRunStatusInProgress + "completed" -> pure HookCheckRunStatusCompleted + _ -> pure (HookCheckRunStatusOther t) + +-- | Represents the "conclusion" field in the +-- 'HookCheckRun' payload. +data HookCheckRunConclusion + -- | Decodes from "success" + = HookCheckRunConclusionSuccess + -- | Decodes from "failure" + | HookCheckRunConclusionFailure + -- | Decodes from "neutral" + | HookCheckRunConclusionNeutral + -- | Decodes from "cancelled" + | HookCheckRunConclusionCancelled + -- | Decodes from "timed_out" + | HookCheckRunConclusionTimedOut + -- | Decodes from "action_required" + | HookCheckRunConclusionActionRequired + -- | Decodes from "stale" + | HookCheckRunConclusionStale + -- | The result of decoding an unknown check run conclusion type + | HookCheckRunConclusionOther !Text + deriving (Eq, Ord, Show, Generic, Typeable, Data) + +instance NFData HookCheckRunConclusion where rnf = genericRnf + +instance FromJSON HookCheckRunConclusion where + parseJSON = withText "Hook check suite status" $ \t -> + case t of + "success" -> pure HookCheckRunConclusionSuccess + "failure" -> pure HookCheckRunConclusionFailure + "neutral" -> pure HookCheckRunConclusionNeutral + "cancelled" -> pure HookCheckRunConclusionCancelled + "timed_out" -> pure HookCheckRunConclusionTimedOut + "action_required" -> pure HookCheckRunConclusionActionRequired + "stale" -> pure HookCheckRunConclusionStale + _ -> pure (HookCheckRunConclusionOther t) + +-- FIXME: Missing nested "app", there are examples, but no documentation. +-- | Represents the "check_run" field in the +-- 'CheckRunEvent' payload. +data HookCheckRun = HookCheckRun + { whCheckRunId :: !Int + , whCheckRunNodeId :: !Text + , whCheckRunHeadSha :: !Text + , whCheckRunExternalId :: !Text + , whCheckRunUrl :: !URL + , whCheckRunHtmlUrl :: !URL + , whCheckRunDetailsUrl :: !URL + , whCheckRunStatus :: !HookCheckRunStatus + , whCheckRunConclusion :: !(Maybe HookCheckRunConclusion) + , whCheckRunStartedAt :: !UTCTime + , whCheckRunCompletedAt :: !(Maybe UTCTime) + , whCheckRunOutput :: !HookCheckRunOutput + , whCheckRunName :: !Text + , whCheckRunCheckSuite :: !HookCheckSuite + , whCheckRunPullRequests :: !(Vector HookChecksPullRequest) + } + deriving (Eq, Show, Typeable, Data, Generic) + +instance NFData HookCheckRun where rnf = genericRnf + +-- | Represents the "output" field in the +-- 'HookCheckRun' payload. +data HookCheckRunOutput = HookCheckRunOutput + { whCheckRunOutputTitle :: !(Maybe Text) + , whCheckRunOutputSummary :: !(Maybe Text) + , whCheckRunOutputText :: !(Maybe Text) + , whCheckRunOutputAnnotationsCount :: !Int + , whCheckRunOutputAnnotationsUrl :: !URL + } + deriving (Eq, Show, Typeable, Data, Generic) + +instance NFData HookCheckRunOutput where rnf = genericRnf + +-- | Represents the "requested_action" field in the +-- 'CheckRunEvent' payload. +newtype HookCheckRunRequestedAction = HookCheckRunRequestedAction + { whCheckRunRequestedActionIdentifier :: Text + } + deriving (Eq, Show, Typeable, Data, Generic) + +instance NFData HookCheckRunRequestedAction where rnf = genericRnf + +-- | Represents the "installation" field in the checks payloads. +data HookChecksInstallation = HookChecksInstallation + { whChecksInstallationId :: Int + , whChecksInstallationNodeId :: Text + } + deriving (Eq, Show, Typeable, Data, Generic) + +instance NFData HookChecksInstallation where rnf = genericRnf + +-- | Represents the "pull_requests" field in the checks payloads. +data HookChecksPullRequest = HookChecksPullRequest + { whChecksPullRequestUrl :: !URL + , whChecksPullRequestId :: !Int + , whChecksPullRequestNumber :: !Int + , whChecksPullRequestHead :: !HookChecksPullRequestTarget + , whChecksPullRequestBase :: !HookChecksPullRequestTarget + } + deriving (Eq, Show, Typeable, Data, Generic) + +instance NFData HookChecksPullRequest where rnf = genericRnf + +-- | Represents the "repo" field in the checks pull_request payloads. +data HookChecksPullRequestRepository = HookChecksPullRequestRepository + { whChecksPullRequestRepositoryId :: !Int + , whChecksPullRequestRepositoryUrl :: !URL + , whChecksPullRequestRepositoryName :: !Text + } + deriving (Eq, Show, Typeable, Data, Generic) + +instance NFData HookChecksPullRequestRepository where rnf = genericRnf + +-- | Represents the repo targets in +-- the checks pull requests repository payloads. +data HookChecksPullRequestTarget = HookChecksPullRequestTarget + { whChecksPullRequestTargetSha :: !Text + , whChecksPullRequestTargetRef :: !Text -- ex "somebranch" + , whChecksPullRequestTargetRepo :: !HookChecksPullRequestRepository + } + deriving (Eq, Show, Typeable, Data, Generic) + +instance NFData HookChecksPullRequestTarget where rnf = genericRnf + +--- FIXME: Missing nested metadata that provides commit description +--- FIXME: Missing property "parent" (no examples provided) +data HookCommit = HookCommit + { whCommitSha :: !Text -- ^ Sometimes called the commit 'id'. + , whCommitUrl :: !URL + , whCommitHtmlUrl :: !(Maybe URL) -- ^ Not always sent. + , whCommitCommentsUrl :: !(Maybe URL) -- ^ Not always sent. + , whCommitAuthor :: !(Either HookSimpleUser HookUser) + , whCommitCommitter :: !(Either HookSimpleUser HookUser) + } + deriving (Eq, Show, Typeable, Data, Generic) + +instance NFData HookCommit where rnf = genericRnf + +-- FIXME: Missing property "assets" (no examples provided) +data HookRelease = HookRelease + { whReleaseUrl :: !URL + , whReleaseAssetsUrl :: !URL + , whReleaseUploadUrl :: !URL + , whReleaseHtmlUrl :: !URL + , whReleaseId :: !Int + , whReleaseNodeId :: !Text + , whReleaseTagName :: !Text + , whReleaseTargetCommitish :: !Text + , whReleaseName :: !(Maybe Text) + , whReleaseIsDraft :: !Bool + , whReleaseAuthor :: !HookUser + , whReleaseIsPreRelease :: !Bool + , whReleaseCreatedAt :: !UTCTime + , whReleasePublishedAt :: !(Maybe UTCTime) + , whReleaseTarballUrl :: !URL + , whReleaseZipballUrl :: !URL + , whReleaseBody :: !(Maybe Text) + } + deriving (Eq, Show, Typeable, Data, Generic) + +instance NFData HookRelease where rnf = genericRnf + +data HookPullRequest = HookPullRequest + { whPullReqUrl :: !URL + , whPullReqId :: !Int + , whPullReqNodeId :: !Text + , whPullReqHtmlUrl :: !URL + , whPullReqDiffUrl :: !URL + , whPullReqPatchUrl :: !URL + , whPullReqIssueUrl :: !URL + , whPullReqNumber :: !Int + , whPullReqState :: !Text -- FIXME: Smart constructor? + , whPullReqIsLocked :: !Bool + , whPullReqTitle :: !Text + , whPullReqUser :: !HookUser + , whPullReqBody :: !Text + , whPullReqCreatedAt :: !UTCTime + , whPullReqUpdatedAt :: !UTCTime + , whPullReqClosedAt :: !(Maybe UTCTime) + , whPullReqMergedAt :: !(Maybe UTCTime) + , whPullReqMergeCommitSha :: !(Maybe Text) + , whPullReqAssignee :: !(Maybe HookUser) + , whPullReqMilestone :: !(Maybe HookMilestone) + , whPullReqCommitsUrl :: !URL + , whPullReqRevCommentsUrl :: !URL + , whPullReqRevCommentUrl :: !URL + , whPullReqCommentsUrl :: !URL + , whPullReqStatusesUrl :: !URL + , whPullReqBase :: !PullRequestTarget + , whPullReqHead :: !PullRequestTarget + -- , whPullReqIsMerged :: !Bool + -- , whPullReqIsMergeable :: !Bool + , whPullReqMergeableState :: !(Maybe Text) -- ^ Not sent with all events. + -- , whPullReqMergedBy :: !(Maybe HookUser) + , whPullReqCommentCount :: !(Maybe Int) -- ^ Not sent with all events. + , whPullReqRevCommentCount :: !(Maybe Int) -- ^ Not sent with all events. + , whPullReqCommitCount :: !(Maybe Int) -- ^ Not sent with all events. + , whPullReqAdditionsCount :: !(Maybe Int) -- ^ Not sent with all events. + , whPullReqDeletionsCount :: !(Maybe Int) -- ^ Not sent with all events. + , whPullReqFileChangeCount :: !(Maybe Int) -- ^ Not sent with all events. + } + deriving (Eq, Show, Typeable, Data, Generic) + +instance NFData HookPullRequest where rnf = genericRnf + +data PullRequestTarget = PullRequestTarget + { whPullReqTargetSha :: !Text + , whPullReqTargetUser :: !HookUser + , whPullReqTargetRepo :: !(Maybe HookRepository) -- maybe null, see #47 + , whPullReqTargetLabel :: !Text -- ex "user:branch" + , whPullReqTargetRef :: !Text -- ex "somebranch" + } + deriving (Eq, Show, Typeable, Data, Generic) + +instance NFData PullRequestTarget where rnf = genericRnf + +-- | Represents the "pull_request" field in the 'PullRequestReviewEvent' payload. +data HookPullRequestReview = HookPullRequestReview + { whPullReqReviewId :: !Int + , whPullReqReviewNodeId :: !Text + , whPullReqReviewUser :: !HookUser + , whPullReqReviewBody :: !Text + , whPullReqReviewSubmittedAt :: !UTCTime + , whPullReqReviewState :: !Text + , whPullReqReviewHtmlUrl :: !URL + , whPullReqReviewPullUrl :: !URL + } + deriving (Eq, Show, Typeable, Data, Generic) + +instance NFData HookPullRequestReview where rnf = genericRnf + +-- | Represents the "installation" field in the 'InstallationEvent' payload. +data HookInstallation = HookInstallation + { whInstallationId :: !Int + , whInstallationAccount :: !HookUser + , whInstallationRepoSel :: !Text + , whInstallationTokenUrl :: !URL + , whInstallationRepoUrl :: !URL + } + deriving (Eq, Show, Typeable, Data, Generic) + +instance NFData HookInstallation where rnf = genericRnf + +-- | Represents the "deployment" field in the +-- 'DeploymentEvent' and 'DeploymentStatusEvent' payload. +data HookDeployment = HookDeployment + { whDeploymentUrl :: !URL + , whDeploymentId :: !Int + , whDeploymentNodeId :: !Text + , whDeploymentSha :: !Text + , whDeploymentRef :: !Text + , whDeploymentTask :: !Text + -- , whDeploymentPayload + , whDeploymentEnv :: !Text + , whDeploymentDescription :: !(Maybe Text) + , whDeploymentCreator :: !HookUser + , whDeploymentCreatedAt :: !UTCTime + , whDeploymentUpdatedAt :: !UTCTime + , whDeploymentStatusesUrl :: !URL + , whDeploymentRepoUrl :: !URL + } + deriving (Eq, Show, Typeable, Data, Generic) + +instance NFData HookDeployment where rnf = genericRnf + +-- | Represents the "deployment_status" field in the +-- 'DeploymentStatusEvent' payload. +data HookDeploymentStatus = HookDeploymentStatus + { whDeploymentStatusUrl :: !URL + , whDeploymentStatusId :: !Int + , whDeploymentStatusNodeId :: !Text + , whDeploymentStatusState :: !Text + , whDeploymentStatusCreator :: !HookUser + , whDeploymentStatusDesc :: !(Maybe Text) + , whDeploymentStatusTargetUrl :: !(Maybe URL) + , whDeploymentStatusCreatedAt :: !UTCTime + , whDeploymentStatusUpdatedAt :: !UTCTime + , whDeploymentStatusDeplUrl :: !URL + , whDeploymentStatusRepoUrl :: !URL + } + deriving (Eq, Show, Typeable, Data, Generic) + +instance NFData HookDeploymentStatus where rnf = genericRnf + +-- | Represents the "pages" field in the 'GollumEvent' payload. +data HookWikiPage = HookWikiPage + { whWikiPageName :: !Text + , whWikiPageTitle :: !Text + , whWikiPageSummary :: !(Maybe Text) + , wkWikiPageAction :: !Text + , whWikiPageSha :: !Text + , whWikiPageHtmlUrl :: URL + } + deriving (Eq, Show, Typeable, Data, Generic) + +instance NFData HookWikiPage where rnf = genericRnf + +-- | Represents the "build" field in the 'PageBuildEvent' payload. +data HookPageBuildResult = HookPageBuildResult + { whPageBuildUrl :: !URL + , whPageBuildStatus :: !Text + , whPageBuildError :: !(Maybe Text) + , whPageBuildPusher :: !HookUser + , whPageBuildCommitSha :: !Text + , whPageBuildDuration :: !Int + , whPageBuildCreatedAt :: !UTCTime + , whPageBuildUpdatedAt :: !UTCTime + } + deriving (Eq, Show, Typeable, Data, Generic) + +instance NFData HookPageBuildResult where rnf = genericRnf + +-- | Represents the "issue" field in 'IssueComentEvent' payload. +data HookIssueComment = HookIssueComment + { whIssueCommentUrl :: !URL + , whIssueCommentHtmlUrl :: !URL + , whIssueCommentIssueUrl :: !URL + , whIssueCommentId :: !Int + , whIssueCommentNodeId :: !Text + , whIssueCommentUser :: !HookUser + , whIssueCommentCreatedAt :: !UTCTime + , whIssueCommentUpdatedAt :: !UTCTime + , whIssueCommentBody :: !Text + } + deriving (Eq, Show, Typeable, Data, Generic) + +instance NFData HookIssueComment where rnf = genericRnf + +-- | Represents the "comment" field in the 'CommitCommentEvent' payload. +data HookCommitComment = HookCommitComment + { whCommitCommentUrl :: !URL + , whCommitCommentHtmlUrl :: !URL + , whCommitCommentId :: !Int + , whCommitCommentNodeId :: !Text + , whCommitCommentUser :: !HookUser + , whCommitCommentPos :: !(Maybe Int) + , whCommitCommentLine :: !(Maybe Int) + , whCommitCommentPath :: !(Maybe Text) + , whCommitCommentCommitSha :: !Text + , whCommitCommentCreatedAt :: !UTCTime + , whCommitCommentUpdatedAt :: !UTCTime + , whCommitCommentBody :: !Text + } + deriving (Eq, Show, Typeable, Data, Generic) + +instance NFData HookCommitComment where rnf = genericRnf + +-- | Represents the "pull_request" field in the +-- 'PullRequestReviewCommentEvent' payload. +data HookPullRequestReviewComment = HookPullRequestReviewComment + { whPullReqRevComUrl :: !URL + , whPullReqRevComId :: !Int + , whPullReqRevComNodeId :: !Text + , whPullReqRevComDiffHunk :: !Text + , whPullReqRevComPath :: !Text + , whPullReqRevComPos :: !Int + , whPullReqRevComOrigPos :: !Int + , whPullReqRevComCommitSha :: !Text + , whPullReqRevComOrigSha :: !Text + , whPullReqRevComUser :: !HookUser + , whPullReqRevComBody :: !Text + , whPullReqRevComCreatedAt :: !UTCTime + , whPullReqRevComUpdatedAt :: !UTCTime + , whPullReqRevComHtmlUrl :: !URL + , whPullReqRevComPullReqUrl :: !URL + } + deriving (Eq, Show, Typeable, Data, Generic) + +instance NFData HookPullRequestReviewComment where rnf = genericRnf + + +-- Aeson Instances + +instance FromJSON HookIssue where + parseJSON = withObject "HookIssue" $ \o -> HookIssue + <$> o .: "url" + <*> o .: "labels_url" + <*> o .: "comments_url" + <*> o .: "events_url" + <*> o .: "html_url" + <*> o .: "id" + <*> o .: "node_id" + <*> o .: "number" + <*> o .: "title" + <*> o .: "user" + <*> o .: "labels" + <*> o .: "state" + <*> o .: "locked" + <*> o .: "assignee" + <*> o .: "milestone" + <*> o .: "comments" + <*> o .: "created_at" + <*> o .: "updated_at" + <*> o .:? "closed_at" + <*> o .:? "body" .!= "" + +instance FromJSON HookRepository where + parseJSON = withObject "HookRepository" $ \o -> HookRepository + <$> o .: "id" + <*> o .: "node_id" + <*> o .: "name" + <*> o .: "full_name" + <*> ((Right <$> o .: "owner") <|> (Left <$> o .: "owner")) -- try complex form first + <*> o .: "private" + <*> o .: "html_url" + <*> o .:? "description" .!= T.empty + <*> o .: "fork" + <*> o .: "url" + <*> o .: "forks_url" + <*> o .: "keys_url" + <*> o .: "collaborators_url" + <*> o .: "teams_url" + <*> o .: "hooks_url" + <*> o .: "issue_events_url" + <*> o .: "events_url" + <*> o .: "assignees_url" + <*> o .: "branches_url" + <*> o .: "tags_url" + <*> o .: "blobs_url" + <*> o .: "git_tags_url" + <*> o .: "git_refs_url" + <*> o .: "trees_url" + <*> o .: "statuses_url" + <*> o .: "languages_url" + <*> o .: "stargazers_url" + <*> o .: "contributors_url" + <*> o .: "subscribers_url" + <*> o .: "subscription_url" + <*> o .: "commits_url" + <*> o .: "git_commits_url" + <*> o .: "comments_url" + <*> o .: "issue_comment_url" + <*> o .: "contents_url" + <*> o .: "compare_url" + <*> o .: "merges_url" + <*> o .: "archive_url" + <*> o .: "downloads_url" + <*> o .: "issues_url" + <*> o .: "pulls_url" + <*> o .: "milestones_url" + <*> o .: "notifications_url" + <*> o .: "labels_url" + <*> o .: "releases_url" + -- FIXME: Wrap optional number/stringified UTCTime in a helper function? See PushEvent fixture + <*> ((o .: "created_at") <|> (posixSecondsToUTCTime . fromInteger <$> o .: "created_at")) + <*> ((o .: "updated_at") <|> (posixSecondsToUTCTime . fromInteger <$> o .: "updated_at")) + <*> ((o .: "pushed_at") <|> (posixSecondsToUTCTime . fromInteger <$> o .: "pushed_at")) + <*> o .: "git_url" + <*> o .: "ssh_url" + <*> o .: "clone_url" + <*> o .: "svn_url" + <*> o .:? "homepage" + <*> o .: "size" + <*> o .: "stargazers_count" + <*> o .: "watchers_count" + <*> o .: "language" + <*> o .: "has_issues" + <*> o .: "has_downloads" + <*> o .: "has_wiki" + <*> o .: "has_pages" + <*> o .: "forks_count" + <*> o .:? "mirror_url" + <*> o .: "open_issues_count" + <*> o .: "default_branch" + +instance FromJSON HookRepositorySimple where + parseJSON = withObject "HookRepositorySimple" $ \o -> HookRepositorySimple + <$> o .: "id" + <*> o .: "node_id" + <*> o .: "name" + <*> o .: "full_name" + <*> o .: "private" + +instance FromJSON HookRepositoryLabel where + parseJSON = withObject "HookRepositoryLabel" $ \o -> HookRepositoryLabel + <$> o .:? "node_id" + <*> o .: "url" + <*> o .: "name" + <*> o .: "color" + +instance FromJSON HookUser where + parseJSON = withObject "HookUser" $ \o -> HookUser + <$> o .: "login" + <*> o .: "id" + <*> o .: "node_id" + <*> o .: "avatar_url" + <*> o .: "gravatar_id" + <*> o .: "url" + <*> o .: "html_url" + <*> o .: "followers_url" + <*> o .: "following_url" + <*> o .: "gists_url" + <*> o .: "starred_url" + <*> o .: "subscriptions_url" + <*> o .: "organizations_url" + <*> o .: "repos_url" + <*> o .: "events_url" + <*> o .: "received_events_url" + <*> o .: "type" + <*> o .: "site_admin" + +instance FromJSON HookSimpleUser where + parseJSON = withObject "HookSimpleUser" $ \o -> HookSimpleUser + <$> o .: "name" + <*> o .: "email" + <*> o .:? "username" + +instance FromJSON HookOrganization where + parseJSON = withObject "HookOrganization" $ \o -> HookOrganization + <$> o .: "login" + <*> o .: "id" + <*> o .: "node_id" + <*> o .: "url" + <*> o .: "repos_url" + <*> o .: "events_url" + <*> o .:? "hooks_url" + <*> o .:? "issues_url" + <*> o .: "members_url" + <*> o .: "public_members_url" + <*> o .: "avatar_url" + <*> o .:? "description" .!= T.empty + +instance FromJSON HookOrganizationInvitation where + parseJSON = withObject "HookOrganizationInvitation" $ \o -> HookOrganizationInvitation + <$> o .: "id" + <*> o .: "node_id" + <*> o .: "login" + <*> o .: "email" + <*> o .: "role" + +instance FromJSON HookOrganizationMembership where + parseJSON = withObject "HookOrganizationMembership" $ \o -> HookOrganizationMembership + <$> o .: "url" + <*> o .: "state" + <*> o .: "role" + <*> o .: "organization_url" + <*> o .: "user" + +instance FromJSON HookTeam where + parseJSON = withObject "HookTeam" $ \o -> HookTeam + <$> o .: "name" + <*> o .: "id" + <*> o .: "node_id" + <*> o .: "slug" + <*> o .: "permission" + <*> o .: "url" + <*> o .: "members_url" + <*> o .: "repositories_url" + +instance FromJSON HookMarketplacePurchase where + parseJSON = withObject "HookMarketplacePurchase" $ \o -> HookMarketplacePurchase + <$> o .: "account" + <*> o .: "billing_cycle" + <*> o .: "unit_count" + <*> o .: "on_free_trial" + <*> (fmap zonedTimeToUTC <$> o .:? "free_trial_ends_on") + <*> (fmap zonedTimeToUTC <$> o .:? "next_billing_date") + <*> o .: "plan" + +instance FromJSON HookMarketplaceAccount where + parseJSON = withObject "HookMarketplaceAccount" $ \o -> HookMarketplaceAccount + <$> o .: "type" + <*> o .: "id" + <*> o .: "node_id" + <*> o .: "login" + <*> o .:? "organization_billing_email" + +instance FromJSON HookMarketplacePlan where + parseJSON = withObject "HookMarketplacePlan" $ \o -> HookMarketplacePlan + <$> o .: "id" + <*> o .: "name" + <*> o .: "description" + <*> o .: "monthly_price_in_cents" + <*> o .: "yearly_price_in_cents" + <*> o .: "price_model" + <*> o .: "has_free_trial" + <*> o .: "unit_name" + <*> o .: "bullets" + +instance FromJSON HookMilestone where + parseJSON = withObject "HookMilestone" $ \o -> HookMilestone + <$> o .: "url" + <*> o .: "html_url" + <*> o .: "labels_url" + <*> o .: "id" + <*> o .: "node_id" + <*> o .: "number" + <*> o .: "title" + <*> o .: "description" + <*> o .: "creator" + <*> o .: "open_issues" + <*> o .: "closed_issues" + <*> o .: "state" + <*> o .: "created_at" + <*> o .: "updated_at" + <*> o .: "due_on" + <*> o .: "closed_at" + +instance FromJSON HookMembership where + parseJSON = withObject "HookMembership" $ \o -> HookMembership + <$> o .: "url" + <*> o .: "state" + <*> o .: "role" + <*> o .: "organization_url" + <*> o .: "user" + +instance FromJSON HookProject where + parseJSON = withObject "HookProject" $ \o -> HookProject + <$> o .: "owner_url" + <*> o .: "url" + <*> o .: "columns_url" + <*> o .: "id" + <*> o .: "node_id" + <*> o .: "name" + <*> o .: "body" + <*> o .: "number" + <*> o .: "state" + <*> o .: "creator" + <*> o .: "created_at" + <*> o .: "updated_at" + +instance FromJSON HookProjectCard where + parseJSON = withObject "HookProjectCard" $ \o -> HookProjectCard + <$> o .: "url" + <*> o .: "column_url" + <*> o .: "column_id" + <*> o .: "id" + <*> o .: "node_id" + <*> o .:? "note" + <*> o .: "creator" + <*> o .: "created_at" + <*> o .: "updated_at" + <*> o .: "content_url" + +instance FromJSON HookProjectColumn where + parseJSON = withObject "HookProjectColumn" $ \o -> HookProjectColumn + <$> o .: "url" + <*> o .: "project_url" + <*> o .: "cards_url" + <*> o .: "id" + <*> o .: "node_id" + <*> o .: "name" + <*> o .: "created_at" + <*> o .: "updated_at" + +instance FromJSON HookIssueLabels where + parseJSON = withObject "HookIssueLabels" $ \o -> HookIssueLabels + <$> o .:? "id" + <*> o .:? "node_id" + <*> o .: "url" + <*> o .: "name" + <*> o .: "color" + <*> o .:? "default" .!= False + +instance FromJSON HookCheckSuite where + parseJSON = withObject "HookCheckSuite" $ \o -> HookCheckSuite + <$> o .: "id" + <*> o .: "node_id" + <*> o .:? "head_branch" + <*> o .: "head_sha" + <*> o .: "status" + <*> o .:? "conclusion" + <*> o .: "url" + <*> o .:? "before" + <*> o .:? "after" + <*> o .: "pull_requests" + <*> o .: "created_at" + <*> o .: "updated_at" + <*> o .:? "latest_check_runs_count" + <*> o .:? "check_runs_url" + <*> o .:? "head_commit" + +instance FromJSON HookCheckSuiteCommit where + parseJSON = withObject "HookCheckSuiteCommit" $ \o -> HookCheckSuiteCommit + <$> o .: "id" + <*> o .: "author" + <*> o .: "committer" + +instance FromJSON HookCheckRun where + parseJSON = withObject "HookCheckRun" $ \o -> HookCheckRun + <$> o .: "id" + <*> o .: "node_id" + <*> o .: "head_sha" + <*> o .: "external_id" + <*> o .: "url" + <*> o .: "html_url" + <*> o .: "details_url" + <*> o .: "status" + <*> o .:? "conclusion" + <*> o .: "started_at" + <*> o .:? "completed_at" + <*> o .: "output" + <*> o .: "name" + <*> o .: "check_suite" + <*> o .: "pull_requests" + +instance FromJSON HookCheckRunOutput where + parseJSON = withObject "HookCheckRunOutput" $ \o -> HookCheckRunOutput + <$> o .: "title" + <*> o .: "summary" + <*> o .: "text" + <*> o .: "annotations_count" + <*> o .: "annotations_url" + +instance FromJSON HookCheckRunRequestedAction where + parseJSON = withObject "HookCheckRunRequestedAction" $ \o -> HookCheckRunRequestedAction + <$> o .: "identifier" + +instance FromJSON HookChecksInstallation where + parseJSON = withObject "HookChecksInstallation" $ \o -> HookChecksInstallation + <$> o .: "id" + <*> o .: "node_id" + +instance FromJSON HookChecksPullRequest where + parseJSON = withObject "HookChecksPullRequest" $ \o -> HookChecksPullRequest + <$> o .: "url" + <*> o .: "id" + <*> o .: "number" + <*> o .: "head" + <*> o .: "base" + +instance FromJSON HookChecksPullRequestTarget where + parseJSON = withObject "PullRequestTarget" $ \o -> HookChecksPullRequestTarget + <$> o .: "sha" + <*> o .: "ref" + <*> o .: "repo" + +instance FromJSON HookChecksPullRequestRepository where + parseJSON = withObject "HookChecksPullRequestRepository" $ \o -> HookChecksPullRequestRepository + <$> o .: "id" + <*> o .: "url" + <*> o .: "name" + +instance FromJSON HookCommit where + parseJSON = withObject "HookCommit" $ \o -> HookCommit + <$> (o .: "sha" <|> o .: "id") + <*> o .: "url" + <*> o .:? "html_url" + <*> o .:? "comments_url" + <*> ((Right <$> o .: "author") <|> (Left <$> o .: "author")) -- try complex form first + <*> ((Right <$> o .: "committer") <|> (Left <$> o .: "committer")) -- try complex form first + +instance FromJSON HookRelease where + parseJSON = withObject "HookRelease" $ \o -> HookRelease + <$> o .: "url" + <*> o .: "assets_url" + <*> o .: "upload_url" + <*> o .: "html_url" + <*> o .: "id" + <*> o .: "node_id" + <*> o .: "tag_name" + <*> o .: "target_commitish" + <*> o .:? "name" + <*> o .: "draft" + <*> o .: "author" + <*> o .: "prerelease" + <*> o .: "created_at" + <*> o .:? "published_at" + <*> o .: "tarball_url" + <*> o .: "zipball_url" + <*> o .:? "body" + +instance FromJSON HookPullRequest where + parseJSON = withObject "HookPullRequest" $ \o -> HookPullRequest + <$> o .: "url" + <*> o .: "id" + <*> o .: "node_id" + <*> o .: "html_url" + <*> o .: "diff_url" + <*> o .: "patch_url" + <*> o .: "issue_url" + <*> o .: "number" + <*> o .: "state" + <*> o .: "locked" + <*> o .: "title" + <*> o .: "user" + <*> o .:? "body" .!= "" + <*> o .: "created_at" + <*> o .: "updated_at" + <*> o .:? "closed_at" + <*> o .:? "merged_at" + <*> o .:? "merge_commit_sha" + <*> o .:? "assignee" + <*> o .:? "milestone" + <*> o .: "commits_url" + <*> o .: "review_comments_url" + <*> o .: "review_comment_url" + <*> o .: "comments_url" + <*> o .: "statuses_url" + <*> o .: "base" + <*> o .: "head" + -- <*> o .: "merged" + -- <*> o .: "mergeable" + <*> o .:? "mergeable_state" + -- <*> o .: "merged_by" + <*> o .:? "comments" + <*> o .:? "review_comments" + <*> o .:? "commits" + <*> o .:? "additions" + <*> o .:? "deletions" + <*> o .:? "changed_files" + +instance FromJSON PullRequestTarget where + parseJSON = withObject "PullRequestTarget" $ \o -> PullRequestTarget + <$> o .: "sha" + <*> o .: "user" + <*> o .: "repo" + <*> o .: "label" + <*> o .: "ref" + +instance FromJSON HookPullRequestReview where + parseJSON = withObject "HookPullRequestReview" $ \o -> HookPullRequestReview + <$> o .: "id" + <*> o .: "node_id" + <*> o .: "user" + <*> o .: "body" + <*> o .: "submitted_at" + <*> o .: "state" + <*> o .: "html_url" + <*> o .: "pull_request_url" + +instance FromJSON HookInstallation where + parseJSON = withObject "HookInstallation" $ \o -> HookInstallation + <$> o .: "id" + <*> o .: "account" + <*> o .: "repository_selection" + <*> o .: "access_tokens_url" + <*> o .: "repositories_url" + +instance FromJSON HookDeployment where + parseJSON = withObject "HookDeployment" $ \o -> HookDeployment + <$> o .: "url" + <*> o .: "id" + <*> o .: "node_id" + <*> o .: "sha" + <*> o .: "ref" + <*> o .: "task" + <*> o .: "environment" + <*> o .:? "description" + <*> o .: "creator" + <*> o .: "created_at" + <*> o .: "updated_at" + <*> o .: "statuses_url" + <*> o .: "repository_url" + +instance FromJSON HookDeploymentStatus where + parseJSON = withObject "HookDeploymentStatus" $ \o -> HookDeploymentStatus + <$> o .: "url" + <*> o .: "id" + <*> o .: "node_id" + <*> o .: "state" + <*> o .: "creator" + <*> o .:? "description" + <*> o .:? "target_url" + <*> o .: "created_at" + <*> o .: "updated_at" + <*> o .: "deployment_url" + <*> o .: "repository_url" + +instance FromJSON HookWikiPage where + parseJSON = withObject "HookWikiPage" $ \o -> HookWikiPage + <$> o .: "page_name" + <*> o .: "title" + <*> o .:? "summary" + <*> o .: "action" + <*> o .: "sha" + <*> o .: "html_url" + +instance FromJSON HookPageBuildResult where + parseJSON = withObject "HookPageBuildResult" $ \o -> HookPageBuildResult + <$> o .: "url" + <*> o .: "status" + <*> (o .: "error" >>= \e -> e .:? "message") + <*> o .: "pusher" + <*> o .: "commit" + <*> o .: "duration" + <*> o .: "created_at" + <*> o .: "updated_at" + +instance FromJSON HookIssueComment where + parseJSON = withObject "HookIssueComment" $ \o -> HookIssueComment + <$> o .: "url" + <*> o .: "html_url" + <*> o .: "issue_url" + <*> o .: "id" + <*> o .: "node_id" + <*> o .: "user" + <*> o .: "created_at" + <*> o .: "updated_at" + <*> o .: "body" + +instance FromJSON HookCommitComment where + parseJSON = withObject "HookCommitComment" $ \o -> HookCommitComment + <$> o .: "url" + <*> o .: "html_url" + <*> o .: "id" + <*> o .: "node_id" + <*> o .: "user" + <*> o .:? "position" + <*> o .:? "line" + <*> o .:? "path" + <*> o .: "commit_id" + <*> o .: "created_at" + <*> o .: "updated_at" + <*> o .: "body" + +instance FromJSON HookPullRequestReviewComment where + parseJSON = withObject "HookPullRequestReviewComment" $ \o -> HookPullRequestReviewComment + <$> o .: "url" + <*> o .: "id" + <*> o .: "node_id" + <*> o .: "diff_hunk" + <*> o .: "path" + <*> o .: "position" + <*> o .: "original_position" + <*> o .: "commit_id" + <*> o .: "original_commit_id" + <*> o .: "user" + <*> o .: "body" + <*> o .: "created_at" + <*> o .: "updated_at" + <*> o .: "html_url" + <*> o .: "pull_request_url"
src/GitHub/Data/Webhooks/Secure.hs view
@@ -1,58 +1,64 @@-{-# LANGUAGE Trustworthy #-}---- | See <https://developer.github.com/webhooks/securing/>.-module GitHub.Data.Webhooks.Secure- ( PayloadNotSecure(..)- , isSecurePayload- , assertSecurePayload- ) where--import Crypto.Hash.Algorithms (SHA1)-import Crypto.MAC.HMAC (HMAC(..), hmac)-import Control.Monad (unless)-import Control.Exception (Exception, throwIO)-import Data.ByteArray (convert, constEq)-import Data.Data (Typeable)-import Data.Monoid ((<>))-import Data.Functor ((<$>))-import Data.ByteString (ByteString)-import Data.Text (Text)-import qualified Data.ByteString.Base16 as B16-import qualified Data.Text.Encoding as E----- The implementation of this module is partially lifted from the @github@ package.----- | Returns 'True' if the given HMAC digest (passed in the @X-Hub-Signature@ header)--- agrees with the provided secret and request body. If not, this request may be forged.-isSecurePayload- :: Text- -> Maybe Text- -> ByteString- -> Bool-isSecurePayload secret shaOpt payload = maybe False (constEq ourSig) theirSig- where- hexDigest = B16.encode . convert . hmacGetDigest- theirSig = E.encodeUtf8 <$> shaOpt- ourSig = "sha1=" <> hexDigest (hmac (E.encodeUtf8 secret) payload :: HMAC SHA1)----- | An exception indicating that the given payload is not secure.-data PayloadNotSecure = PayloadNotSecure- deriving (Typeable)--instance Exception PayloadNotSecure--instance Show PayloadNotSecure where- showsPrec _ PayloadNotSecure = showString "the origin of this request may not originate from GitHub"---- | Like 'isSecurePayload', but throws 'PayloadNotSecure' if the payload is not secure.-assertSecurePayload- :: Text- -> Maybe Text- -> ByteString- -> IO ()-assertSecurePayload secret shaOpt payload = do- let secure = isSecurePayload secret shaOpt payload- unless secure $! throwIO PayloadNotSecure+{-# LANGUAGE Trustworthy #-} +{-| +Module : Github.Data.Webhooks.Secure +Copyright : (c) Cuedo Control Engineering 2017-2022 +License : MIT +Maintainer : Kyle Van Berendonck <foss@cuedo.com.au> + +See <https://developer.github.com/webhooks/securing/>. +-} +module GitHub.Data.Webhooks.Secure + ( PayloadNotSecure(..) + , isSecurePayload + , assertSecurePayload + ) where + +import Crypto.Hash.Algorithms (SHA1) +import Crypto.MAC.HMAC (HMAC(..), hmac) +import Control.Monad (unless) +import Control.Exception (Exception, throwIO) +import Data.ByteArray (convert, constEq) +import Data.Data (Typeable) +import Data.Monoid ((<>)) +import Data.Functor ((<$>)) +import Data.ByteString (ByteString) +import Data.Text (Text) +import qualified Data.ByteString.Base16 as B16 +import qualified Data.Text.Encoding as E + + +-- The implementation of this module is partially lifted from the @github@ package. + + +-- | Returns 'True' if the given HMAC digest (passed in the @X-Hub-Signature@ header) +-- agrees with the provided secret and request body. If not, this request may be forged. +isSecurePayload + :: Text + -> Maybe Text + -> ByteString + -> Bool +isSecurePayload secret shaOpt payload = maybe False (constEq ourSig) theirSig + where + hexDigest = B16.encode . convert . hmacGetDigest + theirSig = E.encodeUtf8 <$> shaOpt + ourSig = "sha1=" <> hexDigest (hmac (E.encodeUtf8 secret) payload :: HMAC SHA1) + + +-- | An exception indicating that the given payload is not secure. +data PayloadNotSecure = PayloadNotSecure + deriving (Typeable) + +instance Exception PayloadNotSecure + +instance Show PayloadNotSecure where + showsPrec _ PayloadNotSecure = showString "the origin of this request may not originate from GitHub" + +-- | Like 'isSecurePayload', but throws 'PayloadNotSecure' if the payload is not secure. +assertSecurePayload + :: Text + -> Maybe Text + -> ByteString + -> IO () +assertSecurePayload secret shaOpt payload = do + let secure = isSecurePayload secret shaOpt payload + unless secure $! throwIO PayloadNotSecure
stack-examples.yaml view
@@ -1,11 +1,11 @@-resolver: lts-16.6-packages:-- .-- examples/scotty-- examples/servant-- examples/servant-simple-extra-deps:-# Needed for servant examples-- servant-github-webhook-0.4.2.0-- github-0.26-- binary-instances-1.0.0.1+resolver: lts-18.12 +packages: +- . +- examples/scotty +- examples/servant +- examples/servant-simple +extra-deps: +# Needed for servant examples +- servant-github-webhook-0.4.2.0 +- github-0.27 +- binary-instances-1.0.2
stack-ghc-7.10.yaml view
@@ -1,1 +1,1 @@-resolver: lts-6.35+resolver: lts-6.35
stack-ghc-7.8.yaml view
@@ -1,3 +1,3 @@-resolver: lts-2.22-extra-deps:-- cryptonite-0.6+resolver: lts-2.22 +extra-deps: +- cryptonite-0.6
stack-ghc-8.0.yaml view
@@ -1,1 +1,1 @@-resolver: lts-7.24+resolver: lts-7.24
+ stack-ghc-8.10.yaml view
@@ -0,0 +1,1 @@+resolver: lts-17.2
stack-ghc-8.2.yaml view
@@ -1,1 +1,1 @@-resolver: lts-11.22+resolver: lts-11.22
stack-ghc-8.4.yaml view
@@ -1,1 +1,1 @@-resolver: lts-12.26+resolver: lts-12.26
stack-ghc-8.6.yaml view
@@ -1,1 +1,1 @@-resolver: lts-13.11+resolver: lts-13.11
stack-ghc-8.8.yaml view
@@ -1,1 +1,1 @@-resolver: lts-15.3+resolver: lts-15.3
stack-nightly.yaml view
@@ -1,1 +1,1 @@-resolver: nightly-2020-07-22+resolver: nightly-2021-12-04
stack.yaml view
@@ -1,1 +1,1 @@-resolver: lts-16.6+resolver: lts-18.12