{"action":"closed","number":64,"pull_request":{"url":"https://api.github.com/repos/yast/yast-pkg-bindings/pulls/64","id":103531127,"html_url":"https://github.com/yast/yast-pkg-bindings/pull/64","diff_url":"https://github.com/yast/yast-pkg-bindings/pull/64.diff","patch_url":"https://github.com/yast/yast-pkg-bindings/pull/64.patch","issue_url":"https://api.github.com/repos/yast/yast-pkg-bindings/issues/64","number":64,"state":"closed","locked":false,"title":"Fixed failure when trying to save a plugin service (bsc#1021117)","user":{"login":"lslezak","id":907998,"avatar_url":"https://avatars1.githubusercontent.com/u/907998?v=3","gravatar_id":"","url":"https://api.github.com/users/lslezak","html_url":"https://github.com/lslezak","followers_url":"https://api.github.com/users/lslezak/followers","following_url":"https://api.github.com/users/lslezak/following{/other_user}","gists_url":"https://api.github.com/users/lslezak/gists{/gist_id}","starred_url":"https://api.github.com/users/lslezak/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lslezak/subscriptions","organizations_url":"https://api.github.com/users/lslezak/orgs","repos_url":"https://api.github.com/users/lslezak/repos","events_url":"https://api.github.com/users/lslezak/events{/privacy}","received_events_url":"https://api.github.com/users/lslezak/received_events","type":"User","site_admin":false},"body":"- 3.1.31.2\r\n\r\n## Reproducing the Bug\r\n\r\n- Save this to a `/usr/lib/zypp/plugins/services/test` file:\r\n```bash\r\n#! /bin/bash\r\n\r\ncat << EOF\r\n[test-repo]\r\nname=test-repo\r\nenabled=0\r\nautorefresh=0\r\nbaseurl=http://example.com\r\ntype=rpm-md\r\nkeeppackages=0\r\nEOF\r\n```\r\n- Add execution flag (`chmod a+x /usr/lib/zypp/plugins/services/test`)\r\n- `zypper ls` should display a `test` service and `zypper lr` should display a `test:test-repo` repository\r\n- Running `yast2 repositories` should fail after pressing `OK`\r\n\r\n## The Fix\r\n\r\nAfter applying the patch the saving the repositories should not fail anymore.","created_at":"2017-01-27T17:16:00Z","updated_at":"2017-03-29T15:05:45Z","closed_at":"2017-03-29T15:05:45Z","merged_at":"2017-03-29T15:05:45Z","merge_commit_sha":"8321e5341053aa24cb97d5a571e0a467aade177b","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/yast/yast-pkg-bindings/pulls/64/commits","review_comments_url":"https://api.github.com/repos/yast/yast-pkg-bindings/pulls/64/comments","review_comment_url":"https://api.github.com/repos/yast/yast-pkg-bindings/pulls/comments{/number}","comments_url":"https://api.github.com/repos/yast/yast-pkg-bindings/issues/64/comments","statuses_url":"https://api.github.com/repos/yast/yast-pkg-bindings/statuses/02d95436c3cfe89f0d67e49247114189e71bd6d2","head":{"label":"yast:service_plugin_SP1","ref":"service_plugin_SP1","sha":"02d95436c3cfe89f0d67e49247114189e71bd6d2","user":{"login":"yast","id":909990,"avatar_url":"https://avatars2.githubusercontent.com/u/909990?v=3","gravatar_id":"","url":"https://api.github.com/users/yast","html_url":"https://github.com/yast","followers_url":"https://api.github.com/users/yast/followers","following_url":"https://api.github.com/users/yast/following{/other_user}","gists_url":"https://api.github.com/users/yast/gists{/gist_id}","starred_url":"https://api.github.com/users/yast/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yast/subscriptions","organizations_url":"https://api.github.com/users/yast/orgs","repos_url":"https://api.github.com/users/yast/repos","events_url":"https://api.github.com/users/yast/events{/privacy}","received_events_url":"https://api.github.com/users/yast/received_events","type":"Organization","site_admin":false},"repo":{"id":4368183,"name":"yast-pkg-bindings","full_name":"yast/yast-pkg-bindings","owner":{"login":"yast","id":909990,"avatar_url":"https://avatars2.githubusercontent.com/u/909990?v=3","gravatar_id":"","url":"https://api.github.com/users/yast","html_url":"https://github.com/yast","followers_url":"https://api.github.com/users/yast/followers","following_url":"https://api.github.com/users/yast/following{/other_user}","gists_url":"https://api.github.com/users/yast/gists{/gist_id}","starred_url":"https://api.github.com/users/yast/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yast/subscriptions","organizations_url":"https://api.github.com/users/yast/orgs","repos_url":"https://api.github.com/users/yast/repos","events_url":"https://api.github.com/users/yast/events{/privacy}","received_events_url":"https://api.github.com/users/yast/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/yast/yast-pkg-bindings","description":"YaST module pkg-bindings","fork":false,"url":"https://api.github.com/repos/yast/yast-pkg-bindings","forks_url":"https://api.github.com/repos/yast/yast-pkg-bindings/forks","keys_url":"https://api.github.com/repos/yast/yast-pkg-bindings/keys{/key_id}","collaborators_url":"https://api.github.com/repos/yast/yast-pkg-bindings/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/yast/yast-pkg-bindings/teams","hooks_url":"https://api.github.com/repos/yast/yast-pkg-bindings/hooks","issue_events_url":"https://api.github.com/repos/yast/yast-pkg-bindings/issues/events{/number}","events_url":"https://api.github.com/repos/yast/yast-pkg-bindings/events","assignees_url":"https://api.github.com/repos/yast/yast-pkg-bindings/assignees{/user}","branches_url":"https://api.github.com/repos/yast/yast-pkg-bindings/branches{/branch}","tags_url":"https://api.github.com/repos/yast/yast-pkg-bindings/tags","blobs_url":"https://api.github.com/repos/yast/yast-pkg-bindings/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/yast/yast-pkg-bindings/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/yast/yast-pkg-bindings/git/refs{/sha}","trees_url":"https://api.github.com/repos/yast/yast-pkg-bindings/git/trees{/sha}","statuses_url":"https://api.github.com/repos/yast/yast-pkg-bindings/statuses/{sha}","languages_url":"https://api.github.com/repos/yast/yast-pkg-bindings/languages","stargazers_url":"https://api.github.com/repos/yast/yast-pkg-bindings/stargazers","contributors_url":"https://api.github.com/repos/yast/yast-pkg-bindings/contributors","subscribers_url":"https://api.github.com/repos/yast/yast-pkg-bindings/subscribers","subscription_url":"https://api.github.com/repos/yast/yast-pkg-bindings/subscription","commits_url":"https://api.github.com/repos/yast/yast-pkg-bindings/commits{/sha}","git_commits_url":"https://api.github.com/repos/yast/yast-pkg-bindings/git/commits{/sha}","comments_url":"https://api.github.com/repos/yast/yast-pkg-bindings/comments{/number}","issue_comment_url":"https://api.github.com/repos/yast/yast-pkg-bindings/issues/comments{/number}","contents_url":"https://api.github.com/repos/yast/yast-pkg-bindings/contents/{+path}","compare_url":"https://api.github.com/repos/yast/yast-pkg-bindings/compare/{base}...{head}","merges_url":"https://api.github.com/repos/yast/yast-pkg-bindings/merges","archive_url":"https://api.github.com/repos/yast/yast-pkg-bindings/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/yast/yast-pkg-bindings/downloads","issues_url":"https://api.github.com/repos/yast/yast-pkg-bindings/issues{/number}","pulls_url":"https://api.github.com/repos/yast/yast-pkg-bindings/pulls{/number}","milestones_url":"https://api.github.com/repos/yast/yast-pkg-bindings/milestones{/number}","notifications_url":"https://api.github.com/repos/yast/yast-pkg-bindings/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/yast/yast-pkg-bindings/labels{/name}","releases_url":"https://api.github.com/repos/yast/yast-pkg-bindings/releases{/id}","deployments_url":"https://api.github.com/repos/yast/yast-pkg-bindings/deployments","created_at":"2012-05-18T10:25:31Z","updated_at":"2016-02-18T14:31:51Z","pushed_at":"2017-03-29T15:05:45Z","git_url":"git://github.com/yast/yast-pkg-bindings.git","ssh_url":"git@github.com:yast/yast-pkg-bindings.git","clone_url":"https://github.com/yast/yast-pkg-bindings.git","svn_url":"https://github.com/yast/yast-pkg-bindings","homepage":"http://en.opensuse.org/Portal:YaST","size":12440,"stargazers_count":1,"watchers_count":1,"language":"C++","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":5,"mirror_url":null,"open_issues_count":1,"forks":5,"open_issues":1,"watchers":1,"default_branch":"master"}},"base":{"label":"yast:SLE-12-SP1","ref":"SLE-12-SP1","sha":"762e4e0f186aca5e49868f108d31713f88a654f1","user":{"login":"yast","id":909990,"avatar_url":"https://avatars2.githubusercontent.com/u/909990?v=3","gravatar_id":"","url":"https://api.github.com/users/yast","html_url":"https://github.com/yast","followers_url":"https://api.github.com/users/yast/followers","following_url":"https://api.github.com/users/yast/following{/other_user}","gists_url":"https://api.github.com/users/yast/gists{/gist_id}","starred_url":"https://api.github.com/users/yast/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yast/subscriptions","organizations_url":"https://api.github.com/users/yast/orgs","repos_url":"https://api.github.com/users/yast/repos","events_url":"https://api.github.com/users/yast/events{/privacy}","received_events_url":"https://api.github.com/users/yast/received_events","type":"Organization","site_admin":false},"repo":{"id":4368183,"name":"yast-pkg-bindings","full_name":"yast/yast-pkg-bindings","owner":{"login":"yast","id":909990,"avatar_url":"https://avatars2.githubusercontent.com/u/909990?v=3","gravatar_id":"","url":"https://api.github.com/users/yast","html_url":"https://github.com/yast","followers_url":"https://api.github.com/users/yast/followers","following_url":"https://api.github.com/users/yast/following{/other_user}","gists_url":"https://api.github.com/users/yast/gists{/gist_id}","starred_url":"https://api.github.com/users/yast/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yast/subscriptions","organizations_url":"https://api.github.com/users/yast/orgs","repos_url":"https://api.github.com/users/yast/repos","events_url":"https://api.github.com/users/yast/events{/privacy}","received_events_url":"https://api.github.com/users/yast/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/yast/yast-pkg-bindings","description":"YaST module pkg-bindings","fork":false,"url":"https://api.github.com/repos/yast/yast-pkg-bindings","forks_url":"https://api.github.com/repos/yast/yast-pkg-bindings/forks","keys_url":"https://api.github.com/repos/yast/yast-pkg-bindings/keys{/key_id}","collaborators_url":"https://api.github.com/repos/yast/yast-pkg-bindings/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/yast/yast-pkg-bindings/teams","hooks_url":"https://api.github.com/repos/yast/yast-pkg-bindings/hooks","issue_events_url":"https://api.github.com/repos/yast/yast-pkg-bindings/issues/events{/number}","events_url":"https://api.github.com/repos/yast/yast-pkg-bindings/events","assignees_url":"https://api.github.com/repos/yast/yast-pkg-bindings/assignees{/user}","branches_url":"https://api.github.com/repos/yast/yast-pkg-bindings/branches{/branch}","tags_url":"https://api.github.com/repos/yast/yast-pkg-bindings/tags","blobs_url":"https://api.github.com/repos/yast/yast-pkg-bindings/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/yast/yast-pkg-bindings/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/yast/yast-pkg-bindings/git/refs{/sha}","trees_url":"https://api.github.com/repos/yast/yast-pkg-bindings/git/trees{/sha}","statuses_url":"https://api.github.com/repos/yast/yast-pkg-bindings/statuses/{sha}","languages_url":"https://api.github.com/repos/yast/yast-pkg-bindings/languages","stargazers_url":"https://api.github.com/repos/yast/yast-pkg-bindings/stargazers","contributors_url":"https://api.github.com/repos/yast/yast-pkg-bindings/contributors","subscribers_url":"https://api.github.com/repos/yast/yast-pkg-bindings/subscribers","subscription_url":"https://api.github.com/repos/yast/yast-pkg-bindings/subscription","commits_url":"https://api.github.com/repos/yast/yast-pkg-bindings/commits{/sha}","git_commits_url":"https://api.github.com/repos/yast/yast-pkg-bindings/git/commits{/sha}","comments_url":"https://api.github.com/repos/yast/yast-pkg-bindings/comments{/number}","issue_comment_url":"https://api.github.com/repos/yast/yast-pkg-bindings/issues/comments{/number}","contents_url":"https://api.github.com/repos/yast/yast-pkg-bindings/contents/{+path}","compare_url":"https://api.github.com/repos/yast/yast-pkg-bindings/compare/{base}...{head}","merges_url":"https://api.github.com/repos/yast/yast-pkg-bindings/merges","archive_url":"https://api.github.com/repos/yast/yast-pkg-bindings/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/yast/yast-pkg-bindings/downloads","issues_url":"https://api.github.com/repos/yast/yast-pkg-bindings/issues{/number}","pulls_url":"https://api.github.com/repos/yast/yast-pkg-bindings/pulls{/number}","milestones_url":"https://api.github.com/repos/yast/yast-pkg-bindings/milestones{/number}","notifications_url":"https://api.github.com/repos/yast/yast-pkg-bindings/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/yast/yast-pkg-bindings/labels{/name}","releases_url":"https://api.github.com/repos/yast/yast-pkg-bindings/releases{/id}","deployments_url":"https://api.github.com/repos/yast/yast-pkg-bindings/deployments","created_at":"2012-05-18T10:25:31Z","updated_at":"2016-02-18T14:31:51Z","pushed_at":"2017-03-29T15:05:45Z","git_url":"git://github.com/yast/yast-pkg-bindings.git","ssh_url":"git@github.com:yast/yast-pkg-bindings.git","clone_url":"https://github.com/yast/yast-pkg-bindings.git","svn_url":"https://github.com/yast/yast-pkg-bindings","homepage":"http://en.opensuse.org/Portal:YaST","size":12440,"stargazers_count":1,"watchers_count":1,"language":"C++","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":5,"mirror_url":null,"open_issues_count":1,"forks":5,"open_issues":1,"watchers":1,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/yast/yast-pkg-bindings/pulls/64"},"html":{"href":"https://github.com/yast/yast-pkg-bindings/pull/64"},"issue":{"href":"https://api.github.com/repos/yast/yast-pkg-bindings/issues/64"},"comments":{"href":"https://api.github.com/repos/yast/yast-pkg-bindings/issues/64/comments"},"review_comments":{"href":"https://api.github.com/repos/yast/yast-pkg-bindings/pulls/64/comments"},"review_comment":{"href":"https://api.github.com/repos/yast/yast-pkg-bindings/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/yast/yast-pkg-bindings/pulls/64/commits"},"statuses":{"href":"https://api.github.com/repos/yast/yast-pkg-bindings/statuses/02d95436c3cfe89f0d67e49247114189e71bd6d2"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"lslezak","id":907998,"avatar_url":"https://avatars1.githubusercontent.com/u/907998?v=3","gravatar_id":"","url":"https://api.github.com/users/lslezak","html_url":"https://github.com/lslezak","followers_url":"https://api.github.com/users/lslezak/followers","following_url":"https://api.github.com/users/lslezak/following{/other_user}","gists_url":"https://api.github.com/users/lslezak/gists{/gist_id}","starred_url":"https://api.github.com/users/lslezak/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lslezak/subscriptions","organizations_url":"https://api.github.com/users/lslezak/orgs","repos_url":"https://api.github.com/users/lslezak/repos","events_url":"https://api.github.com/users/lslezak/events{/privacy}","received_events_url":"https://api.github.com/users/lslezak/received_events","type":"User","site_admin":false},"comments":0,"review_comments":0,"maintainer_can_modify":false,"commits":1,"additions":23,"deletions":5,"changed_files":5}}
{"actor":{"display_login":"lslezak"}}