fabienjuif / gitmoji-changelog-rust

Do you use gitmoji? Then generate your changelog with this app!
https://docs.rs/gitmoji-changelog/
MIT License
12 stars 1 forks source link

group similar commits #7

Open fabienjuif opened 5 years ago

fabienjuif commented 5 years ago

levenshtein

jwir3 commented 2 years ago

I might be able to help with this, if this project is still active. I'd really like to see this succeed, and am also practicing my Rust skillset. Would you be able to give me a little more information about how this is expected to work?

fabienjuif commented 2 years ago

Sure you can look at it if you want!

Here is the nodejs version we wrote back then: https://github.com/frinyvonnick/gitmoji-changelog/blob/master/packages/gitmoji-changelog-core/src/utils.js

You can see an example using levenshtein library (from the levenshtein algorithm) that group similar commit names together.

Wikipedia about the algorithm

The idea was to write a rust version using this kind of approach.

Feel free to open a PR or even clone the project if I am not fast enough to respond/test ;)

Cya and happy new year 🎇