joomla / statistics-server

Server for collecting environment stats for Joomla Installations
GNU General Public License v2.0
11 stars 17 forks source link

Parse Joomla release tags #28

Closed mbabker closed 8 years ago

mbabker commented 8 years ago

Pull Request for Issue #24

Summary of Changes

To improve input validation for Joomla and PHP releases, we can grab the release list for these platforms via the GitHub API and build an allowed version array. Since this is machine parseable, we can put it on a cron job to run updates as needed.

To sum things up a bit:

Running bin/stats tags:joomla should fetch the tags from the joomla/joomla-cms repo, process them, and write to the versions/joomla.json file and include all 3.x releases plus the next patch and minor version numbers (unreleased). Data should still be submitted and processed correctly.