{"action":"opened","number":151,"pull_request":{"url":"https://api.github.com/repos/samba-team/samba/pulls/151","id":177340095,"html_url":"https://github.com/samba-team/samba/pull/151","diff_url":"https://github.com/samba-team/samba/pull/151.diff","patch_url":"https://github.com/samba-team/samba/pull/151.patch","issue_url":"https://api.github.com/repos/samba-team/samba/issues/151","number":151,"state":"open","locked":false,"title":"selftest/common: fix dsdb_Dn comparison for Python 3","user":{"login":"catalyst-joe-guo","id":13372200,"avatar_url":"https://avatars0.githubusercontent.com/u/13372200?v=4","gravatar_id":"","url":"https://api.github.com/users/catalyst-joe-guo","html_url":"https://github.com/catalyst-joe-guo","followers_url":"https://api.github.com/users/catalyst-joe-guo/followers","following_url":"https://api.github.com/users/catalyst-joe-guo/following{/other_user}","gists_url":"https://api.github.com/users/catalyst-joe-guo/gists{/gist_id}","starred_url":"https://api.github.com/users/catalyst-joe-guo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/catalyst-joe-guo/subscriptions","organizations_url":"https://api.github.com/users/catalyst-joe-guo/orgs","repos_url":"https://api.github.com/users/catalyst-joe-guo/repos","events_url":"https://api.github.com/users/catalyst-joe-guo/events{/privacy}","received_events_url":"https://api.github.com/users/catalyst-joe-guo/received_events","type":"User","site_admin":false},"body":"In Python 3, the builtin `cmp` funtion was dropped. And the `__cmp__` magic\r\nmethod in object is no longer honored, which is replaced by 6 new methods:\r\n`__eq__, __ne__, __lt__, __le__, __gt__, __ge__`.\r\n\r\nThis caused `tests.CommonTests` failed with `py3_compatiable=True`.\r\nFixed by adding the above methods.\r\n\r\nSigned-off-by: Joe Guo <joeg@catalyst.net.nz>","created_at":"2018-03-26T04:29:27Z","updated_at":"2018-03-26T04:29:27Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/samba-team/samba/pulls/151/commits","review_comments_url":"https://api.github.com/repos/samba-team/samba/pulls/151/comments","review_comment_url":"https://api.github.com/repos/samba-team/samba/pulls/comments{/number}","comments_url":"https://api.github.com/repos/samba-team/samba/issues/151/comments","statuses_url":"https://api.github.com/repos/samba-team/samba/statuses/48459fd857352daa73a45503fe8c6c1095deae12","head":{"label":"catalyst-joe-guo:py3-common","ref":"py3-common","sha":"48459fd857352daa73a45503fe8c6c1095deae12","user":{"login":"catalyst-joe-guo","id":13372200,"avatar_url":"https://avatars0.githubusercontent.com/u/13372200?v=4","gravatar_id":"","url":"https://api.github.com/users/catalyst-joe-guo","html_url":"https://github.com/catalyst-joe-guo","followers_url":"https://api.github.com/users/catalyst-joe-guo/followers","following_url":"https://api.github.com/users/catalyst-joe-guo/following{/other_user}","gists_url":"https://api.github.com/users/catalyst-joe-guo/gists{/gist_id}","starred_url":"https://api.github.com/users/catalyst-joe-guo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/catalyst-joe-guo/subscriptions","organizations_url":"https://api.github.com/users/catalyst-joe-guo/orgs","repos_url":"https://api.github.com/users/catalyst-joe-guo/repos","events_url":"https://api.github.com/users/catalyst-joe-guo/events{/privacy}","received_events_url":"https://api.github.com/users/catalyst-joe-guo/received_events","type":"User","site_admin":false},"repo":{"id":126757141,"name":"samba","full_name":"catalyst-joe-guo/samba","owner":{"login":"catalyst-joe-guo","id":13372200,"avatar_url":"https://avatars0.githubusercontent.com/u/13372200?v=4","gravatar_id":"","url":"https://api.github.com/users/catalyst-joe-guo","html_url":"https://github.com/catalyst-joe-guo","followers_url":"https://api.github.com/users/catalyst-joe-guo/followers","following_url":"https://api.github.com/users/catalyst-joe-guo/following{/other_user}","gists_url":"https://api.github.com/users/catalyst-joe-guo/gists{/gist_id}","starred_url":"https://api.github.com/users/catalyst-joe-guo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/catalyst-joe-guo/subscriptions","organizations_url":"https://api.github.com/users/catalyst-joe-guo/orgs","repos_url":"https://api.github.com/users/catalyst-joe-guo/repos","events_url":"https://api.github.com/users/catalyst-joe-guo/events{/privacy}","received_events_url":"https://api.github.com/users/catalyst-joe-guo/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/catalyst-joe-guo/samba","description":"https://github.com/samba-team/samba is the Official GitHub mirror of https://git.samba.org/samba.git   --   Bug reports should be made in the Samba Bugzilla: https://bugzilla.samba.org    ","fork":true,"url":"https://api.github.com/repos/catalyst-joe-guo/samba","forks_url":"https://api.github.com/repos/catalyst-joe-guo/samba/forks","keys_url":"https://api.github.com/repos/catalyst-joe-guo/samba/keys{/key_id}","collaborators_url":"https://api.github.com/repos/catalyst-joe-guo/samba/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/catalyst-joe-guo/samba/teams","hooks_url":"https://api.github.com/repos/catalyst-joe-guo/samba/hooks","issue_events_url":"https://api.github.com/repos/catalyst-joe-guo/samba/issues/events{/number}","events_url":"https://api.github.com/repos/catalyst-joe-guo/samba/events","assignees_url":"https://api.github.com/repos/catalyst-joe-guo/samba/assignees{/user}","branches_url":"https://api.github.com/repos/catalyst-joe-guo/samba/branches{/branch}","tags_url":"https://api.github.com/repos/catalyst-joe-guo/samba/tags","blobs_url":"https://api.github.com/repos/catalyst-joe-guo/samba/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/catalyst-joe-guo/samba/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/catalyst-joe-guo/samba/git/refs{/sha}","trees_url":"https://api.github.com/repos/catalyst-joe-guo/samba/git/trees{/sha}","statuses_url":"https://api.github.com/repos/catalyst-joe-guo/samba/statuses/{sha}","languages_url":"https://api.github.com/repos/catalyst-joe-guo/samba/languages","stargazers_url":"https://api.github.com/repos/catalyst-joe-guo/samba/stargazers","contributors_url":"https://api.github.com/repos/catalyst-joe-guo/samba/contributors","subscribers_url":"https://api.github.com/repos/catalyst-joe-guo/samba/subscribers","subscription_url":"https://api.github.com/repos/catalyst-joe-guo/samba/subscription","commits_url":"https://api.github.com/repos/catalyst-joe-guo/samba/commits{/sha}","git_commits_url":"https://api.github.com/repos/catalyst-joe-guo/samba/git/commits{/sha}","comments_url":"https://api.github.com/repos/catalyst-joe-guo/samba/comments{/number}","issue_comment_url":"https://api.github.com/repos/catalyst-joe-guo/samba/issues/comments{/number}","contents_url":"https://api.github.com/repos/catalyst-joe-guo/samba/contents/{+path}","compare_url":"https://api.github.com/repos/catalyst-joe-guo/samba/compare/{base}...{head}","merges_url":"https://api.github.com/repos/catalyst-joe-guo/samba/merges","archive_url":"https://api.github.com/repos/catalyst-joe-guo/samba/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/catalyst-joe-guo/samba/downloads","issues_url":"https://api.github.com/repos/catalyst-joe-guo/samba/issues{/number}","pulls_url":"https://api.github.com/repos/catalyst-joe-guo/samba/pulls{/number}","milestones_url":"https://api.github.com/repos/catalyst-joe-guo/samba/milestones{/number}","notifications_url":"https://api.github.com/repos/catalyst-joe-guo/samba/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/catalyst-joe-guo/samba/labels{/name}","releases_url":"https://api.github.com/repos/catalyst-joe-guo/samba/releases{/id}","deployments_url":"https://api.github.com/repos/catalyst-joe-guo/samba/deployments","created_at":"2018-03-26T01:28:40Z","updated_at":"2018-03-26T01:29:13Z","pushed_at":"2018-03-26T04:25:13Z","git_url":"git://github.com/catalyst-joe-guo/samba.git","ssh_url":"git@github.com:catalyst-joe-guo/samba.git","clone_url":"https://github.com/catalyst-joe-guo/samba.git","svn_url":"https://github.com/catalyst-joe-guo/samba","homepage":"https://www.samba.org","size":306059,"stargazers_count":0,"watchers_count":0,"language":"C","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":{"key":"gpl-3.0","name":"GNU General Public License v3.0","spdx_id":"GPL-3.0","url":"https://api.github.com/licenses/gpl-3.0"},"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"samba-team:master","ref":"master","sha":"2610a3f2f7437309b259387e286e6e43d654b6e4","user":{"login":"samba-team","id":13281359,"avatar_url":"https://avatars2.githubusercontent.com/u/13281359?v=4","gravatar_id":"","url":"https://api.github.com/users/samba-team","html_url":"https://github.com/samba-team","followers_url":"https://api.github.com/users/samba-team/followers","following_url":"https://api.github.com/users/samba-team/following{/other_user}","gists_url":"https://api.github.com/users/samba-team/gists{/gist_id}","starred_url":"https://api.github.com/users/samba-team/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/samba-team/subscriptions","organizations_url":"https://api.github.com/users/samba-team/orgs","repos_url":"https://api.github.com/users/samba-team/repos","events_url":"https://api.github.com/users/samba-team/events{/privacy}","received_events_url":"https://api.github.com/users/samba-team/received_events","type":"Organization","site_admin":false},"repo":{"id":38905297,"name":"samba","full_name":"samba-team/samba","owner":{"login":"samba-team","id":13281359,"avatar_url":"https://avatars2.githubusercontent.com/u/13281359?v=4","gravatar_id":"","url":"https://api.github.com/users/samba-team","html_url":"https://github.com/samba-team","followers_url":"https://api.github.com/users/samba-team/followers","following_url":"https://api.github.com/users/samba-team/following{/other_user}","gists_url":"https://api.github.com/users/samba-team/gists{/gist_id}","starred_url":"https://api.github.com/users/samba-team/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/samba-team/subscriptions","organizations_url":"https://api.github.com/users/samba-team/orgs","repos_url":"https://api.github.com/users/samba-team/repos","events_url":"https://api.github.com/users/samba-team/events{/privacy}","received_events_url":"https://api.github.com/users/samba-team/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/samba-team/samba","description":"https://github.com/samba-team/samba is the Official GitHub mirror of https://git.samba.org/samba.git   --   Bug reports should be made in the Samba Bugzilla: https://bugzilla.samba.org    ","fork":false,"url":"https://api.github.com/repos/samba-team/samba","forks_url":"https://api.github.com/repos/samba-team/samba/forks","keys_url":"https://api.github.com/repos/samba-team/samba/keys{/key_id}","collaborators_url":"https://api.github.com/repos/samba-team/samba/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/samba-team/samba/teams","hooks_url":"https://api.github.com/repos/samba-team/samba/hooks","issue_events_url":"https://api.github.com/repos/samba-team/samba/issues/events{/number}","events_url":"https://api.github.com/repos/samba-team/samba/events","assignees_url":"https://api.github.com/repos/samba-team/samba/assignees{/user}","branches_url":"https://api.github.com/repos/samba-team/samba/branches{/branch}","tags_url":"https://api.github.com/repos/samba-team/samba/tags","blobs_url":"https://api.github.com/repos/samba-team/samba/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/samba-team/samba/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/samba-team/samba/git/refs{/sha}","trees_url":"https://api.github.com/repos/samba-team/samba/git/trees{/sha}","statuses_url":"https://api.github.com/repos/samba-team/samba/statuses/{sha}","languages_url":"https://api.github.com/repos/samba-team/samba/languages","stargazers_url":"https://api.github.com/repos/samba-team/samba/stargazers","contributors_url":"https://api.github.com/repos/samba-team/samba/contributors","subscribers_url":"https://api.github.com/repos/samba-team/samba/subscribers","subscription_url":"https://api.github.com/repos/samba-team/samba/subscription","commits_url":"https://api.github.com/repos/samba-team/samba/commits{/sha}","git_commits_url":"https://api.github.com/repos/samba-team/samba/git/commits{/sha}","comments_url":"https://api.github.com/repos/samba-team/samba/comments{/number}","issue_comment_url":"https://api.github.com/repos/samba-team/samba/issues/comments{/number}","contents_url":"https://api.github.com/repos/samba-team/samba/contents/{+path}","compare_url":"https://api.github.com/repos/samba-team/samba/compare/{base}...{head}","merges_url":"https://api.github.com/repos/samba-team/samba/merges","archive_url":"https://api.github.com/repos/samba-team/samba/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/samba-team/samba/downloads","issues_url":"https://api.github.com/repos/samba-team/samba/issues{/number}","pulls_url":"https://api.github.com/repos/samba-team/samba/pulls{/number}","milestones_url":"https://api.github.com/repos/samba-team/samba/milestones{/number}","notifications_url":"https://api.github.com/repos/samba-team/samba/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/samba-team/samba/labels{/name}","releases_url":"https://api.github.com/repos/samba-team/samba/releases{/id}","deployments_url":"https://api.github.com/repos/samba-team/samba/deployments","created_at":"2015-07-10T22:44:24Z","updated_at":"2018-03-24T06:29:18Z","pushed_at":"2018-03-26T04:10:27Z","git_url":"git://github.com/samba-team/samba.git","ssh_url":"git@github.com:samba-team/samba.git","clone_url":"https://github.com/samba-team/samba.git","svn_url":"https://github.com/samba-team/samba","homepage":"https://www.samba.org","size":305973,"stargazers_count":228,"watchers_count":228,"language":"C","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":206,"mirror_url":null,"archived":false,"open_issues_count":41,"license":{"key":"gpl-3.0","name":"GNU General Public License v3.0","spdx_id":"GPL-3.0","url":"https://api.github.com/licenses/gpl-3.0"},"forks":206,"open_issues":41,"watchers":228,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/samba-team/samba/pulls/151"},"html":{"href":"https://github.com/samba-team/samba/pull/151"},"issue":{"href":"https://api.github.com/repos/samba-team/samba/issues/151"},"comments":{"href":"https://api.github.com/repos/samba-team/samba/issues/151/comments"},"review_comments":{"href":"https://api.github.com/repos/samba-team/samba/pulls/151/comments"},"review_comment":{"href":"https://api.github.com/repos/samba-team/samba/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/samba-team/samba/pulls/151/commits"},"statuses":{"href":"https://api.github.com/repos/samba-team/samba/statuses/48459fd857352daa73a45503fe8c6c1095deae12"}},"author_association":"CONTRIBUTOR","merged":false,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"maintainer_can_modify":true,"commits":1,"additions":28,"deletions":1,"changed_files":2}}
{"actor":{"display_login":"catalyst-joe-guo"}}