[go: up one dir, main page]

Skip to content

Commits API - Support ordering

Problem to solve

As a user, I want to order the commits by ASC order (instead of what we have now (the commits are shown in reverse chronological order.), so I can poll it from time to time based on last_commit offset. Projects have this.

Intended users

Mainly developers who want to poll commits using some kind of crontab.

Proposal

Add more order options.

Further details

With this, it will be possible to fetch commits and rate limit the number of commits to fetch in each crontab run.

Available Tier

  • Free

resource

https://docs.gitlab.com/ee/api/commits.html#list-repository-commits

Edited by Mark Fletcher