Open skapral opened 5 years ago
Another event that failed:
{
"action": "closed",
"number": 22,
"pull_request": {
"url": "https://api.github.com/repos/pragmatic-objects/oo-equivalence/pulls/22",
"id": 311110994,
"node_id": "MDExOlB1bGxSZXF1ZXN0MzExMTEwOTk0",
"html_url": "https://github.com/pragmatic-objects/oo-equivalence/pull/22",
"diff_url": "https://github.com/pragmatic-objects/oo-equivalence/pull/22.diff",
"patch_url": "https://github.com/pragmatic-objects/oo-equivalence/pull/22.patch",
"issue_url": "https://api.github.com/repos/pragmatic-objects/oo-equivalence/issues/22",
"number": 22,
"state": "closed",
"locked": false,
"title": "#21: EObjectHint, Attributes, support of abstract classes basis",
"user": {
"login": "skapral",
"id": 1714171,
"node_id": "MDQ6VXNlcjE3MTQxNzE=",
"avatar_url": "https://avatars3.githubusercontent.com/u/1714171?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/skapral",
"html_url": "https://github.com/skapral",
"followers_url": "https://api.github.com/users/skapral/followers",
"following_url": "https://api.github.com/users/skapral/following{/other_user}",
"gists_url": "https://api.github.com/users/skapral/gists{/gist_id}",
"starred_url": "https://api.github.com/users/skapral/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/skapral/subscriptions",
"organizations_url": "https://api.github.com/users/skapral/orgs",
"repos_url": "https://api.github.com/users/skapral/repos",
"events_url": "https://api.github.com/users/skapral/events{/privacy}",
"received_events_url": "https://api.github.com/users/skapral/received_events",
"type": "User",
"site_admin": false
},
"body": "Closes #21. Convention is the following:\r\n\r\n- If abstract class is supposed to be EObject, then it must be marked with @EObjectHint annotation\r\n\r\nReason: Subtyping abstract class from EObject is not an option, because that'd demand non-abstract inheritors from the class to implement EObject methods explicitly. Detecting abstract EObjects is not trivial, since finalized attributes on abstract base class doesn't guarantee that subtypes are supposed to follow EObject contract.\r\n\r\n- Abstract class is a candidate for being EObject is all its attributes are `protected final`.\r\n\r\nReason: EObject methods implementations are generated at first non-abstract inheritor of EObject, where private final attributes of abstract base class are not accessible. The alternative way could be to generate equivalence logic straight at abstract class, overriding (with delegation to `super`) it in subtypes. But it makes things unreasonably complicated.",
"created_at": "2019-08-26T21:55:38Z",
"updated_at": "2019-08-28T20:34:24Z",
"closed_at": "2019-08-28T20:34:24Z",
"merged_at": "2019-08-28T20:34:24Z",
"merge_commit_sha": "0e8e10d622def7192fdb1655eb1baa328ca52a6e",
"assignee": null,
"assignees": [
],
"requested_reviewers": [
],
"requested_teams": [
],
"labels": [
],
"milestone": null,
"commits_url": "https://api.github.com/repos/pragmatic-objects/oo-equivalence/pulls/22/commits",
"review_comments_url": "https://api.github.com/repos/pragmatic-objects/oo-equivalence/pulls/22/comments",
"review_comment_url": "https://api.github.com/repos/pragmatic-objects/oo-equivalence/pulls/comments{/number}",
"comments_url": "https://api.github.com/repos/pragmatic-objects/oo-equivalence/issues/22/comments",
"statuses_url": "https://api.github.com/repos/pragmatic-objects/oo-equivalence/statuses/bc73d0567ac190c92240090e8c5e74eb79e73371",
"head": {
"label": "pragmatic-objects:issue/21",
"ref": "issue/21",
"sha": "bc73d0567ac190c92240090e8c5e74eb79e73371",
"user": {
"login": "pragmatic-objects",
"id": 27165860,
"node_id": "MDEyOk9yZ2FuaXphdGlvbjI3MTY1ODYw",
"avatar_url": "https://avatars2.githubusercontent.com/u/27165860?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/pragmatic-objects",
"html_url": "https://github.com/pragmatic-objects",
"followers_url": "https://api.github.com/users/pragmatic-objects/followers",
"following_url": "https://api.github.com/users/pragmatic-objects/following{/other_user}",
"gists_url": "https://api.github.com/users/pragmatic-objects/gists{/gist_id}",
"starred_url": "https://api.github.com/users/pragmatic-objects/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/pragmatic-objects/subscriptions",
"organizations_url": "https://api.github.com/users/pragmatic-objects/orgs",
"repos_url": "https://api.github.com/users/pragmatic-objects/repos",
"events_url": "https://api.github.com/users/pragmatic-objects/events{/privacy}",
"received_events_url": "https://api.github.com/users/pragmatic-objects/received_events",
"type": "Organization",
"site_admin": false
},
"repo": {
"id": 198722031,
"node_id": "MDEwOlJlcG9zaXRvcnkxOTg3MjIwMzE=",
"name": "oo-equivalence",
"full_name": "pragmatic-objects/oo-equivalence",
"private": false,
"owner": {
"login": "pragmatic-objects",
"id": 27165860,
"node_id": "MDEyOk9yZ2FuaXphdGlvbjI3MTY1ODYw",
"avatar_url": "https://avatars2.githubusercontent.com/u/27165860?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/pragmatic-objects",
"html_url": "https://github.com/pragmatic-objects",
"followers_url": "https://api.github.com/users/pragmatic-objects/followers",
"following_url": "https://api.github.com/users/pragmatic-objects/following{/other_user}",
"gists_url": "https://api.github.com/users/pragmatic-objects/gists{/gist_id}",
"starred_url": "https://api.github.com/users/pragmatic-objects/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/pragmatic-objects/subscriptions",
"organizations_url": "https://api.github.com/users/pragmatic-objects/orgs",
"repos_url": "https://api.github.com/users/pragmatic-objects/repos",
"events_url": "https://api.github.com/users/pragmatic-objects/events{/privacy}",
"received_events_url": "https://api.github.com/users/pragmatic-objects/received_events",
"type": "Organization",
"site_admin": false
},
"html_url": "https://github.com/pragmatic-objects/oo-equivalence",
"description": null,
"fork": false,
"url": "https://api.github.com/repos/pragmatic-objects/oo-equivalence",
"forks_url": "https://api.github.com/repos/pragmatic-objects/oo-equivalence/forks",
"keys_url": "https://api.github.com/repos/pragmatic-objects/oo-equivalence/keys{/key_id}",
"collaborators_url": "https://api.github.com/repos/pragmatic-objects/oo-equivalence/collaborators{/collaborator}",
"teams_url": "https://api.github.com/repos/pragmatic-objects/oo-equivalence/teams",
"hooks_url": "https://api.github.com/repos/pragmatic-objects/oo-equivalence/hooks",
"issue_events_url": "https://api.github.com/repos/pragmatic-objects/oo-equivalence/issues/events{/number}",
"events_url": "https://api.github.com/repos/pragmatic-objects/oo-equivalence/events",
"assignees_url": "https://api.github.com/repos/pragmatic-objects/oo-equivalence/assignees{/user}",
"branches_url": "https://api.github.com/repos/pragmatic-objects/oo-equivalence/branches{/branch}",
"tags_url": "https://api.github.com/repos/pragmatic-objects/oo-equivalence/tags",
"blobs_url": "https://api.github.com/repos/pragmatic-objects/oo-equivalence/git/blobs{/sha}",
"git_tags_url": "https://api.github.com/repos/pragmatic-objects/oo-equivalence/git/tags{/sha}",
"git_refs_url": "https://api.github.com/repos/pragmatic-objects/oo-equivalence/git/refs{/sha}",
"trees_url": "https://api.github.com/repos/pragmatic-objects/oo-equivalence/git/trees{/sha}",
"statuses_url": "https://api.github.com/repos/pragmatic-objects/oo-equivalence/statuses/{sha}",
"languages_url": "https://api.github.com/repos/pragmatic-objects/oo-equivalence/languages",
"stargazers_url": "https://api.github.com/repos/pragmatic-objects/oo-equivalence/stargazers",
"contributors_url": "https://api.github.com/repos/pragmatic-objects/oo-equivalence/contributors",
"subscribers_url": "https://api.github.com/repos/pragmatic-objects/oo-equivalence/subscribers",
"subscription_url": "https://api.github.com/repos/pragmatic-objects/oo-equivalence/subscription",
"commits_url": "https://api.github.com/repos/pragmatic-objects/oo-equivalence/commits{/sha}",
"git_commits_url": "https://api.github.com/repos/pragmatic-objects/oo-equivalence/git/commits{/sha}",
"comments_url": "https://api.github.com/repos/pragmatic-objects/oo-equivalence/comments{/number}",
"issue_comment_url": "https://api.github.com/repos/pragmatic-objects/oo-equivalence/issues/comments{/number}",
"contents_url": "https://api.github.com/repos/pragmatic-objects/oo-equivalence/contents/{+path}",
"compare_url": "https://api.github.com/repos/pragmatic-objects/oo-equivalence/compare/{base}...{head}",
"merges_url": "https://api.github.com/repos/pragmatic-objects/oo-equivalence/merges",
"archive_url": "https://api.github.com/repos/pragmatic-objects/oo-equivalence/{archive_format}{/ref}",
"downloads_url": "https://api.github.com/repos/pragmatic-objects/oo-equivalence/downloads",
"issues_url": "https://api.github.com/repos/pragmatic-objects/oo-equivalence/issues{/number}",
"pulls_url": "https://api.github.com/repos/pragmatic-objects/oo-equivalence/pulls{/number}",
"milestones_url": "https://api.github.com/repos/pragmatic-objects/oo-equivalence/milestones{/number}",
"notifications_url": "https://api.github.com/repos/pragmatic-objects/oo-equivalence/notifications{?since,all,participating}",
"labels_url": "https://api.github.com/repos/pragmatic-objects/oo-equivalence/labels{/name}",
"releases_url": "https://api.github.com/repos/pragmatic-objects/oo-equivalence/releases{/id}",
"deployments_url": "https://api.github.com/repos/pragmatic-objects/oo-equivalence/deployments",
"created_at": "2019-07-24T23:21:37Z",
"updated_at": "2019-08-16T10:22:13Z",
"pushed_at": "2019-08-28T20:34:24Z",
"git_url": "git://github.com/pragmatic-objects/oo-equivalence.git",
"ssh_url": "git@github.com:pragmatic-objects/oo-equivalence.git",
"clone_url": "https://github.com/pragmatic-objects/oo-equivalence.git",
"svn_url": "https://github.com/pragmatic-objects/oo-equivalence",
"homepage": null,
"size": 151,
"stargazers_count": 1,
"watchers_count": 1,
"language": "Java",
"has_issues": true,
"has_projects": true,
"has_downloads": true,
"has_wiki": true,
"has_pages": false,
"forks_count": 0,
"mirror_url": null,
"archived": false,
"disabled": false,
"open_issues_count": 5,
"license": {
"key": "mit",
"name": "MIT License",
"spdx_id": "MIT",
"url": "https://api.github.com/licenses/mit",
"node_id": "MDc6TGljZW5zZTEz"
},
"forks": 0,
"open_issues": 5,
"watchers": 1,
"default_branch": "master"
}
},
"base": {
"label": "pragmatic-objects:master",
"ref": "master",
"sha": "852ca968f78f1cc72469266d1c5ea45089c17231",
"user": {
"login": "pragmatic-objects",
"id": 27165860,
"node_id": "MDEyOk9yZ2FuaXphdGlvbjI3MTY1ODYw",
"avatar_url": "https://avatars2.githubusercontent.com/u/27165860?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/pragmatic-objects",
"html_url": "https://github.com/pragmatic-objects",
"followers_url": "https://api.github.com/users/pragmatic-objects/followers",
"following_url": "https://api.github.com/users/pragmatic-objects/following{/other_user}",
"gists_url": "https://api.github.com/users/pragmatic-objects/gists{/gist_id}",
"starred_url": "https://api.github.com/users/pragmatic-objects/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/pragmatic-objects/subscriptions",
"organizations_url": "https://api.github.com/users/pragmatic-objects/orgs",
"repos_url": "https://api.github.com/users/pragmatic-objects/repos",
"events_url": "https://api.github.com/users/pragmatic-objects/events{/privacy}",
"received_events_url": "https://api.github.com/users/pragmatic-objects/received_events",
"type": "Organization",
"site_admin": false
},
"repo": {
"id": 198722031,
"node_id": "MDEwOlJlcG9zaXRvcnkxOTg3MjIwMzE=",
"name": "oo-equivalence",
"full_name": "pragmatic-objects/oo-equivalence",
"private": false,
"owner": {
"login": "pragmatic-objects",
"id": 27165860,
"node_id": "MDEyOk9yZ2FuaXphdGlvbjI3MTY1ODYw",
"avatar_url": "https://avatars2.githubusercontent.com/u/27165860?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/pragmatic-objects",
"html_url": "https://github.com/pragmatic-objects",
"followers_url": "https://api.github.com/users/pragmatic-objects/followers",
"following_url": "https://api.github.com/users/pragmatic-objects/following{/other_user}",
"gists_url": "https://api.github.com/users/pragmatic-objects/gists{/gist_id}",
"starred_url": "https://api.github.com/users/pragmatic-objects/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/pragmatic-objects/subscriptions",
"organizations_url": "https://api.github.com/users/pragmatic-objects/orgs",
"repos_url": "https://api.github.com/users/pragmatic-objects/repos",
"events_url": "https://api.github.com/users/pragmatic-objects/events{/privacy}",
"received_events_url": "https://api.github.com/users/pragmatic-objects/received_events",
"type": "Organization",
"site_admin": false
},
"html_url": "https://github.com/pragmatic-objects/oo-equivalence",
"description": null,
"fork": false,
"url": "https://api.github.com/repos/pragmatic-objects/oo-equivalence",
"forks_url": "https://api.github.com/repos/pragmatic-objects/oo-equivalence/forks",
"keys_url": "https://api.github.com/repos/pragmatic-objects/oo-equivalence/keys{/key_id}",
"collaborators_url": "https://api.github.com/repos/pragmatic-objects/oo-equivalence/collaborators{/collaborator}",
"teams_url": "https://api.github.com/repos/pragmatic-objects/oo-equivalence/teams",
"hooks_url": "https://api.github.com/repos/pragmatic-objects/oo-equivalence/hooks",
"issue_events_url": "https://api.github.com/repos/pragmatic-objects/oo-equivalence/issues/events{/number}",
"events_url": "https://api.github.com/repos/pragmatic-objects/oo-equivalence/events",
"assignees_url": "https://api.github.com/repos/pragmatic-objects/oo-equivalence/assignees{/user}",
"branches_url": "https://api.github.com/repos/pragmatic-objects/oo-equivalence/branches{/branch}",
"tags_url": "https://api.github.com/repos/pragmatic-objects/oo-equivalence/tags",
"blobs_url": "https://api.github.com/repos/pragmatic-objects/oo-equivalence/git/blobs{/sha}",
"git_tags_url": "https://api.github.com/repos/pragmatic-objects/oo-equivalence/git/tags{/sha}",
"git_refs_url": "https://api.github.com/repos/pragmatic-objects/oo-equivalence/git/refs{/sha}",
"trees_url": "https://api.github.com/repos/pragmatic-objects/oo-equivalence/git/trees{/sha}",
"statuses_url": "https://api.github.com/repos/pragmatic-objects/oo-equivalence/statuses/{sha}",
"languages_url": "https://api.github.com/repos/pragmatic-objects/oo-equivalence/languages",
"stargazers_url": "https://api.github.com/repos/pragmatic-objects/oo-equivalence/stargazers",
"contributors_url": "https://api.github.com/repos/pragmatic-objects/oo-equivalence/contributors",
"subscribers_url": "https://api.github.com/repos/pragmatic-objects/oo-equivalence/subscribers",
"subscription_url": "https://api.github.com/repos/pragmatic-objects/oo-equivalence/subscription",
"commits_url": "https://api.github.com/repos/pragmatic-objects/oo-equivalence/commits{/sha}",
"git_commits_url": "https://api.github.com/repos/pragmatic-objects/oo-equivalence/git/commits{/sha}",
"comments_url": "https://api.github.com/repos/pragmatic-objects/oo-equivalence/comments{/number}",
"issue_comment_url": "https://api.github.com/repos/pragmatic-objects/oo-equivalence/issues/comments{/number}",
"contents_url": "https://api.github.com/repos/pragmatic-objects/oo-equivalence/contents/{+path}",
"compare_url": "https://api.github.com/repos/pragmatic-objects/oo-equivalence/compare/{base}...{head}",
"merges_url": "https://api.github.com/repos/pragmatic-objects/oo-equivalence/merges",
"archive_url": "https://api.github.com/repos/pragmatic-objects/oo-equivalence/{archive_format}{/ref}",
"downloads_url": "https://api.github.com/repos/pragmatic-objects/oo-equivalence/downloads",
"issues_url": "https://api.github.com/repos/pragmatic-objects/oo-equivalence/issues{/number}",
"pulls_url": "https://api.github.com/repos/pragmatic-objects/oo-equivalence/pulls{/number}",
"milestones_url": "https://api.github.com/repos/pragmatic-objects/oo-equivalence/milestones{/number}",
"notifications_url": "https://api.github.com/repos/pragmatic-objects/oo-equivalence/notifications{?since,all,participating}",
"labels_url": "https://api.github.com/repos/pragmatic-objects/oo-equivalence/labels{/name}",
"releases_url": "https://api.github.com/repos/pragmatic-objects/oo-equivalence/releases{/id}",
"deployments_url": "https://api.github.com/repos/pragmatic-objects/oo-equivalence/deployments",
"created_at": "2019-07-24T23:21:37Z",
"updated_at": "2019-08-16T10:22:13Z",
"pushed_at": "2019-08-28T20:34:24Z",
"git_url": "git://github.com/pragmatic-objects/oo-equivalence.git",
"ssh_url": "git@github.com:pragmatic-objects/oo-equivalence.git",
"clone_url": "https://github.com/pragmatic-objects/oo-equivalence.git",
"svn_url": "https://github.com/pragmatic-objects/oo-equivalence",
"homepage": null,
"size": 151,
"stargazers_count": 1,
"watchers_count": 1,
"language": "Java",
"has_issues": true,
"has_projects": true,
"has_downloads": true,
"has_wiki": true,
"has_pages": false,
"forks_count": 0,
"mirror_url": null,
"archived": false,
"disabled": false,
"open_issues_count": 5,
"license": {
"key": "mit",
"name": "MIT License",
"spdx_id": "MIT",
"url": "https://api.github.com/licenses/mit",
"node_id": "MDc6TGljZW5zZTEz"
},
"forks": 0,
"open_issues": 5,
"watchers": 1,
"default_branch": "master"
}
},
"_links": {
"self": {
"href": "https://api.github.com/repos/pragmatic-objects/oo-equivalence/pulls/22"
},
"html": {
"href": "https://github.com/pragmatic-objects/oo-equivalence/pull/22"
},
"issue": {
"href": "https://api.github.com/repos/pragmatic-objects/oo-equivalence/issues/22"
},
"comments": {
"href": "https://api.github.com/repos/pragmatic-objects/oo-equivalence/issues/22/comments"
},
"review_comments": {
"href": "https://api.github.com/repos/pragmatic-objects/oo-equivalence/pulls/22/comments"
},
"review_comment": {
"href": "https://api.github.com/repos/pragmatic-objects/oo-equivalence/pulls/comments{/number}"
},
"commits": {
"href": "https://api.github.com/repos/pragmatic-objects/oo-equivalence/pulls/22/commits"
},
"statuses": {
"href": "https://api.github.com/repos/pragmatic-objects/oo-equivalence/statuses/bc73d0567ac190c92240090e8c5e74eb79e73371"
}
},
"author_association": "COLLABORATOR",
"draft": false,
"merged": true,
"mergeable": null,
"rebaseable": null,
"mergeable_state": "unknown",
"merged_by": {
"login": "skapral",
"id": 1714171,
"node_id": "MDQ6VXNlcjE3MTQxNzE=",
"avatar_url": "https://avatars3.githubusercontent.com/u/1714171?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/skapral",
"html_url": "https://github.com/skapral",
"followers_url": "https://api.github.com/users/skapral/followers",
"following_url": "https://api.github.com/users/skapral/following{/other_user}",
"gists_url": "https://api.github.com/users/skapral/gists{/gist_id}",
"starred_url": "https://api.github.com/users/skapral/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/skapral/subscriptions",
"organizations_url": "https://api.github.com/users/skapral/orgs",
"repos_url": "https://api.github.com/users/skapral/repos",
"events_url": "https://api.github.com/users/skapral/events{/privacy}",
"received_events_url": "https://api.github.com/users/skapral/received_events",
"type": "User",
"site_admin": false
},
"comments": 2,
"review_comments": 0,
"maintainer_can_modify": false,
"commits": 6,
"additions": 1544,
"deletions": 202,
"changed_files": 33
},
"repository": {
"id": 198722031,
"node_id": "MDEwOlJlcG9zaXRvcnkxOTg3MjIwMzE=",
"name": "oo-equivalence",
"full_name": "pragmatic-objects/oo-equivalence",
"private": false,
"owner": {
"login": "pragmatic-objects",
"id": 27165860,
"node_id": "MDEyOk9yZ2FuaXphdGlvbjI3MTY1ODYw",
"avatar_url": "https://avatars2.githubusercontent.com/u/27165860?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/pragmatic-objects",
"html_url": "https://github.com/pragmatic-objects",
"followers_url": "https://api.github.com/users/pragmatic-objects/followers",
"following_url": "https://api.github.com/users/pragmatic-objects/following{/other_user}",
"gists_url": "https://api.github.com/users/pragmatic-objects/gists{/gist_id}",
"starred_url": "https://api.github.com/users/pragmatic-objects/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/pragmatic-objects/subscriptions",
"organizations_url": "https://api.github.com/users/pragmatic-objects/orgs",
"repos_url": "https://api.github.com/users/pragmatic-objects/repos",
"events_url": "https://api.github.com/users/pragmatic-objects/events{/privacy}",
"received_events_url": "https://api.github.com/users/pragmatic-objects/received_events",
"type": "Organization",
"site_admin": false
},
"html_url": "https://github.com/pragmatic-objects/oo-equivalence",
"description": null,
"fork": false,
"url": "https://api.github.com/repos/pragmatic-objects/oo-equivalence",
"forks_url": "https://api.github.com/repos/pragmatic-objects/oo-equivalence/forks",
"keys_url": "https://api.github.com/repos/pragmatic-objects/oo-equivalence/keys{/key_id}",
"collaborators_url": "https://api.github.com/repos/pragmatic-objects/oo-equivalence/collaborators{/collaborator}",
"teams_url": "https://api.github.com/repos/pragmatic-objects/oo-equivalence/teams",
"hooks_url": "https://api.github.com/repos/pragmatic-objects/oo-equivalence/hooks",
"issue_events_url": "https://api.github.com/repos/pragmatic-objects/oo-equivalence/issues/events{/number}",
"events_url": "https://api.github.com/repos/pragmatic-objects/oo-equivalence/events",
"assignees_url": "https://api.github.com/repos/pragmatic-objects/oo-equivalence/assignees{/user}",
"branches_url": "https://api.github.com/repos/pragmatic-objects/oo-equivalence/branches{/branch}",
"tags_url": "https://api.github.com/repos/pragmatic-objects/oo-equivalence/tags",
"blobs_url": "https://api.github.com/repos/pragmatic-objects/oo-equivalence/git/blobs{/sha}",
"git_tags_url": "https://api.github.com/repos/pragmatic-objects/oo-equivalence/git/tags{/sha}",
"git_refs_url": "https://api.github.com/repos/pragmatic-objects/oo-equivalence/git/refs{/sha}",
"trees_url": "https://api.github.com/repos/pragmatic-objects/oo-equivalence/git/trees{/sha}",
"statuses_url": "https://api.github.com/repos/pragmatic-objects/oo-equivalence/statuses/{sha}",
"languages_url": "https://api.github.com/repos/pragmatic-objects/oo-equivalence/languages",
"stargazers_url": "https://api.github.com/repos/pragmatic-objects/oo-equivalence/stargazers",
"contributors_url": "https://api.github.com/repos/pragmatic-objects/oo-equivalence/contributors",
"subscribers_url": "https://api.github.com/repos/pragmatic-objects/oo-equivalence/subscribers",
"subscription_url": "https://api.github.com/repos/pragmatic-objects/oo-equivalence/subscription",
"commits_url": "https://api.github.com/repos/pragmatic-objects/oo-equivalence/commits{/sha}",
"git_commits_url": "https://api.github.com/repos/pragmatic-objects/oo-equivalence/git/commits{/sha}",
"comments_url": "https://api.github.com/repos/pragmatic-objects/oo-equivalence/comments{/number}",
"issue_comment_url": "https://api.github.com/repos/pragmatic-objects/oo-equivalence/issues/comments{/number}",
"contents_url": "https://api.github.com/repos/pragmatic-objects/oo-equivalence/contents/{+path}",
"compare_url": "https://api.github.com/repos/pragmatic-objects/oo-equivalence/compare/{base}...{head}",
"merges_url": "https://api.github.com/repos/pragmatic-objects/oo-equivalence/merges",
"archive_url": "https://api.github.com/repos/pragmatic-objects/oo-equivalence/{archive_format}{/ref}",
"downloads_url": "https://api.github.com/repos/pragmatic-objects/oo-equivalence/downloads",
"issues_url": "https://api.github.com/repos/pragmatic-objects/oo-equivalence/issues{/number}",
"pulls_url": "https://api.github.com/repos/pragmatic-objects/oo-equivalence/pulls{/number}",
"milestones_url": "https://api.github.com/repos/pragmatic-objects/oo-equivalence/milestones{/number}",
"notifications_url": "https://api.github.com/repos/pragmatic-objects/oo-equivalence/notifications{?since,all,participating}",
"labels_url": "https://api.github.com/repos/pragmatic-objects/oo-equivalence/labels{/name}",
"releases_url": "https://api.github.com/repos/pragmatic-objects/oo-equivalence/releases{/id}",
"deployments_url": "https://api.github.com/repos/pragmatic-objects/oo-equivalence/deployments",
"created_at": "2019-07-24T23:21:37Z",
"updated_at": "2019-08-16T10:22:13Z",
"pushed_at": "2019-08-28T20:34:23Z",
"git_url": "git://github.com/pragmatic-objects/oo-equivalence.git",
"ssh_url": "git@github.com:pragmatic-objects/oo-equivalence.git",
"clone_url": "https://github.com/pragmatic-objects/oo-equivalence.git",
"svn_url": "https://github.com/pragmatic-objects/oo-equivalence",
"homepage": null,
"size": 151,
"stargazers_count": 1,
"watchers_count": 1,
"language": "Java",
"has_issues": true,
"has_projects": true,
"has_downloads": true,
"has_wiki": true,
"has_pages": false,
"forks_count": 0,
"mirror_url": null,
"archived": false,
"disabled": false,
"open_issues_count": 5,
"license": {
"key": "mit",
"name": "MIT License",
"spdx_id": "MIT",
"url": "https://api.github.com/licenses/mit",
"node_id": "MDc6TGljZW5zZTEz"
},
"forks": 0,
"open_issues": 5,
"watchers": 1,
"default_branch": "master"
},
"organization": {
"login": "pragmatic-objects",
"id": 27165860,
"node_id": "MDEyOk9yZ2FuaXphdGlvbjI3MTY1ODYw",
"url": "https://api.github.com/orgs/pragmatic-objects",
"repos_url": "https://api.github.com/orgs/pragmatic-objects/repos",
"events_url": "https://api.github.com/orgs/pragmatic-objects/events",
"hooks_url": "https://api.github.com/orgs/pragmatic-objects/hooks",
"issues_url": "https://api.github.com/orgs/pragmatic-objects/issues",
"members_url": "https://api.github.com/orgs/pragmatic-objects/members{/member}",
"public_members_url": "https://api.github.com/orgs/pragmatic-objects/public_members{/member}",
"avatar_url": "https://avatars2.githubusercontent.com/u/27165860?v=4",
"description": "The pragmatic way of using Elegant Objects in action"
},
"sender": {
"login": "skapral",
"id": 1714171,
"node_id": "MDQ6VXNlcjE3MTQxNzE=",
"avatar_url": "https://avatars3.githubusercontent.com/u/1714171?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/skapral",
"html_url": "https://github.com/skapral",
"followers_url": "https://api.github.com/users/skapral/followers",
"following_url": "https://api.github.com/users/skapral/following{/other_user}",
"gists_url": "https://api.github.com/users/skapral/gists{/gist_id}",
"starred_url": "https://api.github.com/users/skapral/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/skapral/subscriptions",
"organizations_url": "https://api.github.com/users/skapral/orgs",
"repos_url": "https://api.github.com/users/skapral/repos",
"events_url": "https://api.github.com/users/skapral/events{/privacy}",
"received_events_url": "https://api.github.com/users/skapral/received_events",
"type": "User",
"site_admin": false
}
}
Root cause: events above occurred in repositories, located at pragmatic-objects
github organisation. And in events handler, there is OpIgnoringUnprivildgedEventSender
decorator, which cuts out events, happened from actions of non-owner users.
Repository owner for each of events above is pragmatic-objects
(see repository/owner/login
of each json). Sender is skapral
(see sender/login
). That's why OpIgnoringUnprivildgedEventSender
throws them out.
Description of issue/proposal
Puzzle was not created for the closed pull request.
Steps to reproduce
Accept this event:
Expected result
New puzzle was created:
Actual result
No new puzzles were created.
Response from web hook
200 OK {}