• 3 Posts
  • 11 Comments
Joined 1 year ago
cake
Cake day: September 7th, 2023

help-circle






  • You missed out this fairly important bit re go-git:

    it is not supported or packaged because it is not fully compatible and could corrupt Git repositories.

    As far as being tied to git proper, that’s because there is no drop-in alternative implementation that implements all the functionality that you need to run a Git server. Right now, Git proper is your only option. That might change as gitoxide matures, but that could take years.



  • Regarding your first paragraph, this results limit is per page. To get the next page, you take your timestamp of the last item and use it in from_time, or whatever you’ve called it. It’s still a pagination technique.

    Regarding custom sorting, some of the techniques in the article can do this, some of them can’t. Obviously timestamp based pagination can’t, however the ID-based pagination that I mentioned can.