{"action":"created","issue":{"url":"https://api.github.com/repos/dynup/kpatch/issues/886","repository_url":"https://api.github.com/repos/dynup/kpatch","labels_url":"https://api.github.com/repos/dynup/kpatch/issues/886/labels{/name}","comments_url":"https://api.github.com/repos/dynup/kpatch/issues/886/comments","events_url":"https://api.github.com/repos/dynup/kpatch/issues/886/events","html_url":"https://github.com/dynup/kpatch/pull/886","id":333299382,"node_id":"MDExOlB1bGxSZXF1ZXN0MTk1NTQ3ODI4","number":886,"title":"kpatch-build: less agressive clean_cache()","user":{"login":"sm00th","id":194702,"node_id":"MDQ6VXNlcjE5NDcwMg==","avatar_url":"https://avatars2.githubusercontent.com/u/194702?v=4","gravatar_id":"","url":"https://api.github.com/users/sm00th","html_url":"https://github.com/sm00th","followers_url":"https://api.github.com/users/sm00th/followers","following_url":"https://api.github.com/users/sm00th/following{/other_user}","gists_url":"https://api.github.com/users/sm00th/gists{/gist_id}","starred_url":"https://api.github.com/users/sm00th/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sm00th/subscriptions","organizations_url":"https://api.github.com/users/sm00th/orgs","repos_url":"https://api.github.com/users/sm00th/repos","events_url":"https://api.github.com/users/sm00th/events{/privacy}","received_events_url":"https://api.github.com/users/sm00th/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-06-18T14:40:47Z","updated_at":"2018-06-18T15:03:34Z","closed_at":null,"author_association":"CONTRIBUTOR","pull_request":{"url":"https://api.github.com/repos/dynup/kpatch/pulls/886","html_url":"https://github.com/dynup/kpatch/pull/886","diff_url":"https://github.com/dynup/kpatch/pull/886.diff","patch_url":"https://github.com/dynup/kpatch/pull/886.patch"},"body":"Some of the provisioned machines I sometimes use don't have enought\r\ndiskspace for a full kpatch-patch build in a home partitions, I usually\r\nsolve this by symlinking .kpatch(and .ccache) dirs to a different\r\npartition, however this only works with -s option because of\r\nclean_cache().\r\n\r\nclean_cache() currently removes .kpatch directory completely, recreating\r\nit from scratch, change it to only remove the contents of the directory\r\ninstead.\r\n\r\nSigned-off-by: Artem Savkov <asavkov@redhat.com>"},"comment":{"url":"https://api.github.com/repos/dynup/kpatch/issues/comments/398085708","html_url":"https://github.com/dynup/kpatch/pull/886#issuecomment-398085708","issue_url":"https://api.github.com/repos/dynup/kpatch/issues/886","id":398085708,"node_id":"MDEyOklzc3VlQ29tbWVudDM5ODA4NTcwOA==","user":{"login":"sm00th","id":194702,"node_id":"MDQ6VXNlcjE5NDcwMg==","avatar_url":"https://avatars2.githubusercontent.com/u/194702?v=4","gravatar_id":"","url":"https://api.github.com/users/sm00th","html_url":"https://github.com/sm00th","followers_url":"https://api.github.com/users/sm00th/followers","following_url":"https://api.github.com/users/sm00th/following{/other_user}","gists_url":"https://api.github.com/users/sm00th/gists{/gist_id}","starred_url":"https://api.github.com/users/sm00th/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sm00th/subscriptions","organizations_url":"https://api.github.com/users/sm00th/orgs","repos_url":"https://api.github.com/users/sm00th/repos","events_url":"https://api.github.com/users/sm00th/events{/privacy}","received_events_url":"https://api.github.com/users/sm00th/received_events","type":"User","site_admin":false},"created_at":"2018-06-18T15:03:34Z","updated_at":"2018-06-18T15:03:34Z","author_association":"CONTRIBUTOR","body":"v2: `$CACHEDIR` -> `${CACHEDIR:?}` as suggested by shellcheck"}}
{"actor":{"display_login":"sm00th"}}