New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add single commit API support #5843

Merged
merged 8 commits into from Feb 3, 2019

Conversation

6 participants
@lunny
Copy link
Member

lunny commented Jan 25, 2019

blocked by go-gitea/go-sdk#138

Fixes #5535

@lunny lunny added the kind/api label Jan 25, 2019

@lunny lunny added this to the 1.8.0 milestone Jan 25, 2019

)

// GetSingleCommit get a commit via
func GetSingleCommit(c *context.APIContext) {

This comment has been minimized.

@lafriks

lafriks Jan 25, 2019

Member

Please add swagger docs

@lunny lunny changed the title Add single commit API support WIP: Add single commit API support Jan 25, 2019

@lunny

This comment has been minimized.

Copy link
Member Author

lunny commented Jan 25, 2019

@lafriks done and will add tests.

lunny added some commits Jan 25, 2019

@lunny lunny force-pushed the lunny:lunny/single_commit branch from 8ea59b1 to da2df5b Jan 25, 2019

@techknowlogick techknowlogick referenced this pull request Jan 31, 2019

Closed

Get a single commit #5535

1 of 7 tasks complete

@GiteaBot GiteaBot added lgtm/done and removed lgtm/need 1 labels Feb 3, 2019

@techknowlogick techknowlogick changed the title WIP: Add single commit API support Add single commit API support Feb 3, 2019

techknowlogick added some commits Feb 3, 2019

@codecov-io

This comment has been minimized.

Copy link

codecov-io commented Feb 3, 2019

Codecov Report

Merging #5843 into master will increase coverage by 0.06%.
The diff coverage is 72.63%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master    #5843      +/-   ##
==========================================
+ Coverage   38.22%   38.28%   +0.06%     
==========================================
  Files         329      330       +1     
  Lines       48423    48517      +94     
==========================================
+ Hits        18510    18576      +66     
- Misses      27247    27267      +20     
- Partials     2666     2674       +8
Impacted Files Coverage Δ
routers/api/v1/api.go 73.34% <100%> (+0.1%) ⬆️
routers/api/v1/repo/commits.go 71.73% <71.73%> (ø)
models/repo_list.go 63.29% <0%> (-1.27%) ⬇️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 3d91bb2...fbb657d. Read the comment docs.

@techknowlogick techknowlogick merged commit ecefa9e into go-gitea:master Feb 3, 2019

2 checks passed

approvals/lgtm this commit looks good
continuous-integration/drone/pr the build was successful
Details

@lunny lunny deleted the lunny:lunny/single_commit branch Feb 3, 2019

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment