mellowagain / gitarena

Software development platform with built-in vcs, issue tracking and code review
MIT License
86 stars 10 forks source link

Repository commits are in a seemingly random order #32

Open mellowagain opened 2 years ago

mellowagain commented 2 years ago

The commit list is supposted to be sorted by commit date, from newest to oldest. At the moment, it seems to be in a random order with seemingly no consistency.

Screenshot ![image](https://user-images.githubusercontent.com/24739711/149326057-22cd541d-7c62-4f06-95e2-58c559a1223c.png)
mellowagain commented 2 years ago

I'm taking this issue as an opportunity to refactor the commit listing to use gitoxide instead of libgit2. I've got the code already ready on my local machine but I'm currently blocked by upstream:

In order to fully implement it with gitoxide's git-traverse crate (instead of libgit2's revwalk), I require a newer version of it which includes the SortingMode feature.

git-repository 0.14.0 includes this feature as it's currently available on the gitoxide repository, but it is as of now not yet released on crates.io.

This issue is blocked until upstream releases 0.14.0 on crates.io.