Newsgroups: php.internals,php.internals.win Path: news.php.net Xref: news.php.net php.internals:125478 php.internals.win:1298 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 E97451A00BD; Sun, 8 Sep 2024 16:22:40 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=php.net; s=mail; t=1725812680; bh=kj8Pey+ht28Bl1VyM6g9RSsfjy/wiXxYipX8wMlv2FU=; h=Date:Subject:To:Cc:References:From:In-Reply-To:From; b=Rg6HYSeJhZHmkU67juOoZXAV48h7U/IfxOIaCoM9AMwLUwj+IveerD175xRKwCOhw q69zwBJ0QBha8rfMEvz6GpvZXOA93Sq3UQyK/xXJGJjpmyXuG8kadM9R3Y4AddeZkD zzJjhloPYclgn96fvXZe98aRmX3lU1wy3hpufzkjtRR4FQ3afdCE55TVAcCE3vKpPS MvsNR9HkhDuSR8Ni+EO5ZfkBX0XjL7x2JsZ5wmRwTS1bHjW4TLtVm0BxLwTyYzGGLt A5y0xg8ye2FuCuARR5LsZeVSKg+e4udm3XhLBBX1BNsXtqfebv57byIQn/S1+9Zcnj DIDM16QFR7H4g== Received: from php-smtp4.php.net (localhost [127.0.0.1]) by php-smtp4.php.net (Postfix) with ESMTP id E2E7F180054; Sun, 8 Sep 2024 16:24:39 +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; Sun, 8 Sep 2024 16:24:38 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmx.de; s=s31663417; t=1725812557; x=1726417357; i=cmbecker69@gmx.de; bh=kj8Pey+ht28Bl1VyM6g9RSsfjy/wiXxYipX8wMlv2FU=; 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=L+OJ+edZesY4nOS+QvUxbWUs3dDOvY4AdlaTNMD71xhzkq6sSpWN+wux8i9bpfvG WhSm08786HWH4fM0Gc8sU6mN5H6qcYHZ5e823riBV/xI9VOS6mRC4e1O/T1AyGIS2 5rfPwGBEGapRVHjJLrbevVbyo53aPSQKSgLwTuYY/kbsPeIpAh8mjrc7QmZYvHFho 6FLhzFHSXe107yfLKyEfJcudIlu6vpciVCcSVI2wVQhenjTP96n+I1qIPEMiAQlCD IAhMtJ7nEasAlqEi+aM6EGHn504cU7KtcRy5k+qv2QqiNmRdI0elF1B3QDsM6jDzQ 3/Dg0K5ymQdBiiyV3A== 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 1M4JqV-1sn3ZE0uo5-00Gq2P; Sun, 08 Sep 2024 18:22:37 +0200 Message-ID: <1c6ece3c-dc72-4f62-9be6-d15c8e616dfc@gmx.de> Date: Sun, 8 Sep 2024 18:22:37 +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 , internals-win References: <91e789ef-fd36-6a44-74ac-9998668b7fde@php.net> In-Reply-To: <91e789ef-fd36-6a44-74ac-9998668b7fde@php.net> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Provags-ID: V03:K1:b2FX6rP19omSbyZf6jpHbZhTDkj1D3fFRq/GTNj9hpcgKBbi2A8 q+XzJe2z5eBF4iugvZrnknRQoAvfTyBmyCj1bHYRFv1XN/lv8cLfKPNjOu2Upmx4u+a1Xe1 F2EMGX9uK0xOFJsrwSXi5ml0/15YJeYYm7bTZImb0Lmxc3OPJyk8UFsmjOZ8vTBM9w8V2WU ZX6p50rRQN8vadxCvj57g== UI-OutboundReport: notjunk:1;M01:P0:/3yQXeTew6o=;GRoIPmvW3aLiqE5SWnW/CoDQWpv 1lHlSBlP3xVm8lfhV4xVpwcWVVo5f2apZNtktuV3lLpkFQNqfUxLI4YEePAfyXUo7QtWorl2n Ehd/rEFGYdWR0gk+6DSgefFxoXdSClQBotkTWLvdc5XC0P3g8+qvw750d9r1u9IlwhSvhJigb /0567hdX9YYWFnW+ZHrfkDm+yOx/tUERUAM64nZS3qhoBonwEMsZ3R+7xSZ6L2trvSwkVtlDs EfzV10ndLutawWMh0KFkqKqJkp3Uu3EVdpjKM8qhTgwtzhEMJCZI+KGqxBzahEVlLcXptguo7 Qj7fOJL8lk5Stji/grFe/Sd+bgRupcJ+TnGFUbZT2/PKV1EdaHuUJBY2GW+H6XRJx2DWEQKJl wg3lIxmS9QvKltWHMzZBdZXmzMsFC3/7ZW+JEHTuYxUP68AXsDY/uQMj59hrjUCPw5E4QhXH7 waKKkzkuYgWjVxSJyyt3S7TkFUEtqSjWg4gchjYgZHf/G6ydYvbKCTDDYJH1hwa93q2YpTUoX ebAqOse10dZxGO8Z+JWcbd6jDpZB7lAHyLImSu9A7wbXr0bgzo5WjocHbqB+8SxlJQHcrumpU 4SG6MwR1MQhhF7Km4mewuabA2NH55QdN5fnyf/piwgQraxLDdzGt+nZCxnGWpNH/hWXIHR7Hm j2kA1cCmeVacNOS0C5tz4t1z0sVpYXPZqJsCBRUl43xtOzOcZij+2pnBwF8aRuyaO+7aikkcT O+2Scf/Gv4w1/EliLCnZYFHz8bGr1xApH7BvsPRiElwKiE1Ag1VJr18BdLcXQ44WnR+U6kT1V jYliZ8PY+d8hQYIK4y2lY+iw== From: cmbecker69@gmx.de ("Christoph M. Becker") On 08.09.2024 at 16:58, Derick Rethans wrote: > On Sun, 8 Sep 2024, Christoph M. Becker wrote: > >> The upload could be as simple as a cron'd `git pull` on the server. > > All our websites, including PHP downloads, use the rsync server for > this. That server has a GIT checkout, and then the Web servers rsync > from there. This is superior because it means the *web servers* never > need the GIT checkout, solving duplication and permission issues. It > also means it is easy to set up mirrors (unofficial). Thanks for the explanation! > Github LFS isn't free though, once you get to large storage sizes (over > 1GB) [1]. I also found it really fiddly when using it. As it's not free, > I don't think it qould qualify as something for using in an Open Source > project. Oh, I wasn't aware of that. > I don't believe GIT is a good fit for versioning binaries. Not for this, > nor the PHP distributions. I understand the history aspects are useful, > but it's never been designed for keeping binaries. It's not a file > management tool, but a source code tracking solution. I agree. > 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. 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?) Cheers, Christoph