{"action":"opened","number":1125,"pull_request":{"url":"https://api.github.com/repos/senaite/senaite.core/pulls/1125","id":236308168,"node_id":"MDExOlB1bGxSZXF1ZXN0MjM2MzA4MTY4","html_url":"https://github.com/senaite/senaite.core/pull/1125","diff_url":"https://github.com/senaite/senaite.core/pull/1125.diff","patch_url":"https://github.com/senaite/senaite.core/pull/1125.patch","issue_url":"https://api.github.com/repos/senaite/senaite.core/issues/1125","number":1125,"state":"open","locked":false,"title":"Hide Samples listings from everywhere and remove unused indexes+metadata","user":{"login":"xispa","id":832627,"node_id":"MDQ6VXNlcjgzMjYyNw==","avatar_url":"https://avatars2.githubusercontent.com/u/832627?v=4","gravatar_id":"","url":"https://api.github.com/users/xispa","html_url":"https://github.com/xispa","followers_url":"https://api.github.com/users/xispa/followers","following_url":"https://api.github.com/users/xispa/following{/other_user}","gists_url":"https://api.github.com/users/xispa/gists{/gist_id}","starred_url":"https://api.github.com/users/xispa/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/xispa/subscriptions","organizations_url":"https://api.github.com/users/xispa/orgs","repos_url":"https://api.github.com/users/xispa/repos","events_url":"https://api.github.com/users/xispa/events{/privacy}","received_events_url":"https://api.github.com/users/xispa/received_events","type":"User","site_admin":false},"body":"## Description of the issue/feature this PR addresses\r\n\r\nAn imminent refactoring of Analysis Request workflow will take place. As per previous Pull Requests, the system allows now to create \"real\" partitions that behave as full Samples/Analysis Requests. At this point, the confusing AR+Sample couple becomes too confusing. This Pull Request is the first contribution towards the fully replacement of Sample content type by Analysis Request content type:\r\n\r\n- Removal of sample views and listings from everywhere (portal, AR, Client and Batch contexts)\r\n- Removal of sample columns in AR and Batch listings\r\n- Removal of no longer used indexes and metadata\r\n\r\n## Current behavior before PR\r\n\r\nLegacy samples views and listings\r\n\r\n## Desired behavior after PR is merged\r\n\r\nLegacy samples views and listings not available.\r\n\r\n\r\n--\r\nI confirm I have tested this PR thoroughly and coded it according to [PEP8][1]\r\nand [Plone's Python styleguide][2] standards.\r\n\r\n[1]: https://www.python.org/dev/peps/pep-0008\r\n[2]: https://docs.plone.org/develop/styleguide/python.html\r\n","created_at":"2018-12-05T20:15:16Z","updated_at":"2018-12-05T20:15:16Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[{"id":914003255,"node_id":"MDU6TGFiZWw5MTQwMDMyNTU=","url":"https://api.github.com/repos/senaite/senaite.core/labels/Cleanup","name":"Cleanup","color":"1ca5cc","default":false},{"id":1137671284,"node_id":"MDU6TGFiZWwxMTM3NjcxMjg0","url":"https://api.github.com/repos/senaite/senaite.core/labels/Version%201.3","name":"Version 1.3","color":"96f7cf","default":false}],"milestone":null,"commits_url":"https://api.github.com/repos/senaite/senaite.core/pulls/1125/commits","review_comments_url":"https://api.github.com/repos/senaite/senaite.core/pulls/1125/comments","review_comment_url":"https://api.github.com/repos/senaite/senaite.core/pulls/comments{/number}","comments_url":"https://api.github.com/repos/senaite/senaite.core/issues/1125/comments","statuses_url":"https://api.github.com/repos/senaite/senaite.core/statuses/3a1310d52fcaa6cf000c3070c35da35be5398d77","head":{"label":"senaite:ar-become-sample","ref":"ar-become-sample","sha":"3a1310d52fcaa6cf000c3070c35da35be5398d77","user":{"login":"senaite","id":29165573,"node_id":"MDEyOk9yZ2FuaXphdGlvbjI5MTY1NTcz","avatar_url":"https://avatars1.githubusercontent.com/u/29165573?v=4","gravatar_id":"","url":"https://api.github.com/users/senaite","html_url":"https://github.com/senaite","followers_url":"https://api.github.com/users/senaite/followers","following_url":"https://api.github.com/users/senaite/following{/other_user}","gists_url":"https://api.github.com/users/senaite/gists{/gist_id}","starred_url":"https://api.github.com/users/senaite/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/senaite/subscriptions","organizations_url":"https://api.github.com/users/senaite/orgs","repos_url":"https://api.github.com/users/senaite/repos","events_url":"https://api.github.com/users/senaite/events{/privacy}","received_events_url":"https://api.github.com/users/senaite/received_events","type":"Organization","site_admin":false},"repo":{"id":51839640,"node_id":"MDEwOlJlcG9zaXRvcnk1MTgzOTY0MA==","name":"senaite.core","full_name":"senaite/senaite.core","private":false,"owner":{"login":"senaite","id":29165573,"node_id":"MDEyOk9yZ2FuaXphdGlvbjI5MTY1NTcz","avatar_url":"https://avatars1.githubusercontent.com/u/29165573?v=4","gravatar_id":"","url":"https://api.github.com/users/senaite","html_url":"https://github.com/senaite","followers_url":"https://api.github.com/users/senaite/followers","following_url":"https://api.github.com/users/senaite/following{/other_user}","gists_url":"https://api.github.com/users/senaite/gists{/gist_id}","starred_url":"https://api.github.com/users/senaite/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/senaite/subscriptions","organizations_url":"https://api.github.com/users/senaite/orgs","repos_url":"https://api.github.com/users/senaite/repos","events_url":"https://api.github.com/users/senaite/events{/privacy}","received_events_url":"https://api.github.com/users/senaite/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/senaite/senaite.core","description":"Open Source LIMS/LIS Project","fork":false,"url":"https://api.github.com/repos/senaite/senaite.core","forks_url":"https://api.github.com/repos/senaite/senaite.core/forks","keys_url":"https://api.github.com/repos/senaite/senaite.core/keys{/key_id}","collaborators_url":"https://api.github.com/repos/senaite/senaite.core/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/senaite/senaite.core/teams","hooks_url":"https://api.github.com/repos/senaite/senaite.core/hooks","issue_events_url":"https://api.github.com/repos/senaite/senaite.core/issues/events{/number}","events_url":"https://api.github.com/repos/senaite/senaite.core/events","assignees_url":"https://api.github.com/repos/senaite/senaite.core/assignees{/user}","branches_url":"https://api.github.com/repos/senaite/senaite.core/branches{/branch}","tags_url":"https://api.github.com/repos/senaite/senaite.core/tags","blobs_url":"https://api.github.com/repos/senaite/senaite.core/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/senaite/senaite.core/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/senaite/senaite.core/git/refs{/sha}","trees_url":"https://api.github.com/repos/senaite/senaite.core/git/trees{/sha}","statuses_url":"https://api.github.com/repos/senaite/senaite.core/statuses/{sha}","languages_url":"https://api.github.com/repos/senaite/senaite.core/languages","stargazers_url":"https://api.github.com/repos/senaite/senaite.core/stargazers","contributors_url":"https://api.github.com/repos/senaite/senaite.core/contributors","subscribers_url":"https://api.github.com/repos/senaite/senaite.core/subscribers","subscription_url":"https://api.github.com/repos/senaite/senaite.core/subscription","commits_url":"https://api.github.com/repos/senaite/senaite.core/commits{/sha}","git_commits_url":"https://api.github.com/repos/senaite/senaite.core/git/commits{/sha}","comments_url":"https://api.github.com/repos/senaite/senaite.core/comments{/number}","issue_comment_url":"https://api.github.com/repos/senaite/senaite.core/issues/comments{/number}","contents_url":"https://api.github.com/repos/senaite/senaite.core/contents/{+path}","compare_url":"https://api.github.com/repos/senaite/senaite.core/compare/{base}...{head}","merges_url":"https://api.github.com/repos/senaite/senaite.core/merges","archive_url":"https://api.github.com/repos/senaite/senaite.core/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/senaite/senaite.core/downloads","issues_url":"https://api.github.com/repos/senaite/senaite.core/issues{/number}","pulls_url":"https://api.github.com/repos/senaite/senaite.core/pulls{/number}","milestones_url":"https://api.github.com/repos/senaite/senaite.core/milestones{/number}","notifications_url":"https://api.github.com/repos/senaite/senaite.core/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/senaite/senaite.core/labels{/name}","releases_url":"https://api.github.com/repos/senaite/senaite.core/releases{/id}","deployments_url":"https://api.github.com/repos/senaite/senaite.core/deployments","created_at":"2016-02-16T13:57:26Z","updated_at":"2018-12-05T17:25:55Z","pushed_at":"2018-12-05T20:14:10Z","git_url":"git://github.com/senaite/senaite.core.git","ssh_url":"git@github.com:senaite/senaite.core.git","clone_url":"https://github.com/senaite/senaite.core.git","svn_url":"https://github.com/senaite/senaite.core","homepage":"https://www.senaite.com","size":69588,"stargazers_count":26,"watchers_count":26,"language":"Python","has_issues":true,"has_projects":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":29,"mirror_url":null,"archived":false,"open_issues_count":55,"license":{"key":"gpl-2.0","name":"GNU General Public License v2.0","spdx_id":"GPL-2.0","url":"https://api.github.com/licenses/gpl-2.0","node_id":"MDc6TGljZW5zZTg="},"forks":29,"open_issues":55,"watchers":26,"default_branch":"master"}},"base":{"label":"senaite:master","ref":"master","sha":"c139bd9aeb6e6d686707aae217d658fcd42f22ea","user":{"login":"senaite","id":29165573,"node_id":"MDEyOk9yZ2FuaXphdGlvbjI5MTY1NTcz","avatar_url":"https://avatars1.githubusercontent.com/u/29165573?v=4","gravatar_id":"","url":"https://api.github.com/users/senaite","html_url":"https://github.com/senaite","followers_url":"https://api.github.com/users/senaite/followers","following_url":"https://api.github.com/users/senaite/following{/other_user}","gists_url":"https://api.github.com/users/senaite/gists{/gist_id}","starred_url":"https://api.github.com/users/senaite/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/senaite/subscriptions","organizations_url":"https://api.github.com/users/senaite/orgs","repos_url":"https://api.github.com/users/senaite/repos","events_url":"https://api.github.com/users/senaite/events{/privacy}","received_events_url":"https://api.github.com/users/senaite/received_events","type":"Organization","site_admin":false},"repo":{"id":51839640,"node_id":"MDEwOlJlcG9zaXRvcnk1MTgzOTY0MA==","name":"senaite.core","full_name":"senaite/senaite.core","private":false,"owner":{"login":"senaite","id":29165573,"node_id":"MDEyOk9yZ2FuaXphdGlvbjI5MTY1NTcz","avatar_url":"https://avatars1.githubusercontent.com/u/29165573?v=4","gravatar_id":"","url":"https://api.github.com/users/senaite","html_url":"https://github.com/senaite","followers_url":"https://api.github.com/users/senaite/followers","following_url":"https://api.github.com/users/senaite/following{/other_user}","gists_url":"https://api.github.com/users/senaite/gists{/gist_id}","starred_url":"https://api.github.com/users/senaite/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/senaite/subscriptions","organizations_url":"https://api.github.com/users/senaite/orgs","repos_url":"https://api.github.com/users/senaite/repos","events_url":"https://api.github.com/users/senaite/events{/privacy}","received_events_url":"https://api.github.com/users/senaite/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/senaite/senaite.core","description":"Open Source LIMS/LIS Project","fork":false,"url":"https://api.github.com/repos/senaite/senaite.core","forks_url":"https://api.github.com/repos/senaite/senaite.core/forks","keys_url":"https://api.github.com/repos/senaite/senaite.core/keys{/key_id}","collaborators_url":"https://api.github.com/repos/senaite/senaite.core/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/senaite/senaite.core/teams","hooks_url":"https://api.github.com/repos/senaite/senaite.core/hooks","issue_events_url":"https://api.github.com/repos/senaite/senaite.core/issues/events{/number}","events_url":"https://api.github.com/repos/senaite/senaite.core/events","assignees_url":"https://api.github.com/repos/senaite/senaite.core/assignees{/user}","branches_url":"https://api.github.com/repos/senaite/senaite.core/branches{/branch}","tags_url":"https://api.github.com/repos/senaite/senaite.core/tags","blobs_url":"https://api.github.com/repos/senaite/senaite.core/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/senaite/senaite.core/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/senaite/senaite.core/git/refs{/sha}","trees_url":"https://api.github.com/repos/senaite/senaite.core/git/trees{/sha}","statuses_url":"https://api.github.com/repos/senaite/senaite.core/statuses/{sha}","languages_url":"https://api.github.com/repos/senaite/senaite.core/languages","stargazers_url":"https://api.github.com/repos/senaite/senaite.core/stargazers","contributors_url":"https://api.github.com/repos/senaite/senaite.core/contributors","subscribers_url":"https://api.github.com/repos/senaite/senaite.core/subscribers","subscription_url":"https://api.github.com/repos/senaite/senaite.core/subscription","commits_url":"https://api.github.com/repos/senaite/senaite.core/commits{/sha}","git_commits_url":"https://api.github.com/repos/senaite/senaite.core/git/commits{/sha}","comments_url":"https://api.github.com/repos/senaite/senaite.core/comments{/number}","issue_comment_url":"https://api.github.com/repos/senaite/senaite.core/issues/comments{/number}","contents_url":"https://api.github.com/repos/senaite/senaite.core/contents/{+path}","compare_url":"https://api.github.com/repos/senaite/senaite.core/compare/{base}...{head}","merges_url":"https://api.github.com/repos/senaite/senaite.core/merges","archive_url":"https://api.github.com/repos/senaite/senaite.core/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/senaite/senaite.core/downloads","issues_url":"https://api.github.com/repos/senaite/senaite.core/issues{/number}","pulls_url":"https://api.github.com/repos/senaite/senaite.core/pulls{/number}","milestones_url":"https://api.github.com/repos/senaite/senaite.core/milestones{/number}","notifications_url":"https://api.github.com/repos/senaite/senaite.core/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/senaite/senaite.core/labels{/name}","releases_url":"https://api.github.com/repos/senaite/senaite.core/releases{/id}","deployments_url":"https://api.github.com/repos/senaite/senaite.core/deployments","created_at":"2016-02-16T13:57:26Z","updated_at":"2018-12-05T17:25:55Z","pushed_at":"2018-12-05T20:14:10Z","git_url":"git://github.com/senaite/senaite.core.git","ssh_url":"git@github.com:senaite/senaite.core.git","clone_url":"https://github.com/senaite/senaite.core.git","svn_url":"https://github.com/senaite/senaite.core","homepage":"https://www.senaite.com","size":69588,"stargazers_count":26,"watchers_count":26,"language":"Python","has_issues":true,"has_projects":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":29,"mirror_url":null,"archived":false,"open_issues_count":55,"license":{"key":"gpl-2.0","name":"GNU General Public License v2.0","spdx_id":"GPL-2.0","url":"https://api.github.com/licenses/gpl-2.0","node_id":"MDc6TGljZW5zZTg="},"forks":29,"open_issues":55,"watchers":26,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/senaite/senaite.core/pulls/1125"},"html":{"href":"https://github.com/senaite/senaite.core/pull/1125"},"issue":{"href":"https://api.github.com/repos/senaite/senaite.core/issues/1125"},"comments":{"href":"https://api.github.com/repos/senaite/senaite.core/issues/1125/comments"},"review_comments":{"href":"https://api.github.com/repos/senaite/senaite.core/pulls/1125/comments"},"review_comment":{"href":"https://api.github.com/repos/senaite/senaite.core/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/senaite/senaite.core/pulls/1125/commits"},"statuses":{"href":"https://api.github.com/repos/senaite/senaite.core/statuses/3a1310d52fcaa6cf000c3070c35da35be5398d77"}},"author_association":"CONTRIBUTOR","merged":false,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"maintainer_can_modify":false,"commits":11,"additions":36,"deletions":2540,"changed_files":32}}
{"actor":{"display_login":"xispa"}}