{"action":"closed","number":17,"pull_request":{"url":"https://api.github.com/repos/emender/emender/pulls/17","id":53971087,"html_url":"https://github.com/emender/emender/pull/17","diff_url":"https://github.com/emender/emender/pull/17.diff","patch_url":"https://github.com/emender/emender/pull/17.patch","issue_url":"https://api.github.com/repos/emender/emender/issues/17","number":17,"state":"closed","locked":false,"title":"Added functions which handle working directories for emender.","user":{"login":"vomyy","id":9040976,"avatar_url":"https://avatars.githubusercontent.com/u/9040976?v=3","gravatar_id":"","url":"https://api.github.com/users/vomyy","html_url":"https://github.com/vomyy","followers_url":"https://api.github.com/users/vomyy/followers","following_url":"https://api.github.com/users/vomyy/following{/other_user}","gists_url":"https://api.github.com/users/vomyy/gists{/gist_id}","starred_url":"https://api.github.com/users/vomyy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vomyy/subscriptions","organizations_url":"https://api.github.com/users/vomyy/orgs","repos_url":"https://api.github.com/users/vomyy/repos","events_url":"https://api.github.com/users/vomyy/events{/privacy}","received_events_url":"https://api.github.com/users/vomyy/received_events","type":"User","site_admin":false},"body":"Add these new features:\r\n- Emender can create its own working directory in /home/user/.cache/emender . It useful for Emender data which are  used in tests and books.\r\n- By running emend in a directory emender creates working directory. This directory name depends on where the script was run. So If you run the emend command again you will get the same working directory. So, this working directory is useful for saving book-related data (i.e.  for caching).\r\n\r\nThree new parameters:\r\n--clean-current-workdir  : removes working directory for current directory.\r\n--clean-books-workdirs : removes all working directories in emender working directory.\r\n--clean-emender-workdir : removes whole emender working directory.","created_at":"2015-12-17T12:38:37Z","updated_at":"2015-12-17T15:46:54Z","closed_at":"2015-12-17T15:46:54Z","merged_at":"2015-12-17T15:46:54Z","merge_commit_sha":"6ecb864afac83f8f723003fca7237eb7dd3b09cf","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/emender/emender/pulls/17/commits","review_comments_url":"https://api.github.com/repos/emender/emender/pulls/17/comments","review_comment_url":"https://api.github.com/repos/emender/emender/pulls/comments{/number}","comments_url":"https://api.github.com/repos/emender/emender/issues/17/comments","statuses_url":"https://api.github.com/repos/emender/emender/statuses/b1ecece2c5edf26d64527cea4dafa575a212e0ca","head":{"label":"emender:work_dirs","ref":"work_dirs","sha":"b1ecece2c5edf26d64527cea4dafa575a212e0ca","user":{"login":"emender","id":8420643,"avatar_url":"https://avatars.githubusercontent.com/u/8420643?v=3","gravatar_id":"","url":"https://api.github.com/users/emender","html_url":"https://github.com/emender","followers_url":"https://api.github.com/users/emender/followers","following_url":"https://api.github.com/users/emender/following{/other_user}","gists_url":"https://api.github.com/users/emender/gists{/gist_id}","starred_url":"https://api.github.com/users/emender/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/emender/subscriptions","organizations_url":"https://api.github.com/users/emender/orgs","repos_url":"https://api.github.com/users/emender/repos","events_url":"https://api.github.com/users/emender/events{/privacy}","received_events_url":"https://api.github.com/users/emender/received_events","type":"Organization","site_admin":false},"repo":{"id":22852371,"name":"emender","full_name":"emender/emender","owner":{"login":"emender","id":8420643,"avatar_url":"https://avatars.githubusercontent.com/u/8420643?v=3","gravatar_id":"","url":"https://api.github.com/users/emender","html_url":"https://github.com/emender","followers_url":"https://api.github.com/users/emender/followers","following_url":"https://api.github.com/users/emender/following{/other_user}","gists_url":"https://api.github.com/users/emender/gists{/gist_id}","starred_url":"https://api.github.com/users/emender/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/emender/subscriptions","organizations_url":"https://api.github.com/users/emender/orgs","repos_url":"https://api.github.com/users/emender/repos","events_url":"https://api.github.com/users/emender/events{/privacy}","received_events_url":"https://api.github.com/users/emender/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/emender/emender","description":"A test automation framework for product documentation","fork":false,"url":"https://api.github.com/repos/emender/emender","forks_url":"https://api.github.com/repos/emender/emender/forks","keys_url":"https://api.github.com/repos/emender/emender/keys{/key_id}","collaborators_url":"https://api.github.com/repos/emender/emender/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/emender/emender/teams","hooks_url":"https://api.github.com/repos/emender/emender/hooks","issue_events_url":"https://api.github.com/repos/emender/emender/issues/events{/number}","events_url":"https://api.github.com/repos/emender/emender/events","assignees_url":"https://api.github.com/repos/emender/emender/assignees{/user}","branches_url":"https://api.github.com/repos/emender/emender/branches{/branch}","tags_url":"https://api.github.com/repos/emender/emender/tags","blobs_url":"https://api.github.com/repos/emender/emender/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/emender/emender/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/emender/emender/git/refs{/sha}","trees_url":"https://api.github.com/repos/emender/emender/git/trees{/sha}","statuses_url":"https://api.github.com/repos/emender/emender/statuses/{sha}","languages_url":"https://api.github.com/repos/emender/emender/languages","stargazers_url":"https://api.github.com/repos/emender/emender/stargazers","contributors_url":"https://api.github.com/repos/emender/emender/contributors","subscribers_url":"https://api.github.com/repos/emender/emender/subscribers","subscription_url":"https://api.github.com/repos/emender/emender/subscription","commits_url":"https://api.github.com/repos/emender/emender/commits{/sha}","git_commits_url":"https://api.github.com/repos/emender/emender/git/commits{/sha}","comments_url":"https://api.github.com/repos/emender/emender/comments{/number}","issue_comment_url":"https://api.github.com/repos/emender/emender/issues/comments{/number}","contents_url":"https://api.github.com/repos/emender/emender/contents/{+path}","compare_url":"https://api.github.com/repos/emender/emender/compare/{base}...{head}","merges_url":"https://api.github.com/repos/emender/emender/merges","archive_url":"https://api.github.com/repos/emender/emender/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/emender/emender/downloads","issues_url":"https://api.github.com/repos/emender/emender/issues{/number}","pulls_url":"https://api.github.com/repos/emender/emender/pulls{/number}","milestones_url":"https://api.github.com/repos/emender/emender/milestones{/number}","notifications_url":"https://api.github.com/repos/emender/emender/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/emender/emender/labels{/name}","releases_url":"https://api.github.com/repos/emender/emender/releases{/id}","created_at":"2014-08-11T19:45:49Z","updated_at":"2015-11-08T15:38:22Z","pushed_at":"2015-12-17T15:46:54Z","git_url":"git://github.com/emender/emender.git","ssh_url":"git@github.com:emender/emender.git","clone_url":"https://github.com/emender/emender.git","svn_url":"https://github.com/emender/emender","homepage":null,"size":1003,"stargazers_count":8,"watchers_count":8,"language":"Lua","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":3,"mirror_url":null,"open_issues_count":4,"forks":3,"open_issues":4,"watchers":8,"default_branch":"master"}},"base":{"label":"emender:master","ref":"master","sha":"8447420e290a634da00e92e90b503d7322c55148","user":{"login":"emender","id":8420643,"avatar_url":"https://avatars.githubusercontent.com/u/8420643?v=3","gravatar_id":"","url":"https://api.github.com/users/emender","html_url":"https://github.com/emender","followers_url":"https://api.github.com/users/emender/followers","following_url":"https://api.github.com/users/emender/following{/other_user}","gists_url":"https://api.github.com/users/emender/gists{/gist_id}","starred_url":"https://api.github.com/users/emender/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/emender/subscriptions","organizations_url":"https://api.github.com/users/emender/orgs","repos_url":"https://api.github.com/users/emender/repos","events_url":"https://api.github.com/users/emender/events{/privacy}","received_events_url":"https://api.github.com/users/emender/received_events","type":"Organization","site_admin":false},"repo":{"id":22852371,"name":"emender","full_name":"emender/emender","owner":{"login":"emender","id":8420643,"avatar_url":"https://avatars.githubusercontent.com/u/8420643?v=3","gravatar_id":"","url":"https://api.github.com/users/emender","html_url":"https://github.com/emender","followers_url":"https://api.github.com/users/emender/followers","following_url":"https://api.github.com/users/emender/following{/other_user}","gists_url":"https://api.github.com/users/emender/gists{/gist_id}","starred_url":"https://api.github.com/users/emender/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/emender/subscriptions","organizations_url":"https://api.github.com/users/emender/orgs","repos_url":"https://api.github.com/users/emender/repos","events_url":"https://api.github.com/users/emender/events{/privacy}","received_events_url":"https://api.github.com/users/emender/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/emender/emender","description":"A test automation framework for product documentation","fork":false,"url":"https://api.github.com/repos/emender/emender","forks_url":"https://api.github.com/repos/emender/emender/forks","keys_url":"https://api.github.com/repos/emender/emender/keys{/key_id}","collaborators_url":"https://api.github.com/repos/emender/emender/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/emender/emender/teams","hooks_url":"https://api.github.com/repos/emender/emender/hooks","issue_events_url":"https://api.github.com/repos/emender/emender/issues/events{/number}","events_url":"https://api.github.com/repos/emender/emender/events","assignees_url":"https://api.github.com/repos/emender/emender/assignees{/user}","branches_url":"https://api.github.com/repos/emender/emender/branches{/branch}","tags_url":"https://api.github.com/repos/emender/emender/tags","blobs_url":"https://api.github.com/repos/emender/emender/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/emender/emender/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/emender/emender/git/refs{/sha}","trees_url":"https://api.github.com/repos/emender/emender/git/trees{/sha}","statuses_url":"https://api.github.com/repos/emender/emender/statuses/{sha}","languages_url":"https://api.github.com/repos/emender/emender/languages","stargazers_url":"https://api.github.com/repos/emender/emender/stargazers","contributors_url":"https://api.github.com/repos/emender/emender/contributors","subscribers_url":"https://api.github.com/repos/emender/emender/subscribers","subscription_url":"https://api.github.com/repos/emender/emender/subscription","commits_url":"https://api.github.com/repos/emender/emender/commits{/sha}","git_commits_url":"https://api.github.com/repos/emender/emender/git/commits{/sha}","comments_url":"https://api.github.com/repos/emender/emender/comments{/number}","issue_comment_url":"https://api.github.com/repos/emender/emender/issues/comments{/number}","contents_url":"https://api.github.com/repos/emender/emender/contents/{+path}","compare_url":"https://api.github.com/repos/emender/emender/compare/{base}...{head}","merges_url":"https://api.github.com/repos/emender/emender/merges","archive_url":"https://api.github.com/repos/emender/emender/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/emender/emender/downloads","issues_url":"https://api.github.com/repos/emender/emender/issues{/number}","pulls_url":"https://api.github.com/repos/emender/emender/pulls{/number}","milestones_url":"https://api.github.com/repos/emender/emender/milestones{/number}","notifications_url":"https://api.github.com/repos/emender/emender/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/emender/emender/labels{/name}","releases_url":"https://api.github.com/repos/emender/emender/releases{/id}","created_at":"2014-08-11T19:45:49Z","updated_at":"2015-11-08T15:38:22Z","pushed_at":"2015-12-17T15:46:54Z","git_url":"git://github.com/emender/emender.git","ssh_url":"git@github.com:emender/emender.git","clone_url":"https://github.com/emender/emender.git","svn_url":"https://github.com/emender/emender","homepage":null,"size":1003,"stargazers_count":8,"watchers_count":8,"language":"Lua","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":3,"mirror_url":null,"open_issues_count":4,"forks":3,"open_issues":4,"watchers":8,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/emender/emender/pulls/17"},"html":{"href":"https://github.com/emender/emender/pull/17"},"issue":{"href":"https://api.github.com/repos/emender/emender/issues/17"},"comments":{"href":"https://api.github.com/repos/emender/emender/issues/17/comments"},"review_comments":{"href":"https://api.github.com/repos/emender/emender/pulls/17/comments"},"review_comment":{"href":"https://api.github.com/repos/emender/emender/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/emender/emender/pulls/17/commits"},"statuses":{"href":"https://api.github.com/repos/emender/emender/statuses/b1ecece2c5edf26d64527cea4dafa575a212e0ca"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"tisnik","id":4579967,"avatar_url":"https://avatars.githubusercontent.com/u/4579967?v=3","gravatar_id":"","url":"https://api.github.com/users/tisnik","html_url":"https://github.com/tisnik","followers_url":"https://api.github.com/users/tisnik/followers","following_url":"https://api.github.com/users/tisnik/following{/other_user}","gists_url":"https://api.github.com/users/tisnik/gists{/gist_id}","starred_url":"https://api.github.com/users/tisnik/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tisnik/subscriptions","organizations_url":"https://api.github.com/users/tisnik/orgs","repos_url":"https://api.github.com/users/tisnik/repos","events_url":"https://api.github.com/users/tisnik/events{/privacy}","received_events_url":"https://api.github.com/users/tisnik/received_events","type":"User","site_admin":false},"comments":0,"review_comments":0,"commits":1,"additions":231,"deletions":14,"changed_files":7}}