Mike Schwörer
|
042089fbaf
|
API method to list all commits of a repository (#6408)
* Added API endpoint ListAllCommits (/repos/{owner}/{repo}/git/commits)
Signed-off-by: Mike Schwörer <mailport@mikescher.de>
* Fixed failing drone build
Signed-off-by: Mike Schwörer <mailport@mikescher.de>
* Implemented requested changes (PR reviews)
Signed-off-by: Mike Schwörer <mailport@mikescher.de>
* gofmt
Signed-off-by: Mike Schwörer <mailport@mikescher.de>
* Changed api route from "/repos/{owner}/{repo}/git/commits" to "/repos/{owner}/{repo}/commits"
* Removed unnecessary line
* better error message when git repo is empty
* make generate-swagger
* fixed removed return
* Update routers/api/v1/repo/commits.go
Co-Authored-By: Lauris BH <lauris@nix.lv>
* Update routers/api/v1/repo/commits.go
Co-Authored-By: Lauris BH <lauris@nix.lv>
* go fmt
* Refactored common code into ToCommit()
* made toCommit not exported
* added check for userCache == nil
|
2019-08-26 16:09:10 +02:00 |
Richard Mahn
|
26b493bb26
|
Fixes #7564 - Malformed URLs in API git/commits response (#7565)
|
2019-07-22 18:32:22 +01:00 |
Lunny Xiao
|
34eee25bd4
|
Move sdk structs to modules/structs (#6905)
* move sdk structs to moduels/structs
* fix tests
* fix fmt
* fix swagger
* fix vendor
|
2019-05-11 18:21:34 +08:00 |
John Olheiser
|
cb64b21a7f
|
Change summary to full message (#6591)
Signed-off-by: jolheiser <john.olheiser@gmail.com>
|
2019-04-12 17:11:09 +01:00 |
Lunny Xiao
|
d578b71d61
|
move code.gitea.io/git to code.gitea.io/gitea/modules/git (#6364)
* move code.gitea.io/git to code.gitea.io/gitea/modules/git
* fix imports
* fix fmt
* fix misspell
* remove wrong tests data
* fix unit tests
* fix tests
* fix tests
* fix tests
* fix tests
* fix tests
* enable Debug to trace the failure tests
* fix tests
* fix tests
* fix tests
* fix tests
* fix tests
* comment commit count tests since git clone depth is 50
* fix tests
* update from code.gitea.io/git
* revert change to makefile
|
2019-03-27 17:33:00 +08:00 |
Richard Mahn
|
ecce28f9df
|
Updates SDK dep (#6406)
|
2019-03-22 11:38:49 -04:00 |
Lunny Xiao
|
ecefa9e724
|
Add single commit API support (#5843)
* add single commit API support
|
2019-02-02 22:35:17 -05:00 |