{"action":"closed","number":464,"pull_request":{"url":"https://api.github.com/repos/superdesk/superdesk-core/pulls/464","id":77235903,"html_url":"https://github.com/superdesk/superdesk-core/pull/464","diff_url":"https://github.com/superdesk/superdesk-core/pull/464.diff","patch_url":"https://github.com/superdesk/superdesk-core/pull/464.patch","issue_url":"https://api.github.com/repos/superdesk/superdesk-core/issues/464","number":464,"state":"closed","locked":false,"title":"[SD-4785] (fix) Refactor Expiry of items and legal archive process.","user":{"login":"mdhaman","id":2268727,"avatar_url":"https://avatars.githubusercontent.com/u/2268727?v=3","gravatar_id":"","url":"https://api.github.com/users/mdhaman","html_url":"https://github.com/mdhaman","followers_url":"https://api.github.com/users/mdhaman/followers","following_url":"https://api.github.com/users/mdhaman/following{/other_user}","gists_url":"https://api.github.com/users/mdhaman/gists{/gist_id}","starred_url":"https://api.github.com/users/mdhaman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mdhaman/subscriptions","organizations_url":"https://api.github.com/users/mdhaman/orgs","repos_url":"https://api.github.com/users/mdhaman/repos","events_url":"https://api.github.com/users/mdhaman/events{/privacy}","received_events_url":"https://api.github.com/users/mdhaman/received_events","type":"User","site_admin":false},"body":"- Mark items with expiry_status=\"invalid\" if items are not moved to legal.\r\n- Currently, the process rejects whole batch if items are not moved to legal. Modify the process so that items that moved to legal are expired and the items that are moved to legal are marked with expiry_status=\"invalid\"\r\n- Modify the `ImportLegalArchiveCommand` to handle items with expiry_status=\"invalid\"\r\n- Archive content based on the content filter.","created_at":"2016-07-13T06:24:01Z","updated_at":"2016-07-14T22:27:52Z","closed_at":"2016-07-14T22:27:52Z","merged_at":"2016-07-14T22:27:52Z","merge_commit_sha":"3061cc78b1ea6be2f62be6781a2fc2a28c768092","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/superdesk/superdesk-core/pulls/464/commits","review_comments_url":"https://api.github.com/repos/superdesk/superdesk-core/pulls/464/comments","review_comment_url":"https://api.github.com/repos/superdesk/superdesk-core/pulls/comments{/number}","comments_url":"https://api.github.com/repos/superdesk/superdesk-core/issues/464/comments","statuses_url":"https://api.github.com/repos/superdesk/superdesk-core/statuses/63c4baa0b0c0730d4a4e35d8fe1fac61bb1c00eb","head":{"label":"mdhaman:expiry","ref":"expiry","sha":"63c4baa0b0c0730d4a4e35d8fe1fac61bb1c00eb","user":{"login":"mdhaman","id":2268727,"avatar_url":"https://avatars.githubusercontent.com/u/2268727?v=3","gravatar_id":"","url":"https://api.github.com/users/mdhaman","html_url":"https://github.com/mdhaman","followers_url":"https://api.github.com/users/mdhaman/followers","following_url":"https://api.github.com/users/mdhaman/following{/other_user}","gists_url":"https://api.github.com/users/mdhaman/gists{/gist_id}","starred_url":"https://api.github.com/users/mdhaman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mdhaman/subscriptions","organizations_url":"https://api.github.com/users/mdhaman/orgs","repos_url":"https://api.github.com/users/mdhaman/repos","events_url":"https://api.github.com/users/mdhaman/events{/privacy}","received_events_url":"https://api.github.com/users/mdhaman/received_events","type":"User","site_admin":false},"repo":{"id":41707380,"name":"superdesk-core","full_name":"mdhaman/superdesk-core","owner":{"login":"mdhaman","id":2268727,"avatar_url":"https://avatars.githubusercontent.com/u/2268727?v=3","gravatar_id":"","url":"https://api.github.com/users/mdhaman","html_url":"https://github.com/mdhaman","followers_url":"https://api.github.com/users/mdhaman/followers","following_url":"https://api.github.com/users/mdhaman/following{/other_user}","gists_url":"https://api.github.com/users/mdhaman/gists{/gist_id}","starred_url":"https://api.github.com/users/mdhaman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mdhaman/subscriptions","organizations_url":"https://api.github.com/users/mdhaman/orgs","repos_url":"https://api.github.com/users/mdhaman/repos","events_url":"https://api.github.com/users/mdhaman/events{/privacy}","received_events_url":"https://api.github.com/users/mdhaman/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/mdhaman/superdesk-core","description":"","fork":true,"url":"https://api.github.com/repos/mdhaman/superdesk-core","forks_url":"https://api.github.com/repos/mdhaman/superdesk-core/forks","keys_url":"https://api.github.com/repos/mdhaman/superdesk-core/keys{/key_id}","collaborators_url":"https://api.github.com/repos/mdhaman/superdesk-core/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/mdhaman/superdesk-core/teams","hooks_url":"https://api.github.com/repos/mdhaman/superdesk-core/hooks","issue_events_url":"https://api.github.com/repos/mdhaman/superdesk-core/issues/events{/number}","events_url":"https://api.github.com/repos/mdhaman/superdesk-core/events","assignees_url":"https://api.github.com/repos/mdhaman/superdesk-core/assignees{/user}","branches_url":"https://api.github.com/repos/mdhaman/superdesk-core/branches{/branch}","tags_url":"https://api.github.com/repos/mdhaman/superdesk-core/tags","blobs_url":"https://api.github.com/repos/mdhaman/superdesk-core/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/mdhaman/superdesk-core/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/mdhaman/superdesk-core/git/refs{/sha}","trees_url":"https://api.github.com/repos/mdhaman/superdesk-core/git/trees{/sha}","statuses_url":"https://api.github.com/repos/mdhaman/superdesk-core/statuses/{sha}","languages_url":"https://api.github.com/repos/mdhaman/superdesk-core/languages","stargazers_url":"https://api.github.com/repos/mdhaman/superdesk-core/stargazers","contributors_url":"https://api.github.com/repos/mdhaman/superdesk-core/contributors","subscribers_url":"https://api.github.com/repos/mdhaman/superdesk-core/subscribers","subscription_url":"https://api.github.com/repos/mdhaman/superdesk-core/subscription","commits_url":"https://api.github.com/repos/mdhaman/superdesk-core/commits{/sha}","git_commits_url":"https://api.github.com/repos/mdhaman/superdesk-core/git/commits{/sha}","comments_url":"https://api.github.com/repos/mdhaman/superdesk-core/comments{/number}","issue_comment_url":"https://api.github.com/repos/mdhaman/superdesk-core/issues/comments{/number}","contents_url":"https://api.github.com/repos/mdhaman/superdesk-core/contents/{+path}","compare_url":"https://api.github.com/repos/mdhaman/superdesk-core/compare/{base}...{head}","merges_url":"https://api.github.com/repos/mdhaman/superdesk-core/merges","archive_url":"https://api.github.com/repos/mdhaman/superdesk-core/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/mdhaman/superdesk-core/downloads","issues_url":"https://api.github.com/repos/mdhaman/superdesk-core/issues{/number}","pulls_url":"https://api.github.com/repos/mdhaman/superdesk-core/pulls{/number}","milestones_url":"https://api.github.com/repos/mdhaman/superdesk-core/milestones{/number}","notifications_url":"https://api.github.com/repos/mdhaman/superdesk-core/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/mdhaman/superdesk-core/labels{/name}","releases_url":"https://api.github.com/repos/mdhaman/superdesk-core/releases{/id}","deployments_url":"https://api.github.com/repos/mdhaman/superdesk-core/deployments","created_at":"2015-09-01T00:21:01Z","updated_at":"2016-01-12T04:56:24Z","pushed_at":"2016-07-13T06:19:12Z","git_url":"git://github.com/mdhaman/superdesk-core.git","ssh_url":"git@github.com:mdhaman/superdesk-core.git","clone_url":"https://github.com/mdhaman/superdesk-core.git","svn_url":"https://github.com/mdhaman/superdesk-core","homepage":null,"size":8192,"stargazers_count":0,"watchers_count":0,"language":"Python","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":"superdesk:master","ref":"master","sha":"79022d78ab46949b99140447ae90a4e2cec26bed","user":{"login":"superdesk","id":5527298,"avatar_url":"https://avatars.githubusercontent.com/u/5527298?v=3","gravatar_id":"","url":"https://api.github.com/users/superdesk","html_url":"https://github.com/superdesk","followers_url":"https://api.github.com/users/superdesk/followers","following_url":"https://api.github.com/users/superdesk/following{/other_user}","gists_url":"https://api.github.com/users/superdesk/gists{/gist_id}","starred_url":"https://api.github.com/users/superdesk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/superdesk/subscriptions","organizations_url":"https://api.github.com/users/superdesk/orgs","repos_url":"https://api.github.com/users/superdesk/repos","events_url":"https://api.github.com/users/superdesk/events{/privacy}","received_events_url":"https://api.github.com/users/superdesk/received_events","type":"Organization","site_admin":false},"repo":{"id":41092776,"name":"superdesk-core","full_name":"superdesk/superdesk-core","owner":{"login":"superdesk","id":5527298,"avatar_url":"https://avatars.githubusercontent.com/u/5527298?v=3","gravatar_id":"","url":"https://api.github.com/users/superdesk","html_url":"https://github.com/superdesk","followers_url":"https://api.github.com/users/superdesk/followers","following_url":"https://api.github.com/users/superdesk/following{/other_user}","gists_url":"https://api.github.com/users/superdesk/gists{/gist_id}","starred_url":"https://api.github.com/users/superdesk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/superdesk/subscriptions","organizations_url":"https://api.github.com/users/superdesk/orgs","repos_url":"https://api.github.com/users/superdesk/repos","events_url":"https://api.github.com/users/superdesk/events{/privacy}","received_events_url":"https://api.github.com/users/superdesk/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/superdesk/superdesk-core","description":"common server modules for superdesk","fork":false,"url":"https://api.github.com/repos/superdesk/superdesk-core","forks_url":"https://api.github.com/repos/superdesk/superdesk-core/forks","keys_url":"https://api.github.com/repos/superdesk/superdesk-core/keys{/key_id}","collaborators_url":"https://api.github.com/repos/superdesk/superdesk-core/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/superdesk/superdesk-core/teams","hooks_url":"https://api.github.com/repos/superdesk/superdesk-core/hooks","issue_events_url":"https://api.github.com/repos/superdesk/superdesk-core/issues/events{/number}","events_url":"https://api.github.com/repos/superdesk/superdesk-core/events","assignees_url":"https://api.github.com/repos/superdesk/superdesk-core/assignees{/user}","branches_url":"https://api.github.com/repos/superdesk/superdesk-core/branches{/branch}","tags_url":"https://api.github.com/repos/superdesk/superdesk-core/tags","blobs_url":"https://api.github.com/repos/superdesk/superdesk-core/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/superdesk/superdesk-core/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/superdesk/superdesk-core/git/refs{/sha}","trees_url":"https://api.github.com/repos/superdesk/superdesk-core/git/trees{/sha}","statuses_url":"https://api.github.com/repos/superdesk/superdesk-core/statuses/{sha}","languages_url":"https://api.github.com/repos/superdesk/superdesk-core/languages","stargazers_url":"https://api.github.com/repos/superdesk/superdesk-core/stargazers","contributors_url":"https://api.github.com/repos/superdesk/superdesk-core/contributors","subscribers_url":"https://api.github.com/repos/superdesk/superdesk-core/subscribers","subscription_url":"https://api.github.com/repos/superdesk/superdesk-core/subscription","commits_url":"https://api.github.com/repos/superdesk/superdesk-core/commits{/sha}","git_commits_url":"https://api.github.com/repos/superdesk/superdesk-core/git/commits{/sha}","comments_url":"https://api.github.com/repos/superdesk/superdesk-core/comments{/number}","issue_comment_url":"https://api.github.com/repos/superdesk/superdesk-core/issues/comments{/number}","contents_url":"https://api.github.com/repos/superdesk/superdesk-core/contents/{+path}","compare_url":"https://api.github.com/repos/superdesk/superdesk-core/compare/{base}...{head}","merges_url":"https://api.github.com/repos/superdesk/superdesk-core/merges","archive_url":"https://api.github.com/repos/superdesk/superdesk-core/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/superdesk/superdesk-core/downloads","issues_url":"https://api.github.com/repos/superdesk/superdesk-core/issues{/number}","pulls_url":"https://api.github.com/repos/superdesk/superdesk-core/pulls{/number}","milestones_url":"https://api.github.com/repos/superdesk/superdesk-core/milestones{/number}","notifications_url":"https://api.github.com/repos/superdesk/superdesk-core/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/superdesk/superdesk-core/labels{/name}","releases_url":"https://api.github.com/repos/superdesk/superdesk-core/releases{/id}","deployments_url":"https://api.github.com/repos/superdesk/superdesk-core/deployments","created_at":"2015-08-20T11:46:19Z","updated_at":"2016-06-28T08:44:38Z","pushed_at":"2016-07-14T22:27:52Z","git_url":"git://github.com/superdesk/superdesk-core.git","ssh_url":"git@github.com:superdesk/superdesk-core.git","clone_url":"https://github.com/superdesk/superdesk-core.git","svn_url":"https://github.com/superdesk/superdesk-core","homepage":"","size":8326,"stargazers_count":7,"watchers_count":7,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":25,"mirror_url":null,"open_issues_count":4,"forks":25,"open_issues":4,"watchers":7,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/superdesk/superdesk-core/pulls/464"},"html":{"href":"https://github.com/superdesk/superdesk-core/pull/464"},"issue":{"href":"https://api.github.com/repos/superdesk/superdesk-core/issues/464"},"comments":{"href":"https://api.github.com/repos/superdesk/superdesk-core/issues/464/comments"},"review_comments":{"href":"https://api.github.com/repos/superdesk/superdesk-core/pulls/464/comments"},"review_comment":{"href":"https://api.github.com/repos/superdesk/superdesk-core/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/superdesk/superdesk-core/pulls/464/commits"},"statuses":{"href":"https://api.github.com/repos/superdesk/superdesk-core/statuses/63c4baa0b0c0730d4a4e35d8fe1fac61bb1c00eb"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"akintolga","id":8636746,"avatar_url":"https://avatars.githubusercontent.com/u/8636746?v=3","gravatar_id":"","url":"https://api.github.com/users/akintolga","html_url":"https://github.com/akintolga","followers_url":"https://api.github.com/users/akintolga/followers","following_url":"https://api.github.com/users/akintolga/following{/other_user}","gists_url":"https://api.github.com/users/akintolga/gists{/gist_id}","starred_url":"https://api.github.com/users/akintolga/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/akintolga/subscriptions","organizations_url":"https://api.github.com/users/akintolga/orgs","repos_url":"https://api.github.com/users/akintolga/repos","events_url":"https://api.github.com/users/akintolga/events{/privacy}","received_events_url":"https://api.github.com/users/akintolga/received_events","type":"User","site_admin":false},"comments":2,"review_comments":0,"commits":2,"additions":591,"deletions":184,"changed_files":14}}
{"actor":{"display_login":"akintolga"}}