{"action":"created","issue":{"url":"https://api.github.com/repos/parnustk/lisbackend/issues/275","repository_url":"https://api.github.com/repos/parnustk/lisbackend","labels_url":"https://api.github.com/repos/parnustk/lisbackend/issues/275/labels{/name}","comments_url":"https://api.github.com/repos/parnustk/lisbackend/issues/275/comments","events_url":"https://api.github.com/repos/parnustk/lisbackend/issues/275/events","html_url":"https://github.com/parnustk/lisbackend/issues/275","id":159572632,"number":275,"title":"BackupdDb delete dumpfiles older than a week","user":{"login":"reposandermets","id":13116324,"avatar_url":"https://avatars.githubusercontent.com/u/13116324?v=3","gravatar_id":"","url":"https://api.github.com/users/reposandermets","html_url":"https://github.com/reposandermets","followers_url":"https://api.github.com/users/reposandermets/followers","following_url":"https://api.github.com/users/reposandermets/following{/other_user}","gists_url":"https://api.github.com/users/reposandermets/gists{/gist_id}","starred_url":"https://api.github.com/users/reposandermets/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/reposandermets/subscriptions","organizations_url":"https://api.github.com/users/reposandermets/orgs","repos_url":"https://api.github.com/users/reposandermets/repos","events_url":"https://api.github.com/users/reposandermets/events{/privacy}","received_events_url":"https://api.github.com/users/reposandermets/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/parnustk/lisbackend/labels/BE%20development","name":"BE development","color":"0052cc"}],"state":"closed","locked":false,"assignee":{"login":"MartenKahr","id":15198562,"avatar_url":"https://avatars.githubusercontent.com/u/15198562?v=3","gravatar_id":"","url":"https://api.github.com/users/MartenKahr","html_url":"https://github.com/MartenKahr","followers_url":"https://api.github.com/users/MartenKahr/followers","following_url":"https://api.github.com/users/MartenKahr/following{/other_user}","gists_url":"https://api.github.com/users/MartenKahr/gists{/gist_id}","starred_url":"https://api.github.com/users/MartenKahr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MartenKahr/subscriptions","organizations_url":"https://api.github.com/users/MartenKahr/orgs","repos_url":"https://api.github.com/users/MartenKahr/repos","events_url":"https://api.github.com/users/MartenKahr/events{/privacy}","received_events_url":"https://api.github.com/users/MartenKahr/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/parnustk/lisbackend/milestones/19","html_url":"https://github.com/parnustk/lisbackend/milestones/1.0.0","labels_url":"https://api.github.com/repos/parnustk/lisbackend/milestones/19/labels","id":1772167,"number":19,"title":"1.0.0","description":"","creator":{"login":"reposandermets","id":13116324,"avatar_url":"https://avatars.githubusercontent.com/u/13116324?v=3","gravatar_id":"","url":"https://api.github.com/users/reposandermets","html_url":"https://github.com/reposandermets","followers_url":"https://api.github.com/users/reposandermets/followers","following_url":"https://api.github.com/users/reposandermets/following{/other_user}","gists_url":"https://api.github.com/users/reposandermets/gists{/gist_id}","starred_url":"https://api.github.com/users/reposandermets/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/reposandermets/subscriptions","organizations_url":"https://api.github.com/users/reposandermets/orgs","repos_url":"https://api.github.com/users/reposandermets/repos","events_url":"https://api.github.com/users/reposandermets/events{/privacy}","received_events_url":"https://api.github.com/users/reposandermets/received_events","type":"User","site_admin":false},"open_issues":15,"closed_issues":7,"state":"open","created_at":"2016-05-17T17:24:10Z","updated_at":"2016-06-11T09:10:38Z","due_on":"2016-06-14T21:00:00Z","closed_at":null},"comments":1,"created_at":"2016-06-10T07:05:58Z","updated_at":"2016-06-11T09:10:38Z","closed_at":"2016-06-11T09:10:38Z","body":"Please remove dumpfiles what are more than week old - both generated and uploaded dumps.\r\n\r\ncode hint:\r\n$date     = new DateTime($filedateString);\r\n$interval = new DateInterval('P1W');\r\n\r\nif(! (new DateTime() < $date->add($interval))){//new DateTime is TODAY\r\n    //delete the file\r\n}\r\n\r\n[http://stackoverflow.com/questions/17068380/php-get-date-a-week-ago](http://stackoverflow.com/questions/17068380/php-get-date-a-week-ago)"},"comment":{"url":"https://api.github.com/repos/parnustk/lisbackend/issues/comments/225346159","html_url":"https://github.com/parnustk/lisbackend/issues/275#issuecomment-225346159","issue_url":"https://api.github.com/repos/parnustk/lisbackend/issues/275","id":225346159,"user":{"login":"MartenKahr","id":15198562,"avatar_url":"https://avatars.githubusercontent.com/u/15198562?v=3","gravatar_id":"","url":"https://api.github.com/users/MartenKahr","html_url":"https://github.com/MartenKahr","followers_url":"https://api.github.com/users/MartenKahr/followers","following_url":"https://api.github.com/users/MartenKahr/following{/other_user}","gists_url":"https://api.github.com/users/MartenKahr/gists{/gist_id}","starred_url":"https://api.github.com/users/MartenKahr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MartenKahr/subscriptions","organizations_url":"https://api.github.com/users/MartenKahr/orgs","repos_url":"https://api.github.com/users/MartenKahr/repos","events_url":"https://api.github.com/users/MartenKahr/events{/privacy}","received_events_url":"https://api.github.com/users/MartenKahr/received_events","type":"User","site_admin":false},"created_at":"2016-06-11T09:10:38Z","updated_at":"2016-06-11T09:10:38Z","body":"Closed"}}
{"actor":{"display_login":"MartenKahr"}}