{"action":"created","issue":{"url":"https://api.github.com/repos/dnouri/skorch/issues/345","repository_url":"https://api.github.com/repos/dnouri/skorch","labels_url":"https://api.github.com/repos/dnouri/skorch/issues/345/labels{/name}","comments_url":"https://api.github.com/repos/dnouri/skorch/issues/345/comments","events_url":"https://api.github.com/repos/dnouri/skorch/issues/345/events","html_url":"https://github.com/dnouri/skorch/pull/345","id":360388208,"node_id":"MDExOlB1bGxSZXF1ZXN0MjE1NjU5MzQ4","number":345,"title":"BUG: Uses rm -f when removing files in CI when caching","user":{"login":"thomasjpfan","id":5402633,"node_id":"MDQ6VXNlcjU0MDI2MzM=","avatar_url":"https://avatars2.githubusercontent.com/u/5402633?v=4","gravatar_id":"","url":"https://api.github.com/users/thomasjpfan","html_url":"https://github.com/thomasjpfan","followers_url":"https://api.github.com/users/thomasjpfan/followers","following_url":"https://api.github.com/users/thomasjpfan/following{/other_user}","gists_url":"https://api.github.com/users/thomasjpfan/gists{/gist_id}","starred_url":"https://api.github.com/users/thomasjpfan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/thomasjpfan/subscriptions","organizations_url":"https://api.github.com/users/thomasjpfan/orgs","repos_url":"https://api.github.com/users/thomasjpfan/repos","events_url":"https://api.github.com/users/thomasjpfan/events{/privacy}","received_events_url":"https://api.github.com/users/thomasjpfan/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-09-14T17:19:30Z","updated_at":"2018-09-15T14:35:46Z","closed_at":null,"author_association":"CONTRIBUTOR","pull_request":{"url":"https://api.github.com/repos/dnouri/skorch/pulls/345","html_url":"https://github.com/dnouri/skorch/pull/345","diff_url":"https://github.com/dnouri/skorch/pull/345.diff","patch_url":"https://github.com/dnouri/skorch/pull/345.patch"},"body":""},"comment":{"url":"https://api.github.com/repos/dnouri/skorch/issues/comments/421579754","html_url":"https://github.com/dnouri/skorch/pull/345#issuecomment-421579754","issue_url":"https://api.github.com/repos/dnouri/skorch/issues/345","id":421579754,"node_id":"MDEyOklzc3VlQ29tbWVudDQyMTU3OTc1NA==","user":{"login":"thomasjpfan","id":5402633,"node_id":"MDQ6VXNlcjU0MDI2MzM=","avatar_url":"https://avatars2.githubusercontent.com/u/5402633?v=4","gravatar_id":"","url":"https://api.github.com/users/thomasjpfan","html_url":"https://github.com/thomasjpfan","followers_url":"https://api.github.com/users/thomasjpfan/followers","following_url":"https://api.github.com/users/thomasjpfan/following{/other_user}","gists_url":"https://api.github.com/users/thomasjpfan/gists{/gist_id}","starred_url":"https://api.github.com/users/thomasjpfan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/thomasjpfan/subscriptions","organizations_url":"https://api.github.com/users/thomasjpfan/orgs","repos_url":"https://api.github.com/users/thomasjpfan/repos","events_url":"https://api.github.com/users/thomasjpfan/events{/privacy}","received_events_url":"https://api.github.com/users/thomasjpfan/received_events","type":"User","site_admin":false},"created_at":"2018-09-15T14:35:46Z","updated_at":"2018-09-15T14:35:46Z","author_association":"CONTRIBUTOR","body":"In https://travis-ci.org/dnouri/skorch/jobs/428672872, I saw the following:\r\n\r\n> rm: remove write-protected regular file ‘/home/travis/conda/pkgs/mkl-2019.0-117/info/LICENSE.txt’\r\n\r\nWhen there is no cache, the files can be removed without error because they are writable. When the files were restored from cache, I suspect that travis makes them not writable. In this case, all `rm` commands would need user confirmation to proceed.. Adding `rm -f` forces the removal without prompting the user.\r\n\r\nAs a side note, the `find ...` command, removes all directories from the `conda/pkg` directory, this leaves behind all the compressed packages. In the previous version of caching, all the files in every directory were being restored from cache, which took a long time."}}
{"actor":{"display_login":"thomasjpfan"}}