{"action":"closed","number":162,"pull_request":{"url":"https://api.github.com/repos/mendersoftware/mender/pulls/162","id":96715164,"html_url":"https://github.com/mendersoftware/mender/pull/162","diff_url":"https://github.com/mendersoftware/mender/pull/162.diff","patch_url":"https://github.com/mendersoftware/mender/pull/162.patch","issue_url":"https://api.github.com/repos/mendersoftware/mender/issues/162","number":162,"state":"closed","locked":false,"title":"MEN-480: Make sure U-Boot environment update is atomic.","user":{"login":"kacf","id":4037094,"avatar_url":"https://avatars.githubusercontent.com/u/4037094?v=3","gravatar_id":"","url":"https://api.github.com/users/kacf","html_url":"https://github.com/kacf","followers_url":"https://api.github.com/users/kacf/followers","following_url":"https://api.github.com/users/kacf/following{/other_user}","gists_url":"https://api.github.com/users/kacf/gists{/gist_id}","starred_url":"https://api.github.com/users/kacf/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kacf/subscriptions","organizations_url":"https://api.github.com/users/kacf/orgs","repos_url":"https://api.github.com/users/kacf/repos","events_url":"https://api.github.com/users/kacf/events{/privacy}","received_events_url":"https://api.github.com/users/kacf/received_events","type":"User","site_admin":false},"body":"We need to update the environment in one operation, because otherwise\r\nit can be in an in-between state if the device goes down unexpectedly.\r\nThe actual atomicity of the operation is ensured by U-Boot and its\r\nredundant environment, we just need to call the right command.\r\n\r\nOne test case was removed because it's not possible to get such an\r\nerror anymore.\r\n\r\nSigned-off-by: Kristian Amlie <kristian.amlie@mender.io>","created_at":"2016-12-06T12:29:47Z","updated_at":"2016-12-12T11:44:17Z","closed_at":"2016-12-12T11:44:17Z","merged_at":"2016-12-12T11:44:17Z","merge_commit_sha":"ef1efd8bed0283cdc006a7562ad62a715ecf53f3","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/mendersoftware/mender/pulls/162/commits","review_comments_url":"https://api.github.com/repos/mendersoftware/mender/pulls/162/comments","review_comment_url":"https://api.github.com/repos/mendersoftware/mender/pulls/comments{/number}","comments_url":"https://api.github.com/repos/mendersoftware/mender/issues/162/comments","statuses_url":"https://api.github.com/repos/mendersoftware/mender/statuses/a6a40332fa2779fa4425b93747f3648b3ae7d229","head":{"label":"kacf:atomic_uboot_update","ref":"atomic_uboot_update","sha":"a6a40332fa2779fa4425b93747f3648b3ae7d229","user":{"login":"kacf","id":4037094,"avatar_url":"https://avatars.githubusercontent.com/u/4037094?v=3","gravatar_id":"","url":"https://api.github.com/users/kacf","html_url":"https://github.com/kacf","followers_url":"https://api.github.com/users/kacf/followers","following_url":"https://api.github.com/users/kacf/following{/other_user}","gists_url":"https://api.github.com/users/kacf/gists{/gist_id}","starred_url":"https://api.github.com/users/kacf/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kacf/subscriptions","organizations_url":"https://api.github.com/users/kacf/orgs","repos_url":"https://api.github.com/users/kacf/repos","events_url":"https://api.github.com/users/kacf/events{/privacy}","received_events_url":"https://api.github.com/users/kacf/received_events","type":"User","site_admin":false},"repo":{"id":50182755,"name":"mender","full_name":"kacf/mender","owner":{"login":"kacf","id":4037094,"avatar_url":"https://avatars.githubusercontent.com/u/4037094?v=3","gravatar_id":"","url":"https://api.github.com/users/kacf","html_url":"https://github.com/kacf","followers_url":"https://api.github.com/users/kacf/followers","following_url":"https://api.github.com/users/kacf/following{/other_user}","gists_url":"https://api.github.com/users/kacf/gists{/gist_id}","starred_url":"https://api.github.com/users/kacf/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kacf/subscriptions","organizations_url":"https://api.github.com/users/kacf/orgs","repos_url":"https://api.github.com/users/kacf/repos","events_url":"https://api.github.com/users/kacf/events{/privacy}","received_events_url":"https://api.github.com/users/kacf/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/kacf/mender","description":"Mender over-the-air software updates.","fork":true,"url":"https://api.github.com/repos/kacf/mender","forks_url":"https://api.github.com/repos/kacf/mender/forks","keys_url":"https://api.github.com/repos/kacf/mender/keys{/key_id}","collaborators_url":"https://api.github.com/repos/kacf/mender/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/kacf/mender/teams","hooks_url":"https://api.github.com/repos/kacf/mender/hooks","issue_events_url":"https://api.github.com/repos/kacf/mender/issues/events{/number}","events_url":"https://api.github.com/repos/kacf/mender/events","assignees_url":"https://api.github.com/repos/kacf/mender/assignees{/user}","branches_url":"https://api.github.com/repos/kacf/mender/branches{/branch}","tags_url":"https://api.github.com/repos/kacf/mender/tags","blobs_url":"https://api.github.com/repos/kacf/mender/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/kacf/mender/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/kacf/mender/git/refs{/sha}","trees_url":"https://api.github.com/repos/kacf/mender/git/trees{/sha}","statuses_url":"https://api.github.com/repos/kacf/mender/statuses/{sha}","languages_url":"https://api.github.com/repos/kacf/mender/languages","stargazers_url":"https://api.github.com/repos/kacf/mender/stargazers","contributors_url":"https://api.github.com/repos/kacf/mender/contributors","subscribers_url":"https://api.github.com/repos/kacf/mender/subscribers","subscription_url":"https://api.github.com/repos/kacf/mender/subscription","commits_url":"https://api.github.com/repos/kacf/mender/commits{/sha}","git_commits_url":"https://api.github.com/repos/kacf/mender/git/commits{/sha}","comments_url":"https://api.github.com/repos/kacf/mender/comments{/number}","issue_comment_url":"https://api.github.com/repos/kacf/mender/issues/comments{/number}","contents_url":"https://api.github.com/repos/kacf/mender/contents/{+path}","compare_url":"https://api.github.com/repos/kacf/mender/compare/{base}...{head}","merges_url":"https://api.github.com/repos/kacf/mender/merges","archive_url":"https://api.github.com/repos/kacf/mender/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/kacf/mender/downloads","issues_url":"https://api.github.com/repos/kacf/mender/issues{/number}","pulls_url":"https://api.github.com/repos/kacf/mender/pulls{/number}","milestones_url":"https://api.github.com/repos/kacf/mender/milestones{/number}","notifications_url":"https://api.github.com/repos/kacf/mender/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/kacf/mender/labels{/name}","releases_url":"https://api.github.com/repos/kacf/mender/releases{/id}","deployments_url":"https://api.github.com/repos/kacf/mender/deployments","created_at":"2016-01-22T13:23:56Z","updated_at":"2016-01-22T13:23:57Z","pushed_at":"2016-12-08T07:22:17Z","git_url":"git://github.com/kacf/mender.git","ssh_url":"git@github.com:kacf/mender.git","clone_url":"https://github.com/kacf/mender.git","svn_url":"https://github.com/kacf/mender","homepage":"https://mender.io","size":1499,"stargazers_count":0,"watchers_count":0,"language":"Go","has_issues":false,"has_downloads":true,"has_wiki":false,"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":"mendersoftware:master","ref":"master","sha":"28085cb865748cc0a90604171ff52de40984401b","user":{"login":"mendersoftware","id":15040539,"avatar_url":"https://avatars.githubusercontent.com/u/15040539?v=3","gravatar_id":"","url":"https://api.github.com/users/mendersoftware","html_url":"https://github.com/mendersoftware","followers_url":"https://api.github.com/users/mendersoftware/followers","following_url":"https://api.github.com/users/mendersoftware/following{/other_user}","gists_url":"https://api.github.com/users/mendersoftware/gists{/gist_id}","starred_url":"https://api.github.com/users/mendersoftware/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mendersoftware/subscriptions","organizations_url":"https://api.github.com/users/mendersoftware/orgs","repos_url":"https://api.github.com/users/mendersoftware/repos","events_url":"https://api.github.com/users/mendersoftware/events{/privacy}","received_events_url":"https://api.github.com/users/mendersoftware/received_events","type":"Organization","site_admin":false},"repo":{"id":47542798,"name":"mender","full_name":"mendersoftware/mender","owner":{"login":"mendersoftware","id":15040539,"avatar_url":"https://avatars.githubusercontent.com/u/15040539?v=3","gravatar_id":"","url":"https://api.github.com/users/mendersoftware","html_url":"https://github.com/mendersoftware","followers_url":"https://api.github.com/users/mendersoftware/followers","following_url":"https://api.github.com/users/mendersoftware/following{/other_user}","gists_url":"https://api.github.com/users/mendersoftware/gists{/gist_id}","starred_url":"https://api.github.com/users/mendersoftware/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mendersoftware/subscriptions","organizations_url":"https://api.github.com/users/mendersoftware/orgs","repos_url":"https://api.github.com/users/mendersoftware/repos","events_url":"https://api.github.com/users/mendersoftware/events{/privacy}","received_events_url":"https://api.github.com/users/mendersoftware/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/mendersoftware/mender","description":"Mender over-the-air software updater client.","fork":false,"url":"https://api.github.com/repos/mendersoftware/mender","forks_url":"https://api.github.com/repos/mendersoftware/mender/forks","keys_url":"https://api.github.com/repos/mendersoftware/mender/keys{/key_id}","collaborators_url":"https://api.github.com/repos/mendersoftware/mender/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/mendersoftware/mender/teams","hooks_url":"https://api.github.com/repos/mendersoftware/mender/hooks","issue_events_url":"https://api.github.com/repos/mendersoftware/mender/issues/events{/number}","events_url":"https://api.github.com/repos/mendersoftware/mender/events","assignees_url":"https://api.github.com/repos/mendersoftware/mender/assignees{/user}","branches_url":"https://api.github.com/repos/mendersoftware/mender/branches{/branch}","tags_url":"https://api.github.com/repos/mendersoftware/mender/tags","blobs_url":"https://api.github.com/repos/mendersoftware/mender/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/mendersoftware/mender/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/mendersoftware/mender/git/refs{/sha}","trees_url":"https://api.github.com/repos/mendersoftware/mender/git/trees{/sha}","statuses_url":"https://api.github.com/repos/mendersoftware/mender/statuses/{sha}","languages_url":"https://api.github.com/repos/mendersoftware/mender/languages","stargazers_url":"https://api.github.com/repos/mendersoftware/mender/stargazers","contributors_url":"https://api.github.com/repos/mendersoftware/mender/contributors","subscribers_url":"https://api.github.com/repos/mendersoftware/mender/subscribers","subscription_url":"https://api.github.com/repos/mendersoftware/mender/subscription","commits_url":"https://api.github.com/repos/mendersoftware/mender/commits{/sha}","git_commits_url":"https://api.github.com/repos/mendersoftware/mender/git/commits{/sha}","comments_url":"https://api.github.com/repos/mendersoftware/mender/comments{/number}","issue_comment_url":"https://api.github.com/repos/mendersoftware/mender/issues/comments{/number}","contents_url":"https://api.github.com/repos/mendersoftware/mender/contents/{+path}","compare_url":"https://api.github.com/repos/mendersoftware/mender/compare/{base}...{head}","merges_url":"https://api.github.com/repos/mendersoftware/mender/merges","archive_url":"https://api.github.com/repos/mendersoftware/mender/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/mendersoftware/mender/downloads","issues_url":"https://api.github.com/repos/mendersoftware/mender/issues{/number}","pulls_url":"https://api.github.com/repos/mendersoftware/mender/pulls{/number}","milestones_url":"https://api.github.com/repos/mendersoftware/mender/milestones{/number}","notifications_url":"https://api.github.com/repos/mendersoftware/mender/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/mendersoftware/mender/labels{/name}","releases_url":"https://api.github.com/repos/mendersoftware/mender/releases{/id}","deployments_url":"https://api.github.com/repos/mendersoftware/mender/deployments","created_at":"2015-12-07T09:36:43Z","updated_at":"2016-12-09T05:32:09Z","pushed_at":"2016-12-12T11:44:17Z","git_url":"git://github.com/mendersoftware/mender.git","ssh_url":"git@github.com:mendersoftware/mender.git","clone_url":"https://github.com/mendersoftware/mender.git","svn_url":"https://github.com/mendersoftware/mender","homepage":"https://mender.io","size":1561,"stargazers_count":47,"watchers_count":47,"language":"Go","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":15,"mirror_url":null,"open_issues_count":1,"forks":15,"open_issues":1,"watchers":47,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/mendersoftware/mender/pulls/162"},"html":{"href":"https://github.com/mendersoftware/mender/pull/162"},"issue":{"href":"https://api.github.com/repos/mendersoftware/mender/issues/162"},"comments":{"href":"https://api.github.com/repos/mendersoftware/mender/issues/162/comments"},"review_comments":{"href":"https://api.github.com/repos/mendersoftware/mender/pulls/162/comments"},"review_comment":{"href":"https://api.github.com/repos/mendersoftware/mender/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/mendersoftware/mender/pulls/162/commits"},"statuses":{"href":"https://api.github.com/repos/mendersoftware/mender/statuses/a6a40332fa2779fa4425b93747f3648b3ae7d229"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"kacf","id":4037094,"avatar_url":"https://avatars.githubusercontent.com/u/4037094?v=3","gravatar_id":"","url":"https://api.github.com/users/kacf","html_url":"https://github.com/kacf","followers_url":"https://api.github.com/users/kacf/followers","following_url":"https://api.github.com/users/kacf/following{/other_user}","gists_url":"https://api.github.com/users/kacf/gists{/gist_id}","starred_url":"https://api.github.com/users/kacf/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kacf/subscriptions","organizations_url":"https://api.github.com/users/kacf/orgs","repos_url":"https://api.github.com/users/kacf/repos","events_url":"https://api.github.com/users/kacf/events{/privacy}","received_events_url":"https://api.github.com/users/kacf/received_events","type":"User","site_admin":false},"comments":3,"review_comments":6,"commits":1,"additions":30,"deletions":11,"changed_files":3}}
{"actor":{"display_login":"kacf"}}