From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ricardo Wurmus Subject: bug#29700: Java packages need to retain references Date: Fri, 15 Dec 2017 08:49:40 +0100 Message-ID: <87k1xov3aj.fsf@elephly.net> References: <87tvwuutvr.fsf@elephly.net> <87mv2kvrud.fsf@elephly.net> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:51751) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ePklv-0002tg-Od for bug-guix@gnu.org; Fri, 15 Dec 2017 02:51:08 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ePklq-0002k6-U3 for bug-guix@gnu.org; Fri, 15 Dec 2017 02:51:07 -0500 Received: from debbugs.gnu.org ([208.118.235.43]:54066) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1ePklq-0002jX-KS for bug-guix@gnu.org; Fri, 15 Dec 2017 02:51:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1ePklq-0000Yj-83 for bug-guix@gnu.org; Fri, 15 Dec 2017 02:51:02 -0500 Sender: "Debbugs-submit" Resent-Message-ID: In-reply-to: List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+gcggb-bug-guix=m.gmane.org@gnu.org Sender: "bug-Guix" To: =?UTF-8?Q?G=C3=A1bor?= Boskovits Cc: 29700-done@debbugs.gnu.org Hi G=C3=A1bor, > If we later decide that compression is desired we can still go with a tex= t > file with references. This wouldn=E2=80=99t always be feasible, because it would require *manual* reference tracking. The packager would need to know what references need to be retained and then ensure that they are part of that text file. > Anyway, do you think that extending the reference scanner would be a good > idea? We had the same problem with gzipped R files and zipped Python things. For the R files a more advanced reference scanner would not work, because the files just include a gzipped section; it=E2=80=99s not the whol= e file that=E2=80=99s simply gzipped. Detecting sections is too hard. But for Python and Jars it might just be enough. [PS: please don=E2=80=99t top-post.] -- Ricardo GPG: BCA6 89B6 3655 3801 C3C6 2150 197A 5888 235F ACAC https://elephly.net