Technical debt: The blog post class is bloated
The ReleaseTools::PatchRelease::BlogMergeRequest
class is used to build patch release blog posts, currently, this class is quite bloated:
- It has over 300 lines of code
- Making changes to that class is a fragile process, manual tests need to be performed to ensure the blog post generation is still working
- The class performs multiple roles: gathers all the changes, verifies if fixes are present, prepares formatting, etc.
- The spec associated is also large, with over 600 specs, it is very difficult to understand the narrative of the specs.
The purpose of this issue is to simply the class and the spec.