{"action":"opened","number":417,"pull_request":{"url":"https://api.github.com/repos/docker/datakit/pulls/417","id":98546362,"html_url":"https://github.com/docker/datakit/pull/417","diff_url":"https://github.com/docker/datakit/pull/417.diff","patch_url":"https://github.com/docker/datakit/pull/417.patch","issue_url":"https://api.github.com/repos/docker/datakit/issues/417","number":417,"state":"open","locked":false,"title":"Fix fetching of tag objects","user":{"login":"talex5","id":554131,"avatar_url":"https://avatars.githubusercontent.com/u/554131?v=3","gravatar_id":"","url":"https://api.github.com/users/talex5","html_url":"https://github.com/talex5","followers_url":"https://api.github.com/users/talex5/followers","following_url":"https://api.github.com/users/talex5/following{/other_user}","gists_url":"https://api.github.com/users/talex5/gists{/gist_id}","starred_url":"https://api.github.com/users/talex5/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/talex5/subscriptions","organizations_url":"https://api.github.com/users/talex5/orgs","repos_url":"https://api.github.com/users/talex5/repos","events_url":"https://api.github.com/users/talex5/events{/privacy}","received_events_url":"https://api.github.com/users/talex5/received_events","type":"User","site_admin":false},"body":"Before, we tried to fetch each Git target to a local Git branch. That\r\nworks for PRs, branches and plain tags, but not for tag objects. Those\r\ncan only be stored in local tags.\r\n\r\nNow, we fetch everything to a local tag first, and then copy just the\r\ncommit to the branch.\r\n\r\nAlso, added debug-level logging for child process output. This is useful\r\nto see why the unit-tests are failing.\r\n\r\nFixes #415.","created_at":"2016-12-19T11:08:42Z","updated_at":"2016-12-19T11:08:42Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/docker/datakit/pulls/417/commits","review_comments_url":"https://api.github.com/repos/docker/datakit/pulls/417/comments","review_comment_url":"https://api.github.com/repos/docker/datakit/pulls/comments{/number}","comments_url":"https://api.github.com/repos/docker/datakit/issues/417/comments","statuses_url":"https://api.github.com/repos/docker/datakit/statuses/5e3209f2cf3ea26e6079bea1a7818c13e9acd7c5","head":{"label":"talex5:fetch-tag-objects","ref":"fetch-tag-objects","sha":"5e3209f2cf3ea26e6079bea1a7818c13e9acd7c5","user":{"login":"talex5","id":554131,"avatar_url":"https://avatars.githubusercontent.com/u/554131?v=3","gravatar_id":"","url":"https://api.github.com/users/talex5","html_url":"https://github.com/talex5","followers_url":"https://api.github.com/users/talex5/followers","following_url":"https://api.github.com/users/talex5/following{/other_user}","gists_url":"https://api.github.com/users/talex5/gists{/gist_id}","starred_url":"https://api.github.com/users/talex5/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/talex5/subscriptions","organizations_url":"https://api.github.com/users/talex5/orgs","repos_url":"https://api.github.com/users/talex5/repos","events_url":"https://api.github.com/users/talex5/events{/privacy}","received_events_url":"https://api.github.com/users/talex5/received_events","type":"User","site_admin":false},"repo":{"id":59697558,"name":"datakit","full_name":"talex5/datakit","owner":{"login":"talex5","id":554131,"avatar_url":"https://avatars.githubusercontent.com/u/554131?v=3","gravatar_id":"","url":"https://api.github.com/users/talex5","html_url":"https://github.com/talex5","followers_url":"https://api.github.com/users/talex5/followers","following_url":"https://api.github.com/users/talex5/following{/other_user}","gists_url":"https://api.github.com/users/talex5/gists{/gist_id}","starred_url":"https://api.github.com/users/talex5/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/talex5/subscriptions","organizations_url":"https://api.github.com/users/talex5/orgs","repos_url":"https://api.github.com/users/talex5/repos","events_url":"https://api.github.com/users/talex5/events{/privacy}","received_events_url":"https://api.github.com/users/talex5/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/talex5/datakit","description":"Connect processes into powerful data pipelines with a simple git-like filesystem interface","fork":true,"url":"https://api.github.com/repos/talex5/datakit","forks_url":"https://api.github.com/repos/talex5/datakit/forks","keys_url":"https://api.github.com/repos/talex5/datakit/keys{/key_id}","collaborators_url":"https://api.github.com/repos/talex5/datakit/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/talex5/datakit/teams","hooks_url":"https://api.github.com/repos/talex5/datakit/hooks","issue_events_url":"https://api.github.com/repos/talex5/datakit/issues/events{/number}","events_url":"https://api.github.com/repos/talex5/datakit/events","assignees_url":"https://api.github.com/repos/talex5/datakit/assignees{/user}","branches_url":"https://api.github.com/repos/talex5/datakit/branches{/branch}","tags_url":"https://api.github.com/repos/talex5/datakit/tags","blobs_url":"https://api.github.com/repos/talex5/datakit/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/talex5/datakit/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/talex5/datakit/git/refs{/sha}","trees_url":"https://api.github.com/repos/talex5/datakit/git/trees{/sha}","statuses_url":"https://api.github.com/repos/talex5/datakit/statuses/{sha}","languages_url":"https://api.github.com/repos/talex5/datakit/languages","stargazers_url":"https://api.github.com/repos/talex5/datakit/stargazers","contributors_url":"https://api.github.com/repos/talex5/datakit/contributors","subscribers_url":"https://api.github.com/repos/talex5/datakit/subscribers","subscription_url":"https://api.github.com/repos/talex5/datakit/subscription","commits_url":"https://api.github.com/repos/talex5/datakit/commits{/sha}","git_commits_url":"https://api.github.com/repos/talex5/datakit/git/commits{/sha}","comments_url":"https://api.github.com/repos/talex5/datakit/comments{/number}","issue_comment_url":"https://api.github.com/repos/talex5/datakit/issues/comments{/number}","contents_url":"https://api.github.com/repos/talex5/datakit/contents/{+path}","compare_url":"https://api.github.com/repos/talex5/datakit/compare/{base}...{head}","merges_url":"https://api.github.com/repos/talex5/datakit/merges","archive_url":"https://api.github.com/repos/talex5/datakit/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/talex5/datakit/downloads","issues_url":"https://api.github.com/repos/talex5/datakit/issues{/number}","pulls_url":"https://api.github.com/repos/talex5/datakit/pulls{/number}","milestones_url":"https://api.github.com/repos/talex5/datakit/milestones{/number}","notifications_url":"https://api.github.com/repos/talex5/datakit/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/talex5/datakit/labels{/name}","releases_url":"https://api.github.com/repos/talex5/datakit/releases{/id}","deployments_url":"https://api.github.com/repos/talex5/datakit/deployments","created_at":"2016-05-25T21:03:58Z","updated_at":"2016-05-25T21:03:59Z","pushed_at":"2016-12-19T11:07:23Z","git_url":"git://github.com/talex5/datakit.git","ssh_url":"git@github.com:talex5/datakit.git","clone_url":"https://github.com/talex5/datakit.git","svn_url":"https://github.com/talex5/datakit","homepage":"","size":1783,"stargazers_count":0,"watchers_count":0,"language":"OCaml","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"docker:master","ref":"master","sha":"514581b3b74f5f4f5b99d372bc65c7b20b5f92f1","user":{"login":"docker","id":5429470,"avatar_url":"https://avatars.githubusercontent.com/u/5429470?v=3","gravatar_id":"","url":"https://api.github.com/users/docker","html_url":"https://github.com/docker","followers_url":"https://api.github.com/users/docker/followers","following_url":"https://api.github.com/users/docker/following{/other_user}","gists_url":"https://api.github.com/users/docker/gists{/gist_id}","starred_url":"https://api.github.com/users/docker/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/docker/subscriptions","organizations_url":"https://api.github.com/users/docker/orgs","repos_url":"https://api.github.com/users/docker/repos","events_url":"https://api.github.com/users/docker/events{/privacy}","received_events_url":"https://api.github.com/users/docker/received_events","type":"Organization","site_admin":false},"repo":{"id":51462605,"name":"datakit","full_name":"docker/datakit","owner":{"login":"docker","id":5429470,"avatar_url":"https://avatars.githubusercontent.com/u/5429470?v=3","gravatar_id":"","url":"https://api.github.com/users/docker","html_url":"https://github.com/docker","followers_url":"https://api.github.com/users/docker/followers","following_url":"https://api.github.com/users/docker/following{/other_user}","gists_url":"https://api.github.com/users/docker/gists{/gist_id}","starred_url":"https://api.github.com/users/docker/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/docker/subscriptions","organizations_url":"https://api.github.com/users/docker/orgs","repos_url":"https://api.github.com/users/docker/repos","events_url":"https://api.github.com/users/docker/events{/privacy}","received_events_url":"https://api.github.com/users/docker/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/docker/datakit","description":"Connect processes into powerful data pipelines with a simple git-like filesystem interface","fork":false,"url":"https://api.github.com/repos/docker/datakit","forks_url":"https://api.github.com/repos/docker/datakit/forks","keys_url":"https://api.github.com/repos/docker/datakit/keys{/key_id}","collaborators_url":"https://api.github.com/repos/docker/datakit/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/docker/datakit/teams","hooks_url":"https://api.github.com/repos/docker/datakit/hooks","issue_events_url":"https://api.github.com/repos/docker/datakit/issues/events{/number}","events_url":"https://api.github.com/repos/docker/datakit/events","assignees_url":"https://api.github.com/repos/docker/datakit/assignees{/user}","branches_url":"https://api.github.com/repos/docker/datakit/branches{/branch}","tags_url":"https://api.github.com/repos/docker/datakit/tags","blobs_url":"https://api.github.com/repos/docker/datakit/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/docker/datakit/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/docker/datakit/git/refs{/sha}","trees_url":"https://api.github.com/repos/docker/datakit/git/trees{/sha}","statuses_url":"https://api.github.com/repos/docker/datakit/statuses/{sha}","languages_url":"https://api.github.com/repos/docker/datakit/languages","stargazers_url":"https://api.github.com/repos/docker/datakit/stargazers","contributors_url":"https://api.github.com/repos/docker/datakit/contributors","subscribers_url":"https://api.github.com/repos/docker/datakit/subscribers","subscription_url":"https://api.github.com/repos/docker/datakit/subscription","commits_url":"https://api.github.com/repos/docker/datakit/commits{/sha}","git_commits_url":"https://api.github.com/repos/docker/datakit/git/commits{/sha}","comments_url":"https://api.github.com/repos/docker/datakit/comments{/number}","issue_comment_url":"https://api.github.com/repos/docker/datakit/issues/comments{/number}","contents_url":"https://api.github.com/repos/docker/datakit/contents/{+path}","compare_url":"https://api.github.com/repos/docker/datakit/compare/{base}...{head}","merges_url":"https://api.github.com/repos/docker/datakit/merges","archive_url":"https://api.github.com/repos/docker/datakit/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/docker/datakit/downloads","issues_url":"https://api.github.com/repos/docker/datakit/issues{/number}","pulls_url":"https://api.github.com/repos/docker/datakit/pulls{/number}","milestones_url":"https://api.github.com/repos/docker/datakit/milestones{/number}","notifications_url":"https://api.github.com/repos/docker/datakit/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/docker/datakit/labels{/name}","releases_url":"https://api.github.com/repos/docker/datakit/releases{/id}","deployments_url":"https://api.github.com/repos/docker/datakit/deployments","created_at":"2016-02-10T18:38:37Z","updated_at":"2016-12-16T07:02:18Z","pushed_at":"2016-12-16T16:50:46Z","git_url":"git://github.com/docker/datakit.git","ssh_url":"git@github.com:docker/datakit.git","clone_url":"https://github.com/docker/datakit.git","svn_url":"https://github.com/docker/datakit","homepage":"","size":2096,"stargazers_count":460,"watchers_count":460,"language":"OCaml","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":54,"mirror_url":null,"open_issues_count":34,"forks":54,"open_issues":34,"watchers":460,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/docker/datakit/pulls/417"},"html":{"href":"https://github.com/docker/datakit/pull/417"},"issue":{"href":"https://api.github.com/repos/docker/datakit/issues/417"},"comments":{"href":"https://api.github.com/repos/docker/datakit/issues/417/comments"},"review_comments":{"href":"https://api.github.com/repos/docker/datakit/pulls/417/comments"},"review_comment":{"href":"https://api.github.com/repos/docker/datakit/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/docker/datakit/pulls/417/commits"},"statuses":{"href":"https://api.github.com/repos/docker/datakit/statuses/5e3209f2cf3ea26e6079bea1a7818c13e9acd7c5"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":92,"deletions":41,"changed_files":4}}
{"actor":{"display_login":"talex5"}}