{"action":"created","issue":{"url":"https://api.github.com/repos/chef/omnibus/issues/408","repository_url":"https://api.github.com/repos/chef/omnibus","labels_url":"https://api.github.com/repos/chef/omnibus/issues/408/labels{/name}","comments_url":"https://api.github.com/repos/chef/omnibus/issues/408/comments","events_url":"https://api.github.com/repos/chef/omnibus/issues/408/events","html_url":"https://github.com/chef/omnibus/pull/408","id":51805958,"number":408,"title":"Add a base_name option to Debian packager","user":{"login":"jefmathiot","id":610676,"avatar_url":"https://avatars.githubusercontent.com/u/610676?v=3","gravatar_id":"","url":"https://api.github.com/users/jefmathiot","html_url":"https://github.com/jefmathiot","followers_url":"https://api.github.com/users/jefmathiot/followers","following_url":"https://api.github.com/users/jefmathiot/following{/other_user}","gists_url":"https://api.github.com/users/jefmathiot/gists{/gist_id}","starred_url":"https://api.github.com/users/jefmathiot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jefmathiot/subscriptions","organizations_url":"https://api.github.com/users/jefmathiot/orgs","repos_url":"https://api.github.com/users/jefmathiot/repos","events_url":"https://api.github.com/users/jefmathiot/events{/privacy}","received_events_url":"https://api.github.com/users/jefmathiot/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/chef/omnibus/labels/Signed%20CLA","name":"Signed CLA","color":"ededed"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":9,"created_at":"2014-12-12T13:29:37Z","updated_at":"2016-03-31T17:27:32Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/chef/omnibus/pulls/408","html_url":"https://github.com/chef/omnibus/pull/408","diff_url":"https://github.com/chef/omnibus/pull/408.diff","patch_url":"https://github.com/chef/omnibus/pull/408.patch"},"body":"The name of the output file is currently inherited from the project. One could want to change the file name (say to `my-project-ubuntu_1.2.3-1.amd64.deb`) but keep the name of the package identical (`my-project`). For example, I needed to build two different packages using the same packager (Debian) but apply two different provisioning recipes depending on the build platform. This modification would avoid a name clash on the resulting artefacts:\r\n\r\n```ruby\r\nbuild_platform = ohai['platform']\r\n\r\npackage :deb do\r\n  ...\r\n  base_name \"my-software-#{build_platform}\"\r\nend\r\n```"},"comment":{"url":"https://api.github.com/repos/chef/omnibus/issues/comments/204038198","html_url":"https://github.com/chef/omnibus/pull/408#issuecomment-204038198","issue_url":"https://api.github.com/repos/chef/omnibus/issues/408","id":204038198,"user":{"login":"chef-supermarket","id":7798939,"avatar_url":"https://avatars.githubusercontent.com/u/7798939?v=3","gravatar_id":"","url":"https://api.github.com/users/chef-supermarket","html_url":"https://github.com/chef-supermarket","followers_url":"https://api.github.com/users/chef-supermarket/followers","following_url":"https://api.github.com/users/chef-supermarket/following{/other_user}","gists_url":"https://api.github.com/users/chef-supermarket/gists{/gist_id}","starred_url":"https://api.github.com/users/chef-supermarket/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chef-supermarket/subscriptions","organizations_url":"https://api.github.com/users/chef-supermarket/orgs","repos_url":"https://api.github.com/users/chef-supermarket/repos","events_url":"https://api.github.com/users/chef-supermarket/events{/privacy}","received_events_url":"https://api.github.com/users/chef-supermarket/received_events","type":"User","site_admin":false},"created_at":"2016-03-31T17:27:32Z","updated_at":"2016-03-31T17:27:32Z","body":"Hi. Your friendly Curry bot here. Just letting you know that all commit authors have become authorized to contribute. I have added the \"Signed CLA\" label to this issue so it can easily be found in the future."}}