You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
com.typesafe.sbt.packager.debian.Keys.packageDescription in SbtNativePackager.Linux := "descr",
com.typesafe.sbt.packager.debian.Keys.packageSummary in SbtNativePackager.Linux := "sum",
when I run debian:packageBin I get in /etc/init/package.conf
which contains:
description "sum"
which is bad, as I expected it to be 'descr'
The problem is more important than it seems, as packageSummary is not required, but when it is unspecified - file /etc/init/my-package.conf is invalid, and the service is not registered.
I think the main point is that a summary should be a one-liner and the description can be multline.
This was the main reason to use the packageSummary for the description field in upstart. What would you suggest?
Ok, we should at least require that, as it is required to provide description. when I do not have it - I get
Stack trace suppressed: run last debian:debianControlFile for the full output.
[error] (debian:debianControlFile) packageDescription in Debian cannot be empty. Use
[error] packageDescription in Debian := "My package Description"
This check is done by dpkg-build. So what we need would be a warning if you are using
a server loader that requires a packageSummary. That's actually a bigger tasks as we don't have any validation task at the moment.
The keys are the same. There is a common trait which gets extended. Just use
having
when I run debian:packageBin I get in /etc/init/package.conf
which contains:
description "sum"
which is bad, as I expected it to be 'descr'
The problem is more important than it seems, as packageSummary is not required, but when it is unspecified - file /etc/init/my-package.conf is invalid, and the service is not registered.
The text was updated successfully, but these errors were encountered: