{"action":"closed","number":293,"pull_request":{"url":"https://api.github.com/repos/lukas2511/dehydrated/pulls/293","id":88531550,"html_url":"https://github.com/lukas2511/dehydrated/pull/293","diff_url":"https://github.com/lukas2511/dehydrated/pull/293.diff","patch_url":"https://github.com/lukas2511/dehydrated/pull/293.patch","issue_url":"https://api.github.com/repos/lukas2511/dehydrated/issues/293","number":293,"state":"closed","locked":false,"title":"Skip challenge for already validated domains","user":{"login":"sth","id":950517,"avatar_url":"https://avatars.githubusercontent.com/u/950517?v=3","gravatar_id":"","url":"https://api.github.com/users/sth","html_url":"https://github.com/sth","followers_url":"https://api.github.com/users/sth/followers","following_url":"https://api.github.com/users/sth/following{/other_user}","gists_url":"https://api.github.com/users/sth/gists{/gist_id}","starred_url":"https://api.github.com/users/sth/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sth/subscriptions","organizations_url":"https://api.github.com/users/sth/orgs","repos_url":"https://api.github.com/users/sth/repos","events_url":"https://api.github.com/users/sth/events{/privacy}","received_events_url":"https://api.github.com/users/sth/received_events","type":"User","site_admin":false},"body":"For domains that are already validated we don't need to fulfill further challenges.\n\nIf a challenge request for a domain returns `\"status\": \"valid\"` no further validation is required and further processing is skipped. Skipping this further processing also avoids parsing problems when the challenge response contains additional fields, for example describing a previous successful DNS challenge.\n\nThe new variable `${challenge_altnames}` is used to keep track of the names that are not validated yet and still need do the challenge. When later iterating over this possibly empty array a `:0` substring expansion has to be used to avoid bash complaining about an unbound variable (it treats empty arrays as unset).\n\nThis solves the same problem as pull request #283, hopefully in a more robust way.\n","created_at":"2016-10-08T03:07:17Z","updated_at":"2016-12-18T19:25:05Z","closed_at":"2016-12-18T19:25:05Z","merged_at":"2016-12-18T19:25:05Z","merge_commit_sha":"9729751d93b59d9bef2347406716e4a593cf8dee","assignee":null,"assignees":[],"milestone":{"url":"https://api.github.com/repos/lukas2511/dehydrated/milestones/1","html_url":"https://github.com/lukas2511/dehydrated/milestone/1","labels_url":"https://api.github.com/repos/lukas2511/dehydrated/milestones/1/labels","id":1923417,"number":1,"title":"v0.4.0","description":"","creator":{"login":"lukas2511","id":85965,"avatar_url":"https://avatars.githubusercontent.com/u/85965?v=3","gravatar_id":"","url":"https://api.github.com/users/lukas2511","html_url":"https://github.com/lukas2511","followers_url":"https://api.github.com/users/lukas2511/followers","following_url":"https://api.github.com/users/lukas2511/following{/other_user}","gists_url":"https://api.github.com/users/lukas2511/gists{/gist_id}","starred_url":"https://api.github.com/users/lukas2511/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lukas2511/subscriptions","organizations_url":"https://api.github.com/users/lukas2511/orgs","repos_url":"https://api.github.com/users/lukas2511/repos","events_url":"https://api.github.com/users/lukas2511/events{/privacy}","received_events_url":"https://api.github.com/users/lukas2511/received_events","type":"User","site_admin":false},"open_issues":3,"closed_issues":1,"state":"open","created_at":"2016-08-04T12:14:42Z","updated_at":"2016-12-18T19:25:05Z","due_on":null,"closed_at":null},"commits_url":"https://api.github.com/repos/lukas2511/dehydrated/pulls/293/commits","review_comments_url":"https://api.github.com/repos/lukas2511/dehydrated/pulls/293/comments","review_comment_url":"https://api.github.com/repos/lukas2511/dehydrated/pulls/comments{/number}","comments_url":"https://api.github.com/repos/lukas2511/dehydrated/issues/293/comments","statuses_url":"https://api.github.com/repos/lukas2511/dehydrated/statuses/e49c7dfbf1d4a3bdca1c12560875ace2bc04a38a","head":{"label":"sth:skip-validated","ref":"skip-validated","sha":"e49c7dfbf1d4a3bdca1c12560875ace2bc04a38a","user":{"login":"sth","id":950517,"avatar_url":"https://avatars.githubusercontent.com/u/950517?v=3","gravatar_id":"","url":"https://api.github.com/users/sth","html_url":"https://github.com/sth","followers_url":"https://api.github.com/users/sth/followers","following_url":"https://api.github.com/users/sth/following{/other_user}","gists_url":"https://api.github.com/users/sth/gists{/gist_id}","starred_url":"https://api.github.com/users/sth/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sth/subscriptions","organizations_url":"https://api.github.com/users/sth/orgs","repos_url":"https://api.github.com/users/sth/repos","events_url":"https://api.github.com/users/sth/events{/privacy}","received_events_url":"https://api.github.com/users/sth/received_events","type":"User","site_admin":false},"repo":{"id":70297316,"name":"dehydrated","full_name":"sth/dehydrated","owner":{"login":"sth","id":950517,"avatar_url":"https://avatars.githubusercontent.com/u/950517?v=3","gravatar_id":"","url":"https://api.github.com/users/sth","html_url":"https://github.com/sth","followers_url":"https://api.github.com/users/sth/followers","following_url":"https://api.github.com/users/sth/following{/other_user}","gists_url":"https://api.github.com/users/sth/gists{/gist_id}","starred_url":"https://api.github.com/users/sth/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sth/subscriptions","organizations_url":"https://api.github.com/users/sth/orgs","repos_url":"https://api.github.com/users/sth/repos","events_url":"https://api.github.com/users/sth/events{/privacy}","received_events_url":"https://api.github.com/users/sth/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/sth/dehydrated","description":"letsencrypt/acme client implemented as a shell-script – just add water","fork":true,"url":"https://api.github.com/repos/sth/dehydrated","forks_url":"https://api.github.com/repos/sth/dehydrated/forks","keys_url":"https://api.github.com/repos/sth/dehydrated/keys{/key_id}","collaborators_url":"https://api.github.com/repos/sth/dehydrated/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/sth/dehydrated/teams","hooks_url":"https://api.github.com/repos/sth/dehydrated/hooks","issue_events_url":"https://api.github.com/repos/sth/dehydrated/issues/events{/number}","events_url":"https://api.github.com/repos/sth/dehydrated/events","assignees_url":"https://api.github.com/repos/sth/dehydrated/assignees{/user}","branches_url":"https://api.github.com/repos/sth/dehydrated/branches{/branch}","tags_url":"https://api.github.com/repos/sth/dehydrated/tags","blobs_url":"https://api.github.com/repos/sth/dehydrated/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/sth/dehydrated/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/sth/dehydrated/git/refs{/sha}","trees_url":"https://api.github.com/repos/sth/dehydrated/git/trees{/sha}","statuses_url":"https://api.github.com/repos/sth/dehydrated/statuses/{sha}","languages_url":"https://api.github.com/repos/sth/dehydrated/languages","stargazers_url":"https://api.github.com/repos/sth/dehydrated/stargazers","contributors_url":"https://api.github.com/repos/sth/dehydrated/contributors","subscribers_url":"https://api.github.com/repos/sth/dehydrated/subscribers","subscription_url":"https://api.github.com/repos/sth/dehydrated/subscription","commits_url":"https://api.github.com/repos/sth/dehydrated/commits{/sha}","git_commits_url":"https://api.github.com/repos/sth/dehydrated/git/commits{/sha}","comments_url":"https://api.github.com/repos/sth/dehydrated/comments{/number}","issue_comment_url":"https://api.github.com/repos/sth/dehydrated/issues/comments{/number}","contents_url":"https://api.github.com/repos/sth/dehydrated/contents/{+path}","compare_url":"https://api.github.com/repos/sth/dehydrated/compare/{base}...{head}","merges_url":"https://api.github.com/repos/sth/dehydrated/merges","archive_url":"https://api.github.com/repos/sth/dehydrated/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/sth/dehydrated/downloads","issues_url":"https://api.github.com/repos/sth/dehydrated/issues{/number}","pulls_url":"https://api.github.com/repos/sth/dehydrated/pulls{/number}","milestones_url":"https://api.github.com/repos/sth/dehydrated/milestones{/number}","notifications_url":"https://api.github.com/repos/sth/dehydrated/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/sth/dehydrated/labels{/name}","releases_url":"https://api.github.com/repos/sth/dehydrated/releases{/id}","deployments_url":"https://api.github.com/repos/sth/dehydrated/deployments","created_at":"2016-10-08T02:25:05Z","updated_at":"2016-10-08T02:25:07Z","pushed_at":"2016-10-08T13:46:25Z","git_url":"git://github.com/sth/dehydrated.git","ssh_url":"git@github.com:sth/dehydrated.git","clone_url":"https://github.com/sth/dehydrated.git","svn_url":"https://github.com/sth/dehydrated","homepage":"https://dehydrated.de","size":367,"stargazers_count":0,"watchers_count":0,"language":"Shell","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":"lukas2511:master","ref":"master","sha":"a316a094df8d3d4b25673cfbb1197f646781e48f","user":{"login":"lukas2511","id":85965,"avatar_url":"https://avatars.githubusercontent.com/u/85965?v=3","gravatar_id":"","url":"https://api.github.com/users/lukas2511","html_url":"https://github.com/lukas2511","followers_url":"https://api.github.com/users/lukas2511/followers","following_url":"https://api.github.com/users/lukas2511/following{/other_user}","gists_url":"https://api.github.com/users/lukas2511/gists{/gist_id}","starred_url":"https://api.github.com/users/lukas2511/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lukas2511/subscriptions","organizations_url":"https://api.github.com/users/lukas2511/orgs","repos_url":"https://api.github.com/users/lukas2511/repos","events_url":"https://api.github.com/users/lukas2511/events{/privacy}","received_events_url":"https://api.github.com/users/lukas2511/received_events","type":"User","site_admin":false},"repo":{"id":47437268,"name":"dehydrated","full_name":"lukas2511/dehydrated","owner":{"login":"lukas2511","id":85965,"avatar_url":"https://avatars.githubusercontent.com/u/85965?v=3","gravatar_id":"","url":"https://api.github.com/users/lukas2511","html_url":"https://github.com/lukas2511","followers_url":"https://api.github.com/users/lukas2511/followers","following_url":"https://api.github.com/users/lukas2511/following{/other_user}","gists_url":"https://api.github.com/users/lukas2511/gists{/gist_id}","starred_url":"https://api.github.com/users/lukas2511/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lukas2511/subscriptions","organizations_url":"https://api.github.com/users/lukas2511/orgs","repos_url":"https://api.github.com/users/lukas2511/repos","events_url":"https://api.github.com/users/lukas2511/events{/privacy}","received_events_url":"https://api.github.com/users/lukas2511/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/lukas2511/dehydrated","description":"letsencrypt/acme client implemented as a shell-script – just add water","fork":false,"url":"https://api.github.com/repos/lukas2511/dehydrated","forks_url":"https://api.github.com/repos/lukas2511/dehydrated/forks","keys_url":"https://api.github.com/repos/lukas2511/dehydrated/keys{/key_id}","collaborators_url":"https://api.github.com/repos/lukas2511/dehydrated/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/lukas2511/dehydrated/teams","hooks_url":"https://api.github.com/repos/lukas2511/dehydrated/hooks","issue_events_url":"https://api.github.com/repos/lukas2511/dehydrated/issues/events{/number}","events_url":"https://api.github.com/repos/lukas2511/dehydrated/events","assignees_url":"https://api.github.com/repos/lukas2511/dehydrated/assignees{/user}","branches_url":"https://api.github.com/repos/lukas2511/dehydrated/branches{/branch}","tags_url":"https://api.github.com/repos/lukas2511/dehydrated/tags","blobs_url":"https://api.github.com/repos/lukas2511/dehydrated/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/lukas2511/dehydrated/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/lukas2511/dehydrated/git/refs{/sha}","trees_url":"https://api.github.com/repos/lukas2511/dehydrated/git/trees{/sha}","statuses_url":"https://api.github.com/repos/lukas2511/dehydrated/statuses/{sha}","languages_url":"https://api.github.com/repos/lukas2511/dehydrated/languages","stargazers_url":"https://api.github.com/repos/lukas2511/dehydrated/stargazers","contributors_url":"https://api.github.com/repos/lukas2511/dehydrated/contributors","subscribers_url":"https://api.github.com/repos/lukas2511/dehydrated/subscribers","subscription_url":"https://api.github.com/repos/lukas2511/dehydrated/subscription","commits_url":"https://api.github.com/repos/lukas2511/dehydrated/commits{/sha}","git_commits_url":"https://api.github.com/repos/lukas2511/dehydrated/git/commits{/sha}","comments_url":"https://api.github.com/repos/lukas2511/dehydrated/comments{/number}","issue_comment_url":"https://api.github.com/repos/lukas2511/dehydrated/issues/comments{/number}","contents_url":"https://api.github.com/repos/lukas2511/dehydrated/contents/{+path}","compare_url":"https://api.github.com/repos/lukas2511/dehydrated/compare/{base}...{head}","merges_url":"https://api.github.com/repos/lukas2511/dehydrated/merges","archive_url":"https://api.github.com/repos/lukas2511/dehydrated/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/lukas2511/dehydrated/downloads","issues_url":"https://api.github.com/repos/lukas2511/dehydrated/issues{/number}","pulls_url":"https://api.github.com/repos/lukas2511/dehydrated/pulls{/number}","milestones_url":"https://api.github.com/repos/lukas2511/dehydrated/milestones{/number}","notifications_url":"https://api.github.com/repos/lukas2511/dehydrated/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/lukas2511/dehydrated/labels{/name}","releases_url":"https://api.github.com/repos/lukas2511/dehydrated/releases{/id}","deployments_url":"https://api.github.com/repos/lukas2511/dehydrated/deployments","created_at":"2015-12-05T01:31:53Z","updated_at":"2016-12-18T16:56:28Z","pushed_at":"2016-12-18T19:25:05Z","git_url":"git://github.com/lukas2511/dehydrated.git","ssh_url":"git@github.com:lukas2511/dehydrated.git","clone_url":"https://github.com/lukas2511/dehydrated.git","svn_url":"https://github.com/lukas2511/dehydrated","homepage":"https://dehydrated.de","size":668,"stargazers_count":2446,"watchers_count":2446,"language":"Shell","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":299,"mirror_url":null,"open_issues_count":49,"forks":299,"open_issues":49,"watchers":2446,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/lukas2511/dehydrated/pulls/293"},"html":{"href":"https://github.com/lukas2511/dehydrated/pull/293"},"issue":{"href":"https://api.github.com/repos/lukas2511/dehydrated/issues/293"},"comments":{"href":"https://api.github.com/repos/lukas2511/dehydrated/issues/293/comments"},"review_comments":{"href":"https://api.github.com/repos/lukas2511/dehydrated/pulls/293/comments"},"review_comment":{"href":"https://api.github.com/repos/lukas2511/dehydrated/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/lukas2511/dehydrated/pulls/293/commits"},"statuses":{"href":"https://api.github.com/repos/lukas2511/dehydrated/statuses/e49c7dfbf1d4a3bdca1c12560875ace2bc04a38a"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"lukas2511","id":85965,"avatar_url":"https://avatars.githubusercontent.com/u/85965?v=3","gravatar_id":"","url":"https://api.github.com/users/lukas2511","html_url":"https://github.com/lukas2511","followers_url":"https://api.github.com/users/lukas2511/followers","following_url":"https://api.github.com/users/lukas2511/following{/other_user}","gists_url":"https://api.github.com/users/lukas2511/gists{/gist_id}","starred_url":"https://api.github.com/users/lukas2511/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lukas2511/subscriptions","organizations_url":"https://api.github.com/users/lukas2511/orgs","repos_url":"https://api.github.com/users/lukas2511/repos","events_url":"https://api.github.com/users/lukas2511/events{/privacy}","received_events_url":"https://api.github.com/users/lukas2511/received_events","type":"User","site_admin":false},"comments":2,"review_comments":0,"commits":2,"additions":22,"deletions":5,"changed_files":1}}
{"actor":{"display_login":"lukas2511"}}