Pretty commit messages via geordi

Updated . Posted . Visible to the public. Repeats.

Geordi Show archive.org snapshot provides a pretty neat way to generate beautiful commit messages according to your stories in Linear Show archive.org snapshot :

geordi commit

Geordi reads from a .geordi.yml file inside your repo and connects to Linear to list started and finished stories with their title. Choosing one of them generates a commit message including id and title from Linear app and a link to the original issue. For example:

[VW-1337] CRUD Users

Issue: https://linear.app/makandra/issue/VW-1337/crud-users

Setup

When you use geordi branch or geordi commit for the first time, you will be asked for your linear API key. You can create your linear API key in your account settings Show archive.org snapshot . You will also need to store the linear_team_ids in the .geordi.yml of your project. You can find the linear_team_ids by navigating to the corresponding team in Linear, opening the command menu (CTRL + K) and search for "Copy Model UUID".

Trouble shooting

If you encounter a bug like 401 Unauthorized (RestClient::Unauthorized) your API token probably changed.

Check if your API token differs from the one configured for geordi:

If they don't match, replace the API token with the one from Linear.

Natalie Zeumann
Last edit
Dennis
License
Source code in this card is licensed under the MIT License.
Posted by Natalie Zeumann to makandra dev (2018-08-20 12:46)