{"action":"created","issue":{"url":"https://api.github.com/repos/robvdl/pyramidcms/issues/40","labels_url":"https://api.github.com/repos/robvdl/pyramidcms/issues/40/labels{/name}","comments_url":"https://api.github.com/repos/robvdl/pyramidcms/issues/40/comments","events_url":"https://api.github.com/repos/robvdl/pyramidcms/issues/40/events","html_url":"https://github.com/robvdl/pyramidcms/issues/40","id":72792453,"number":40,"title":"collectstatic: option to clear existing files first (--clear or -c)","user":{"login":"robvdl","id":1018674,"avatar_url":"https://avatars.githubusercontent.com/u/1018674?v=3","gravatar_id":"","url":"https://api.github.com/users/robvdl","html_url":"https://github.com/robvdl","followers_url":"https://api.github.com/users/robvdl/followers","following_url":"https://api.github.com/users/robvdl/following{/other_user}","gists_url":"https://api.github.com/users/robvdl/gists{/gist_id}","starred_url":"https://api.github.com/users/robvdl/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/robvdl/subscriptions","organizations_url":"https://api.github.com/users/robvdl/orgs","repos_url":"https://api.github.com/users/robvdl/repos","events_url":"https://api.github.com/users/robvdl/events{/privacy}","received_events_url":"https://api.github.com/users/robvdl/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":{"login":"johndanielcurley","id":7684859,"avatar_url":"https://avatars.githubusercontent.com/u/7684859?v=3","gravatar_id":"","url":"https://api.github.com/users/johndanielcurley","html_url":"https://github.com/johndanielcurley","followers_url":"https://api.github.com/users/johndanielcurley/followers","following_url":"https://api.github.com/users/johndanielcurley/following{/other_user}","gists_url":"https://api.github.com/users/johndanielcurley/gists{/gist_id}","starred_url":"https://api.github.com/users/johndanielcurley/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/johndanielcurley/subscriptions","organizations_url":"https://api.github.com/users/johndanielcurley/orgs","repos_url":"https://api.github.com/users/johndanielcurley/repos","events_url":"https://api.github.com/users/johndanielcurley/events{/privacy}","received_events_url":"https://api.github.com/users/johndanielcurley/received_events","type":"User","site_admin":false},"milestone":null,"comments":1,"created_at":"2015-05-03T11:25:34Z","updated_at":"2015-05-12T10:26:05Z","closed_at":null,"body":"just like Django's command"},"comment":{"url":"https://api.github.com/repos/robvdl/pyramidcms/issues/comments/101227692","html_url":"https://github.com/robvdl/pyramidcms/issues/40#issuecomment-101227692","issue_url":"https://api.github.com/repos/robvdl/pyramidcms/issues/40","id":101227692,"user":{"login":"robvdl","id":1018674,"avatar_url":"https://avatars.githubusercontent.com/u/1018674?v=3","gravatar_id":"","url":"https://api.github.com/users/robvdl","html_url":"https://github.com/robvdl","followers_url":"https://api.github.com/users/robvdl/followers","following_url":"https://api.github.com/users/robvdl/following{/other_user}","gists_url":"https://api.github.com/users/robvdl/gists{/gist_id}","starred_url":"https://api.github.com/users/robvdl/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/robvdl/subscriptions","organizations_url":"https://api.github.com/users/robvdl/orgs","repos_url":"https://api.github.com/users/robvdl/repos","events_url":"https://api.github.com/users/robvdl/events{/privacy}","received_events_url":"https://api.github.com/users/robvdl/received_events","type":"User","site_admin":false},"created_at":"2015-05-12T10:26:05Z","updated_at":"2015-05-12T10:26:05Z","body":"this one should be quite straight forward:\r\n\r\n* add an option flag to the collectstatic command (--clear and -c should both work)\r\n* this flag, when set should clear the contents of the collection dir including subfolders (but not delete the collection dir itself)"}}