Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:102893 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 15415 invoked from network); 17 Jul 2018 16:57:50 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 17 Jul 2018 16:57:50 -0000 Authentication-Results: pb1.pair.com smtp.mail=nikita.ppv@gmail.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=nikita.ppv@gmail.com; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.214.45 as permitted sender) X-PHP-List-Original-Sender: nikita.ppv@gmail.com X-Host-Fingerprint: 209.85.214.45 mail-it0-f45.google.com Received: from [209.85.214.45] ([209.85.214.45:50632] helo=mail-it0-f45.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 50/0B-37178-D002E4B5 for ; Tue, 17 Jul 2018 12:57:49 -0400 Received: by mail-it0-f45.google.com with SMTP id w16-v6so150277ita.0 for ; Tue, 17 Jul 2018 09:57:49 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=JOugmB8u9asxCJAdmayLOtQlGy1XP4Ei9sUYvFAtVFY=; b=lQMjpMtba8TImo0XRcl2pw7wzvB3cbD3SryNKwj/v1Jet09FUmUFb0F44eRc1tTB0f WplIyHejXzUZgzmzMeFhtvlVPlIZJjd5cFQh2fp7qc0X+RfyHi6eb88B9yF5AgiM+6ZF jWwgI6Zlv34s4yDxozTOBRDPjmZAvjYDhnaj/VpjvjBz1kmg0eMyLdRAnP1hm83Fzu5T bTIz051ST3wWGKt1uSC6D1pibB1yMrwcOK9fvWgG+4BaXDxCcy9ho5LKfEk6lzpLroYA 4jQVmeiRYiPG4zZmbyY7Di3R5N7K8PQD9AjStTU+YUM/0baic5WBYA5veIQQanBxpU52 ZKJg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=JOugmB8u9asxCJAdmayLOtQlGy1XP4Ei9sUYvFAtVFY=; b=Et+8vUrRXvAlInQd6ZwmmW+lbA+iOvtrTvDY4ib3prSargXQGZtBd/auZCaJipMJMZ VZdBredlsv/G9AF9MwY10U1Bj5tT+G95XgPY46Vxp2CXMhBAG4dHsjfcdo3XVZdD8SlC GgUxtY1Vz/bjYMkM8gSbrtvWRp0Lb/4NyNB4lB8XYUVPzdrGe5YW97RJ2Xaczvyw+cbt kqw/XJkDwSgNMjAX9TnTfKpbGEafm147JVAH324w80IG1BPctW1RPGJc9gABOUqub/tq q+4TPyXxPlEswWeVWJ5qyr1wxBGN6F1K4gjXwmJjCRVyLWXPfZhKuQPIO3fEca3v/0ph AlUA== X-Gm-Message-State: AOUpUlGUuJj3EilO5xzLOns1pBK8kYYAdH1QPVOF0HAXY9nxQ0TxRIjM YgE7VvvJqnwTbVy0yoC4Av1UIBHqxpu6xnljgxw= X-Google-Smtp-Source: AAOMgpfsOYsbAAvbvOO+XCHmXXwXrLksXfKCGzPP1H9Bo0n6Yr6MjJtpjF1Q9s7X/V3RzhxTOfH6R6H1Z+ChVDIAH24= X-Received: by 2002:a02:503:: with SMTP id e3-v6mr2334296jad.29.1531846667186; Tue, 17 Jul 2018 09:57:47 -0700 (PDT) MIME-Version: 1.0 Received: by 2002:a6b:148a:0:0:0:0:0 with HTTP; Tue, 17 Jul 2018 09:57:46 -0700 (PDT) In-Reply-To: References: <27a9854c-d779-366a-5cc8-70722487139c@fedoraproject.org> Date: Tue, 17 Jul 2018 18:57:46 +0200 Message-ID: To: Zeev Suraski Cc: Sara Golemon , Remi Collet , Internals Content-Type: multipart/alternative; boundary="00000000000072b632057134d8c1" Subject: Re: [PHP-DEV] re2c version(s) From: nikita.ppv@gmail.com (Nikita Popov) --00000000000072b632057134d8c1 Content-Type: text/plain; charset="UTF-8" On Tue, Jul 17, 2018 at 6:41 PM, Zeev Suraski wrote: > On Tue, Jul 17, 2018 at 6:05 PM Nikita Popov wrote: > >> I feel like we are all really in violent agreement that these files >> should be dropped from git, and at this point I'm not even sure what the >> discussion is about anymore. Let's wait until after PHP-7.3 branching in >> two weeks and drop them at that point. >> >> Normalizing the version numbers seems unnecessary after they are dropped >> -- at least Dmitry's original motivation for that was related exclusively >> to the spurious diffs caused by different versions, which will no longer be >> an issue. >> > > While we all agree that the files should be dropped from git - there > appears to be disagreement regarding what else we need to do in addition. > In my opinion if that's the only action we'd take then I don't think we > should do it and the status quo is actually better - as it would mean that > it will no longer be possible to build our packages in platforms that don't > have re2c available or typically installed. It needs to happen hand in > hand with providing these files in the source packages, and also ensuring > that whatever boxes one uses to create the packages - as well as developers > who check out the source code directly from git - have an acceptable > version of re2c. It may be that we can accept a wide range of re2c > versions (although if there are substantial differences in code perhaps > it's better to err on the side of caution). > > I'm not sure why we're not simply following exactly what we're doing with > the parser. We have a list of acceptable bison versions. We check both in > configure and makedist against that list, and refuse to generate the parser > otherwise. We don't track the generated .c file in source control - but we > do include it in distros to account for environments that don't typically > have bison installed. Why not do exactly the same with the re2c scanner? > Ah yes, *of course* the generated files will be part of distribution tarballs, just like we do with all generated files (not just the parser, but also configure.) While I forgot to write this in my original mail, it has been mentioned already 4 days ago. So again, it seems like we're really in total agreement here, just a matter of turning it into reality ;) Nikita --00000000000072b632057134d8c1--