This PR is an alternative to decommissioning the site. It includes:
Upgrade to framework 4.13 and PHP 8.1
Update SilverStripe mentions to Silverstripe CMS
Remove ratings
Remove elastic in favour of pure db queries (it's surprisingly fast)
Don't store the readme - fetch it from GitHub on page load
If we do decide to go this route, we'll need to provide a token so we don't rate limit the IP address of individual users
Don't store screenshots - assume those will be in the readme if at all
Don't store old versions - we only want stuff that's compatible with supported versions
Delete any addon that doesn't have a version compatible with supported CMS versions
Remove grid view (only made sense when we were storing screenshots)
Remove authors and vendors controllers
Remove graph on the homepage
Don't send data to stitchdata (this was for the old datawarehouse)
Remove RSS feed
This reduces complexity and drastically reduces storage requirements.
It directly resolves some open issues and makes others obsolete.
A step further
What we could, and probably should do is remove the display of modules and authors as well. With that, all we would hsve is:
a dev task to update our dB from packaging
a home page
a search page
And that's it. All search result links could then link directly back to packagist, leaving us to only do the one thing you can't do on packagist: search by compatibility with various versions of silverstripe cms
This PR is an alternative to decommissioning the site. It includes:
SilverStripe
mentions toSilverstripe CMS
This reduces complexity and drastically reduces storage requirements. It directly resolves some open issues and makes others obsolete.
A step further
What we could, and probably should do is remove the display of modules and authors as well. With that, all we would hsve is:
And that's it. All search result links could then link directly back to packagist, leaving us to only do the one thing you can't do on packagist: search by compatibility with various versions of silverstripe cms
Screenshots
Before
After
Issue