{"action":"closed","number":2,"pull_request":{"url":"https://api.github.com/repos/underscorejho/howto-buntu/pulls/2","id":34806431,"html_url":"https://github.com/underscorejho/howto-buntu/pull/2","diff_url":"https://github.com/underscorejho/howto-buntu/pull/2.diff","patch_url":"https://github.com/underscorejho/howto-buntu/pull/2.patch","issue_url":"https://api.github.com/repos/underscorejho/howto-buntu/issues/2","number":2,"state":"closed","locked":false,"title":"Debian Package","user":{"login":"martensms","id":592637,"avatar_url":"https://avatars.githubusercontent.com/u/592637?v=3","gravatar_id":"","url":"https://api.github.com/users/martensms","html_url":"https://github.com/martensms","followers_url":"https://api.github.com/users/martensms/followers","following_url":"https://api.github.com/users/martensms/following{/other_user}","gists_url":"https://api.github.com/users/martensms/gists{/gist_id}","starred_url":"https://api.github.com/users/martensms/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/martensms/subscriptions","organizations_url":"https://api.github.com/users/martensms/orgs","repos_url":"https://api.github.com/users/martensms/repos","events_url":"https://api.github.com/users/martensms/events{/privacy}","received_events_url":"https://api.github.com/users/martensms/received_events","type":"User","site_admin":false},"body":"Hey there,\r\n\r\nI made a debian package generator that would ease up installation for newbies.\r\nYou have to do these steps to have a really valid package, which I could not fulfill myself without further information:\r\n\r\n**Important Notes**:\r\n\r\n- Replace invalid email address (email@server.tld) in ./package/ubuntu/DEBIAN/control\r\n- Replace invalid email address (email@server.tld) in ./package/ubuntu/root/usr/share/doc/howto/* files\r\n\r\n- Version of the package is the VERSION variable in ./package.sh\r\n- basics.py is now namespaced in /usr/lib/howto/basics.py. This is important, no execution flag anymore, no shebang in order to be debian package compliant. I added a `sys.path.append(\"/usr/lib/howto\")` into the howto file.\r\n\r\n- /usr/bin/* files are renamed to have no .py execution (debian package requirement), so this is a manual `mv` call inside the ./package.sh\r\n\r\n- I did not remove the old shell scripts, if the package works we might not need them anymore.\r\n\r\n\r\nThe prototypical package seems to work, it currently has only the dependencies of python and python-bs4 (without any specific version). Let me know if it works for you, too.\r\n\r\n\r\nCheers from Germany,\r\nChris","created_at":"2015-05-06T10:53:15Z","updated_at":"2015-05-06T20:20:17Z","closed_at":"2015-05-06T20:20:17Z","merged_at":null,"merge_commit_sha":"c64f12ae0a68ba1b369418f12f11c098ee74377f","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/underscorejho/howto-buntu/pulls/2/commits","review_comments_url":"https://api.github.com/repos/underscorejho/howto-buntu/pulls/2/comments","review_comment_url":"https://api.github.com/repos/underscorejho/howto-buntu/pulls/comments{/number}","comments_url":"https://api.github.com/repos/underscorejho/howto-buntu/issues/2/comments","statuses_url":"https://api.github.com/repos/underscorejho/howto-buntu/statuses/52657498396f416d045859dc819fbdfa74c1d5ef","head":{"label":"martensms:package","ref":"package","sha":"52657498396f416d045859dc819fbdfa74c1d5ef","user":{"login":"martensms","id":592637,"avatar_url":"https://avatars.githubusercontent.com/u/592637?v=3","gravatar_id":"","url":"https://api.github.com/users/martensms","html_url":"https://github.com/martensms","followers_url":"https://api.github.com/users/martensms/followers","following_url":"https://api.github.com/users/martensms/following{/other_user}","gists_url":"https://api.github.com/users/martensms/gists{/gist_id}","starred_url":"https://api.github.com/users/martensms/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/martensms/subscriptions","organizations_url":"https://api.github.com/users/martensms/orgs","repos_url":"https://api.github.com/users/martensms/repos","events_url":"https://api.github.com/users/martensms/events{/privacy}","received_events_url":"https://api.github.com/users/martensms/received_events","type":"User","site_admin":false},"repo":{"id":35152253,"name":"howto-buntu","full_name":"martensms/howto-buntu","owner":{"login":"martensms","id":592637,"avatar_url":"https://avatars.githubusercontent.com/u/592637?v=3","gravatar_id":"","url":"https://api.github.com/users/martensms","html_url":"https://github.com/martensms","followers_url":"https://api.github.com/users/martensms/followers","following_url":"https://api.github.com/users/martensms/following{/other_user}","gists_url":"https://api.github.com/users/martensms/gists{/gist_id}","starred_url":"https://api.github.com/users/martensms/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/martensms/subscriptions","organizations_url":"https://api.github.com/users/martensms/orgs","repos_url":"https://api.github.com/users/martensms/repos","events_url":"https://api.github.com/users/martensms/events{/privacy}","received_events_url":"https://api.github.com/users/martensms/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/martensms/howto-buntu","description":"","fork":true,"url":"https://api.github.com/repos/martensms/howto-buntu","forks_url":"https://api.github.com/repos/martensms/howto-buntu/forks","keys_url":"https://api.github.com/repos/martensms/howto-buntu/keys{/key_id}","collaborators_url":"https://api.github.com/repos/martensms/howto-buntu/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/martensms/howto-buntu/teams","hooks_url":"https://api.github.com/repos/martensms/howto-buntu/hooks","issue_events_url":"https://api.github.com/repos/martensms/howto-buntu/issues/events{/number}","events_url":"https://api.github.com/repos/martensms/howto-buntu/events","assignees_url":"https://api.github.com/repos/martensms/howto-buntu/assignees{/user}","branches_url":"https://api.github.com/repos/martensms/howto-buntu/branches{/branch}","tags_url":"https://api.github.com/repos/martensms/howto-buntu/tags","blobs_url":"https://api.github.com/repos/martensms/howto-buntu/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/martensms/howto-buntu/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/martensms/howto-buntu/git/refs{/sha}","trees_url":"https://api.github.com/repos/martensms/howto-buntu/git/trees{/sha}","statuses_url":"https://api.github.com/repos/martensms/howto-buntu/statuses/{sha}","languages_url":"https://api.github.com/repos/martensms/howto-buntu/languages","stargazers_url":"https://api.github.com/repos/martensms/howto-buntu/stargazers","contributors_url":"https://api.github.com/repos/martensms/howto-buntu/contributors","subscribers_url":"https://api.github.com/repos/martensms/howto-buntu/subscribers","subscription_url":"https://api.github.com/repos/martensms/howto-buntu/subscription","commits_url":"https://api.github.com/repos/martensms/howto-buntu/commits{/sha}","git_commits_url":"https://api.github.com/repos/martensms/howto-buntu/git/commits{/sha}","comments_url":"https://api.github.com/repos/martensms/howto-buntu/comments{/number}","issue_comment_url":"https://api.github.com/repos/martensms/howto-buntu/issues/comments{/number}","contents_url":"https://api.github.com/repos/martensms/howto-buntu/contents/{+path}","compare_url":"https://api.github.com/repos/martensms/howto-buntu/compare/{base}...{head}","merges_url":"https://api.github.com/repos/martensms/howto-buntu/merges","archive_url":"https://api.github.com/repos/martensms/howto-buntu/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/martensms/howto-buntu/downloads","issues_url":"https://api.github.com/repos/martensms/howto-buntu/issues{/number}","pulls_url":"https://api.github.com/repos/martensms/howto-buntu/pulls{/number}","milestones_url":"https://api.github.com/repos/martensms/howto-buntu/milestones{/number}","notifications_url":"https://api.github.com/repos/martensms/howto-buntu/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/martensms/howto-buntu/labels{/name}","releases_url":"https://api.github.com/repos/martensms/howto-buntu/releases{/id}","created_at":"2015-05-06T09:57:30Z","updated_at":"2015-05-06T09:57:30Z","pushed_at":"2015-05-06T10:45:58Z","git_url":"git://github.com/martensms/howto-buntu.git","ssh_url":"git@github.com:martensms/howto-buntu.git","clone_url":"https://github.com/martensms/howto-buntu.git","svn_url":"https://github.com/martensms/howto-buntu","homepage":null,"size":152,"stargazers_count":0,"watchers_count":0,"language":"Python","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":"underscorejho:master","ref":"master","sha":"25bb40df95a5eb5c37b41826dea5590a8b8b04dc","user":{"login":"underscorejho","id":10719869,"avatar_url":"https://avatars.githubusercontent.com/u/10719869?v=3","gravatar_id":"","url":"https://api.github.com/users/underscorejho","html_url":"https://github.com/underscorejho","followers_url":"https://api.github.com/users/underscorejho/followers","following_url":"https://api.github.com/users/underscorejho/following{/other_user}","gists_url":"https://api.github.com/users/underscorejho/gists{/gist_id}","starred_url":"https://api.github.com/users/underscorejho/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/underscorejho/subscriptions","organizations_url":"https://api.github.com/users/underscorejho/orgs","repos_url":"https://api.github.com/users/underscorejho/repos","events_url":"https://api.github.com/users/underscorejho/events{/privacy}","received_events_url":"https://api.github.com/users/underscorejho/received_events","type":"User","site_admin":false},"repo":{"id":34774627,"name":"howto-buntu","full_name":"underscorejho/howto-buntu","owner":{"login":"underscorejho","id":10719869,"avatar_url":"https://avatars.githubusercontent.com/u/10719869?v=3","gravatar_id":"","url":"https://api.github.com/users/underscorejho","html_url":"https://github.com/underscorejho","followers_url":"https://api.github.com/users/underscorejho/followers","following_url":"https://api.github.com/users/underscorejho/following{/other_user}","gists_url":"https://api.github.com/users/underscorejho/gists{/gist_id}","starred_url":"https://api.github.com/users/underscorejho/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/underscorejho/subscriptions","organizations_url":"https://api.github.com/users/underscorejho/orgs","repos_url":"https://api.github.com/users/underscorejho/repos","events_url":"https://api.github.com/users/underscorejho/events{/privacy}","received_events_url":"https://api.github.com/users/underscorejho/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/underscorejho/howto-buntu","description":"","fork":false,"url":"https://api.github.com/repos/underscorejho/howto-buntu","forks_url":"https://api.github.com/repos/underscorejho/howto-buntu/forks","keys_url":"https://api.github.com/repos/underscorejho/howto-buntu/keys{/key_id}","collaborators_url":"https://api.github.com/repos/underscorejho/howto-buntu/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/underscorejho/howto-buntu/teams","hooks_url":"https://api.github.com/repos/underscorejho/howto-buntu/hooks","issue_events_url":"https://api.github.com/repos/underscorejho/howto-buntu/issues/events{/number}","events_url":"https://api.github.com/repos/underscorejho/howto-buntu/events","assignees_url":"https://api.github.com/repos/underscorejho/howto-buntu/assignees{/user}","branches_url":"https://api.github.com/repos/underscorejho/howto-buntu/branches{/branch}","tags_url":"https://api.github.com/repos/underscorejho/howto-buntu/tags","blobs_url":"https://api.github.com/repos/underscorejho/howto-buntu/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/underscorejho/howto-buntu/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/underscorejho/howto-buntu/git/refs{/sha}","trees_url":"https://api.github.com/repos/underscorejho/howto-buntu/git/trees{/sha}","statuses_url":"https://api.github.com/repos/underscorejho/howto-buntu/statuses/{sha}","languages_url":"https://api.github.com/repos/underscorejho/howto-buntu/languages","stargazers_url":"https://api.github.com/repos/underscorejho/howto-buntu/stargazers","contributors_url":"https://api.github.com/repos/underscorejho/howto-buntu/contributors","subscribers_url":"https://api.github.com/repos/underscorejho/howto-buntu/subscribers","subscription_url":"https://api.github.com/repos/underscorejho/howto-buntu/subscription","commits_url":"https://api.github.com/repos/underscorejho/howto-buntu/commits{/sha}","git_commits_url":"https://api.github.com/repos/underscorejho/howto-buntu/git/commits{/sha}","comments_url":"https://api.github.com/repos/underscorejho/howto-buntu/comments{/number}","issue_comment_url":"https://api.github.com/repos/underscorejho/howto-buntu/issues/comments{/number}","contents_url":"https://api.github.com/repos/underscorejho/howto-buntu/contents/{+path}","compare_url":"https://api.github.com/repos/underscorejho/howto-buntu/compare/{base}...{head}","merges_url":"https://api.github.com/repos/underscorejho/howto-buntu/merges","archive_url":"https://api.github.com/repos/underscorejho/howto-buntu/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/underscorejho/howto-buntu/downloads","issues_url":"https://api.github.com/repos/underscorejho/howto-buntu/issues{/number}","pulls_url":"https://api.github.com/repos/underscorejho/howto-buntu/pulls{/number}","milestones_url":"https://api.github.com/repos/underscorejho/howto-buntu/milestones{/number}","notifications_url":"https://api.github.com/repos/underscorejho/howto-buntu/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/underscorejho/howto-buntu/labels{/name}","releases_url":"https://api.github.com/repos/underscorejho/howto-buntu/releases{/id}","created_at":"2015-04-29T05:42:57Z","updated_at":"2015-05-06T09:12:39Z","pushed_at":"2015-05-06T10:53:16Z","git_url":"git://github.com/underscorejho/howto-buntu.git","ssh_url":"git@github.com:underscorejho/howto-buntu.git","clone_url":"https://github.com/underscorejho/howto-buntu.git","svn_url":"https://github.com/underscorejho/howto-buntu","homepage":null,"size":152,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":1,"forks":1,"open_issues":1,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/underscorejho/howto-buntu/pulls/2"},"html":{"href":"https://github.com/underscorejho/howto-buntu/pull/2"},"issue":{"href":"https://api.github.com/repos/underscorejho/howto-buntu/issues/2"},"comments":{"href":"https://api.github.com/repos/underscorejho/howto-buntu/issues/2/comments"},"review_comments":{"href":"https://api.github.com/repos/underscorejho/howto-buntu/pulls/2/comments"},"review_comment":{"href":"https://api.github.com/repos/underscorejho/howto-buntu/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/underscorejho/howto-buntu/pulls/2/commits"},"statuses":{"href":"https://api.github.com/repos/underscorejho/howto-buntu/statuses/52657498396f416d045859dc819fbdfa74c1d5ef"}},"merged":false,"mergeable":true,"mergeable_state":"clean","merged_by":null,"comments":3,"review_comments":0,"commits":2,"additions":101,"deletions":4,"changed_files":12}}