{"action":"closed","number":83,"pull_request":{"url":"https://api.github.com/repos/mmstick/cargo-deb/pulls/83","id":232414847,"node_id":"MDExOlB1bGxSZXF1ZXN0MjMyNDE0ODQ3","html_url":"https://github.com/mmstick/cargo-deb/pull/83","diff_url":"https://github.com/mmstick/cargo-deb/pull/83.diff","patch_url":"https://github.com/mmstick/cargo-deb/pull/83.patch","issue_url":"https://api.github.com/repos/mmstick/cargo-deb/issues/83","number":83,"state":"closed","locked":false,"title":"Create separate `.debug` file for debug symbols","user":{"login":"richardwhiuk","id":346165,"node_id":"MDQ6VXNlcjM0NjE2NQ==","avatar_url":"https://avatars2.githubusercontent.com/u/346165?v=4","gravatar_id":"","url":"https://api.github.com/users/richardwhiuk","html_url":"https://github.com/richardwhiuk","followers_url":"https://api.github.com/users/richardwhiuk/followers","following_url":"https://api.github.com/users/richardwhiuk/following{/other_user}","gists_url":"https://api.github.com/users/richardwhiuk/gists{/gist_id}","starred_url":"https://api.github.com/users/richardwhiuk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/richardwhiuk/subscriptions","organizations_url":"https://api.github.com/users/richardwhiuk/orgs","repos_url":"https://api.github.com/users/richardwhiuk/repos","events_url":"https://api.github.com/users/richardwhiuk/events{/privacy}","received_events_url":"https://api.github.com/users/richardwhiuk/received_events","type":"User","site_admin":false},"body":"Currently, there are two options when it comes to debug symbols:\r\n\r\n- By default, they aren't included in the release profile. If they are included they can be stripped. This means that you end up with a small binary, but with no debug symbols.\r\n\r\n- Alternatively, Cargo can be configured to keep the debug symbols in the release profile, and they get left in the binary. This means that the binary is fairly large (e.g. it can be more than ten times as big), but the binary can be debugged.\r\n\r\nThis change adds a third option, and adds the `--separate-debug-symbols` option to cargo deb. In this mode, the debug symbols will be copied to a separate `.debug` file before being stripped out.\r\n\r\nThis debug file will be placed under `/usr/lib/debug` which will automatically be picked up by GDB. This means the debug symbols won't inflate the size of binary in memory, but will be available on demand.","created_at":"2018-11-20T18:17:04Z","updated_at":"2018-12-02T22:32:58Z","closed_at":"2018-12-02T22:32:58Z","merged_at":"2018-12-02T22:32:58Z","merge_commit_sha":"33012f847ea1d6aee9bd1729eb7f014148f56241","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/mmstick/cargo-deb/pulls/83/commits","review_comments_url":"https://api.github.com/repos/mmstick/cargo-deb/pulls/83/comments","review_comment_url":"https://api.github.com/repos/mmstick/cargo-deb/pulls/comments{/number}","comments_url":"https://api.github.com/repos/mmstick/cargo-deb/issues/83/comments","statuses_url":"https://api.github.com/repos/mmstick/cargo-deb/statuses/889f0fa56054e76958534acd3f5c3943e105b0ab","head":{"label":"Metaswitch:debug_files","ref":"debug_files","sha":"889f0fa56054e76958534acd3f5c3943e105b0ab","user":{"login":"Metaswitch","id":453759,"node_id":"MDEyOk9yZ2FuaXphdGlvbjQ1Mzc1OQ==","avatar_url":"https://avatars1.githubusercontent.com/u/453759?v=4","gravatar_id":"","url":"https://api.github.com/users/Metaswitch","html_url":"https://github.com/Metaswitch","followers_url":"https://api.github.com/users/Metaswitch/followers","following_url":"https://api.github.com/users/Metaswitch/following{/other_user}","gists_url":"https://api.github.com/users/Metaswitch/gists{/gist_id}","starred_url":"https://api.github.com/users/Metaswitch/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Metaswitch/subscriptions","organizations_url":"https://api.github.com/users/Metaswitch/orgs","repos_url":"https://api.github.com/users/Metaswitch/repos","events_url":"https://api.github.com/users/Metaswitch/events{/privacy}","received_events_url":"https://api.github.com/users/Metaswitch/received_events","type":"Organization","site_admin":false},"repo":{"id":158430053,"node_id":"MDEwOlJlcG9zaXRvcnkxNTg0MzAwNTM=","name":"cargo-deb","full_name":"Metaswitch/cargo-deb","private":false,"owner":{"login":"Metaswitch","id":453759,"node_id":"MDEyOk9yZ2FuaXphdGlvbjQ1Mzc1OQ==","avatar_url":"https://avatars1.githubusercontent.com/u/453759?v=4","gravatar_id":"","url":"https://api.github.com/users/Metaswitch","html_url":"https://github.com/Metaswitch","followers_url":"https://api.github.com/users/Metaswitch/followers","following_url":"https://api.github.com/users/Metaswitch/following{/other_user}","gists_url":"https://api.github.com/users/Metaswitch/gists{/gist_id}","starred_url":"https://api.github.com/users/Metaswitch/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Metaswitch/subscriptions","organizations_url":"https://api.github.com/users/Metaswitch/orgs","repos_url":"https://api.github.com/users/Metaswitch/repos","events_url":"https://api.github.com/users/Metaswitch/events{/privacy}","received_events_url":"https://api.github.com/users/Metaswitch/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/Metaswitch/cargo-deb","description":"A cargo subcommand that generates Debian packages from information in Cargo.toml","fork":true,"url":"https://api.github.com/repos/Metaswitch/cargo-deb","forks_url":"https://api.github.com/repos/Metaswitch/cargo-deb/forks","keys_url":"https://api.github.com/repos/Metaswitch/cargo-deb/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Metaswitch/cargo-deb/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Metaswitch/cargo-deb/teams","hooks_url":"https://api.github.com/repos/Metaswitch/cargo-deb/hooks","issue_events_url":"https://api.github.com/repos/Metaswitch/cargo-deb/issues/events{/number}","events_url":"https://api.github.com/repos/Metaswitch/cargo-deb/events","assignees_url":"https://api.github.com/repos/Metaswitch/cargo-deb/assignees{/user}","branches_url":"https://api.github.com/repos/Metaswitch/cargo-deb/branches{/branch}","tags_url":"https://api.github.com/repos/Metaswitch/cargo-deb/tags","blobs_url":"https://api.github.com/repos/Metaswitch/cargo-deb/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Metaswitch/cargo-deb/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Metaswitch/cargo-deb/git/refs{/sha}","trees_url":"https://api.github.com/repos/Metaswitch/cargo-deb/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Metaswitch/cargo-deb/statuses/{sha}","languages_url":"https://api.github.com/repos/Metaswitch/cargo-deb/languages","stargazers_url":"https://api.github.com/repos/Metaswitch/cargo-deb/stargazers","contributors_url":"https://api.github.com/repos/Metaswitch/cargo-deb/contributors","subscribers_url":"https://api.github.com/repos/Metaswitch/cargo-deb/subscribers","subscription_url":"https://api.github.com/repos/Metaswitch/cargo-deb/subscription","commits_url":"https://api.github.com/repos/Metaswitch/cargo-deb/commits{/sha}","git_commits_url":"https://api.github.com/repos/Metaswitch/cargo-deb/git/commits{/sha}","comments_url":"https://api.github.com/repos/Metaswitch/cargo-deb/comments{/number}","issue_comment_url":"https://api.github.com/repos/Metaswitch/cargo-deb/issues/comments{/number}","contents_url":"https://api.github.com/repos/Metaswitch/cargo-deb/contents/{+path}","compare_url":"https://api.github.com/repos/Metaswitch/cargo-deb/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Metaswitch/cargo-deb/merges","archive_url":"https://api.github.com/repos/Metaswitch/cargo-deb/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Metaswitch/cargo-deb/downloads","issues_url":"https://api.github.com/repos/Metaswitch/cargo-deb/issues{/number}","pulls_url":"https://api.github.com/repos/Metaswitch/cargo-deb/pulls{/number}","milestones_url":"https://api.github.com/repos/Metaswitch/cargo-deb/milestones{/number}","notifications_url":"https://api.github.com/repos/Metaswitch/cargo-deb/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Metaswitch/cargo-deb/labels{/name}","releases_url":"https://api.github.com/repos/Metaswitch/cargo-deb/releases{/id}","deployments_url":"https://api.github.com/repos/Metaswitch/cargo-deb/deployments","created_at":"2018-11-20T17:53:04Z","updated_at":"2018-11-20T17:53:07Z","pushed_at":"2018-11-20T18:11:43Z","git_url":"git://github.com/Metaswitch/cargo-deb.git","ssh_url":"git@github.com:Metaswitch/cargo-deb.git","clone_url":"https://github.com/Metaswitch/cargo-deb.git","svn_url":"https://github.com/Metaswitch/cargo-deb","homepage":null,"size":315,"stargazers_count":0,"watchers_count":0,"language":"Rust","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"mmstick:master","ref":"master","sha":"50e3f445168e91775119c0ec924e29c748c9827b","user":{"login":"mmstick","id":4143535,"node_id":"MDQ6VXNlcjQxNDM1MzU=","avatar_url":"https://avatars1.githubusercontent.com/u/4143535?v=4","gravatar_id":"","url":"https://api.github.com/users/mmstick","html_url":"https://github.com/mmstick","followers_url":"https://api.github.com/users/mmstick/followers","following_url":"https://api.github.com/users/mmstick/following{/other_user}","gists_url":"https://api.github.com/users/mmstick/gists{/gist_id}","starred_url":"https://api.github.com/users/mmstick/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mmstick/subscriptions","organizations_url":"https://api.github.com/users/mmstick/orgs","repos_url":"https://api.github.com/users/mmstick/repos","events_url":"https://api.github.com/users/mmstick/events{/privacy}","received_events_url":"https://api.github.com/users/mmstick/received_events","type":"User","site_admin":false},"repo":{"id":61313703,"node_id":"MDEwOlJlcG9zaXRvcnk2MTMxMzcwMw==","name":"cargo-deb","full_name":"mmstick/cargo-deb","private":false,"owner":{"login":"mmstick","id":4143535,"node_id":"MDQ6VXNlcjQxNDM1MzU=","avatar_url":"https://avatars1.githubusercontent.com/u/4143535?v=4","gravatar_id":"","url":"https://api.github.com/users/mmstick","html_url":"https://github.com/mmstick","followers_url":"https://api.github.com/users/mmstick/followers","following_url":"https://api.github.com/users/mmstick/following{/other_user}","gists_url":"https://api.github.com/users/mmstick/gists{/gist_id}","starred_url":"https://api.github.com/users/mmstick/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mmstick/subscriptions","organizations_url":"https://api.github.com/users/mmstick/orgs","repos_url":"https://api.github.com/users/mmstick/repos","events_url":"https://api.github.com/users/mmstick/events{/privacy}","received_events_url":"https://api.github.com/users/mmstick/received_events","type":"User","site_admin":false},"html_url":"https://github.com/mmstick/cargo-deb","description":"A cargo subcommand that generates Debian packages from information in Cargo.toml","fork":false,"url":"https://api.github.com/repos/mmstick/cargo-deb","forks_url":"https://api.github.com/repos/mmstick/cargo-deb/forks","keys_url":"https://api.github.com/repos/mmstick/cargo-deb/keys{/key_id}","collaborators_url":"https://api.github.com/repos/mmstick/cargo-deb/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/mmstick/cargo-deb/teams","hooks_url":"https://api.github.com/repos/mmstick/cargo-deb/hooks","issue_events_url":"https://api.github.com/repos/mmstick/cargo-deb/issues/events{/number}","events_url":"https://api.github.com/repos/mmstick/cargo-deb/events","assignees_url":"https://api.github.com/repos/mmstick/cargo-deb/assignees{/user}","branches_url":"https://api.github.com/repos/mmstick/cargo-deb/branches{/branch}","tags_url":"https://api.github.com/repos/mmstick/cargo-deb/tags","blobs_url":"https://api.github.com/repos/mmstick/cargo-deb/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/mmstick/cargo-deb/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/mmstick/cargo-deb/git/refs{/sha}","trees_url":"https://api.github.com/repos/mmstick/cargo-deb/git/trees{/sha}","statuses_url":"https://api.github.com/repos/mmstick/cargo-deb/statuses/{sha}","languages_url":"https://api.github.com/repos/mmstick/cargo-deb/languages","stargazers_url":"https://api.github.com/repos/mmstick/cargo-deb/stargazers","contributors_url":"https://api.github.com/repos/mmstick/cargo-deb/contributors","subscribers_url":"https://api.github.com/repos/mmstick/cargo-deb/subscribers","subscription_url":"https://api.github.com/repos/mmstick/cargo-deb/subscription","commits_url":"https://api.github.com/repos/mmstick/cargo-deb/commits{/sha}","git_commits_url":"https://api.github.com/repos/mmstick/cargo-deb/git/commits{/sha}","comments_url":"https://api.github.com/repos/mmstick/cargo-deb/comments{/number}","issue_comment_url":"https://api.github.com/repos/mmstick/cargo-deb/issues/comments{/number}","contents_url":"https://api.github.com/repos/mmstick/cargo-deb/contents/{+path}","compare_url":"https://api.github.com/repos/mmstick/cargo-deb/compare/{base}...{head}","merges_url":"https://api.github.com/repos/mmstick/cargo-deb/merges","archive_url":"https://api.github.com/repos/mmstick/cargo-deb/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/mmstick/cargo-deb/downloads","issues_url":"https://api.github.com/repos/mmstick/cargo-deb/issues{/number}","pulls_url":"https://api.github.com/repos/mmstick/cargo-deb/pulls{/number}","milestones_url":"https://api.github.com/repos/mmstick/cargo-deb/milestones{/number}","notifications_url":"https://api.github.com/repos/mmstick/cargo-deb/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/mmstick/cargo-deb/labels{/name}","releases_url":"https://api.github.com/repos/mmstick/cargo-deb/releases{/id}","deployments_url":"https://api.github.com/repos/mmstick/cargo-deb/deployments","created_at":"2016-06-16T17:40:44Z","updated_at":"2018-11-29T21:43:30Z","pushed_at":"2018-12-02T22:32:58Z","git_url":"git://github.com/mmstick/cargo-deb.git","ssh_url":"git@github.com:mmstick/cargo-deb.git","clone_url":"https://github.com/mmstick/cargo-deb.git","svn_url":"https://github.com/mmstick/cargo-deb","homepage":null,"size":315,"stargazers_count":271,"watchers_count":271,"language":"Rust","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":22,"mirror_url":null,"archived":false,"open_issues_count":11,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":22,"open_issues":11,"watchers":271,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/mmstick/cargo-deb/pulls/83"},"html":{"href":"https://github.com/mmstick/cargo-deb/pull/83"},"issue":{"href":"https://api.github.com/repos/mmstick/cargo-deb/issues/83"},"comments":{"href":"https://api.github.com/repos/mmstick/cargo-deb/issues/83/comments"},"review_comments":{"href":"https://api.github.com/repos/mmstick/cargo-deb/pulls/83/comments"},"review_comment":{"href":"https://api.github.com/repos/mmstick/cargo-deb/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/mmstick/cargo-deb/pulls/83/commits"},"statuses":{"href":"https://api.github.com/repos/mmstick/cargo-deb/statuses/889f0fa56054e76958534acd3f5c3943e105b0ab"}},"author_association":"NONE","merged":true,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":{"login":"kornelski","id":72159,"node_id":"MDQ6VXNlcjcyMTU5","avatar_url":"https://avatars0.githubusercontent.com/u/72159?v=4","gravatar_id":"","url":"https://api.github.com/users/kornelski","html_url":"https://github.com/kornelski","followers_url":"https://api.github.com/users/kornelski/followers","following_url":"https://api.github.com/users/kornelski/following{/other_user}","gists_url":"https://api.github.com/users/kornelski/gists{/gist_id}","starred_url":"https://api.github.com/users/kornelski/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kornelski/subscriptions","organizations_url":"https://api.github.com/users/kornelski/orgs","repos_url":"https://api.github.com/users/kornelski/repos","events_url":"https://api.github.com/users/kornelski/events{/privacy}","received_events_url":"https://api.github.com/users/kornelski/received_events","type":"User","site_admin":false},"comments":2,"review_comments":0,"maintainer_can_modify":false,"commits":1,"additions":240,"deletions":54,"changed_files":4}}
{"actor":{"display_login":"kornelski"}}