Newsgroups: php.internals,php.internals.win Path: news.php.net Xref: news.php.net php.internals:125509 php.internals.win:1302 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 E2BCD1A00BD; Wed, 11 Sep 2024 16:21:08 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=php.net; s=mail; t=1726071790; bh=9iisUz4BaHndYcb8RLhQHovk3eHd05E5ucoRuHJtYFs=; h=Date:Subject:To:Cc:References:From:In-Reply-To:From; b=KHEvvcjbBcujTTdGAAVGdtZL/1PdR+gDyrT17RCttCGcz1zR3OIYa0V6fc0O+DPjJ W/gIumKHH7Sf6gBiwUseEVD0RXrOQLlFnt5nWZTugCv4iiqXBuaFkqEyvtXA3VZ6Qa 65hnxuZHA80RxwpqteeDcK9EoUF9n2yeq670tY4PTRwsK8+ZhGWmoFnEe4Tk8WqeKy BBuK/HLBlNNP2ouIju+6lS4WMK+h555Wpnc91fMO4D/x3ZnAXPWPr+iRWyJtAIten1 pMb1QtZ4CjWT25qJF3DDxJ0eWr+IdycfQoe1VUc4CI/vczQiOf7oPsonu+0oDqbC6y 3YnCRAeHFkoBA== Received: from php-smtp4.php.net (localhost [127.0.0.1]) by php-smtp4.php.net (Postfix) with ESMTP id AFFED180068; Wed, 11 Sep 2024 16:23:06 +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=0.2 required=5.0 tests=BAYES_50,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,DMARC_PASS, FREEMAIL_ENVFROM_END_DIGIT,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW, RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL,SPF_HELO_NONE,SPF_PASS autolearn=no autolearn_force=no version=4.0.0 X-Spam-Virus: No X-Envelope-From: Received: from mout.gmx.net (mout.gmx.net [212.227.15.19]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (prime256v1) server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by php-smtp4.php.net (Postfix) with ESMTPS; Wed, 11 Sep 2024 16:23:05 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmx.de; s=s31663417; t=1726071662; x=1726676462; i=cmbecker69@gmx.de; bh=8E8bZAyqogiFlSal1qI4khbrVs2JZFYTjBJUmnAzdsA=; h=X-UI-Sender-Class:Message-ID:Date:MIME-Version:Subject:To:Cc: References:From:In-Reply-To:Content-Type: Content-Transfer-Encoding:cc:content-transfer-encoding: content-type:date:from:message-id:mime-version:reply-to:subject: to; b=F7vmBNhliK4iRnO0c3SM6Td9m3AZ5R6o3JzB7BLQGS+NP1BmDlE1KVc3oWPItRww N5tzbQXWz2i4AfCOfdvo1DARAYz72lcGXGiuZpW1IVj1ATNibzs1Y0zxjouZLy951 vgO3XNVItBB08rCJFjAkrFw36MGVwb2EcWtI3Ysqv74NfMMG+If5hp0IL6cDa+xKI 2UYxGVGGJLzddc7Bv9UqaHmcST93xscsF9szmiDqDdeF9uU8h9JmYh/OQYPl5qfyJ dSH+lCsYnH2KZdytkN1hi8/bbQJ3+WHYz/rAHrC77phtFUY5EFIoE0EBUmIXs6j6i buamMoGeglh4X3IY0g== X-UI-Sender-Class: 724b4f7f-cbec-4199-ad4e-598c01a50d3a Received: from [192.168.2.130] ([79.251.205.37]) by mail.gmx.net (mrgmx004 [212.227.17.190]) with ESMTPSA (Nemesis) id 1MYvY2-1sSP5a0UGO-00KxCs; Wed, 11 Sep 2024 18:21:02 +0200 Message-ID: <0f51ed68-7715-406f-b8cf-2287a8c5ac90@gmx.de> Date: Wed, 11 Sep 2024 18:21:03 +0200 Precedence: bulk list-help: list-post: List-Id: internals.lists.php.net x-ms-reactions: disallow MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PHP-DEV] Maintain Windows PHP dependency builds in a GH repo Content-Language: de-DE To: Derick Rethans Cc: PHP internals list , contact@shivammathur.com, internals-win References: <91e789ef-fd36-6a44-74ac-9998668b7fde@php.net> <1c6ece3c-dc72-4f62-9be6-d15c8e616dfc@gmx.de> In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Provags-ID: V03:K1:4563HKM5/WJzdNbfvUgGloCazIX4Qzmv3gkroWjkHg8rYOr9MXB rSgmzYJ8uF5i2osQCahYWJ6T6S0897JK5IdxnYTJWQw7i1Zo9q+Ymcq4Whc/qfnR9pfbXAJ qeO4h4V7hTk0sgSCVM0JTPumR3l0XtTyejGcX+OY0c+llRIB29mzTjJLwOnk2gyoMrXX7PL nGPxCd8gKMc2C8bRxPcGA== UI-OutboundReport: notjunk:1;M01:P0:zCdBoYOn1D4=;/QwGUbA4A6h8E2Uw7lVeF4ls45d vkTfxhhbuXE1MEweNlgxGdKJdThrFWeIi6n63wwcZykWiPC4ztnG79Bi0vfLfv8IztVrCy7WU LFWKC7LxjSaOpBpz1eTWDLxJRE7fs84NqcLnFnK9IES1+KyIMGT9Dm7FZZ73zrhYTXGF/zMVd zFHzC9NPQN7Z4OAF0qNEtkUpKPkm3Vrwlhmv8mYgUPaCZGVaONi5z2U2Ybqdqg9dDSptJrz59 li1Z+Ao8i63GBVSQtX6lh9NNhp9kzxWcWi04GQqb8NyjvGGK/xvVW055sFcYdmdNzzUZiXFn4 W+xSYK9TgbEbkOqKk5Gu54mlVzBRiEuLsE3b7hkOPl3VniVSA/imHfCnwrsHjdez+qk7AtOF2 zb2MRBY/6891xulqr/uudiyEFkAY54JWf6gcIv+PgyKRmyoKjGOw1oTvKFoAuMY+b4NdkbQQ+ WJqBZtBVRfiweJzSaBJzxpC0YqEZqltHQaZ1PnA8/M0BykdJLbVJZU+aeC7RHnd8xvilxOvN7 XmPd7VDtvNG4F6FfBfQsFzPccvbyTqbpSJhvooBCjfMqa1dcmo9Ql2SChMd0yJr0S8nFbf2aV lTn+sgxOe9J8TE1awKAFkMAjUWqqg/cCxjBGA02n0dJivehsfCFRblJy/qpPS9TT+zOVQnBo/ Y3H/3IYoap4K2rVsyYR+TWH+vTHa67o5BusbhwfugnbOX/4KvzbPQLIUbfA5BvFAFwb7L9LJs RTfNGQEzZKjdMvcUvEyygeLJAs3Q8An79KxDOj/heDfl6RjHKhjHm3sjcKhlFFuQCKSrfIwiA rRFFZ/lTfUZZmwgRHGHfgiJlNn6BTQXuR0CdkgBP25c0U= From: cmbecker69@gmx.de ("Christoph M. Becker") On 11.09.2024 at 15:51, Derick Rethans wrote: > On Sun, 8 Sep 2024, Christoph M. Becker wrote: > >> On 08.09.2024 at 16:58, Derick Rethans wrote: >> > > Ok, but I still don't see why you need an RFC for this? :-) Oh, I don't need an RFC for this. Actually, you can read my question as "does this *really* need an RFC, or can we do without?" > I know Shivam (https://github.com/php/web-downloads) has also been > working on doing automatic pulls of PECL builds onto the "downloads" > server. > > The idea was to trigger a GitHub action to call to this API to then > download file file. Ideally the downloads server *pulls* files, as > uploading *to* it can't work through GHA as we require 2FA through a > jump host. I see. > We'll have to have multiple Git repositories, and perhaps subdomain > names to make this all work. > > The downloads.php.net site currently doesn't have any code yet, as I am > waiting for this 404 ErrorHandler to be included in it: > > if (preg_match('/Win32-vc/', $_SERVER['REQUEST_URI'])) { > $fixed =3D str_replace( 'Win32-vc', 'Win32-VC', $_SERVER['REQUE= ST_URI'] ); > header("Location: $fixed", true, 301); > exit(); > } > > header('Location: /', true, 404); > > Ideally, instead of having downloads.php.net/~windows, we have > downloads.php.net/windows which is a Git repository for the series > files, but it is probably better if it's all in that same web-downloads > repository. Oh, there might be slight misunderstanding. By "series files" I only refer to what is in ; nothing else. While the upload/download issue might be solved one way or the other, having a Git repository for the series files might solve a couple of issues. I've set up as a demonstration of what I have in mind. For instance, it is hard to keep an overview of which packages are in which series; packages.csv helps a bit (and GH displays this nicely[1]). And then I made PR #1, which shows a x64/x86 mismatch[2] (actually multiple, but ignore the trailing -1 lines mismatches). Finally, I made PR #2, which uses a locally run script to push staging to stable. Many more checks and automations can be done in the future; but you already get the gist. [1] [2] Christoph