Newsgroups: php.internals,php.internals.win Path: news.php.net Xref: news.php.net php.internals:125503 php.internals.win:1300 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 B8AF41A00BD; Wed, 11 Sep 2024 13:51:39 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=php.net; s=mail; t=1726062821; bh=UJIveYFO2S4IizcPXtMTBAcXNAKCpie1Uw30PRvsL4s=; h=Date:From:To:cc:Subject:In-Reply-To:References:From; b=Ts70HqLpbJUPAcfZAOTPmvkFe0xL2CPxtdbg4JS8BzRAwaU/BjG2lPqn+NpZ+Gk8A WrSz5g3ydtCjbIbougOBDfBfI38MM1UFOaTTgo1YERKSDdRT3s2OolthKUNyH8nB/S pDL7Yfn/whjRB/r5uBl6LODX8eT0d7RpVDRC8FEV2LPC+M22+w9RnLk1CrNwlRQgKr JsE8czV8IgIPd7PHlzDcxYnMg6I/U68nzfV5DKtvsNqWG+vZL1tCm8ZUmjdV5/4uV6 gUffiUm+uBgn5k2VAQjnALL/+jxheGcbBYcp9tSogfg7Y3D/f6KepjMZ2iI58HpwW6 IO8P3SJ7ScmNw== Received: from php-smtp4.php.net (localhost [127.0.0.1]) by php-smtp4.php.net (Postfix) with ESMTP id 3BF07180032; Wed, 11 Sep 2024 13:53:40 +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=3.6 required=5.0 tests=BAYES_50,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,DMARC_PASS,SPF_HELO_PASS, SPF_SOFTFAIL autolearn=no autolearn_force=no version=4.0.0 X-Spam-Virus: No X-Envelope-From: Received: from xdebug.org (xdebug.org [82.113.146.227]) (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; Wed, 11 Sep 2024 13:53:39 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=php.net; s=mail; t=1726062696; bh=UJIveYFO2S4IizcPXtMTBAcXNAKCpie1Uw30PRvsL4s=; h=Date:From:To:cc:Subject:In-Reply-To:References:From; b=TfNFKB81kDQvfE+R8gO1b7AjLTcD1TpYbBN9msyXgIw3Fdk6+kY5v2KySrhDoXKrQ Q3hZHIW4UdUojZ18gl1TwDAwE4JVhiY83V82JWwrpys0rBP7sPZQlvn/dYxjfcjUaU Xjtl+F34gTepQNa5i+MqS2AF0zgBMkk403Yv9C34hf8y9XyIVjeZgGuOMPT7T3WRkg RQAWWtMa4mfbdltXjhPr7iouSPFOmZF+t05WqK3sy+tiI52IiGBpkHPkWJyeSm3vlO qvpUn/DSk0+o9zIWh4+TqwveVCB0bKUpqbqpsN1PCnXdBVyMtnRseuvQBjEzhFVOw2 dpBsJehTrJC9w== Received: from localhost (localhost [IPv6:::1]) by xdebug.org (Postfix) with ESMTPS id 4574C10C00E; Wed, 11 Sep 2024 14:51:36 +0100 (BST) Date: Wed, 11 Sep 2024 14:51:36 +0100 (BST) To: "Christoph M. Becker" cc: PHP internals list , contact@shivammathur.com, internals-win Subject: Re: [PHP-DEV] Maintain Windows PHP dependency builds in a GH repo In-Reply-To: <1c6ece3c-dc72-4f62-9be6-d15c8e616dfc@gmx.de> Message-ID: References: <91e789ef-fd36-6a44-74ac-9998668b7fde@php.net> <1c6ece3c-dc72-4f62-9be6-d15c8e616dfc@gmx.de> Precedence: bulk list-help: list-post: List-Id: internals.lists.php.net x-ms-reactions: disallow MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII From: derick@php.net (Derick Rethans) On Sun, 8 Sep 2024, Christoph M. Becker wrote: > On 08.09.2024 at 16:58, Derick Rethans wrote: > > > I think it needs some good thinking through first. I also don't > > believe the RFC system is something we need to use for deciding how > > to serve files. > > This is not about *how* to serve files, but rather *which* files to > serve; for instance, I'm currently working on updating libpng, where > we still ship v1.6.34 from Sep 29, 2017. Ok, but I still don't see why you need an RFC for this? :-) > > Anyhow, coming back to my list of problems: > > (1) only few people can do these uploads > (2) the process is not transparent > (3) there is no history of the series > (4) the process is prone to error > > If we only had the series files in a Github repository, (2) and (3) > would be solved, and (4) at least partially. > > The workflow for updating a dependency might then look like: > > * someone submits a PR with updates to the series files and a link to > the new dependency build on winlibs/winlib-builder (a PR template might > be useful) > * after some basic CI had been run, a notification is sent to those who > can do the uploads to downloads.php.net (or to the rsync server) > * one of these people can then check the PR, and if okay, upload the > dependency builds > * afterwards the PR is merged, and synced with the server > * archiving no longer needed dependencies could be done on the server (a > simple script should do; and it's not a very important task anyway, and > maybe it shouldn't be done at all, so that older Git revisions of the > series are still useable) > > While that would not solve problem (1), it would at least avoid having > to ping some "random" people ("can you please upload?"), and if there is > an appropriate PR template, some further issues with problem (4) could > be resolved (e.g. do the series files refer to existing files?) 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. 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: