Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:102891 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 9235 invoked from network); 17 Jul 2018 15:05:26 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 17 Jul 2018 15:05:26 -0000 Authentication-Results: pb1.pair.com header.from=nikita.ppv@gmail.com; sender-id=pass Authentication-Results: pb1.pair.com smtp.mail=nikita.ppv@gmail.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.223.171 as permitted sender) X-PHP-List-Original-Sender: nikita.ppv@gmail.com X-Host-Fingerprint: 209.85.223.171 mail-io0-f171.google.com Received: from [209.85.223.171] ([209.85.223.171:33328] helo=mail-io0-f171.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 4B/1A-37178-5B50E4B5 for ; Tue, 17 Jul 2018 11:05:25 -0400 Received: by mail-io0-f171.google.com with SMTP id z20-v6so1275974iol.0 for ; Tue, 17 Jul 2018 08:05:25 -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=TPtXirx7Ic2qJpO++QUnxLsrHp65n93kTuYpu6T/G2U=; b=hf4wtouVWKzTQ0QB7u+dfeYRiTTHuyeLGxlpGcjvY/sHa15D2j5uPebMPQW+wwQhCy xalUT/1dOPPz/In1BwiW6lPwIqBY5KYRGZoA2/p3Ny323bB1qe6YuAQHo/mXEcFoEAb4 KKFQFal2/iV31uh8b2dQOuIBQ4J9xIVzex6dw2ehhBrcqLJEaubtRIgmM0iMgimQ/HA4 DN+1zgPnuWh4TUfCY6U/cNLltF/nqBupYnbudBstUNu5mvjMFuSBgmCREb/mOojPNI1j 2j/EUnWENMg4+BnQYjZkZtLdBvKlliZCcqT/f/UFWLVMzPu6g2Y8TgwcbF7P/kZc/xwD SLmQ== 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=TPtXirx7Ic2qJpO++QUnxLsrHp65n93kTuYpu6T/G2U=; b=oHWWMYULdlzyzWcxpattHpXAJwJj+5BhFrcQDTSRr62No9qnRZPqgyYXai7693+Siq aP/f5mQfW1poiap/PM7E+MH0yIMFWQ5IcMBk0ldo4aIoGY7HWIFJGi10rFBuZo/IQuUR nhJ+9iRQ6JhTIa52Su1mGDzBlc6Dby0Yd7wuh4KxnJLqr7sJOPAIC7OcnFdKXg2SQTY9 hP/I1cbB6COBcw30SNjJJBaoznh94lfyNcrXVX0BvL2GYLctAR2hZpaJYR06FdjRlJSw 2ZHrGYzvblJ2Bf3EsA9acVSWjDaJsQQY6RfYBc85ZPAlIxCXIhmzdN4k+zMuu6pVUqxo 2Prw== X-Gm-Message-State: AOUpUlFXSysXsC1RCv4Tdn09aJMjfhfEbiAOBc3rfNGeU3FJmMRuPyWA 5B0bO/CR7+sUbKPQBaY3W7/n9swmbgi0fv02BIc= X-Google-Smtp-Source: AAOMgpeWnHSN36i2e4RtAmx5qfwpUOfFZj1AE7Z5yOelDmvc8XUHHjK40vBBVQxfzwlHYmPZ7d1p+MDsz2bo8hHzgqg= X-Received: by 2002:a5e:8d07:: with SMTP id m7-v6mr1723896ioj.258.1531839923056; Tue, 17 Jul 2018 08:05:23 -0700 (PDT) MIME-Version: 1.0 Received: by 2002:a6b:148a:0:0:0:0:0 with HTTP; Tue, 17 Jul 2018 08:05:22 -0700 (PDT) In-Reply-To: References: <27a9854c-d779-366a-5cc8-70722487139c@fedoraproject.org> Date: Tue, 17 Jul 2018 17:05:22 +0200 Message-ID: To: Zeev Suraski Cc: Sara Golemon , Remi Collet , Internals Content-Type: multipart/alternative; boundary="0000000000007775a705713346df" Subject: Re: [PHP-DEV] re2c version(s) From: nikita.ppv@gmail.com (Nikita Popov) --0000000000007775a705713346df Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Tue, Jul 17, 2018 at 1:51 PM, Zeev Suraski wrote: > On Tue, Jul 17, 2018 at 2:01 PM Sara Golemon wrote: > > > On Tue, Jul 17, 2018 at 1:04 AM, Remi Collet > > wrote: > > > Le 13/07/2018 =C3=A0 23:48, Zeev Suraski a =C3=A9crit : > > > Perhaps we can also add all the generated files (including configure) > in > > > the tagged versions, so the tag will have same content than the > official > > > archive. > > > > > Ick, no. That's the worst outcome IMO. I don't think they need to be > > in git, but if we're going to have them there during tags, then they > > should always be there. One way or the other, not some > > middle-of-the-road thing. > > > I can explain why I think that what I propose is the best outcome: > - It ensures that the correct versions of re2c are always used. > - It doesn't track generated files in source control. > - It allows users to build PHP from source on platforms where re2c is > unavailable. > > Correct me if I'm wrong, but isn't that exactly what we do with > zend_language_parser.c? makedist is responsible for generating it so tha= t > it's available in distributions, but it isn't tracked. Why would > zend_language_scanner.c be any different? My guess is that it's probably > because at the time we moved to re2c it wasn't nearly as ubiquitous as it > is today and even most developers didn't have access to it, but now that'= s > changed. > > I'm also fine with what Remi proposed which is adding these files > specifically to the source control at the time of tagging, in the spirit = of > tracking everything that we actually end up releasing in source control > (and perhaps do that for zend_language_parser.c if we decide that this is > the right thing to do). > > Either way - the first step (normalizing re2c versions - updating our r2e= c > requirements) seems to make sense. We can decide about whether or not we > track the generated files in git as we do today, only during tagging or n= ot > at all independently of that. > > Zeev > 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. Nikita --0000000000007775a705713346df--