Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:125432 X-Original-To: internals@lists.php.net Delivered-To: internals@lists.php.net Received: from php-smtp4.php.net (php-smtp4.php.net [45.112.84.5]) by qa.php.net (Postfix) with ESMTPS id EDEFC1A00BD for ; Wed, 4 Sep 2024 22:33:38 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=php.net; s=mail; t=1725489336; bh=9U7OSoFZZZYNB3HU7NfOk06hG+nJQUH5rtvHvsf3svY=; h=References:In-Reply-To:From:Date:Subject:To:Cc:From; b=MrdRlfqsLIevA+P9jJm85tqZBohnhIEIEOMtZ6kGtmMekBHZ4bV/q9EsMW1wo/2RL pAs3byOXV7aMIWJLyH/XjeVIgEvbxATTinh744PlvqVIAOpNWBAOvCAbngiPlL6gPW rqH45pEMMcZOr/8fXgXbG7Vem/8XgM8pqpc1SfaenA9n68AxQ1h5ujXs1N9ESbn1Xh pBdrDT6VpPPYEEtfhnUADuoDdRJrfI+CSXdGNzKknzJ5ysmkNRqWGAnpmRukUi+2Go 2vEXy+OqjyBI7HlW0YTGmRQZQY0Lqag8LBrrpeRMDx58nDEHFWZFTmUe+vpwGTsSvy kJa1eTNGh6bRw== Received: from php-smtp4.php.net (localhost [127.0.0.1]) by php-smtp4.php.net (Postfix) with ESMTP id 1A705180079 for ; Wed, 4 Sep 2024 22:35:36 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 4.0.0 (2022-12-13) on php-smtp4.php.net X-Spam-Level: **** X-Spam-Status: No, score=4.7 required=5.0 tests=BAYES_50,DMARC_NONE, RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL,SPF_HELO_NONE, SPF_SOFTFAIL autolearn=no autolearn_force=no version=4.0.0 X-Spam-Virus: No X-Envelope-From: Received: from 14.mo583.mail-out.ovh.net (14.mo583.mail-out.ovh.net [188.165.51.82]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by php-smtp4.php.net (Postfix) with ESMTPS for ; Wed, 4 Sep 2024 22:35:35 +0000 (UTC) Received: from director6.ghost.mail-out.ovh.net (unknown [10.108.25.111]) by mo583.mail-out.ovh.net (Postfix) with ESMTP id 4Wzchv5Czcz1PdZ for ; Wed, 4 Sep 2024 22:33:35 +0000 (UTC) Received: from ghost-submission-55b549bf7b-xmkv6 (unknown [10.111.182.122]) by director6.ghost.mail-out.ovh.net (Postfix) with ESMTPS id 50C881FE03 for ; Wed, 4 Sep 2024 22:33:35 +0000 (UTC) Received: from php.earth ([37.59.142.98]) by ghost-submission-55b549bf7b-xmkv6 with ESMTPSA id xeFEOj7g2GYPJQAAKjo5VA (envelope-from ) for ; Wed, 04 Sep 2024 22:33:35 +0000 Authentication-Results:garm.ovh; auth=pass (GARM-98R0025d1ccbb0-7f9b-484b-9af1-cbe30a74743b, 267A6CC7925D89F20BED82077B88BFADDF123402) smtp.auth=peter.kokot@php.earth X-OVh-ClientIp:209.85.221.173 Received: by mail-vk1-f173.google.com with SMTP id 71dfb90a1353d-501192e8e12so1602e0c.3 for ; Wed, 04 Sep 2024 15:33:35 -0700 (PDT) X-Gm-Message-State: AOJu0YxC9eNZNLsAuEuj22J1IiU4XKfvRrJP+TY6LyvHY/+ej1W1vxg0 F2WWTmj2b9fEymAF5MGVXUuoRouOYVnKxcU4NyDQMmvDa6Rh48x0VS+4AQ9Le0SRYExDq86TZLw ARdgedamPHbzAEEGc6vwZ4gLSeI4= X-Google-Smtp-Source: AGHT+IGcWh8ZVzucdtpmg5zv3civ+B1mvGqU3jvuTq+f7j4kJIQMZpahBcba8sDpG372cSTF2S73UUcvGbCqtY5cBdM= X-Received: by 2002:a05:6122:3c8f:b0:500:eeee:c8a2 with SMTP id 71dfb90a1353d-500eeeecb70mr4902154e0c.7.1725489214129; Wed, 04 Sep 2024 15:33:34 -0700 (PDT) Precedence: bulk list-help: list-post: List-Id: internals.lists.php.net x-ms-reactions: disallow MIME-Version: 1.0 References: In-Reply-To: Date: Thu, 5 Sep 2024 00:33:23 +0200 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PHP-DEV] Where to document configuration option changes? To: "Christoph M. Becker" Cc: PHP internals list Content-Type: text/plain; charset="UTF-8" X-Ovh-Tracer-Id: 16158633990809379334 X-VR-SPAMSTATE: OK X-VR-SPAMSCORE: -100 X-VR-SPAMCAUSE: gggruggvucftvghtrhhoucdtuddrgeeftddrudehkedgudduucetufdoteggodetrfdotffvucfrrhhofhhilhgvmecuqfggjfdpvefjgfevmfevgfenuceurghilhhouhhtmecuhedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmnecujfgurhepgghfjgfhfffkuffvvegtsehttdertddttdejnecuhfhrohhmpefrvghtvghrucfmohhkohhtuceophgvthhksehphhhprdhnvghtqeenucggtffrrghtthgvrhhnpeevleefjeetieejteduleevuedvgfduueeludekiedtteejvdduudekveeigfdvfeenucffohhmrghinhepghhithhhuhgsrdgtohhmpdhphhhprdhnvghtnecukfhppeduvdejrddtrddtrddupddvtdelrdekhedrvddvuddrudejfedpfeejrdehledrudegvddrleeknecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehinhgvthepuddvjedrtddrtddruddpmhgrihhlfhhrohhmpehpvghtkhesphhhphdrnhgvthdpnhgspghrtghpthhtohepuddprhgtphhtthhopehinhhtvghrnhgrlhhssehlihhsthhsrdhphhhprdhnvghtpdfovfetjfhoshhtpehmohehkeefpdhmohguvgepshhmthhpohhuth From: petk@php.net (Peter Kokot) On Wed, 4 Sept 2024 at 15:07, Christoph M. Becker wrote: > > Hi all, > > that issue came up the other day on a pull request[1], but since it is > not particularly related to any single PR, I wanted to ask here for > clarification. > > This is about changes to `./configure` options of php-src, and whether > these should be documented in UPGRADING or UPGRADING.INTERNALS. For the > master branch, most such changes are currently documented in > UPGRADING.INTERNALS, but a few are in UPGRADING. > > In my opinion these changes should be documented in UPGRADING, but not > in UPGRADING.INTERNALS, because they are relevant for users who build > PHP themselves, packagers (aka distro managers) and the documentation > team, and neither of these is supposed to read UPGRADING.INTERNALS. And > I believe that it has been done this way in the past. > > What do you think? > > On a general note, it might be reasonable to properly document what > should go into UPGRADING, UPGRADING.INTERNALS and NEWS; that seems to be > generally somewhat unclear; sometimes there are entries in NEWS *and* > UPGRADING for the same changes, what appears to be duplicate content to me. > > [1] > > Christoph I've checked some of PHP-5.x and PHP-7.x branches and it seems that we've started adding these configure options also in UPGRADING.INTERNALS more consistently somewhere in PHP-7.4 (probably). Otherwise, they are noted here and there inconsistently. So far there was no specific guideline, where to document these. Issue here is that the person that needs to adjust their build configuration or Linux repository package scripts, they only need to see what configure options, need adjustments and which dependencies need to be updated. And then the fun starts with adjusting all the patches and everything but theoretically a single list of these types of changes would help. Browsing the entire UPGRADING document might be a bit confusing for this. Also, some configuration options changes are related only to Autotools build system and some to JScript Windows build system. Ideally, this type of page https://www.php.net/manual/en/migration83.php would also include this build system specifics that are needed to migrate PHP. This is in most cases only relevant to a smaller number of people actually. PHP developers in most cases don't build PHP from scratch.