On Wed, 11 Sep 2024, Christoph M. Becker wrote:

> On 11.09.2024 at 15:51, Derick Rethans wrote:
> >
> > 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 
> <https://downloads.php.net/~windows/php-sdk/deps/series/>; nothing 
> else.

Yes, I realised that.

> 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 <https://github.com/cmb69/php-windeps-series> 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]).

Yeah, that's exactly what we had been talking about already, but 
generating the series from the CSV file seems like a step forwards, as 
maintaining the series files by hand was a little awkward.

I probably would have sorted the versions the other way around though.

> 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] <https://github.com/cmb69/php-windeps-series/blob/main/packages.csv>
> [2] 
> <https://github.com/cmb69/php-windeps-series/actions/runs/10815285786/job/30003806974?pr=1#step:3:17>

Once the actually pulling from GHA to the downloads server has been 
added, I can add variants of this to our deployment scripts (aka 
https://github.com/php/systems/blob/master/update-phpweb-backend).

I am not sure if you're aware, but some time ago we created a Google doc 
to list all the things for moving the windows downloads to 
downloads.php.net: 
https://docs.google.com/document/d/10YUSdAcSP0xd9XbShKYlyRxG3Q3LNvHr9_P71Ml8XC4/edit#heading=h.11s3yohk7tu9
If you provide an email address, I can give you access (or request it).

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

Reply via email to