{"action":"created","issue":{"url":"https://api.github.com/repos/uisautomation/media-webapp/issues/352","repository_url":"https://api.github.com/repos/uisautomation/media-webapp","labels_url":"https://api.github.com/repos/uisautomation/media-webapp/issues/352/labels{/name}","comments_url":"https://api.github.com/repos/uisautomation/media-webapp/issues/352/comments","events_url":"https://api.github.com/repos/uisautomation/media-webapp/issues/352/events","html_url":"https://github.com/uisautomation/media-webapp/issues/352","id":368147387,"node_id":"MDU6SXNzdWUzNjgxNDczODc=","number":352,"title":"updated_at for media items is useless","user":{"login":"rjw57","id":146860,"node_id":"MDQ6VXNlcjE0Njg2MA==","avatar_url":"https://avatars0.githubusercontent.com/u/146860?v=4","gravatar_id":"","url":"https://api.github.com/users/rjw57","html_url":"https://github.com/rjw57","followers_url":"https://api.github.com/users/rjw57/followers","following_url":"https://api.github.com/users/rjw57/following{/other_user}","gists_url":"https://api.github.com/users/rjw57/gists{/gist_id}","starred_url":"https://api.github.com/users/rjw57/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rjw57/subscriptions","organizations_url":"https://api.github.com/users/rjw57/orgs","repos_url":"https://api.github.com/users/rjw57/repos","events_url":"https://api.github.com/users/rjw57/events{/privacy}","received_events_url":"https://api.github.com/users/rjw57/received_events","type":"User","site_admin":false},"labels":[{"id":983793628,"node_id":"MDU6TGFiZWw5ODM3OTM2Mjg=","url":"https://api.github.com/repos/uisautomation/media-webapp/labels/spike","name":"spike","color":"1d76db","default":false},{"id":1064801634,"node_id":"MDU6TGFiZWwxMDY0ODAxNjM0","url":"https://api.github.com/repos/uisautomation/media-webapp/labels/urgent","name":"urgent","color":"d93f0b","default":false}],"state":"closed","locked":false,"assignee":{"login":"rjw57","id":146860,"node_id":"MDQ6VXNlcjE0Njg2MA==","avatar_url":"https://avatars0.githubusercontent.com/u/146860?v=4","gravatar_id":"","url":"https://api.github.com/users/rjw57","html_url":"https://github.com/rjw57","followers_url":"https://api.github.com/users/rjw57/followers","following_url":"https://api.github.com/users/rjw57/following{/other_user}","gists_url":"https://api.github.com/users/rjw57/gists{/gist_id}","starred_url":"https://api.github.com/users/rjw57/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rjw57/subscriptions","organizations_url":"https://api.github.com/users/rjw57/orgs","repos_url":"https://api.github.com/users/rjw57/repos","events_url":"https://api.github.com/users/rjw57/events{/privacy}","received_events_url":"https://api.github.com/users/rjw57/received_events","type":"User","site_admin":false},"assignees":[{"login":"rjw57","id":146860,"node_id":"MDQ6VXNlcjE0Njg2MA==","avatar_url":"https://avatars0.githubusercontent.com/u/146860?v=4","gravatar_id":"","url":"https://api.github.com/users/rjw57","html_url":"https://github.com/rjw57","followers_url":"https://api.github.com/users/rjw57/followers","following_url":"https://api.github.com/users/rjw57/following{/other_user}","gists_url":"https://api.github.com/users/rjw57/gists{/gist_id}","starred_url":"https://api.github.com/users/rjw57/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rjw57/subscriptions","organizations_url":"https://api.github.com/users/rjw57/orgs","repos_url":"https://api.github.com/users/rjw57/repos","events_url":"https://api.github.com/users/rjw57/events{/privacy}","received_events_url":"https://api.github.com/users/rjw57/received_events","type":"User","site_admin":false}],"milestone":null,"comments":1,"created_at":"2018-10-09T10:40:00Z","updated_at":"2018-10-15T08:33:17Z","closed_at":"2018-10-15T08:33:17Z","author_association":"MEMBER","body":"> This issue blocks uisautomation/sms-ansible#15.\r\n\r\nWhile developing a backup script it was noted that the updated_at timestamps for all of our videos are suspiciously close in time to each other. It looks like jwpfetch is always .save()-ing media items even if no changes have been applied. There should be [code which prevents this](https://github.com/uisautomation/media-webapp/blob/master/mediaplatform_jwp/sync.py#L209) but it is not working.\r\n\r\nExample of failure:\r\n\r\n```pycon\r\nIn [2]: print('\\n'.join([f'{obj.updated_at}' for obj in MediaItem.objects.order_by('-updated_at')[:30]]))\r\n2018-10-09 09:55:32.483232+00:00\r\n2018-10-09 09:55:32.474620+00:00\r\n2018-10-09 09:55:32.462189+00:00\r\n2018-10-09 09:55:32.447008+00:00\r\n2018-10-09 09:55:32.440483+00:00\r\n2018-10-09 09:55:32.434308+00:00\r\n2018-10-09 09:55:32.427608+00:00\r\n2018-10-09 09:55:32.421569+00:00\r\n2018-10-09 09:55:32.414902+00:00\r\n2018-10-09 09:55:32.408636+00:00\r\n2018-10-09 09:55:32.401905+00:00\r\n2018-10-09 09:55:32.393109+00:00\r\n2018-10-09 09:55:32.386552+00:00\r\n2018-10-09 09:55:32.379801+00:00\r\n2018-10-09 09:55:32.372784+00:00\r\n2018-10-09 09:55:32.365459+00:00\r\n2018-10-09 09:55:32.359301+00:00\r\n2018-10-09 09:55:32.353083+00:00\r\n2018-10-09 09:55:32.346787+00:00\r\n2018-10-09 09:55:32.339421+00:00\r\n2018-10-09 09:55:32.331118+00:00\r\n2018-10-09 09:55:32.323055+00:00\r\n2018-10-09 09:55:32.316389+00:00\r\n2018-10-09 09:55:32.310051+00:00\r\n2018-10-09 09:55:32.302958+00:00\r\n2018-10-09 09:55:32.296281+00:00\r\n2018-10-09 09:55:32.289998+00:00\r\n2018-10-09 09:55:32.283466+00:00\r\n2018-10-09 09:55:32.276725+00:00\r\n2018-10-09 09:55:32.268261+00:00\r\n\r\nIn [3]: MediaItem.objects.filter(updated_at__gt='2018-08-03 10:00:00+00:00').count()\r\nOut[3]: 35308\r\n```"},"comment":{"url":"https://api.github.com/repos/uisautomation/media-webapp/issues/comments/429755179","html_url":"https://github.com/uisautomation/media-webapp/issues/352#issuecomment-429755179","issue_url":"https://api.github.com/repos/uisautomation/media-webapp/issues/352","id":429755179,"node_id":"MDEyOklzc3VlQ29tbWVudDQyOTc1NTE3OQ==","user":{"login":"rjw57","id":146860,"node_id":"MDQ6VXNlcjE0Njg2MA==","avatar_url":"https://avatars0.githubusercontent.com/u/146860?v=4","gravatar_id":"","url":"https://api.github.com/users/rjw57","html_url":"https://github.com/rjw57","followers_url":"https://api.github.com/users/rjw57/followers","following_url":"https://api.github.com/users/rjw57/following{/other_user}","gists_url":"https://api.github.com/users/rjw57/gists{/gist_id}","starred_url":"https://api.github.com/users/rjw57/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rjw57/subscriptions","organizations_url":"https://api.github.com/users/rjw57/orgs","repos_url":"https://api.github.com/users/rjw57/repos","events_url":"https://api.github.com/users/rjw57/events{/privacy}","received_events_url":"https://api.github.com/users/rjw57/received_events","type":"User","site_admin":false},"created_at":"2018-10-15T08:33:17Z","updated_at":"2018-10-15T08:33:17Z","author_association":"MEMBER","body":"Now closed."}}
{"actor":{"display_login":"rjw57"}}