Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:102885 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 92972 invoked from network); 17 Jul 2018 11:52:11 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 17 Jul 2018 11:52:11 -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.169 as permitted sender) X-PHP-List-Original-Sender: vsuraski@gmail.com X-Host-Fingerprint: 209.85.216.169 mail-qt0-f169.google.com Received: from [209.85.216.169] ([209.85.216.169:45216] helo=mail-qt0-f169.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 68/97-37178-A68DD4B5 for ; Tue, 17 Jul 2018 07:52:10 -0400 Received: by mail-qt0-f169.google.com with SMTP id y5-v6so531826qti.12 for ; Tue, 17 Jul 2018 04:52:10 -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=mkO26APZFsB0f9I3f73jVXZFMNeoGFhYMH9nYGrPTFA=; b=YUyiA/fqIgnh4boQoyFIWJdqkQv0v/7bDENEOuXYzU2GWYck7ewe5tT7og3otj26lw 38s2RUnbppcxIHlu7n/AG+5hmhx7gw0ByvVtXny+Ailqa07ldHx64dUKBL1jQAQHJ/Kh SHsvi7P6oJAuqA0qflm4ZVjNMw+2KJc+GeMARQAbQY9af8GYndVFkf5YrkmdGLF2K13S a3VEtoB3ptuWHzQHib1osfJmuCOu2JGLNORY/Xi9KF2Ie8pr8+TzPd5eagkZHfjGXSqw vkpq6L2AFGJ/WuPuDosYGKpPSDajSp8dc2Ko3PMZhH/WB7zszkVVlw6KM1KaBnvLBAwj 9Dbg== 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=mkO26APZFsB0f9I3f73jVXZFMNeoGFhYMH9nYGrPTFA=; b=EXdd71xuSd3YjaKT9LTViNQ7HByE7DtTtSLrRWSEZN++VTxDJxtUYh/dnV6LGrNoNU gdXmAebo1YUvTEZTaB+9XuFOk2kcHEX9q7tvmxmDVwOZrTwZ64aUTaUypHQDEk+UuqBe DyKa7XfN5W/1YDfyXDiV7E4sp6YWWgFxGCQ25eMY6bNjKpoxYFh5CJzQ7HUvL6mH+F4P p/MGeh/f5F89266+VjiyzmEaKZZl1zfmVyDRxwaBp6hsRN/qk6UgI9xI2oq60xiHkk5g RyzuNAe+05yA1uk1slUTmSK8/MKtJRNV00JnSc1Ge2KyaTVo0e4i3SPgsdEpfGi+CkAa 9c9g== X-Gm-Message-State: AOUpUlF9xrKFhkDgRR7K9gzg8PqKKNUOjCj/ffYok0SHSTkIMcry4a96 O/CcU9Q/DFyhgRccjPpIVebyiB3F9CELgiu5oXX6CSYR X-Google-Smtp-Source: AAOMgpdqcPhtC8Gmq9k+I8m/X9JbQfbinusDORzmWEVFnn2RSnFLIuv3LY82F7eAwF7mFmSAH4xmfY383VmS8JspyMg= X-Received: by 2002:a0c:c963:: with SMTP id v32-v6mr1243935qvj.215.1531828328110; Tue, 17 Jul 2018 04:52:08 -0700 (PDT) MIME-Version: 1.0 References: <27a9854c-d779-366a-5cc8-70722487139c@fedoraproject.org> In-Reply-To: Date: Tue, 17 Jul 2018 14:51:57 +0300 Message-ID: To: Sara Golemon Cc: remi@fedoraproject.org, Internals Content-Type: multipart/alternative; boundary="0000000000005a9fda0571309355" Subject: Re: [PHP-DEV] re2c version(s) From: vsuraski@gmail.com (Zeev Suraski) --0000000000005a9fda0571309355 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable 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) i= n > > the tagged versions, so the tag will have same content than the officia= l > > 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 that 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 r2ec 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 not at all independently of that. Zeev --0000000000005a9fda0571309355--