php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Request #78140 List available releases as Feed (windows.php.net)
Submitted: 2019-06-11 09:14 UTC Modified: 2021-08-04 12:55 UTC
From: arueckauer at gmail dot com Assigned: cmb (profile)
Status: Closed Package: Website problem
PHP Version: Irrelevant OS:
Private report: No CVE-ID: None
View Add Comment Developer Edit
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please !
Your email address:
MUST BE VALID
Solve the problem:
18 + 24 = ?
Subscribe to this entry?

 
 [2019-06-11 09:14 UTC] arueckauer at gmail dot com
Description:
------------
This feature requests is releated to windows.php.net only (www.php.net has this feature already implemented).

windows.php.net currently offers no other way of listing available releases, archives and latest versions other than the "directory listing" HTML (see https://windows.php.net/downloads/releases/).

It would be a great feature to have a XML feeds (like https://www.php.net/releases/feed.php), JSON or possible other formats.

As recommended by Anatol Belski (@weltling) (see https://twitter.com/weltling/status/1136962886386036736) I am opening this ticket for discussion. I would be happy to help on the implementation, but have no experience so far pertaining to the PHP website itself.


Patches

Add a Patch

Pull Requests

Pull requests:

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2019-06-11 12:52 UTC] cmb@php.net
I don't think that having a separate news feed for the Windows
binaries/packages is appropriate, since these are just builds of
the source packages announced in the php.net release news feed.
Instead we could add one (or multiple) links to the php.net
release news feed pointing to the Windows builds (which would
require to have permanent links, though, i.e. we should no longer
move files to archives/ if new releases are available).

A file with machine readable information regarding available
releases/snaps etc. would make sense, though.  Allowing access to
cache.info[1] might be a start.

[1] <https://windows.php.net/downloads/releases/cache.info>
 [2019-06-11 14:32 UTC] arueckauer at gmail dot com
Since downloads are offered on two different domains, I suggested a separate feed. However, adding to the php.net news feed is fine with me, if that causes no other issues and the various windows versions (x86/x64, TS/NTS) are somehow detectable.
 [2019-06-13 20:33 UTC] ab@php.net
@cmb it's not about a news feed, i think. There's no request to issue separate release announcements or alike. It's merely about making the listings machine readable. That could be done by generating some JSON, similar how it is already done for snapshots, but including also archive releases. There might be a separate implementation for this as a cronjob, similar what is done for the snaps. We should not change the folder structure there, as it will sure break some users.

It is sure a chunk of work, but it would be sure useful for everyone and @arueckauer was willing to contribute it. We should just figure out what exactly were to do. Imo adding to the php.net feed would be not very useful, as the information will need to be maintained twice at different places. For PECL, it already needs to be maintained at two places, but there's no good choice there. It is easier to integrate it on windows.php.net somehow, so it generates some releases.json. If we wanted, that could be also extended to the pecl releases.

Thanks.
 [2019-08-06 16:39 UTC] arueckauer at gmail dot com
Is there any way I can contribute to a solution on this issue?
 [2019-08-06 17:10 UTC] cmb@php.net
> Is there any way I can contribute to a solution on this issue?

Yes, sure; that would be very welcome!

The source code of windows.php.net is publicly available[1], and
although it requires quite some tweaks to be run locally, you may
be able to provide a PR[2] which also would provide a better
discussion environment than this bug tracker. :)

[1] <http://git.php.net/?p=web/windows.git;a=summary>
    <https://github.com/php/web-windows>
[2] <https://github.com/php/web-windows/pulls>
 [2019-08-19 11:34 UTC] Dnbsncbd dot 89 at icloud dot com
The following pull request has been associated:

Patch Name: protect master branches except for the pecl repos against force pushes
On GitHub:  https://github.com/php/karma/pull/4
Patch:      https://github.com/php/karma/pull/4.patch
 [2021-08-04 12:55 UTC] cmb@php.net
-Status: Open +Status: Closed -Assigned To: +Assigned To: cmb
 [2021-08-04 12:55 UTC] cmb@php.net
This has been resolved quite some time ago; there are now
release.json files available, e.g.
<https://windows.php.net/downloads/releases/releases.json>
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Tue Mar 19 06:01:30 2024 UTC