COSCUP 2023

Atomic Commits: An Easy & Proven Way to Manage & Automate Release Process
2023-07-29, 15:30–16:00 (Asia/Taipei), TR 209
Language: Traditional Chinese (Taiwan)

Releasing new versions can be challenging. Simply by adding metadata during the committing, we can aid release managers in understanding changes faster. With a standardized convention, we can even parse the well-formatted commits, and reduce manual effort in the process. In my talk, I will demonstrate how to accomplish this and automate the release process with the help of commitizen-tool.


Releasing new software versions can be a daunting task that requires attention to detail. Errors, such as forgetting to update the version in certain files or missing breaking changes in some commits, are common occurrences. Fortunately, these issues can be avoided by adding additional metadata when committing code changes. By establishing a standardized committing convention, the release manager can expedite the understanding of the changes and streamline the release process. In this presentation, I will demonstrate how to set up a commit message convention, and how it can help simplify the release process. Additionally, I'll introduce commitizen-tools which can not only generate standardized messages but also automate tasks like version updates and changelog creation by extracting information from formatted commit messages. Ultimately, we'll even be able to automate the entire releasing process.


Difficulty

Beginner

Target Audience

developers get bored with writing changelogs, determining how to update project versions, and dealing with confusing and cluttered commit messages

Wei Lee is a software engineer and a volunteer at PyCon Taiwan. As an engineer who values efficiency, Wei is enthusiastic about automating tasks using Python. When he's not working, Wei enjoys exploring the world through travel, and attending PyCon events gives him the perfect opportunity to do so. Wei has already attended PyCon TW 🇹🇼, PyCon US 🇺🇸, PyCon JP 🇯🇵, PyCon CA 🇨🇦, and even Remote Python Pizza 🍕.

Personal Website: https://weilee.me
Twitter: @clleew