Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.maint.java > #12271

Re: packaging Go runtime for ANTLR4

Path csiph.com!tncsrv06.tnetconsulting.net!2.eu.feeder.erje.net!feeder.erje.net!newsfeed.xs4all.nl!newsfeed9.news.xs4all.nl!bofh.it!news.nic.it!robomod
From Emmanuel Bourg <ebourg@apache.org>
Newsgroups linux.debian.maint.java
Subject Re: packaging Go runtime for ANTLR4
Date Fri, 30 Jul 2021 05:50:01 +0200
Message-ID <CGrH3-7oO-3@gated-at.bofh.it> (permalink)
References <CFqk1-1NQ-1@gated-at.bofh.it> <CFMNz-7OR-5@gated-at.bofh.it> <CFTm1-3va-5@gated-at.bofh.it>
X-Original-To debian-java@lists.debian.org
X-Mailbox-Line From debian-java-request@lists.debian.org Fri Jul 30 03:44:21 2021
Old-Return-Path <ebourg@apache.org>
X-Amavis-Spam-Status No, score=-6.998 tagged_above=-10000 required=5.3 tests=[BAYES_00=-2, LDO_WHITELIST=-5, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001] autolearn=ham autolearn_force=no
X-Policyd-Weight NOT_IN_SBL_XBL_SPAMHAUS=-1.5 CL_IP_EQ_HELO_IP=-2 (check from: .apache. - helo: .5.mo3.mail-out.ovh. - helo-domain: .ovh.) FROM/MX_MATCHES_NOT_HELO(DOMAIN)=0; rate: -3.5
X-Greylist delayed 12594 seconds by postgrey-1.36 at bendel; Fri, 30 Jul 2021 03:44:11 UTC
MIME-Version 1.0
User-Agent Roundcube Webmail/1.4.10
X-Sender ebourg@apache.org
X-Originating-IP 78.197.213.85
X-Webmail-Userid ebourg-oss@ariane-software.com
Content-Type text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding 8bit
X-Ovh-Tracer-ID 2423499553240643766
X-Vr-Spamstate OK
X-Vr-Spamcause gggruggvucftvghtrhhoucdtuddrgedvtddrheefgdduudegucetufdoteggodetrfdotffvucfrrhhofhhilhgvmecuqfggjfdpvefjgfevmfevgfenuceurghilhhouhhtmecuhedttdenucenucfjughrpeggfffhvffujghffgfkgihitgfgsehtkehjtddtreejnecuhfhrohhmpefgmhhmrghnuhgvlhcuuehouhhrghcuoegvsghouhhrghesrghprggthhgvrdhorhhgqeenucggtffrrghtthgvrhhnpeefvdefieeuudegvddvlefgueelgedvledvudeugfeiuddvfeejgedttdeljeeuffenucfkpheptddrtddrtddrtddpjeekrdduleejrddvudefrdekheenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhhouggvpehsmhhtphdqohhuthdphhgvlhhopehplhgrhigvrheiledtrdhhrgdrohhvhhdrnhgvthdpihhnvghtpedtrddtrddtrddtpdhmrghilhhfrhhomhepvggsohhurhhgsegrphgrtghhvgdrohhrghdprhgtphhtthhopeguvggsihgrnhdqjhgrvhgrsehlihhsthhsrdguvggsihgrnhdrohhrgh
X-Mailing-List <debian-java@lists.debian.org> archive/latest/22900
List-ID <debian-java.lists.debian.org>
List-URL <https://lists.debian.org/debian-java/>
List-Archive https://lists.debian.org/msgid-search/1151a036359c0b8106f2b56285b65f6d@apache.org
Approved robomod@news.nic.it
Lines 51
Organization linux.* mail to news gateway
Sender robomod@news.nic.it
X-Original-Date Thu, 29 Jul 2021 23:46:09 +0200
X-Original-Message-ID <1151a036359c0b8106f2b56285b65f6d@apache.org>
X-Original-References <a89baab1-0b60-7b8c-734e-c12c0ae77646@posteo.de> <a7af0dd65f1913b65b3dc8a641163bda@apache.org> <20210728150803.qfw5los2idiy24ld@lark>
Xref csiph.com linux.debian.maint.java:12271

Show key headers only | View raw


Le 2021-07-28 17:08, tony mancill a écrit :

> I don't disagree with Emmanuel's statements about the importance of
> ANTLR and why it is helpful to maintain separation.  However, I don't
> think introducing a separate source package each language ecosystem is
> necessarily best for Debian.

It's not optimal for the number of source packages in the distribution,
but it's optimal wrt the human resources available to maintain the 
packages,
and that's much more important than a few saved megabytes on the APT
repository mirrors. With separate source packages, I'm confident that
an issue with the Go/Python/C++ compiler and build tools won't hinder
the work on the Java library. Bootstrapping ANTLR4 wasn't a trivial task
(there was circular self dependencies) and I don't think I would have
been able to do it if I had to care about the other languages.


> It causes additional work for the Security team when in the event there 
> vulnerabilities.

AFAIK there was no CVE reported for ANTLR so far, so separate packages
do not induce an increased security maintenance in this case.


> It potentially confuses users (and Debian developers) by creating a 
> distinction that does not exist upstream.

I'm thinking about documenting in debian/README.source why the languages
are isolated in separate packages, this isn't the first time this 
question
arises.


> It also means that we will release with different versions of ANTLR
> for different languages, which feels very "non-distro" to me.  (What 
> happens
> if the version of the ANTLR parser for language X is subtly 
> incompatible with
> language Y, and a user runs a system on Debian that requires both
> bindings?)

We already have several versions of ANTLR for Java packaged (2.7.7, 3.2, 
3.5.2
and 4.7.2). If a new version of ANTLR creates regressions, we just clone
the package to preserve the old version. That's the only sane solution,
because you really don't want to test, debug and fix grammars with an
incompatible version of ANTLR, that's the reponsability of the upstream
developers.

Emmanuel Bourg

Back to linux.debian.maint.java | Previous | NextPrevious in thread | Find similar


Thread

packaging Go runtime for ANTLR4 Peymaneh Nejad <p.nejad@posteo.de> - 2021-07-27 10:10 +0200
  Re: packaging Go runtime for ANTLR4 Olek Wojnar <olek@debian.org> - 2021-07-27 17:10 +0200
    Re: packaging Go runtime for ANTLR4 tony mancill <tmancill@debian.org> - 2021-07-27 18:10 +0200
  Re: packaging Go runtime for ANTLR4 Emmanuel Bourg <ebourg@apache.org> - 2021-07-28 10:10 +0200
    Re: packaging Go runtime for ANTLR4 Peymaneh Nejad <p.nejad@posteo.de> - 2021-07-28 11:20 +0200
    Re: packaging Go runtime for ANTLR4 tony mancill <tmancill@debian.org> - 2021-07-28 17:10 +0200
      Re: Re: packaging Go runtime for ANTLR4 Nilesh Patra <nilesh@debian.org> - 2021-07-28 21:40 +0200
        Re: packaging Go runtime for ANTLR4 tony mancill <tmancill@debian.org> - 2021-07-28 21:50 +0200
        Re: packaging Go runtime for ANTLR4 Andrius Merkys <merkys@debian.org> - 2021-07-29 09:10 +0200
          Re: packaging Go runtime for ANTLR4 Olek Wojnar <olek@debian.org> - 2021-07-29 16:20 +0200
          Re: packaging Go runtime for ANTLR4 Nilesh Patra <nilesh@debian.org> - 2021-07-29 21:50 +0200
          antlr 4.10 released [Was: Re: packaging Go runtime for ANTLR4] Andrius Merkys <merkys@debian.org> - 2022-04-13 10:40 +0200
        Re: packaging Go runtime for ANTLR4 Emmanuel Bourg <ebourg@apache.org> - 2021-07-30 02:40 +0200
      Re: packaging Go runtime for ANTLR4 Emmanuel Bourg <ebourg@apache.org> - 2021-07-30 05:50 +0200

csiph-web