go-gogs-client icon indicating copy to clipboard operation
go-gogs-client copied to clipboard

Commits API

Open drsect0r opened this issue 8 years ago • 6 comments

It would be very useful to have a endpoint showing all commits either on a repository basis or user basis. This functionality would look a lot like: https://developer.github.com/v3/git/commits/

drsect0r avatar Nov 25 '15 11:11 drsect0r

Thanks your feedback!

unknwon avatar Nov 25 '15 12:11 unknwon

Also:

GET /repos/:owner/:repo/commits

As currently there isn't a way to list commits on a repository either.

Kalyse avatar Sep 23 '16 08:09 Kalyse

Also:

GET /repos/:owner/:repo/commits

As currently there isn't a way to list commits on a repository either.

This would be tremendously useful. My main use case is for a deploy tool where I want to list repositories, pick a specific commit for a given repo and build a docker image out of it (using gogs archive directly to dockerd).

ralphtheninja avatar Nov 22 '16 17:11 ralphtheninja

+1

renyanwei avatar Feb 24 '17 03:02 renyanwei

As a variant, it would be nice to have something like

GET /repos/:owner/:repo/commits/search?q=<part of commit message>

This would be similar to

git log --all --grep='part of commit message'

mliebelt avatar Jan 20 '18 10:01 mliebelt

+1

DreamAndDead avatar Jun 04 '18 08:06 DreamAndDead