Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:102892 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 13748 invoked from network); 17 Jul 2018 16:42:01 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 17 Jul 2018 16:42:01 -0000 Authentication-Results: pb1.pair.com smtp.mail=vsuraski@gmail.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=vsuraski@gmail.com; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.216.176 as permitted sender) X-PHP-List-Original-Sender: vsuraski@gmail.com X-Host-Fingerprint: 209.85.216.176 mail-qt0-f176.google.com Received: from [209.85.216.176] ([209.85.216.176:35387] helo=mail-qt0-f176.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id BC/AA-37178-85C1E4B5 for ; Tue, 17 Jul 2018 12:42:01 -0400 Received: by mail-qt0-f176.google.com with SMTP id a5-v6so1461072qtp.2 for ; Tue, 17 Jul 2018 09:42:00 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=PaUGDxayxPZg47OvWrDBNmAaMJd9xOnIf5G0ummn3dU=; b=FlCw0KTA1YPpAjNWuDknfPQYbd+tRdoXsvmabKrggkxiMH+gU5yncc4EriE+U2wPxH QOCh4vWoeMczdy8AQHa0j/vvfPGCApHRjXXd1OVIZOpD//EDaUfvXqqR6Ry8FT/pZ0DD QUB9PMybJ08rXw8Bw80LcN8ML/z+3gXd+8NTxLjmHaIEdTpP69g6jjQVoIyMCO1FTQjx +pu4Cn0y8ePNJAQtkAwsuZSSGDB1+xNyaH/DgMzGqY4VltLz+l4DUGj4dHDE8lfoQrfJ zBdr/9sKYCA8/XMGzQ2/KrPYEninkGfCxdsQe+eLcbXAYkXJ2L9jjs9TvuqMk4uEwSwI fd9g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=PaUGDxayxPZg47OvWrDBNmAaMJd9xOnIf5G0ummn3dU=; b=lGrqlkujKttoTeMFsJCRCBOZB86lffKjuYi4OdKsxmbA+UkGrO3VPook4aQrJYa6jN rtToPk9/RMemQkq23pE+b158jL2qXDkMO42EtpQMESJY7JohfHLSQzphPrf8CtNnMsa5 bgrWcbRWgLN0s0hbR8WFsOIbYkt8Dw2dKMlCRJ4YEox/OirA5IlfRG9O5rpzbqnYSDor CuX97BuPUbeUCp9JABKBkzrFbpLP4RMHTyiNe8mRYThA9HrCmX7G84YE+zCjmT9BBU35 8J0grqhpsJ1FxE+BkgCShxrQnFKdPiByZuWrZSOJW+K2qvf43tfcRvzBU7gsG1NgeTJc WLQQ== X-Gm-Message-State: AOUpUlH/jfNyUA4W53XYbhXDGDlwuXvsthCiADrde0ViRlZJXQyUQl/M 9+HNTiaMCzoMWc/jaD8yimmzSGeuefpdTReUdNs= X-Google-Smtp-Source: AAOMgpc6Ib3XgoiCsQL/AVKiK9lYTyraHWaUgX/pOoXCb5gWD/1mHAQbAlUTOnn8lyx8uLXDojAyXeVUXrztlCgUm+c= X-Received: by 2002:ac8:1b88:: with SMTP id z8-v6mr2304070qtj.321.1531845717777; Tue, 17 Jul 2018 09:41:57 -0700 (PDT) MIME-Version: 1.0 References: <27a9854c-d779-366a-5cc8-70722487139c@fedoraproject.org> In-Reply-To: Date: Tue, 17 Jul 2018 19:41:46 +0300 Message-ID: To: Nikita Popov Cc: Sara Golemon , remi@fedoraproject.org, Internals Content-Type: multipart/alternative; boundary="000000000000dbe4090571349f04" Subject: Re: [PHP-DEV] re2c version(s) From: vsuraski@gmail.com (Zeev Suraski) --000000000000dbe4090571349f04 Content-Type: text/plain; charset="UTF-8" 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? Zeev --000000000000dbe4090571349f04--