{"action":"created","comment":{"url":"https://api.github.com/repos/openSUSE/snapper/pulls/comments/46531069","id":46531069,"diff_hunk":"@@ -0,0 +1,26 @@\n+# -*- coding: utf-8 -*-\n+# make continuous integration using rubygem-packaging_rake_tasks\n+# Copyright © 2015 SUSE\n+# MIT license\n+\n+require \"packaging/tasks\"\n+require \"packaging/configuration\"\n+# skip 'tarball' task, it's redefined here\n+Packaging::Tasks.load_tasks(:exclude => [\"tarball.rake\"])\n+\n+Packaging.configuration do |conf|\n+  conf.obs_project    = \"YaST:Head\"\n+  conf.obs_sr_project = \"openSUSE:Factory\"\n+  conf.package_dir    = \".obsdir\"\n+  conf.skip_license_check << /.*/\n+end","path":"Rakefile","position":16,"original_position":16,"commit_id":"711fab0dbab2c274d31671620de5c18b920f00aa","original_commit_id":"711fab0dbab2c274d31671620de5c18b920f00aa","user":{"login":"jreidinger","id":478871,"avatar_url":"https://avatars.githubusercontent.com/u/478871?v=3","gravatar_id":"","url":"https://api.github.com/users/jreidinger","html_url":"https://github.com/jreidinger","followers_url":"https://api.github.com/users/jreidinger/followers","following_url":"https://api.github.com/users/jreidinger/following{/other_user}","gists_url":"https://api.github.com/users/jreidinger/gists{/gist_id}","starred_url":"https://api.github.com/users/jreidinger/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jreidinger/subscriptions","organizations_url":"https://api.github.com/users/jreidinger/orgs","repos_url":"https://api.github.com/users/jreidinger/repos","events_url":"https://api.github.com/users/jreidinger/events{/privacy}","received_events_url":"https://api.github.com/users/jreidinger/received_events","type":"User","site_admin":false},"body":"ci.opensuse.org do not by default submit to SP2 but to factory. If you are interested, ci.s.d send to SP2","created_at":"2015-12-03T09:49:46Z","updated_at":"2015-12-03T09:49:46Z","html_url":"https://github.com/openSUSE/snapper/pull/211#discussion_r46531069","pull_request_url":"https://api.github.com/repos/openSUSE/snapper/pulls/211","_links":{"self":{"href":"https://api.github.com/repos/openSUSE/snapper/pulls/comments/46531069"},"html":{"href":"https://github.com/openSUSE/snapper/pull/211#discussion_r46531069"},"pull_request":{"href":"https://api.github.com/repos/openSUSE/snapper/pulls/211"}}},"pull_request":{"url":"https://api.github.com/repos/openSUSE/snapper/pulls/211","id":51638670,"html_url":"https://github.com/openSUSE/snapper/pull/211","diff_url":"https://github.com/openSUSE/snapper/pull/211.diff","patch_url":"https://github.com/openSUSE/snapper/pull/211.patch","issue_url":"https://api.github.com/repos/openSUSE/snapper/issues/211","number":211,"state":"open","locked":false,"title":"From Git to OBS with fewer dependencies.","user":{"login":"mvidner","id":102056,"avatar_url":"https://avatars.githubusercontent.com/u/102056?v=3","gravatar_id":"","url":"https://api.github.com/users/mvidner","html_url":"https://github.com/mvidner","followers_url":"https://api.github.com/users/mvidner/followers","following_url":"https://api.github.com/users/mvidner/following{/other_user}","gists_url":"https://api.github.com/users/mvidner/gists{/gist_id}","starred_url":"https://api.github.com/users/mvidner/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mvidner/subscriptions","organizations_url":"https://api.github.com/users/mvidner/orgs","repos_url":"https://api.github.com/users/mvidner/repos","events_url":"https://api.github.com/users/mvidner/events{/privacy}","received_events_url":"https://api.github.com/users/mvidner/received_events","type":"User","site_admin":false},"body":"The basic idea is to automate the Git -> OBS workflow, including the dependencies needed to make the tarball.\r\n\r\nTo be used in Jenkins as\r\n```sh\r\n\r\ncd $WORKSPACE\r\nrake osc:build  # or osc:commit or osc:sr\r\n```\r\nSee https://ci.suse.de/job/snapper/28/console\r\n\r\nYes, Rake (and Ruby) is foreign to C++ development. I think it is justified to introduce it for the specific task of submitting to the openSUSE Build Service, something a C++ contributor does not need but our team does.\r\n\r\nA bash-only part that does not rely on Ruby has been split out into https://github.com/openSUSE/obs-package-from-git (see its Readme there).\r\n","created_at":"2015-11-24T10:06:26Z","updated_at":"2015-12-03T09:49:46Z","closed_at":null,"merged_at":null,"merge_commit_sha":"27802cb9974b20f0ed8729e6f1e4544f073d7cef","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/openSUSE/snapper/pulls/211/commits","review_comments_url":"https://api.github.com/repos/openSUSE/snapper/pulls/211/comments","review_comment_url":"https://api.github.com/repos/openSUSE/snapper/pulls/comments{/number}","comments_url":"https://api.github.com/repos/openSUSE/snapper/issues/211/comments","statuses_url":"https://api.github.com/repos/openSUSE/snapper/statuses/711fab0dbab2c274d31671620de5c18b920f00aa","head":{"label":"openSUSE:jenkins_support","ref":"jenkins_support","sha":"711fab0dbab2c274d31671620de5c18b920f00aa","user":{"login":"openSUSE","id":623819,"avatar_url":"https://avatars.githubusercontent.com/u/623819?v=3","gravatar_id":"","url":"https://api.github.com/users/openSUSE","html_url":"https://github.com/openSUSE","followers_url":"https://api.github.com/users/openSUSE/followers","following_url":"https://api.github.com/users/openSUSE/following{/other_user}","gists_url":"https://api.github.com/users/openSUSE/gists{/gist_id}","starred_url":"https://api.github.com/users/openSUSE/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/openSUSE/subscriptions","organizations_url":"https://api.github.com/users/openSUSE/orgs","repos_url":"https://api.github.com/users/openSUSE/repos","events_url":"https://api.github.com/users/openSUSE/events{/privacy}","received_events_url":"https://api.github.com/users/openSUSE/received_events","type":"Organization","site_admin":false},"repo":{"id":4086360,"name":"snapper","full_name":"openSUSE/snapper","owner":{"login":"openSUSE","id":623819,"avatar_url":"https://avatars.githubusercontent.com/u/623819?v=3","gravatar_id":"","url":"https://api.github.com/users/openSUSE","html_url":"https://github.com/openSUSE","followers_url":"https://api.github.com/users/openSUSE/followers","following_url":"https://api.github.com/users/openSUSE/following{/other_user}","gists_url":"https://api.github.com/users/openSUSE/gists{/gist_id}","starred_url":"https://api.github.com/users/openSUSE/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/openSUSE/subscriptions","organizations_url":"https://api.github.com/users/openSUSE/orgs","repos_url":"https://api.github.com/users/openSUSE/repos","events_url":"https://api.github.com/users/openSUSE/events{/privacy}","received_events_url":"https://api.github.com/users/openSUSE/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/openSUSE/snapper","description":"Manage filesystem snapshots and allow undo of system modifications","fork":false,"url":"https://api.github.com/repos/openSUSE/snapper","forks_url":"https://api.github.com/repos/openSUSE/snapper/forks","keys_url":"https://api.github.com/repos/openSUSE/snapper/keys{/key_id}","collaborators_url":"https://api.github.com/repos/openSUSE/snapper/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/openSUSE/snapper/teams","hooks_url":"https://api.github.com/repos/openSUSE/snapper/hooks","issue_events_url":"https://api.github.com/repos/openSUSE/snapper/issues/events{/number}","events_url":"https://api.github.com/repos/openSUSE/snapper/events","assignees_url":"https://api.github.com/repos/openSUSE/snapper/assignees{/user}","branches_url":"https://api.github.com/repos/openSUSE/snapper/branches{/branch}","tags_url":"https://api.github.com/repos/openSUSE/snapper/tags","blobs_url":"https://api.github.com/repos/openSUSE/snapper/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/openSUSE/snapper/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/openSUSE/snapper/git/refs{/sha}","trees_url":"https://api.github.com/repos/openSUSE/snapper/git/trees{/sha}","statuses_url":"https://api.github.com/repos/openSUSE/snapper/statuses/{sha}","languages_url":"https://api.github.com/repos/openSUSE/snapper/languages","stargazers_url":"https://api.github.com/repos/openSUSE/snapper/stargazers","contributors_url":"https://api.github.com/repos/openSUSE/snapper/contributors","subscribers_url":"https://api.github.com/repos/openSUSE/snapper/subscribers","subscription_url":"https://api.github.com/repos/openSUSE/snapper/subscription","commits_url":"https://api.github.com/repos/openSUSE/snapper/commits{/sha}","git_commits_url":"https://api.github.com/repos/openSUSE/snapper/git/commits{/sha}","comments_url":"https://api.github.com/repos/openSUSE/snapper/comments{/number}","issue_comment_url":"https://api.github.com/repos/openSUSE/snapper/issues/comments{/number}","contents_url":"https://api.github.com/repos/openSUSE/snapper/contents/{+path}","compare_url":"https://api.github.com/repos/openSUSE/snapper/compare/{base}...{head}","merges_url":"https://api.github.com/repos/openSUSE/snapper/merges","archive_url":"https://api.github.com/repos/openSUSE/snapper/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/openSUSE/snapper/downloads","issues_url":"https://api.github.com/repos/openSUSE/snapper/issues{/number}","pulls_url":"https://api.github.com/repos/openSUSE/snapper/pulls{/number}","milestones_url":"https://api.github.com/repos/openSUSE/snapper/milestones{/number}","notifications_url":"https://api.github.com/repos/openSUSE/snapper/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/openSUSE/snapper/labels{/name}","releases_url":"https://api.github.com/repos/openSUSE/snapper/releases{/id}","created_at":"2012-04-20T12:40:55Z","updated_at":"2015-11-25T21:20:40Z","pushed_at":"2015-12-01T08:42:47Z","git_url":"git://github.com/openSUSE/snapper.git","ssh_url":"git@github.com:openSUSE/snapper.git","clone_url":"https://github.com/openSUSE/snapper.git","svn_url":"https://github.com/openSUSE/snapper","homepage":"http://snapper.io/","size":4239,"stargazers_count":141,"watchers_count":141,"language":"C++","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":25,"mirror_url":null,"open_issues_count":30,"forks":25,"open_issues":30,"watchers":141,"default_branch":"master"}},"base":{"label":"openSUSE:master","ref":"master","sha":"4351cbb391f1109307f13293a16c4877fa7bcd53","user":{"login":"openSUSE","id":623819,"avatar_url":"https://avatars.githubusercontent.com/u/623819?v=3","gravatar_id":"","url":"https://api.github.com/users/openSUSE","html_url":"https://github.com/openSUSE","followers_url":"https://api.github.com/users/openSUSE/followers","following_url":"https://api.github.com/users/openSUSE/following{/other_user}","gists_url":"https://api.github.com/users/openSUSE/gists{/gist_id}","starred_url":"https://api.github.com/users/openSUSE/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/openSUSE/subscriptions","organizations_url":"https://api.github.com/users/openSUSE/orgs","repos_url":"https://api.github.com/users/openSUSE/repos","events_url":"https://api.github.com/users/openSUSE/events{/privacy}","received_events_url":"https://api.github.com/users/openSUSE/received_events","type":"Organization","site_admin":false},"repo":{"id":4086360,"name":"snapper","full_name":"openSUSE/snapper","owner":{"login":"openSUSE","id":623819,"avatar_url":"https://avatars.githubusercontent.com/u/623819?v=3","gravatar_id":"","url":"https://api.github.com/users/openSUSE","html_url":"https://github.com/openSUSE","followers_url":"https://api.github.com/users/openSUSE/followers","following_url":"https://api.github.com/users/openSUSE/following{/other_user}","gists_url":"https://api.github.com/users/openSUSE/gists{/gist_id}","starred_url":"https://api.github.com/users/openSUSE/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/openSUSE/subscriptions","organizations_url":"https://api.github.com/users/openSUSE/orgs","repos_url":"https://api.github.com/users/openSUSE/repos","events_url":"https://api.github.com/users/openSUSE/events{/privacy}","received_events_url":"https://api.github.com/users/openSUSE/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/openSUSE/snapper","description":"Manage filesystem snapshots and allow undo of system modifications","fork":false,"url":"https://api.github.com/repos/openSUSE/snapper","forks_url":"https://api.github.com/repos/openSUSE/snapper/forks","keys_url":"https://api.github.com/repos/openSUSE/snapper/keys{/key_id}","collaborators_url":"https://api.github.com/repos/openSUSE/snapper/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/openSUSE/snapper/teams","hooks_url":"https://api.github.com/repos/openSUSE/snapper/hooks","issue_events_url":"https://api.github.com/repos/openSUSE/snapper/issues/events{/number}","events_url":"https://api.github.com/repos/openSUSE/snapper/events","assignees_url":"https://api.github.com/repos/openSUSE/snapper/assignees{/user}","branches_url":"https://api.github.com/repos/openSUSE/snapper/branches{/branch}","tags_url":"https://api.github.com/repos/openSUSE/snapper/tags","blobs_url":"https://api.github.com/repos/openSUSE/snapper/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/openSUSE/snapper/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/openSUSE/snapper/git/refs{/sha}","trees_url":"https://api.github.com/repos/openSUSE/snapper/git/trees{/sha}","statuses_url":"https://api.github.com/repos/openSUSE/snapper/statuses/{sha}","languages_url":"https://api.github.com/repos/openSUSE/snapper/languages","stargazers_url":"https://api.github.com/repos/openSUSE/snapper/stargazers","contributors_url":"https://api.github.com/repos/openSUSE/snapper/contributors","subscribers_url":"https://api.github.com/repos/openSUSE/snapper/subscribers","subscription_url":"https://api.github.com/repos/openSUSE/snapper/subscription","commits_url":"https://api.github.com/repos/openSUSE/snapper/commits{/sha}","git_commits_url":"https://api.github.com/repos/openSUSE/snapper/git/commits{/sha}","comments_url":"https://api.github.com/repos/openSUSE/snapper/comments{/number}","issue_comment_url":"https://api.github.com/repos/openSUSE/snapper/issues/comments{/number}","contents_url":"https://api.github.com/repos/openSUSE/snapper/contents/{+path}","compare_url":"https://api.github.com/repos/openSUSE/snapper/compare/{base}...{head}","merges_url":"https://api.github.com/repos/openSUSE/snapper/merges","archive_url":"https://api.github.com/repos/openSUSE/snapper/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/openSUSE/snapper/downloads","issues_url":"https://api.github.com/repos/openSUSE/snapper/issues{/number}","pulls_url":"https://api.github.com/repos/openSUSE/snapper/pulls{/number}","milestones_url":"https://api.github.com/repos/openSUSE/snapper/milestones{/number}","notifications_url":"https://api.github.com/repos/openSUSE/snapper/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/openSUSE/snapper/labels{/name}","releases_url":"https://api.github.com/repos/openSUSE/snapper/releases{/id}","created_at":"2012-04-20T12:40:55Z","updated_at":"2015-11-25T21:20:40Z","pushed_at":"2015-12-01T08:42:47Z","git_url":"git://github.com/openSUSE/snapper.git","ssh_url":"git@github.com:openSUSE/snapper.git","clone_url":"https://github.com/openSUSE/snapper.git","svn_url":"https://github.com/openSUSE/snapper","homepage":"http://snapper.io/","size":4239,"stargazers_count":141,"watchers_count":141,"language":"C++","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":25,"mirror_url":null,"open_issues_count":30,"forks":25,"open_issues":30,"watchers":141,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/openSUSE/snapper/pulls/211"},"html":{"href":"https://github.com/openSUSE/snapper/pull/211"},"issue":{"href":"https://api.github.com/repos/openSUSE/snapper/issues/211"},"comments":{"href":"https://api.github.com/repos/openSUSE/snapper/issues/211/comments"},"review_comments":{"href":"https://api.github.com/repos/openSUSE/snapper/pulls/211/comments"},"review_comment":{"href":"https://api.github.com/repos/openSUSE/snapper/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/openSUSE/snapper/pulls/211/commits"},"statuses":{"href":"https://api.github.com/repos/openSUSE/snapper/statuses/711fab0dbab2c274d31671620de5c18b920f00aa"}}}}