{"action":"created","comment":{"url":"https://api.github.com/repos/superdesk/superdesk/pulls/comments/36282591","id":36282591,"diff_hunk":"@@ -22,13 +22,12 @@\n from superdesk.utc import utcnow, get_expiry_date\n from settings import SERVER_DOMAIN, OrganizationNameAbbreviation\n from superdesk import get_resource_service\n-from apps.content import metadata_schema\n+from superdesk.metadata.item import metadata_schema\n from superdesk.workflow import set_default_state, is_workflow_state_transition_valid\n import superdesk\n from apps.archive.archive import SOURCE as ARCHIVE\n-from apps.content import PACKAGE_TYPE, TAKES_PACKAGE\n+from superdesk.metadata.item import PACKAGE_TYPE, TAKES_PACKAGE, not_analyzed","path":"server/apps/archive/common.py","position":10,"original_position":10,"commit_id":"5a841f11a3c106564dadf0e73b46e65ec472f759","original_commit_id":"5a841f11a3c106564dadf0e73b46e65ec472f759","user":{"login":"petrjasek","id":179249,"avatar_url":"https://avatars.githubusercontent.com/u/179249?v=3","gravatar_id":"","url":"https://api.github.com/users/petrjasek","html_url":"https://github.com/petrjasek","followers_url":"https://api.github.com/users/petrjasek/followers","following_url":"https://api.github.com/users/petrjasek/following{/other_user}","gists_url":"https://api.github.com/users/petrjasek/gists{/gist_id}","starred_url":"https://api.github.com/users/petrjasek/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/petrjasek/subscriptions","organizations_url":"https://api.github.com/users/petrjasek/orgs","repos_url":"https://api.github.com/users/petrjasek/repos","events_url":"https://api.github.com/users/petrjasek/events{/privacy}","received_events_url":"https://api.github.com/users/petrjasek/received_events","type":"User","site_admin":false},"body":"yep, but it could be in 'superdesk.metadata.takes'","created_at":"2015-08-05T09:12:39Z","updated_at":"2015-08-05T09:12:39Z","html_url":"https://github.com/superdesk/superdesk/pull/922#discussion_r36282591","pull_request_url":"https://api.github.com/repos/superdesk/superdesk/pulls/922","_links":{"self":{"href":"https://api.github.com/repos/superdesk/superdesk/pulls/comments/36282591"},"html":{"href":"https://github.com/superdesk/superdesk/pull/922#discussion_r36282591"},"pull_request":{"href":"https://api.github.com/repos/superdesk/superdesk/pulls/922"}}},"pull_request":{"url":"https://api.github.com/repos/superdesk/superdesk/pulls/922","id":41652336,"html_url":"https://github.com/superdesk/superdesk/pull/922","diff_url":"https://github.com/superdesk/superdesk/pull/922.diff","patch_url":"https://github.com/superdesk/superdesk/pull/922.patch","issue_url":"https://api.github.com/repos/superdesk/superdesk/issues/922","number":922,"state":"open","locked":false,"title":"chore(core) - move content metadata to superdesk","user":{"login":"amagdas","id":204229,"avatar_url":"https://avatars.githubusercontent.com/u/204229?v=3","gravatar_id":"","url":"https://api.github.com/users/amagdas","html_url":"https://github.com/amagdas","followers_url":"https://api.github.com/users/amagdas/followers","following_url":"https://api.github.com/users/amagdas/following{/other_user}","gists_url":"https://api.github.com/users/amagdas/gists{/gist_id}","starred_url":"https://api.github.com/users/amagdas/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/amagdas/subscriptions","organizations_url":"https://api.github.com/users/amagdas/orgs","repos_url":"https://api.github.com/users/amagdas/repos","events_url":"https://api.github.com/users/amagdas/events{/privacy}","received_events_url":"https://api.github.com/users/amagdas/received_events","type":"User","site_admin":false},"body":"","created_at":"2015-08-05T07:58:48Z","updated_at":"2015-08-05T09:12:39Z","closed_at":null,"merged_at":null,"merge_commit_sha":"2832a07ba28fd427951b95439bc8950e705c4ab6","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/superdesk/superdesk/pulls/922/commits","review_comments_url":"https://api.github.com/repos/superdesk/superdesk/pulls/922/comments","review_comment_url":"https://api.github.com/repos/superdesk/superdesk/pulls/comments{/number}","comments_url":"https://api.github.com/repos/superdesk/superdesk/issues/922/comments","statuses_url":"https://api.github.com/repos/superdesk/superdesk/statuses/5a841f11a3c106564dadf0e73b46e65ec472f759","head":{"label":"amagdas:move_content","ref":"move_content","sha":"5a841f11a3c106564dadf0e73b46e65ec472f759","user":{"login":"amagdas","id":204229,"avatar_url":"https://avatars.githubusercontent.com/u/204229?v=3","gravatar_id":"","url":"https://api.github.com/users/amagdas","html_url":"https://github.com/amagdas","followers_url":"https://api.github.com/users/amagdas/followers","following_url":"https://api.github.com/users/amagdas/following{/other_user}","gists_url":"https://api.github.com/users/amagdas/gists{/gist_id}","starred_url":"https://api.github.com/users/amagdas/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/amagdas/subscriptions","organizations_url":"https://api.github.com/users/amagdas/orgs","repos_url":"https://api.github.com/users/amagdas/repos","events_url":"https://api.github.com/users/amagdas/events{/privacy}","received_events_url":"https://api.github.com/users/amagdas/received_events","type":"User","site_admin":false},"repo":{"id":30858166,"name":"superdesk","full_name":"amagdas/superdesk","owner":{"login":"amagdas","id":204229,"avatar_url":"https://avatars.githubusercontent.com/u/204229?v=3","gravatar_id":"","url":"https://api.github.com/users/amagdas","html_url":"https://github.com/amagdas","followers_url":"https://api.github.com/users/amagdas/followers","following_url":"https://api.github.com/users/amagdas/following{/other_user}","gists_url":"https://api.github.com/users/amagdas/gists{/gist_id}","starred_url":"https://api.github.com/users/amagdas/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/amagdas/subscriptions","organizations_url":"https://api.github.com/users/amagdas/orgs","repos_url":"https://api.github.com/users/amagdas/repos","events_url":"https://api.github.com/users/amagdas/events{/privacy}","received_events_url":"https://api.github.com/users/amagdas/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/amagdas/superdesk","description":"","fork":true,"url":"https://api.github.com/repos/amagdas/superdesk","forks_url":"https://api.github.com/repos/amagdas/superdesk/forks","keys_url":"https://api.github.com/repos/amagdas/superdesk/keys{/key_id}","collaborators_url":"https://api.github.com/repos/amagdas/superdesk/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/amagdas/superdesk/teams","hooks_url":"https://api.github.com/repos/amagdas/superdesk/hooks","issue_events_url":"https://api.github.com/repos/amagdas/superdesk/issues/events{/number}","events_url":"https://api.github.com/repos/amagdas/superdesk/events","assignees_url":"https://api.github.com/repos/amagdas/superdesk/assignees{/user}","branches_url":"https://api.github.com/repos/amagdas/superdesk/branches{/branch}","tags_url":"https://api.github.com/repos/amagdas/superdesk/tags","blobs_url":"https://api.github.com/repos/amagdas/superdesk/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/amagdas/superdesk/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/amagdas/superdesk/git/refs{/sha}","trees_url":"https://api.github.com/repos/amagdas/superdesk/git/trees{/sha}","statuses_url":"https://api.github.com/repos/amagdas/superdesk/statuses/{sha}","languages_url":"https://api.github.com/repos/amagdas/superdesk/languages","stargazers_url":"https://api.github.com/repos/amagdas/superdesk/stargazers","contributors_url":"https://api.github.com/repos/amagdas/superdesk/contributors","subscribers_url":"https://api.github.com/repos/amagdas/superdesk/subscribers","subscription_url":"https://api.github.com/repos/amagdas/superdesk/subscription","commits_url":"https://api.github.com/repos/amagdas/superdesk/commits{/sha}","git_commits_url":"https://api.github.com/repos/amagdas/superdesk/git/commits{/sha}","comments_url":"https://api.github.com/repos/amagdas/superdesk/comments{/number}","issue_comment_url":"https://api.github.com/repos/amagdas/superdesk/issues/comments{/number}","contents_url":"https://api.github.com/repos/amagdas/superdesk/contents/{+path}","compare_url":"https://api.github.com/repos/amagdas/superdesk/compare/{base}...{head}","merges_url":"https://api.github.com/repos/amagdas/superdesk/merges","archive_url":"https://api.github.com/repos/amagdas/superdesk/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/amagdas/superdesk/downloads","issues_url":"https://api.github.com/repos/amagdas/superdesk/issues{/number}","pulls_url":"https://api.github.com/repos/amagdas/superdesk/pulls{/number}","milestones_url":"https://api.github.com/repos/amagdas/superdesk/milestones{/number}","notifications_url":"https://api.github.com/repos/amagdas/superdesk/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/amagdas/superdesk/labels{/name}","releases_url":"https://api.github.com/repos/amagdas/superdesk/releases{/id}","created_at":"2015-02-16T07:31:29Z","updated_at":"2015-05-05T03:51:32Z","pushed_at":"2015-08-05T08:47:11Z","git_url":"git://github.com/amagdas/superdesk.git","ssh_url":"git@github.com:amagdas/superdesk.git","clone_url":"https://github.com/amagdas/superdesk.git","svn_url":"https://github.com/amagdas/superdesk","homepage":null,"size":56098,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","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":"f605621a4593369cf419cbf8db43bb74cce3be91","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":23570030,"name":"superdesk","full_name":"superdesk/superdesk","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","description":"The open source end-to-end news platform.","fork":false,"url":"https://api.github.com/repos/superdesk/superdesk","forks_url":"https://api.github.com/repos/superdesk/superdesk/forks","keys_url":"https://api.github.com/repos/superdesk/superdesk/keys{/key_id}","collaborators_url":"https://api.github.com/repos/superdesk/superdesk/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/superdesk/superdesk/teams","hooks_url":"https://api.github.com/repos/superdesk/superdesk/hooks","issue_events_url":"https://api.github.com/repos/superdesk/superdesk/issues/events{/number}","events_url":"https://api.github.com/repos/superdesk/superdesk/events","assignees_url":"https://api.github.com/repos/superdesk/superdesk/assignees{/user}","branches_url":"https://api.github.com/repos/superdesk/superdesk/branches{/branch}","tags_url":"https://api.github.com/repos/superdesk/superdesk/tags","blobs_url":"https://api.github.com/repos/superdesk/superdesk/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/superdesk/superdesk/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/superdesk/superdesk/git/refs{/sha}","trees_url":"https://api.github.com/repos/superdesk/superdesk/git/trees{/sha}","statuses_url":"https://api.github.com/repos/superdesk/superdesk/statuses/{sha}","languages_url":"https://api.github.com/repos/superdesk/superdesk/languages","stargazers_url":"https://api.github.com/repos/superdesk/superdesk/stargazers","contributors_url":"https://api.github.com/repos/superdesk/superdesk/contributors","subscribers_url":"https://api.github.com/repos/superdesk/superdesk/subscribers","subscription_url":"https://api.github.com/repos/superdesk/superdesk/subscription","commits_url":"https://api.github.com/repos/superdesk/superdesk/commits{/sha}","git_commits_url":"https://api.github.com/repos/superdesk/superdesk/git/commits{/sha}","comments_url":"https://api.github.com/repos/superdesk/superdesk/comments{/number}","issue_comment_url":"https://api.github.com/repos/superdesk/superdesk/issues/comments{/number}","contents_url":"https://api.github.com/repos/superdesk/superdesk/contents/{+path}","compare_url":"https://api.github.com/repos/superdesk/superdesk/compare/{base}...{head}","merges_url":"https://api.github.com/repos/superdesk/superdesk/merges","archive_url":"https://api.github.com/repos/superdesk/superdesk/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/superdesk/superdesk/downloads","issues_url":"https://api.github.com/repos/superdesk/superdesk/issues{/number}","pulls_url":"https://api.github.com/repos/superdesk/superdesk/pulls{/number}","milestones_url":"https://api.github.com/repos/superdesk/superdesk/milestones{/number}","notifications_url":"https://api.github.com/repos/superdesk/superdesk/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/superdesk/superdesk/labels{/name}","releases_url":"https://api.github.com/repos/superdesk/superdesk/releases{/id}","created_at":"2014-09-02T07:56:17Z","updated_at":"2015-08-05T04:51:42Z","pushed_at":"2015-08-05T08:47:11Z","git_url":"git://github.com/superdesk/superdesk.git","ssh_url":"git@github.com:superdesk/superdesk.git","clone_url":"https://github.com/superdesk/superdesk.git","svn_url":"https://github.com/superdesk/superdesk","homepage":"","size":65505,"stargazers_count":22,"watchers_count":22,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":34,"mirror_url":null,"open_issues_count":8,"forks":34,"open_issues":8,"watchers":22,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/superdesk/superdesk/pulls/922"},"html":{"href":"https://github.com/superdesk/superdesk/pull/922"},"issue":{"href":"https://api.github.com/repos/superdesk/superdesk/issues/922"},"comments":{"href":"https://api.github.com/repos/superdesk/superdesk/issues/922/comments"},"review_comments":{"href":"https://api.github.com/repos/superdesk/superdesk/pulls/922/comments"},"review_comment":{"href":"https://api.github.com/repos/superdesk/superdesk/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/superdesk/superdesk/pulls/922/commits"},"statuses":{"href":"https://api.github.com/repos/superdesk/superdesk/statuses/5a841f11a3c106564dadf0e73b46e65ec472f759"}}}}