OK, let’s finally do this… I’ll upgrade my personal site from @craftcms 2 to version … 4 … I mean … 5!
-
Updating my site to @craftcms 5 also means that I’ll have to update the three plugins I wrote for Craft 2. I had already started rewriting the #Webmention plugin, but didn’t finish it. So instead of waiting until I remove this blocker (= forever), I'll now increase the pressure a bit by killing Webmentions on my site completely with this CMS update. 🥺 If I want to have Webmentions back on my site, I better finish rewriting the plugin soon…
-
The other two plugins are far less complicated: One is generating a HEX color value based on the length and the letters of a tag in my links section. This plugin (a Twig filter extension) is already done.
The other plugin is sending a request to the @internetarchive whenever I publish a new post. -
@matthiasott The Archive one you can currently test for edge cases as the archiver is read-only right now.
-
@Lippe This buys me some time…
-
@matthiasott Or it doesn't because now is the time to test how the plugin handles such case in real life.
-
-
Alright – after lots of database backups, wrangling with console commands, and rewriting the templates a bit, I now have a copy of my personal site running locally on @craftcms 5! 🥳 Time to deploy it!
(Again, this will break the Webmentions on my site, though. But I need to increase the pressure on myself to finally update my plugin for v5, sooo…)
-
Also, everything looks the same for now. But under the hood, the site is running on the latest version of Craft again. So I have the next ~10 years to update the design.
-
Done.
So far, it looks like everything is running well.Time for a good night’s sleep.
-
@flokosiol ………