{"action":"created","comment":{"url":"https://api.github.com/repos/gardener/etcd-backup-restore/pulls/comments/218886389","pull_request_review_id":156925924,"id":218886389,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIxODg4NjM4OQ==","diff_hunk":"@@ -109,15 +115,122 @@ func (a *ABSSnapStore) List() (SnapList, error) {\n \n // Save will write the snapshot to store\n func (a *ABSSnapStore) Save(snap Snapshot, r io.Reader) error {\n-\tblobName := path.Join(a.prefix, snap.SnapDir, snap.SnapName)\n-\tblob := a.container.GetBlobReference(blobName)\n+\t// Save it locally\n+\ttmpfile, err := ioutil.TempFile(tmpDir, tmpBackupFilePrefix)\n+\tif err != nil {\n+\t\treturn fmt.Errorf(\"failed to create snapshot tempfile: %v\", err)\n+\t}\n+\tdefer func() {\n+\t\ttmpfile.Close()\n+\t\tos.Remove(tmpfile.Name())\n+\t}()\n+\tsize, err := io.Copy(tmpfile, r)\n+\tif err != nil {\n+\t\treturn fmt.Errorf(\"failed to save snapshot to tmpfile: %v\", err)\n+\t}\n+\n+\tvar (\n+\t\terrCh      = make(chan chunkUploadError)\n+\t\tchunkSize  = minChunkSize\n+\t\tnoOfChunks = size / chunkSize\n+\t)\n+\tif size%chunkSize != 0 {\n+\t\tnoOfChunks++\n+\t}\n+\n+\tlogrus.Infof(\"Uploading snapshot of size: %d, chunkSize: %d, noOfChunks: %d\", size, chunkSize, noOfChunks)\n+\tfor offset := int64(0); offset <= size; offset += int64(chunkSize) {\n+\t\tgo uploadBlock(a, &snap, tmpfile, offset, chunkSize, errCh)\n+\t}\n+\n+\tsnapshotErr := handleBlockUpload(a, &snap, tmpfile, errCh, noOfChunks, chunkSize)\n+\tif len(snapshotErr) == 0 {\n+\t\tlogrus.Info(\"All chunk uploaded successfully. Uploading blocklist.\")\n+\t\tblobName := path.Join(a.prefix, snap.SnapDir, snap.SnapName)\n+\t\tblob := a.container.GetBlobReference(blobName)\n+\t\tvar blockList []storage.Block\n+\t\tfor partNumber := int64(1); partNumber <= noOfChunks; partNumber++ {\n+\t\t\tblock := storage.Block{\n+\t\t\t\tID:     base64.StdEncoding.EncodeToString([]byte(fmt.Sprintf(\"%010d\", partNumber))),\n+\t\t\t\tStatus: storage.BlockStatusUncommitted,\n+\t\t\t}\n+\t\t\tblockList = append(blockList, block)\n+\t\t}\n+\t\treturn blob.PutBlockList(blockList, &storage.PutBlockListOptions{})\n+\t}\n+\tvar collectedErr []string\n+\tfor _, chunkErr := range snapshotErr {\n+\t\tcollectedErr = append(collectedErr, fmt.Sprintf(\"failed uploading chunk with offset %010d with error %v\", chunkErr.offset, chunkErr.err))\n+\t}\n+\treturn fmt.Errorf(strings.Join(collectedErr, \"\\n\"))\n+}\n+\n+func uploadBlock(s *ABSSnapStore, snap *Snapshot, file *os.File, offset, chunkSize int64, errCh chan<- chunkUploadError) {\n+\tlogrus.Infof(\"Uploading chunk with offset : %010d\", offset)\n+\tif _, err := file.Seek(0, os.SEEK_SET); err != nil {\n+\t\terrCh <- chunkUploadError{\n+\t\t\terr:    fmt.Errorf(\"failed to set offset in temp file: %v\", err),\n+\t\t\toffset: offset,\n+\t\t}\n+\t\treturn\n+\t}\n \n-\tputBlobOpts := storage.PutBlobOptions{}\n-\terr := blob.CreateBlockBlobFromReader(r, &putBlobOpts)\n+\tfileInfo, err := file.Stat()\n \tif err != nil {\n-\t\treturn fmt.Errorf(\"create block blob from reader failed: %v\", err)\n+\t\terrCh <- chunkUploadError{\n+\t\t\terr:    fmt.Errorf(\"failed to get size of temp file: %v\", err),\n+\t\t\toffset: offset,\n+\t\t}\n+\t\treturn\n+\t}\n+\n+\tsize := fileInfo.Size() - offset\n+\tif size > chunkSize {\n+\t\tsize = chunkSize\n+\t}\n+\n+\tsr := io.NewSectionReader(file, offset, chunkSize)\n+\tblobName := path.Join(s.prefix, snap.SnapDir, snap.SnapName)\n+\tblob := s.container.GetBlobReference(blobName)\n+\tpartNumber := ((offset / chunkSize) + 1)\n+\tblockID := base64.StdEncoding.EncodeToString([]byte(fmt.Sprintf(\"%010d\", partNumber)))\n+\terr = blob.PutBlockWithLength(blockID, uint64(size), sr, &storage.PutBlockOptions{})\n+\tlogrus.Infof(\"For chunk upload of offset %010d, err %v\", offset, err)\n+\terrCh <- chunkUploadError{\n+\t\terr:    err,\n+\t\toffset: offset,\n+\t}\n+\treturn\n+}\n+\n+func handleBlockUpload(s *ABSSnapStore, snap *Snapshot, file *os.File, errCh chan chunkUploadError, noOfChunks, chunkSize int64) []chunkUploadError {\n+\tvar (\n+\t\tsnapshotErr     []chunkUploadError\n+\t\tmanifest        = make([]int64, noOfChunks)\n+\t\tmaxAttempts     = int64(5)\n+\t\tremainingChunks = noOfChunks\n+\t)\n+\tlogrus.Infof(\"No of Chunks:= %d\", noOfChunks)\n+\tfor {\n+\t\tchunkErr := <-errCh\n+\t\tif chunkErr.err != nil {\n+\t\t\tmanifestIndex := chunkErr.offset / chunkSize\n+\t\t\tlogrus.Warnf(\"Failed to upload chunk with offset: %010d at attempt %d  with error: %v\", chunkErr.offset, manifest[manifestIndex], chunkErr.err)\n+\t\t\tif manifest[manifestIndex] < maxAttempts {\n+\t\t\t\tmanifest[manifestIndex]++\n+\t\t\t\tdelayTime := (1 << uint(manifest[manifestIndex]))\n+\t\t\t\tlogrus.Infof(\"Will try to upload chunk with offset: %010d at attempt %d  after %d seconds\", chunkErr.offset, manifest[manifestIndex], delayTime)\n+\t\t\t\ttime.Sleep((time.Duration)(delayTime) * time.Second)","path":"pkg/snapstore/abs_snapstore.go","position":142,"original_position":142,"commit_id":"71bd9b28628241e6b814351489721a064c901954","original_commit_id":"71bd9b28628241e6b814351489721a064c901954","user":{"login":"swapnilgm","id":5590545,"node_id":"MDQ6VXNlcjU1OTA1NDU=","avatar_url":"https://avatars3.githubusercontent.com/u/5590545?v=4","gravatar_id":"","url":"https://api.github.com/users/swapnilgm","html_url":"https://github.com/swapnilgm","followers_url":"https://api.github.com/users/swapnilgm/followers","following_url":"https://api.github.com/users/swapnilgm/following{/other_user}","gists_url":"https://api.github.com/users/swapnilgm/gists{/gist_id}","starred_url":"https://api.github.com/users/swapnilgm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/swapnilgm/subscriptions","organizations_url":"https://api.github.com/users/swapnilgm/orgs","repos_url":"https://api.github.com/users/swapnilgm/repos","events_url":"https://api.github.com/users/swapnilgm/events{/privacy}","received_events_url":"https://api.github.com/users/swapnilgm/received_events","type":"User","site_admin":false},"body":"Ok. Will change that logic.","created_at":"2018-09-19T17:05:27Z","updated_at":"2018-09-19T17:05:27Z","html_url":"https://github.com/gardener/etcd-backup-restore/pull/53#discussion_r218886389","pull_request_url":"https://api.github.com/repos/gardener/etcd-backup-restore/pulls/53","author_association":"MEMBER","_links":{"self":{"href":"https://api.github.com/repos/gardener/etcd-backup-restore/pulls/comments/218886389"},"html":{"href":"https://github.com/gardener/etcd-backup-restore/pull/53#discussion_r218886389"},"pull_request":{"href":"https://api.github.com/repos/gardener/etcd-backup-restore/pulls/53"}},"in_reply_to_id":215199198},"pull_request":{"url":"https://api.github.com/repos/gardener/etcd-backup-restore/pulls/53","id":209793933,"node_id":"MDExOlB1bGxSZXF1ZXN0MjA5NzkzOTMz","html_url":"https://github.com/gardener/etcd-backup-restore/pull/53","diff_url":"https://github.com/gardener/etcd-backup-restore/pull/53.diff","patch_url":"https://github.com/gardener/etcd-backup-restore/pull/53.patch","issue_url":"https://api.github.com/repos/gardener/etcd-backup-restore/issues/53","number":53,"state":"open","locked":false,"title":"Add multi-part snapshot upload support","user":{"login":"swapnilgm","id":5590545,"node_id":"MDQ6VXNlcjU1OTA1NDU=","avatar_url":"https://avatars3.githubusercontent.com/u/5590545?v=4","gravatar_id":"","url":"https://api.github.com/users/swapnilgm","html_url":"https://github.com/swapnilgm","followers_url":"https://api.github.com/users/swapnilgm/followers","following_url":"https://api.github.com/users/swapnilgm/following{/other_user}","gists_url":"https://api.github.com/users/swapnilgm/gists{/gist_id}","starred_url":"https://api.github.com/users/swapnilgm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/swapnilgm/subscriptions","organizations_url":"https://api.github.com/users/swapnilgm/orgs","repos_url":"https://api.github.com/users/swapnilgm/repos","events_url":"https://api.github.com/users/swapnilgm/events{/privacy}","received_events_url":"https://api.github.com/users/swapnilgm/received_events","type":"User","site_admin":false},"body":"Signed-off-by: Swapnil Mhamane <swapnil.mhamane@sap.com>\r\n\r\n**What this PR does / why we need it**:\r\nThis PR change the logic for uploading snapshots. Now, the snapshot from etcd is stored locally in temporary file. And then we will upload the snapshot in chunks to cloud provider's object store using multi-part upload functionality. In case one of the chunk upload fails then we will only retry upload of that chunk saving cost and time involved in whole upload as per old implementation.\r\n\r\n**Which issue(s) this PR fixes**:\r\nFixes #48 #45 \r\n\r\n**Special notes for your reviewer**: NA\r\n\r\n**Release note**:\r\n<!--  Write your release note:\r\n1. Enter your release note in the below block.\r\n2. If no release note is required, just write \"NONE\" within the block.\r\n\r\nFormat of block header: <category> <target_group>\r\nPossible values:\r\n- category:       noteworthy\r\n- target_group:   operator\r\n-->\r\n```improvement operator\r\nSnapshot are now uploaded in chunks, considering only erroneous chunk upload in case of failure.\r\n```\r\n","created_at":"2018-08-21T11:28:43Z","updated_at":"2018-09-19T17:05:27Z","closed_at":null,"merged_at":null,"merge_commit_sha":"2191967e58649744a680404728fec143d598cd9f","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[{"id":944188123,"node_id":"MDU6TGFiZWw5NDQxODgxMjM=","url":"https://api.github.com/repos/gardener/etcd-backup-restore/labels/area/backup","name":"area/backup","color":"0052cc","default":false},{"id":944188075,"node_id":"MDU6TGFiZWw5NDQxODgwNzU=","url":"https://api.github.com/repos/gardener/etcd-backup-restore/labels/component/etcd-backup-restore","name":"component/etcd-backup-restore","color":"25399e","default":false},{"id":944188076,"node_id":"MDU6TGFiZWw5NDQxODgwNzY=","url":"https://api.github.com/repos/gardener/etcd-backup-restore/labels/exp/intermediate","name":"exp/intermediate","color":"d4c5f9","default":false},{"id":830826163,"node_id":"MDU6TGFiZWw4MzA4MjYxNjM=","url":"https://api.github.com/repos/gardener/etcd-backup-restore/labels/kind/enhancement","name":"kind/enhancement","color":"c7def8","default":false},{"id":944188127,"node_id":"MDU6TGFiZWw5NDQxODgxMjc=","url":"https://api.github.com/repos/gardener/etcd-backup-restore/labels/needs/ok-to-test","name":"needs/ok-to-test","color":"fef2c0","default":false},{"id":944188090,"node_id":"MDU6TGFiZWw5NDQxODgwOTA=","url":"https://api.github.com/repos/gardener/etcd-backup-restore/labels/platform/all","name":"platform/all","color":"006b75","default":false},{"id":944188103,"node_id":"MDU6TGFiZWw5NDQxODgxMDM=","url":"https://api.github.com/repos/gardener/etcd-backup-restore/labels/priority/normal","name":"priority/normal","color":"4cceb8","default":false},{"id":944188138,"node_id":"MDU6TGFiZWw5NDQxODgxMzg=","url":"https://api.github.com/repos/gardener/etcd-backup-restore/labels/size/m","name":"size/m","color":"bfdadc","default":false}],"milestone":null,"commits_url":"https://api.github.com/repos/gardener/etcd-backup-restore/pulls/53/commits","review_comments_url":"https://api.github.com/repos/gardener/etcd-backup-restore/pulls/53/comments","review_comment_url":"https://api.github.com/repos/gardener/etcd-backup-restore/pulls/comments{/number}","comments_url":"https://api.github.com/repos/gardener/etcd-backup-restore/issues/53/comments","statuses_url":"https://api.github.com/repos/gardener/etcd-backup-restore/statuses/71bd9b28628241e6b814351489721a064c901954","head":{"label":"swapnilgm:multi-part-upload","ref":"multi-part-upload","sha":"71bd9b28628241e6b814351489721a064c901954","user":{"login":"swapnilgm","id":5590545,"node_id":"MDQ6VXNlcjU1OTA1NDU=","avatar_url":"https://avatars3.githubusercontent.com/u/5590545?v=4","gravatar_id":"","url":"https://api.github.com/users/swapnilgm","html_url":"https://github.com/swapnilgm","followers_url":"https://api.github.com/users/swapnilgm/followers","following_url":"https://api.github.com/users/swapnilgm/following{/other_user}","gists_url":"https://api.github.com/users/swapnilgm/gists{/gist_id}","starred_url":"https://api.github.com/users/swapnilgm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/swapnilgm/subscriptions","organizations_url":"https://api.github.com/users/swapnilgm/orgs","repos_url":"https://api.github.com/users/swapnilgm/repos","events_url":"https://api.github.com/users/swapnilgm/events{/privacy}","received_events_url":"https://api.github.com/users/swapnilgm/received_events","type":"User","site_admin":false},"repo":{"id":120722959,"node_id":"MDEwOlJlcG9zaXRvcnkxMjA3MjI5NTk=","name":"etcd-backup-restore","full_name":"swapnilgm/etcd-backup-restore","private":false,"owner":{"login":"swapnilgm","id":5590545,"node_id":"MDQ6VXNlcjU1OTA1NDU=","avatar_url":"https://avatars3.githubusercontent.com/u/5590545?v=4","gravatar_id":"","url":"https://api.github.com/users/swapnilgm","html_url":"https://github.com/swapnilgm","followers_url":"https://api.github.com/users/swapnilgm/followers","following_url":"https://api.github.com/users/swapnilgm/following{/other_user}","gists_url":"https://api.github.com/users/swapnilgm/gists{/gist_id}","starred_url":"https://api.github.com/users/swapnilgm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/swapnilgm/subscriptions","organizations_url":"https://api.github.com/users/swapnilgm/orgs","repos_url":"https://api.github.com/users/swapnilgm/repos","events_url":"https://api.github.com/users/swapnilgm/events{/privacy}","received_events_url":"https://api.github.com/users/swapnilgm/received_events","type":"User","site_admin":false},"html_url":"https://github.com/swapnilgm/etcd-backup-restore","description":"Collection of componentes to backup and restore the Etcd","fork":true,"url":"https://api.github.com/repos/swapnilgm/etcd-backup-restore","forks_url":"https://api.github.com/repos/swapnilgm/etcd-backup-restore/forks","keys_url":"https://api.github.com/repos/swapnilgm/etcd-backup-restore/keys{/key_id}","collaborators_url":"https://api.github.com/repos/swapnilgm/etcd-backup-restore/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/swapnilgm/etcd-backup-restore/teams","hooks_url":"https://api.github.com/repos/swapnilgm/etcd-backup-restore/hooks","issue_events_url":"https://api.github.com/repos/swapnilgm/etcd-backup-restore/issues/events{/number}","events_url":"https://api.github.com/repos/swapnilgm/etcd-backup-restore/events","assignees_url":"https://api.github.com/repos/swapnilgm/etcd-backup-restore/assignees{/user}","branches_url":"https://api.github.com/repos/swapnilgm/etcd-backup-restore/branches{/branch}","tags_url":"https://api.github.com/repos/swapnilgm/etcd-backup-restore/tags","blobs_url":"https://api.github.com/repos/swapnilgm/etcd-backup-restore/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/swapnilgm/etcd-backup-restore/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/swapnilgm/etcd-backup-restore/git/refs{/sha}","trees_url":"https://api.github.com/repos/swapnilgm/etcd-backup-restore/git/trees{/sha}","statuses_url":"https://api.github.com/repos/swapnilgm/etcd-backup-restore/statuses/{sha}","languages_url":"https://api.github.com/repos/swapnilgm/etcd-backup-restore/languages","stargazers_url":"https://api.github.com/repos/swapnilgm/etcd-backup-restore/stargazers","contributors_url":"https://api.github.com/repos/swapnilgm/etcd-backup-restore/contributors","subscribers_url":"https://api.github.com/repos/swapnilgm/etcd-backup-restore/subscribers","subscription_url":"https://api.github.com/repos/swapnilgm/etcd-backup-restore/subscription","commits_url":"https://api.github.com/repos/swapnilgm/etcd-backup-restore/commits{/sha}","git_commits_url":"https://api.github.com/repos/swapnilgm/etcd-backup-restore/git/commits{/sha}","comments_url":"https://api.github.com/repos/swapnilgm/etcd-backup-restore/comments{/number}","issue_comment_url":"https://api.github.com/repos/swapnilgm/etcd-backup-restore/issues/comments{/number}","contents_url":"https://api.github.com/repos/swapnilgm/etcd-backup-restore/contents/{+path}","compare_url":"https://api.github.com/repos/swapnilgm/etcd-backup-restore/compare/{base}...{head}","merges_url":"https://api.github.com/repos/swapnilgm/etcd-backup-restore/merges","archive_url":"https://api.github.com/repos/swapnilgm/etcd-backup-restore/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/swapnilgm/etcd-backup-restore/downloads","issues_url":"https://api.github.com/repos/swapnilgm/etcd-backup-restore/issues{/number}","pulls_url":"https://api.github.com/repos/swapnilgm/etcd-backup-restore/pulls{/number}","milestones_url":"https://api.github.com/repos/swapnilgm/etcd-backup-restore/milestones{/number}","notifications_url":"https://api.github.com/repos/swapnilgm/etcd-backup-restore/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/swapnilgm/etcd-backup-restore/labels{/name}","releases_url":"https://api.github.com/repos/swapnilgm/etcd-backup-restore/releases{/id}","deployments_url":"https://api.github.com/repos/swapnilgm/etcd-backup-restore/deployments","created_at":"2018-02-08T06:51:55Z","updated_at":"2018-07-19T16:42:20Z","pushed_at":"2018-09-11T06:12:33Z","git_url":"git://github.com/swapnilgm/etcd-backup-restore.git","ssh_url":"git@github.com:swapnilgm/etcd-backup-restore.git","clone_url":"https://github.com/swapnilgm/etcd-backup-restore.git","svn_url":"https://github.com/swapnilgm/etcd-backup-restore","homepage":null,"size":35393,"stargazers_count":0,"watchers_count":0,"language":"Go","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":{"key":"apache-2.0","name":"Apache License 2.0","spdx_id":"Apache-2.0","url":"https://api.github.com/licenses/apache-2.0","node_id":"MDc6TGljZW5zZTI="},"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"gardener:master","ref":"master","sha":"3e9256f3d5362082c233d926a00e185e6e7150be","user":{"login":"gardener","id":33683699,"node_id":"MDEyOk9yZ2FuaXphdGlvbjMzNjgzNjk5","avatar_url":"https://avatars2.githubusercontent.com/u/33683699?v=4","gravatar_id":"","url":"https://api.github.com/users/gardener","html_url":"https://github.com/gardener","followers_url":"https://api.github.com/users/gardener/followers","following_url":"https://api.github.com/users/gardener/following{/other_user}","gists_url":"https://api.github.com/users/gardener/gists{/gist_id}","starred_url":"https://api.github.com/users/gardener/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gardener/subscriptions","organizations_url":"https://api.github.com/users/gardener/orgs","repos_url":"https://api.github.com/users/gardener/repos","events_url":"https://api.github.com/users/gardener/events{/privacy}","received_events_url":"https://api.github.com/users/gardener/received_events","type":"Organization","site_admin":false},"repo":{"id":120719844,"node_id":"MDEwOlJlcG9zaXRvcnkxMjA3MTk4NDQ=","name":"etcd-backup-restore","full_name":"gardener/etcd-backup-restore","private":false,"owner":{"login":"gardener","id":33683699,"node_id":"MDEyOk9yZ2FuaXphdGlvbjMzNjgzNjk5","avatar_url":"https://avatars2.githubusercontent.com/u/33683699?v=4","gravatar_id":"","url":"https://api.github.com/users/gardener","html_url":"https://github.com/gardener","followers_url":"https://api.github.com/users/gardener/followers","following_url":"https://api.github.com/users/gardener/following{/other_user}","gists_url":"https://api.github.com/users/gardener/gists{/gist_id}","starred_url":"https://api.github.com/users/gardener/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gardener/subscriptions","organizations_url":"https://api.github.com/users/gardener/orgs","repos_url":"https://api.github.com/users/gardener/repos","events_url":"https://api.github.com/users/gardener/events{/privacy}","received_events_url":"https://api.github.com/users/gardener/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/gardener/etcd-backup-restore","description":"Collection of componentes to backup and restore the Etcd","fork":false,"url":"https://api.github.com/repos/gardener/etcd-backup-restore","forks_url":"https://api.github.com/repos/gardener/etcd-backup-restore/forks","keys_url":"https://api.github.com/repos/gardener/etcd-backup-restore/keys{/key_id}","collaborators_url":"https://api.github.com/repos/gardener/etcd-backup-restore/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/gardener/etcd-backup-restore/teams","hooks_url":"https://api.github.com/repos/gardener/etcd-backup-restore/hooks","issue_events_url":"https://api.github.com/repos/gardener/etcd-backup-restore/issues/events{/number}","events_url":"https://api.github.com/repos/gardener/etcd-backup-restore/events","assignees_url":"https://api.github.com/repos/gardener/etcd-backup-restore/assignees{/user}","branches_url":"https://api.github.com/repos/gardener/etcd-backup-restore/branches{/branch}","tags_url":"https://api.github.com/repos/gardener/etcd-backup-restore/tags","blobs_url":"https://api.github.com/repos/gardener/etcd-backup-restore/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/gardener/etcd-backup-restore/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/gardener/etcd-backup-restore/git/refs{/sha}","trees_url":"https://api.github.com/repos/gardener/etcd-backup-restore/git/trees{/sha}","statuses_url":"https://api.github.com/repos/gardener/etcd-backup-restore/statuses/{sha}","languages_url":"https://api.github.com/repos/gardener/etcd-backup-restore/languages","stargazers_url":"https://api.github.com/repos/gardener/etcd-backup-restore/stargazers","contributors_url":"https://api.github.com/repos/gardener/etcd-backup-restore/contributors","subscribers_url":"https://api.github.com/repos/gardener/etcd-backup-restore/subscribers","subscription_url":"https://api.github.com/repos/gardener/etcd-backup-restore/subscription","commits_url":"https://api.github.com/repos/gardener/etcd-backup-restore/commits{/sha}","git_commits_url":"https://api.github.com/repos/gardener/etcd-backup-restore/git/commits{/sha}","comments_url":"https://api.github.com/repos/gardener/etcd-backup-restore/comments{/number}","issue_comment_url":"https://api.github.com/repos/gardener/etcd-backup-restore/issues/comments{/number}","contents_url":"https://api.github.com/repos/gardener/etcd-backup-restore/contents/{+path}","compare_url":"https://api.github.com/repos/gardener/etcd-backup-restore/compare/{base}...{head}","merges_url":"https://api.github.com/repos/gardener/etcd-backup-restore/merges","archive_url":"https://api.github.com/repos/gardener/etcd-backup-restore/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/gardener/etcd-backup-restore/downloads","issues_url":"https://api.github.com/repos/gardener/etcd-backup-restore/issues{/number}","pulls_url":"https://api.github.com/repos/gardener/etcd-backup-restore/pulls{/number}","milestones_url":"https://api.github.com/repos/gardener/etcd-backup-restore/milestones{/number}","notifications_url":"https://api.github.com/repos/gardener/etcd-backup-restore/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/gardener/etcd-backup-restore/labels{/name}","releases_url":"https://api.github.com/repos/gardener/etcd-backup-restore/releases{/id}","deployments_url":"https://api.github.com/repos/gardener/etcd-backup-restore/deployments","created_at":"2018-02-08T06:19:29Z","updated_at":"2018-08-28T08:08:51Z","pushed_at":"2018-09-18T07:45:34Z","git_url":"git://github.com/gardener/etcd-backup-restore.git","ssh_url":"git@github.com:gardener/etcd-backup-restore.git","clone_url":"https://github.com/gardener/etcd-backup-restore.git","svn_url":"https://github.com/gardener/etcd-backup-restore","homepage":null,"size":35378,"stargazers_count":19,"watchers_count":19,"language":"Go","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":7,"mirror_url":null,"archived":false,"open_issues_count":10,"license":{"key":"apache-2.0","name":"Apache License 2.0","spdx_id":"Apache-2.0","url":"https://api.github.com/licenses/apache-2.0","node_id":"MDc6TGljZW5zZTI="},"forks":7,"open_issues":10,"watchers":19,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/gardener/etcd-backup-restore/pulls/53"},"html":{"href":"https://github.com/gardener/etcd-backup-restore/pull/53"},"issue":{"href":"https://api.github.com/repos/gardener/etcd-backup-restore/issues/53"},"comments":{"href":"https://api.github.com/repos/gardener/etcd-backup-restore/issues/53/comments"},"review_comments":{"href":"https://api.github.com/repos/gardener/etcd-backup-restore/pulls/53/comments"},"review_comment":{"href":"https://api.github.com/repos/gardener/etcd-backup-restore/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/gardener/etcd-backup-restore/pulls/53/commits"},"statuses":{"href":"https://api.github.com/repos/gardener/etcd-backup-restore/statuses/71bd9b28628241e6b814351489721a064c901954"}},"author_association":"MEMBER"}}
{"actor":{"display_login":"swapnilgm"}}