Newsgroups: php.internals,php.internals.win Path: news.php.net Xref: news.php.net php.internals:125477 php.internals.win:1297 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 0D91B1A00BD; Sun, 8 Sep 2024 14:58:31 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=php.net; s=mail; t=1725807630; bh=Wh29uTcPDJibZACqrRdYEHLCx7bSpB5X38g02HrPsJI=; h=Date:From:To:cc:Subject:In-Reply-To:References:From; b=UXSLJAfORAZ62uokynBcs2BOFRUdJnXOyhJ7gOB8Hg2Q2Z/H39lcerPS7py9Rfb+Y HtuFUoiZ3jS0B7UCxMnrLsuUFv0AGDdCjR52OqE0qoliwLPixhcvurpoyP4VTQOwbB XhuayNjocEZlwY1gc6+insBRTs0gGrJSSWfLmAPXNAtYC8ZpRspCGSeeqihC87w1JF VmuIfSTBAq2iX6cYGGyyFTYKLWyMMNtoZeuDNv+B+p/7VLiDjPbHS8Rr6gurhXLntP G5pAvTI/Cw2l5pKV4DxMujYGq2I5D0g3lk56JK0qivsepYiqwmVfVpsDPLpOSzT06T nk8zmXElBZr8A== Received: from php-smtp4.php.net (localhost [127.0.0.1]) by php-smtp4.php.net (Postfix) with ESMTP id E9C1618006F; Sun, 8 Sep 2024 15:00:29 +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; Sun, 8 Sep 2024 15:00:29 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=php.net; s=mail; t=1725807508; bh=Wh29uTcPDJibZACqrRdYEHLCx7bSpB5X38g02HrPsJI=; h=Date:From:To:cc:Subject:In-Reply-To:References:From; b=Zao8Aq1mc0BmlfBu0BKP9TuEhqlARWWNdGOdOTztXeTqjUmz+kLN1vGAuWfgSHfCD EO0UxfQRsv6Mq2/GHFsRNkNv5XQumghcvfuzQjuqiKfbvVFQMTkqC381SihwDGzg4w VdeMr5JRfeSg3O3iz9V3hwsCzEoB3+Z3ukIjA1XaMvNrWRUWqY2rlWTCZa+lhSehzu QYFmCSt1SFyS1G1giWis7yn1SKvekqmeoNtkVVaBq/0VbB9YEAB4TAbzP6NfQAa659 /rbPOgyylqHJJbWvGIGIcZ581sWSdQhOUzfe3JEDqA33t/2Y6z9TniMYKn3zzWJUo+ j6SzlAycrMExw== Received: from localhost (localhost [IPv6:::1]) by xdebug.org (Postfix) with ESMTPS id D997210C020; Sun, 08 Sep 2024 15:58:27 +0100 (BST) Date: Sun, 8 Sep 2024 15:58:27 +0100 (BST) To: "Christoph M. Becker" cc: PHP internals list , internals-win Subject: Re: [PHP-DEV] Maintain Windows PHP dependency builds in a GH repo In-Reply-To: Message-ID: <91e789ef-fd36-6a44-74ac-9998668b7fde@php.net> References: 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: > All these problems could be solved, or at least mitigated, by setting > up a Github repository for the dependency builds and the series files. > 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). > The only potential drawback I see would be the size of the repository. This is already a major issue for the normal PHP downloads, which currently sits at 15 GB. > While I believe the new repo would be way smaller than our > distribution repo[1], and we might exclude vc11 and vc15 builds, it > may still be too large for practical handling. > But in this case we can consider using Git LFS[2] which has been > developed to address this issue. 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. 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 also don't think Git LFS has been created for this either. It is useful for *large files* in a repository, not *large repositories*. Files can be maximum 2GB, which is plenty for DLLs and our releases. [1] https://docs.github.com/en/billing/managing-billing-for-git-large-file-storage/about-billing-for-git-large-file-storage > What do you think? Would this require the RFC process? 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. cheers, Derick -- https://derickrethans.nl | https://xdebug.org | https://dram.io Author of Xdebug. Like it? Consider supporting me: https://xdebug.org/support mastodon: @derickr@phpc.social @xdebug@phpc.social