ClassicPress/ClassicPress-APIs

Make update/upgrade endpoints pull from GitHub dynamically

Closed this issue · 1 comments

nylen commented

From ClassicPress/ClassicPress-v1#238:

Under https://github.com/ClassicPress/ClassicPress-APIs there are basic endpoints https://api.classicpress.net/core/stable-check/1.0/ and https://api.classicpress.net/core/version-check/1.0/.

These need to be made dynamic and pull information from GitHub about Releases zip files (with caching on the server), which we will use for update hosting initially.

We need someone to record and analyze the responses that come back from the WP core update endpoints for various WP configurations:

  • English and non-English
  • Latest version on a branch (4.8.x, 4.9.x)
  • Older version on a branch with an update available (4.8.x, 4.9.x)

We also need to come up with a strategy for handling localized releases and alpha/beta/"final" release channels.

nylen commented

This is replaced with https://api-v1.classicpress.net/upgrade/ in the latest commits.