-
Improvement
-
Resolution: Fixed
-
Trivial
-
None
-
Ubuntu
The description of the Ubuntu package is currently cut off in a really unusual manner. I would have expected this to be a truncation, but it looks like the first part of the package description has been removed. This is only for .deb packages as the rhel and suse packages are fine. I think it might be part of the dpkg scripts not properly picking up the results of the branding file. There could also be a malformed character
ubuntu@ip-172-31-24-219:~$ dpkg --info jenkins_2.7.4_all.deb new debian package, version 2.0. size 68039982 bytes: control archive=2262 bytes. 66 bytes, 3 lines conffiles 495 bytes, 14 lines control 199 bytes, 3 lines md5sums 3433 bytes, 95 lines * postinst #!/bin/sh 746 bytes, 36 lines * postrm #!/bin/sh 204 bytes, 7 lines * prerm #!/bin/sh Package: jenkins Version: 2.7.4 Architecture: all Maintainer: Kohsuke Kawaguchi <kk@kohsuke.org> Installed-Size: 67334 Depends: daemon, adduser, procps, psmisc, net-tools, default-jre-headless (>= 2:1.7) | java7-runtime-headless Conflicts: hudson Replaces: hudson Section: devel Priority: extra Homepage: http://jenkins.io/ Description: continuous integration system Jenkins is an application that monitors executions of repeated jobs, such as building a software project or jobs run by cron.
- links to
Found that the description isn't cut off, it's in fact just completely different from the descriptions in RHEL and in SUSE because it's hardcoded in the `control` file. Unlike rpm, there's no convenient automatic reading from a description file. So now the description reads from the appropriate file. Now if there's ever a change in description, all the packages will have the same information.
The downside to this is the newlines aren't nicely spaced since make doesn't preserve new line characters, the method in which we're loading the branding doesn't preserve new lines anyway, and the version of make we're using doesn't support the file import command (available in make 4.1 and higher).