{"action":"opened","number":32,"pull_request":{"url":"https://api.github.com/repos/keitaroinc/ckanext-datagovmk/pulls/32","id":204796142,"node_id":"MDExOlB1bGxSZXF1ZXN0MjA0Nzk2MTQy","html_url":"https://github.com/keitaroinc/ckanext-datagovmk/pull/32","diff_url":"https://github.com/keitaroinc/ckanext-datagovmk/pull/32.diff","patch_url":"https://github.com/keitaroinc/ckanext-datagovmk/pull/32.patch","issue_url":"https://api.github.com/repos/keitaroinc/ckanext-datagovmk/issues/32","number":32,"state":"open","locked":false,"title":"Feature/13.3 outdated datasets","user":{"login":"natemago","id":1085207,"node_id":"MDQ6VXNlcjEwODUyMDc=","avatar_url":"https://avatars2.githubusercontent.com/u/1085207?v=4","gravatar_id":"","url":"https://api.github.com/users/natemago","html_url":"https://github.com/natemago","followers_url":"https://api.github.com/users/natemago/followers","following_url":"https://api.github.com/users/natemago/following{/other_user}","gists_url":"https://api.github.com/users/natemago/gists{/gist_id}","starred_url":"https://api.github.com/users/natemago/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/natemago/subscriptions","organizations_url":"https://api.github.com/users/natemago/orgs","repos_url":"https://api.github.com/users/natemago/repos","events_url":"https://api.github.com/users/natemago/events{/privacy}","received_events_url":"https://api.github.com/users/natemago/received_events","type":"User","site_admin":false},"body":"\r\nPaster command to be run regularly (preferably every day) to send out notifications for an outdated datasets.\r\n\r\nHow to test:\r\n\r\nFind some dataset that has resources and you have updated a couple of days ago, then make sure that \"Frequency/Periodicity\" is set to \"Daily\". This would mean that the dataset resources are updated daily but haven't been updated for a while.\r\n\r\nThen run the following paster command:\r\n```\r\npaster --plugin=ckanext-datagovmk check_outdated_datasets -c /etc/ckan/default/development.ini\r\n```\r\n\r\nAn email should be send to the creator and the Maintainer (if populated) of the dataset with notification.\r\n\r\nThe command is also available as a CRON script - thus available in the API. To run it, first make sure you are CKAN admin and you have your API Key. Then run (with curl):\r\n\r\n```\r\ncurl -v http://localhost:5000/api/3/action/datagovmk_start_script -H \"Authorization: <API-KEY>\" -d '{\"name\": \"outdated_datasets\"}'\r\n\r\n```","created_at":"2018-07-30T12:59:56Z","updated_at":"2018-07-30T12:59:56Z","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/keitaroinc/ckanext-datagovmk/pulls/32/commits","review_comments_url":"https://api.github.com/repos/keitaroinc/ckanext-datagovmk/pulls/32/comments","review_comment_url":"https://api.github.com/repos/keitaroinc/ckanext-datagovmk/pulls/comments{/number}","comments_url":"https://api.github.com/repos/keitaroinc/ckanext-datagovmk/issues/32/comments","statuses_url":"https://api.github.com/repos/keitaroinc/ckanext-datagovmk/statuses/056034884c336766b55dcbdac72f846073914ca9","head":{"label":"keitaroinc:feature/13.3-outdated-datasets","ref":"feature/13.3-outdated-datasets","sha":"056034884c336766b55dcbdac72f846073914ca9","user":{"login":"keitaroinc","id":15183303,"node_id":"MDEyOk9yZ2FuaXphdGlvbjE1MTgzMzAz","avatar_url":"https://avatars1.githubusercontent.com/u/15183303?v=4","gravatar_id":"","url":"https://api.github.com/users/keitaroinc","html_url":"https://github.com/keitaroinc","followers_url":"https://api.github.com/users/keitaroinc/followers","following_url":"https://api.github.com/users/keitaroinc/following{/other_user}","gists_url":"https://api.github.com/users/keitaroinc/gists{/gist_id}","starred_url":"https://api.github.com/users/keitaroinc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/keitaroinc/subscriptions","organizations_url":"https://api.github.com/users/keitaroinc/orgs","repos_url":"https://api.github.com/users/keitaroinc/repos","events_url":"https://api.github.com/users/keitaroinc/events{/privacy}","received_events_url":"https://api.github.com/users/keitaroinc/received_events","type":"Organization","site_admin":false},"repo":{"id":133947194,"node_id":"MDEwOlJlcG9zaXRvcnkxMzM5NDcxOTQ=","name":"ckanext-datagovmk","full_name":"keitaroinc/ckanext-datagovmk","owner":{"login":"keitaroinc","id":15183303,"node_id":"MDEyOk9yZ2FuaXphdGlvbjE1MTgzMzAz","avatar_url":"https://avatars1.githubusercontent.com/u/15183303?v=4","gravatar_id":"","url":"https://api.github.com/users/keitaroinc","html_url":"https://github.com/keitaroinc","followers_url":"https://api.github.com/users/keitaroinc/followers","following_url":"https://api.github.com/users/keitaroinc/following{/other_user}","gists_url":"https://api.github.com/users/keitaroinc/gists{/gist_id}","starred_url":"https://api.github.com/users/keitaroinc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/keitaroinc/subscriptions","organizations_url":"https://api.github.com/users/keitaroinc/orgs","repos_url":"https://api.github.com/users/keitaroinc/repos","events_url":"https://api.github.com/users/keitaroinc/events{/privacy}","received_events_url":"https://api.github.com/users/keitaroinc/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/keitaroinc/ckanext-datagovmk","description":null,"fork":false,"url":"https://api.github.com/repos/keitaroinc/ckanext-datagovmk","forks_url":"https://api.github.com/repos/keitaroinc/ckanext-datagovmk/forks","keys_url":"https://api.github.com/repos/keitaroinc/ckanext-datagovmk/keys{/key_id}","collaborators_url":"https://api.github.com/repos/keitaroinc/ckanext-datagovmk/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/keitaroinc/ckanext-datagovmk/teams","hooks_url":"https://api.github.com/repos/keitaroinc/ckanext-datagovmk/hooks","issue_events_url":"https://api.github.com/repos/keitaroinc/ckanext-datagovmk/issues/events{/number}","events_url":"https://api.github.com/repos/keitaroinc/ckanext-datagovmk/events","assignees_url":"https://api.github.com/repos/keitaroinc/ckanext-datagovmk/assignees{/user}","branches_url":"https://api.github.com/repos/keitaroinc/ckanext-datagovmk/branches{/branch}","tags_url":"https://api.github.com/repos/keitaroinc/ckanext-datagovmk/tags","blobs_url":"https://api.github.com/repos/keitaroinc/ckanext-datagovmk/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/keitaroinc/ckanext-datagovmk/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/keitaroinc/ckanext-datagovmk/git/refs{/sha}","trees_url":"https://api.github.com/repos/keitaroinc/ckanext-datagovmk/git/trees{/sha}","statuses_url":"https://api.github.com/repos/keitaroinc/ckanext-datagovmk/statuses/{sha}","languages_url":"https://api.github.com/repos/keitaroinc/ckanext-datagovmk/languages","stargazers_url":"https://api.github.com/repos/keitaroinc/ckanext-datagovmk/stargazers","contributors_url":"https://api.github.com/repos/keitaroinc/ckanext-datagovmk/contributors","subscribers_url":"https://api.github.com/repos/keitaroinc/ckanext-datagovmk/subscribers","subscription_url":"https://api.github.com/repos/keitaroinc/ckanext-datagovmk/subscription","commits_url":"https://api.github.com/repos/keitaroinc/ckanext-datagovmk/commits{/sha}","git_commits_url":"https://api.github.com/repos/keitaroinc/ckanext-datagovmk/git/commits{/sha}","comments_url":"https://api.github.com/repos/keitaroinc/ckanext-datagovmk/comments{/number}","issue_comment_url":"https://api.github.com/repos/keitaroinc/ckanext-datagovmk/issues/comments{/number}","contents_url":"https://api.github.com/repos/keitaroinc/ckanext-datagovmk/contents/{+path}","compare_url":"https://api.github.com/repos/keitaroinc/ckanext-datagovmk/compare/{base}...{head}","merges_url":"https://api.github.com/repos/keitaroinc/ckanext-datagovmk/merges","archive_url":"https://api.github.com/repos/keitaroinc/ckanext-datagovmk/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/keitaroinc/ckanext-datagovmk/downloads","issues_url":"https://api.github.com/repos/keitaroinc/ckanext-datagovmk/issues{/number}","pulls_url":"https://api.github.com/repos/keitaroinc/ckanext-datagovmk/pulls{/number}","milestones_url":"https://api.github.com/repos/keitaroinc/ckanext-datagovmk/milestones{/number}","notifications_url":"https://api.github.com/repos/keitaroinc/ckanext-datagovmk/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/keitaroinc/ckanext-datagovmk/labels{/name}","releases_url":"https://api.github.com/repos/keitaroinc/ckanext-datagovmk/releases{/id}","deployments_url":"https://api.github.com/repos/keitaroinc/ckanext-datagovmk/deployments","created_at":"2018-05-18T11:45:56Z","updated_at":"2018-07-30T12:33:59Z","pushed_at":"2018-07-30T12:55:31Z","git_url":"git://github.com/keitaroinc/ckanext-datagovmk.git","ssh_url":"git@github.com:keitaroinc/ckanext-datagovmk.git","clone_url":"https://github.com/keitaroinc/ckanext-datagovmk.git","svn_url":"https://github.com/keitaroinc/ckanext-datagovmk","homepage":null,"size":1112,"stargazers_count":2,"watchers_count":2,"language":"Python","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":1,"license":{"key":"agpl-3.0","name":"GNU Affero General Public License v3.0","spdx_id":"AGPL-3.0","url":"https://api.github.com/licenses/agpl-3.0","node_id":"MDc6TGljZW5zZTE="},"forks":0,"open_issues":1,"watchers":2,"default_branch":"master"}},"base":{"label":"keitaroinc:master","ref":"master","sha":"69063398dffb624a1273dc4d00301c66ec882c41","user":{"login":"keitaroinc","id":15183303,"node_id":"MDEyOk9yZ2FuaXphdGlvbjE1MTgzMzAz","avatar_url":"https://avatars1.githubusercontent.com/u/15183303?v=4","gravatar_id":"","url":"https://api.github.com/users/keitaroinc","html_url":"https://github.com/keitaroinc","followers_url":"https://api.github.com/users/keitaroinc/followers","following_url":"https://api.github.com/users/keitaroinc/following{/other_user}","gists_url":"https://api.github.com/users/keitaroinc/gists{/gist_id}","starred_url":"https://api.github.com/users/keitaroinc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/keitaroinc/subscriptions","organizations_url":"https://api.github.com/users/keitaroinc/orgs","repos_url":"https://api.github.com/users/keitaroinc/repos","events_url":"https://api.github.com/users/keitaroinc/events{/privacy}","received_events_url":"https://api.github.com/users/keitaroinc/received_events","type":"Organization","site_admin":false},"repo":{"id":133947194,"node_id":"MDEwOlJlcG9zaXRvcnkxMzM5NDcxOTQ=","name":"ckanext-datagovmk","full_name":"keitaroinc/ckanext-datagovmk","owner":{"login":"keitaroinc","id":15183303,"node_id":"MDEyOk9yZ2FuaXphdGlvbjE1MTgzMzAz","avatar_url":"https://avatars1.githubusercontent.com/u/15183303?v=4","gravatar_id":"","url":"https://api.github.com/users/keitaroinc","html_url":"https://github.com/keitaroinc","followers_url":"https://api.github.com/users/keitaroinc/followers","following_url":"https://api.github.com/users/keitaroinc/following{/other_user}","gists_url":"https://api.github.com/users/keitaroinc/gists{/gist_id}","starred_url":"https://api.github.com/users/keitaroinc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/keitaroinc/subscriptions","organizations_url":"https://api.github.com/users/keitaroinc/orgs","repos_url":"https://api.github.com/users/keitaroinc/repos","events_url":"https://api.github.com/users/keitaroinc/events{/privacy}","received_events_url":"https://api.github.com/users/keitaroinc/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/keitaroinc/ckanext-datagovmk","description":null,"fork":false,"url":"https://api.github.com/repos/keitaroinc/ckanext-datagovmk","forks_url":"https://api.github.com/repos/keitaroinc/ckanext-datagovmk/forks","keys_url":"https://api.github.com/repos/keitaroinc/ckanext-datagovmk/keys{/key_id}","collaborators_url":"https://api.github.com/repos/keitaroinc/ckanext-datagovmk/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/keitaroinc/ckanext-datagovmk/teams","hooks_url":"https://api.github.com/repos/keitaroinc/ckanext-datagovmk/hooks","issue_events_url":"https://api.github.com/repos/keitaroinc/ckanext-datagovmk/issues/events{/number}","events_url":"https://api.github.com/repos/keitaroinc/ckanext-datagovmk/events","assignees_url":"https://api.github.com/repos/keitaroinc/ckanext-datagovmk/assignees{/user}","branches_url":"https://api.github.com/repos/keitaroinc/ckanext-datagovmk/branches{/branch}","tags_url":"https://api.github.com/repos/keitaroinc/ckanext-datagovmk/tags","blobs_url":"https://api.github.com/repos/keitaroinc/ckanext-datagovmk/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/keitaroinc/ckanext-datagovmk/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/keitaroinc/ckanext-datagovmk/git/refs{/sha}","trees_url":"https://api.github.com/repos/keitaroinc/ckanext-datagovmk/git/trees{/sha}","statuses_url":"https://api.github.com/repos/keitaroinc/ckanext-datagovmk/statuses/{sha}","languages_url":"https://api.github.com/repos/keitaroinc/ckanext-datagovmk/languages","stargazers_url":"https://api.github.com/repos/keitaroinc/ckanext-datagovmk/stargazers","contributors_url":"https://api.github.com/repos/keitaroinc/ckanext-datagovmk/contributors","subscribers_url":"https://api.github.com/repos/keitaroinc/ckanext-datagovmk/subscribers","subscription_url":"https://api.github.com/repos/keitaroinc/ckanext-datagovmk/subscription","commits_url":"https://api.github.com/repos/keitaroinc/ckanext-datagovmk/commits{/sha}","git_commits_url":"https://api.github.com/repos/keitaroinc/ckanext-datagovmk/git/commits{/sha}","comments_url":"https://api.github.com/repos/keitaroinc/ckanext-datagovmk/comments{/number}","issue_comment_url":"https://api.github.com/repos/keitaroinc/ckanext-datagovmk/issues/comments{/number}","contents_url":"https://api.github.com/repos/keitaroinc/ckanext-datagovmk/contents/{+path}","compare_url":"https://api.github.com/repos/keitaroinc/ckanext-datagovmk/compare/{base}...{head}","merges_url":"https://api.github.com/repos/keitaroinc/ckanext-datagovmk/merges","archive_url":"https://api.github.com/repos/keitaroinc/ckanext-datagovmk/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/keitaroinc/ckanext-datagovmk/downloads","issues_url":"https://api.github.com/repos/keitaroinc/ckanext-datagovmk/issues{/number}","pulls_url":"https://api.github.com/repos/keitaroinc/ckanext-datagovmk/pulls{/number}","milestones_url":"https://api.github.com/repos/keitaroinc/ckanext-datagovmk/milestones{/number}","notifications_url":"https://api.github.com/repos/keitaroinc/ckanext-datagovmk/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/keitaroinc/ckanext-datagovmk/labels{/name}","releases_url":"https://api.github.com/repos/keitaroinc/ckanext-datagovmk/releases{/id}","deployments_url":"https://api.github.com/repos/keitaroinc/ckanext-datagovmk/deployments","created_at":"2018-05-18T11:45:56Z","updated_at":"2018-07-30T12:33:59Z","pushed_at":"2018-07-30T12:55:31Z","git_url":"git://github.com/keitaroinc/ckanext-datagovmk.git","ssh_url":"git@github.com:keitaroinc/ckanext-datagovmk.git","clone_url":"https://github.com/keitaroinc/ckanext-datagovmk.git","svn_url":"https://github.com/keitaroinc/ckanext-datagovmk","homepage":null,"size":1112,"stargazers_count":2,"watchers_count":2,"language":"Python","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":1,"license":{"key":"agpl-3.0","name":"GNU Affero General Public License v3.0","spdx_id":"AGPL-3.0","url":"https://api.github.com/licenses/agpl-3.0","node_id":"MDc6TGljZW5zZTE="},"forks":0,"open_issues":1,"watchers":2,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/keitaroinc/ckanext-datagovmk/pulls/32"},"html":{"href":"https://github.com/keitaroinc/ckanext-datagovmk/pull/32"},"issue":{"href":"https://api.github.com/repos/keitaroinc/ckanext-datagovmk/issues/32"},"comments":{"href":"https://api.github.com/repos/keitaroinc/ckanext-datagovmk/issues/32/comments"},"review_comments":{"href":"https://api.github.com/repos/keitaroinc/ckanext-datagovmk/pulls/32/comments"},"review_comment":{"href":"https://api.github.com/repos/keitaroinc/ckanext-datagovmk/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/keitaroinc/ckanext-datagovmk/pulls/32/commits"},"statuses":{"href":"https://api.github.com/repos/keitaroinc/ckanext-datagovmk/statuses/056034884c336766b55dcbdac72f846073914ca9"}},"author_association":"MEMBER","merged":false,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"maintainer_can_modify":false,"commits":5,"additions":242,"deletions":0,"changed_files":4}}
{"actor":{"display_login":"natemago"}}