{"action":"created","issue":{"url":"https://api.github.com/repos/goreleaser/nfpm/issues/20","repository_url":"https://api.github.com/repos/goreleaser/nfpm","labels_url":"https://api.github.com/repos/goreleaser/nfpm/issues/20/labels{/name}","comments_url":"https://api.github.com/repos/goreleaser/nfpm/issues/20/comments","events_url":"https://api.github.com/repos/goreleaser/nfpm/issues/20/events","html_url":"https://github.com/goreleaser/nfpm/pull/20","id":306998251,"number":20,"title":"Provide default value for Description field","user":{"login":"Lngramos","id":3799640,"avatar_url":"https://avatars3.githubusercontent.com/u/3799640?v=4","gravatar_id":"","url":"https://api.github.com/users/Lngramos","html_url":"https://github.com/Lngramos","followers_url":"https://api.github.com/users/Lngramos/followers","following_url":"https://api.github.com/users/Lngramos/following{/other_user}","gists_url":"https://api.github.com/users/Lngramos/gists{/gist_id}","starred_url":"https://api.github.com/users/Lngramos/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Lngramos/subscriptions","organizations_url":"https://api.github.com/users/Lngramos/orgs","repos_url":"https://api.github.com/users/Lngramos/repos","events_url":"https://api.github.com/users/Lngramos/events{/privacy}","received_events_url":"https://api.github.com/users/Lngramos/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-03-20T19:01:55Z","updated_at":"2018-03-20T19:16:21Z","closed_at":"2018-03-20T19:16:11Z","author_association":"CONTRIBUTOR","pull_request":{"url":"https://api.github.com/repos/goreleaser/nfpm/pulls/20","html_url":"https://github.com/goreleaser/nfpm/pull/20","diff_url":"https://github.com/goreleaser/nfpm/pull/20.diff","patch_url":"https://github.com/goreleaser/nfpm/pull/20.patch"},"body":"I've just hit an issue where `dpkg` was failing to process the Debian control file generated by `nfpm`. \r\n\r\n```\r\ndpkg: error processing archive /var/cache/apt/archives/testpackage_0.0.1_amd64.deb (--unpack):\r\n parsing file '/var/lib/dpkg/tmp.ci/control' near line 9 package 'testpackage':\r\n end of file before value of field 'Description' (missing final newline)\r\nErrors were encountered while processing:\r\n /var/cache/apt/archives/testpackage_0.0.1_amd64.deb\r\nE: Sub-process /usr/bin/dpkg returned an error code (1)\r\n```\r\n\r\nThis behavior can be reproduced by not providing a Description value, which according to the [official specs](https://www.debian.org/doc/debian-policy/#the-description-of-a-package), every Debian package must have one.\r\n\r\nOf course this can be worked around by actually giving a description, which I did so, and as much as I favor this solution given the technical spec's requirement, by not having this creates a breaking change in GoReleaser since it now uses `nfpm` by default even though this behavior doesn't mirror those in `fpm`.\r\n\r\nBut I'd like to propose having the same default value as `fpm` which is setting the default message to the value: \"no description given\". See: https://github.com/jordansissel/fpm/blob/8f2dd4516acf6639ec2410f6fc7f20b58a04c2ef/lib/fpm/package.rb#L151"},"comment":{"url":"https://api.github.com/repos/goreleaser/nfpm/issues/comments/374722750","html_url":"https://github.com/goreleaser/nfpm/pull/20#issuecomment-374722750","issue_url":"https://api.github.com/repos/goreleaser/nfpm/issues/20","id":374722750,"user":{"login":"caarlos0","id":245435,"avatar_url":"https://avatars3.githubusercontent.com/u/245435?v=4","gravatar_id":"","url":"https://api.github.com/users/caarlos0","html_url":"https://github.com/caarlos0","followers_url":"https://api.github.com/users/caarlos0/followers","following_url":"https://api.github.com/users/caarlos0/following{/other_user}","gists_url":"https://api.github.com/users/caarlos0/gists{/gist_id}","starred_url":"https://api.github.com/users/caarlos0/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/caarlos0/subscriptions","organizations_url":"https://api.github.com/users/caarlos0/orgs","repos_url":"https://api.github.com/users/caarlos0/repos","events_url":"https://api.github.com/users/caarlos0/events{/privacy}","received_events_url":"https://api.github.com/users/caarlos0/received_events","type":"User","site_admin":false},"created_at":"2018-03-20T19:16:21Z","updated_at":"2018-03-20T19:16:21Z","author_association":"OWNER","body":"LGTM, thanks =D\r\n\r\nI totally missed this default"}}
{"actor":{"display_login":"caarlos0"}}