-
Notifications
You must be signed in to change notification settings - Fork 443
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
server deb packages are not lintian clean #391
Comments
This is a problem
The maintainer has to tackle this
That's an interesting one. I wonder what debian expects here? Maybe we have to remove the mapping and create this folder only within the bash scripts
Shouldn't the pre-remove script shutdown the service?
We should fix this! |
Yes, the no-copyright-file and the binary-without-manpage are the only ones that should actually be there for a minimal example package. For the others, see: |
Looking over the issues list, the dir-or-file-in-var-run is actually the root cause behind #357 |
Smooth! Thanks for doing this research. Hopefully I can fix this soon. Or you provide a pull request :) |
For the directory permissions I will delay this until we switch to java7. If you call this in java 6 val file = new File("test/test2")
file mkdirs() all non-existing directories will (always?) be created with val directory: String = _
val start = ("", Seq[LinuxPackageMapping]())
val mappings = directory.split("/").foldLeft(start) {
case ((path, mappings), dir ) =>
val nextPath = path + "/" + dir
val mapping = packageTemplateMapping(nextPath)() withUser user withGroup group withPerms "755"
(nextPath, mappings :+ mapping)
}
// get the mappings
mappings._2 We actually have a still valid fix for this in #142 |
FIX #391 Fixing all lintian errors and some warnings
Following the "Getting Started" examples and running debian:lintian results in a package with many warnings and errors.
With this build.sbt:
you get:
The text was updated successfully, but these errors were encountered: