Commit graph

512 commits

Author SHA1 Message Date
6543
9e280adb4d CreateOrgOption rename UserName to Name (#386)
add docu

CreateOrgOption rename UserName to Name
since it is the name of the new Organisation and not some User

Co-authored-by: 6543 <6543@obermui.de>
Reviewed-on: https://gitea.com/gitea/go-sdk/pulls/386
Reviewed-by: Lunny Xiao <xiaolunwen@gmail.com>
Reviewed-by: techknowlogick <techknowlogick@gitea.io>
2020-07-30 19:46:18 +00:00
6543
df77e54d81 Start migration guide (#384)
Merge branch 'master' into docu-start-migration-guide

add migrate-v0.12-to-v0.13.md

Co-authored-by: techknowlogick <techknowlogick@gitea.io>
Co-authored-by: 6543 <6543@obermui.de>
Reviewed-on: https://gitea.com/gitea/go-sdk/pulls/384
Reviewed-by: Lunny Xiao <xiaolunwen@gmail.com>
Reviewed-by: techknowlogick <techknowlogick@gitea.io>
2020-07-23 05:35:58 +00:00
6543
f67cf3c5d0 Extend Notification Functions (#381)
add info about vararg

use fake vararg as per @zeripath

Merge branch 'master' into extend-list-notification

nit

fix

extend notification functions - handle pinned ones

Co-authored-by: 6543 <6543@obermui.de>
Reviewed-on: https://gitea.com/gitea/go-sdk/pulls/381
Reviewed-by: Andrew Thornton <art27@cantab.net>
Reviewed-by: Lunny Xiao <xiaolunwen@gmail.com>
2020-07-21 12:28:16 +00:00
6543
b04ccca570 Refactor Visibletype Orgs (#382)
refactor VisibleType

Co-authored-by: 6543 <6543@obermui.de>
Reviewed-on: https://gitea.com/gitea/go-sdk/pulls/382
Reviewed-by: Lunny Xiao <xiaolunwen@gmail.com>
Reviewed-by: techknowlogick <techknowlogick@gitea.io>
2020-07-16 02:17:33 +00:00
6543
1026b1014c Refactor RepoSearch to be easy usable (#346)
Allow EdgeCases

Transform Uggly API to Prity Search Function

Update & add description of SearchRepoOptions

Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
Co-authored-by: 6543 <6543@obermui.de>
Reviewed-on: https://gitea.com/gitea/go-sdk/pulls/346
Reviewed-by: Lunny Xiao <xiaolunwen@gmail.com>
Reviewed-by: lafriks <lafriks@noreply.gitea.io>
2020-07-11 19:54:57 +00:00
6543
eb32e0454f Changelog for v0.12.1 (#378) (#379)
Changelog for v0.12.1 (#378)

Changelog for v0.12.1

Co-authored-by: 6543 <6543@obermui.de>
Reviewed-on: https://gitea.com/gitea/go-sdk/pulls/378
Reviewed-by: techknowlogick <techknowlogick@gitea.io>
Reviewed-by: Lunny Xiao <xiaolunwen@gmail.com>

Reviewed-on: https://gitea.com/gitea/go-sdk/pulls/379
Reviewed-by: Lunny Xiao <xiaolunwen@gmail.com>
Reviewed-by: techknowlogick <techknowlogick@gitea.io>
2020-07-09 15:58:30 +00:00
6543
27b4fdd986 Impruve Error Handling (#351)
ajust test for new gitea responce

dedub

Merge branch 'master' into impruve-error-handling

Merge branch 'master' into impruve-error-handling

Merge branch 'master' into impruve-error-handling

if 500 error has ErrMsg return this else return request witch was made

Co-authored-by: 6543 <6543@obermui.de>
Reviewed-on: https://gitea.com/gitea/go-sdk/pulls/351
Reviewed-by: Andrew Thornton <art27@cantab.net>
Reviewed-by: John Olheiser <john.olheiser@gmail.com>
2020-07-08 17:21:40 +00:00
6543
c388803b68 Update GetGlobalSettings Functions (#376)
extend Test

Update GetGlobalSettings functions

Co-authored-by: 6543 <6543@obermui.de>
Reviewed-on: https://gitea.com/gitea/go-sdk/pulls/376
Reviewed-by: techknowlogick <techknowlogick@gitea.io>
Reviewed-by: Gary Kim <gary@garykim.dev>
2020-06-30 20:29:09 +00:00
6543
316d2391df Allow Creating Closed Milestones (#373)
Allow Creating Closed Milestones

Co-authored-by: 6543 <6543@obermui.de>
Reviewed-on: https://gitea.com/gitea/go-sdk/pulls/373
Reviewed-by: Andrew Thornton <art27@cantab.net>
Reviewed-by: Lunny Xiao <xiaolunwen@gmail.com>
2020-06-19 04:49:31 +00:00
6543
5d880baff1 Add Validate func for Create/Edit Options (#370)
add TestLabels TEST

fix ...

impruve CreatePullReviewOptions Validate

some code refactor & reformat

add Validate functions where it make sence

add Validate() for CreateLabelOption

rm ToDo - not needed

Co-authored-by: 6543 <6543@obermui.de>
Reviewed-on: https://gitea.com/gitea/go-sdk/pulls/370
Reviewed-by: techknowlogick <techknowlogick@gitea.io>
Reviewed-by: Andrew Thornton <art27@cantab.net>
2020-06-09 10:47:55 +00:00
6543
7f50d48c01 File Create/Update/Delete detect DefaultBranch if Branch not set for old Versions (#352)
Gitea >= 1.12.0 Use DefaultBranch on "", mimic this for older versions

Co-authored-by: 6543 <6543@obermui.de>
Reviewed-on: https://gitea.com/gitea/go-sdk/pulls/352
Reviewed-by: techknowlogick <techknowlogick@gitea.io>
Reviewed-by: Andrew Thornton <art27@cantab.net>
2020-06-09 10:11:14 +00:00
6543
6a00d39ee1 CreateLabel correct Color if needed for old versions (#365)
Merge branch 'master' into CreateLabel_correct-format-for-old-intances

CreateLabel correct Color if needed for old versions

Co-authored-by: 6543 <6543@obermui.de>
Reviewed-on: https://gitea.com/gitea/go-sdk/pulls/365
Reviewed-by: techknowlogick <techknowlogick@gitea.io>
Reviewed-by: Andrew Thornton <art27@cantab.net>
2020-06-09 07:51:37 +00:00
6543
9be8754fec Add Function to get GetGlobalSettings and GetSettingAllowedReactions (#359)
Add Function to get GetGlobalSettings and GetSettingAllowedReactions

Co-authored-by: 6543 <6543@obermui.de>
Reviewed-on: https://gitea.com/gitea/go-sdk/pulls/359
Reviewed-by: Lunny Xiao <xiaolunwen@gmail.com>
Reviewed-by: techknowlogick <techknowlogick@gitea.io>
2020-06-09 00:19:14 +00:00
6543
c5211db2e7 EditMilestoneOption also use StateType (#350)
Merge branch 'master' into EditMilestone_also-use-StateType

Merge branch 'master' into EditMilestone_also-use-StateType

fix test

Merge branch 'master' into EditMilestone_also-use-StateType

EditMilestoneOption also use StateType

Co-authored-by: 6543 <6543@obermui.de>
Reviewed-on: https://gitea.com/gitea/go-sdk/pulls/350
Reviewed-by: John Olheiser <john.olheiser@gmail.com>
Reviewed-by: Lunny Xiao <xiaolunwen@gmail.com>
2020-06-04 09:19:02 +00:00
6543
8829e1fe6f Issue/Pull add IsLocked Property (#357)
Merge branch 'master' into issue-pull_add_IsLocked

Issue/Pull add IsLocked Property

Co-authored-by: 6543 <6543@obermui.de>
Reviewed-on: https://gitea.com/gitea/go-sdk/pulls/357
Reviewed-by: John Olheiser <john.olheiser@gmail.com>
Reviewed-by: Lunny Xiao <xiaolunwen@gmail.com>
2020-06-04 01:01:13 +00:00
blaggacao
98cfcfe13b Update EditPullRequestOption Add Base (#353)
Follow https://github.com/go-gitea/gitea/pull/11666

Reviewed-on: https://gitea.com/gitea/go-sdk/pulls/353
Reviewed-by: 6543 <6543@noreply.gitea.io>
Reviewed-by: John Olheiser <john.olheiser@gmail.com>
2020-06-03 17:54:19 +00:00
6543
e7c56d8f50 fix ineffassign in Tests & set Version v0.13.0 (#345)
increment version

fix ineffassign

Co-authored-by: 6543 <6543@obermui.de>
Reviewed-on: https://gitea.com/gitea/go-sdk/pulls/345
Reviewed-by: Lunny Xiao <xiaolunwen@gmail.com>
Reviewed-by: Andrew Thornton <art27@cantab.net>
2020-05-27 13:04:51 +00:00
6543
567d2f8bbd Changelog v0.12.0 (#344)
Add Changelog v0.12.0

Co-authored-by: 6543 <6543@obermui.de>
Reviewed-on: https://gitea.com/gitea/go-sdk/pulls/344
Reviewed-by: Andrew Thornton <art27@cantab.net>
Reviewed-by: techknowlogick <techknowlogick@gitea.io>
2020-05-22 01:49:24 +00:00
6543
057518ef80 Add PullReview functions (#338)
add TESTS

better name

First Version

Add Structs & function placeholders

Co-authored-by: techknowlogick <techknowlogick@gitea.io>
Co-authored-by: 6543 <6543@obermui.de>
Reviewed-on: https://gitea.com/gitea/go-sdk/pulls/338
Reviewed-by: Lunny Xiao <xiaolunwen@gmail.com>
Reviewed-by: techknowlogick <techknowlogick@gitea.io>
2020-05-21 18:04:48 +00:00
6543
2e81813c45 Add BranchProtection functions (#341)
Merge branch 'master' into branch-protection

Merge branch 'master' into branch-protection

Merge branch 'master' into branch-protection

Merge branch 'master' into branch-protection

Merge branch 'master' into branch-protection

fix + add TESTS

first draft

Add structs and placeholder

Update Branch struct

Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
Co-authored-by: 6543 <6543@obermui.de>
Reviewed-on: https://gitea.com/gitea/go-sdk/pulls/341
Reviewed-by: Lunny Xiao <xiaolunwen@gmail.com>
Reviewed-by: techknowlogick <techknowlogick@gitea.io>
2020-05-21 17:52:51 +00:00
6543
bb9144e8d6 Add Migration Guide for v0.12.0 (#343)
Add Migration Guide: v0.11 to v0.12

Co-authored-by: 6543 <6543@obermui.de>
Reviewed-on: https://gitea.com/gitea/go-sdk/pulls/343
Reviewed-by: Andrew Thornton <art27@cantab.net>
Reviewed-by: Lunny Xiao <xiaolunwen@gmail.com>
2020-05-21 12:28:09 +00:00
6543
3c36bd251b Copy DeleteFileOptions struct fields into UpdateFileOptions struct (#330) 2020-05-21 10:13:32 +00:00
6543
b4696d5416 PullMerge: use enum for MergeStyle (#328)
Its already Breaking ... make struct look nice

Signed-off-by: 6543 <6543@obermui.de>

PullMerge: use enum for MergeStyle

Co-authored-by: 6543 <6543@obermui.de>
Reviewed-on: https://gitea.com/gitea/go-sdk/pulls/328
Reviewed-by: Andrew Thornton <art27@cantab.net>
Reviewed-by: lafriks <lafriks@noreply.gitea.io>
2020-05-20 22:41:21 +00:00
6543
2cc36f912f Check if gitea is able to squash-merge via API (#336)
Check if gitea is able to squash-merge via API

Co-authored-by: 6543 <6543@obermui.de>
Reviewed-on: https://gitea.com/gitea/go-sdk/pulls/336
Reviewed-by: Andrew Thornton <art27@cantab.net>
Reviewed-by: CirnoT <cirnot@noreply.gitea.io>
2020-05-20 13:01:06 +00:00
6543
bb6248f50d Add paggination to ListNotification functions (#339)
Merge branch 'master' into update-notifications

Merge branch 'master' into update-notifications

rm nonesence - dont know why i put it there

add paggination to ListNotification functions

refactor

Co-authored-by: 6543 <6543@obermui.de>
Reviewed-on: https://gitea.com/gitea/go-sdk/pulls/339
Reviewed-by: Lunny Xiao <xiaolunwen@gmail.com>
Reviewed-by: Andrew Thornton <art27@cantab.net>
2020-05-20 08:26:47 +00:00
6543
f224b4e50c ListIssues: add milestones filter (#327)
use string.Join

Code Format

add test case

add Milestones to ListIssueOption

Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
Co-authored-by: 6543 <6543@obermui.de>
Reviewed-on: https://gitea.com/gitea/go-sdk/pulls/327
Reviewed-by: Andrew Thornton <art27@cantab.net>
Reviewed-by: Lunny Xiao <xiaolunwen@gmail.com>
2020-05-20 06:48:06 +00:00
6543
70863f4458 Support 2FA for basic auth & refactor Token functions (#335)
BREAKING: Token functions: remove username&passwd param - use default client auth way

refactor

add otp Field

refacotr ...

Co-authored-by: 6543 <6543@obermui.de>
Reviewed-on: https://gitea.com/gitea/go-sdk/pulls/335
Reviewed-by: John Olheiser <john.olheiser@gmail.com>
Reviewed-by: Andrew Thornton <art27@cantab.net>
2020-05-19 22:16:37 +00:00
6543
93087537ff Corect test Title: TestIssueSubscription (#326)
Corect test Title: TestIssueSubscription

Co-authored-by: 6543 <6543@obermui.de>
Reviewed-on: https://gitea.com/gitea/go-sdk/pulls/326
Reviewed-by: Andrew Thornton <art27@cantab.net>
Reviewed-by: techknowlogick <techknowlogick@gitea.io>
2020-05-19 06:33:05 +00:00
6543
2883376503 Revert "API split for: to get single commit via SHA and Ref (#319)" (#324)
Merge branch 'master' into revert-commit-api-split

Revert "API split for: to get single commit via SHA and Ref (#319)"

This reverts commit 36d2964230.

Co-authored-by: 6543 <6543@obermui.de>
Reviewed-on: https://gitea.com/gitea/go-sdk/pulls/324
Reviewed-by: lafriks <lafriks@noreply.gitea.io>
Reviewed-by: Andrew Thornton <art27@cantab.net>
2020-05-11 19:03:14 +00:00
6543
fb7355a186 IssueUn-/Subscription take care of new 200 status (#325)
IssueUn-/Subscription handle 200 status

Co-authored-by: 6543 <6543@obermui.de>
Reviewed-on: https://gitea.com/gitea/go-sdk/pulls/325
Reviewed-by: Andrew Thornton <art27@cantab.net>
Reviewed-by: lafriks <lafriks@noreply.gitea.io>
2020-05-11 15:28:10 +00:00
6543
7ae928fbc2 [Frontport] Changelog for v0.11.3 & newline fix (#321)
fix newline in readme

Changelog v0.11.3 (#320)

Changelog v0.11.3

Co-authored-by: 6543 <6543@obermui.de>
Reviewed-on: https://gitea.com/gitea/go-sdk/pulls/320
Reviewed-by: Andrew Thornton <art27@cantab.net>
Reviewed-by: Lunny Xiao <xiaolunwen@gmail.com>

Co-authored-by: 6543 <6543@obermui.de>
Reviewed-on: https://gitea.com/gitea/go-sdk/pulls/321
Reviewed-by: Lunny Xiao <xiaolunwen@gmail.com>
Reviewed-by: techknowlogick <techknowlogick@gitea.io>
2020-04-28 03:37:57 +00:00
6543
36d2964230 API split for: to get single commit via SHA and Ref (#319)
Split API

Co-authored-by: 6543 <6543@obermui.de>
Reviewed-on: https://gitea.com/gitea/go-sdk/pulls/319
Reviewed-by: lafriks <lafriks@noreply.gitea.io>
Reviewed-by: Andrew Thornton <art27@cantab.net>
2020-04-27 16:29:43 +00:00
6543
50560273b9 Add Branch Deletion (#317)
add TEST for branches

dont return empty branch on error

add DeleteBranch func

Co-authored-by: lafriks <lafriks@noreply.gitea.io>
Co-authored-by: 6543 <6543@obermui.de>
Reviewed-on: https://gitea.com/gitea/go-sdk/pulls/317
Reviewed-by: Lunny Xiao <xiaolunwen@gmail.com>
Reviewed-by: lafriks <lafriks@noreply.gitea.io>
2020-04-24 15:39:40 +00:00
6543
7dfa25bb30 Add Issue Subscription Check & Fix DeleteIssueSubscription (#318)
add subscription tests

make createTestIssue reusable

Add CheckIssueSubscription

fix

Co-authored-by: 6543 <6543@obermui.de>
Reviewed-on: https://gitea.com/gitea/go-sdk/pulls/318
Reviewed-by: Lunny Xiao <xiaolunwen@gmail.com>
Reviewed-by: lafriks <lafriks@noreply.gitea.io>
2020-04-24 14:37:28 +00:00
6543
79665cae15 Fix MergePullRequest & extend Tests (#278)
rm MergePullRequestResponse

Fix MergePullRequest

Extend Tests

Co-authored-by: 6543 <6543@obermui.de>
Reviewed-on: https://gitea.com/gitea/go-sdk/pulls/278
Reviewed-by: Andrew Thornton <art27@cantab.net>
Reviewed-by: Lunny Xiao <xiaolunwen@gmail.com>
2020-04-23 12:51:36 +00:00
Dan
0cf676d9f9 Add Get/Update for oauth2 apps (#311)
Update Documentation for Oauth2 Application delete

also fix variable names to be similar to existing functions

Signed-off-by: Dan Molik <dan@danmolik.com>

Add Get/Update for oauth2 apps

  Add a get by id function for oauth applications, and add an update
  function, also ensuring the oauth2 update regenerates the client
  secret.

Signed-off-by: Dan Molik <dan@danmolik.com>

Co-authored-by: Dan Molik <dan@danmolik.com>
Reviewed-on: https://gitea.com/gitea/go-sdk/pulls/311
Reviewed-by: 6543 <6543@noreply.gitea.io>
Reviewed-by: Andrew Thornton <art27@cantab.net>
2020-04-20 13:17:57 +00:00
6543
50efd911c8 Tune CheckNotifications for api change (#308)
notification Check now always return json

make fmt relicts

CheckNotifications: one api call is enouth

add getResponseWithStatus to handle Response customized based on Status

Co-authored-by: 6543 <6543@obermui.de>
Reviewed-on: https://gitea.com/gitea/go-sdk/pulls/308
Reviewed-by: Lunny Xiao <xiaolunwen@gmail.com>
Reviewed-by: Andrew Thornton <art27@cantab.net>
2020-04-14 13:29:44 +00:00
seelensonne
2f920dbb01 Add missing JSON header to Client.AddCollaborator (#306)
Add missing JSON header to `Client.AddCollaborator`

Reviewed-on: https://gitea.com/gitea/go-sdk/pulls/306
Reviewed-by: 6543 <6543@noreply.gitea.io>
Reviewed-by: techknowlogick <techknowlogick@gitea.io>
2020-04-07 14:26:05 +00:00
Dan
9f10a2b902 Add Create/Get/Delete for oauth2 apps (#305)
Add Create/Get/Delete for oauth2 apps

  Add Create, List, and Delete for Oauth2 applications.
  Tests were added as well.

Co-authored-by: Dan Molik <dan@danmolik.com>
Reviewed-on: https://gitea.com/gitea/go-sdk/pulls/305
Reviewed-by: techknowlogick <techknowlogick@gitea.io>
Reviewed-by: 6543 <6543@noreply.gitea.io>
2020-04-06 22:02:19 +00:00
6543
f7cf231ae9 Add DeleteFile() (#302)
add DeleteFile + Tests

Co-authored-by: 6543 <6543@obermui.de>
Reviewed-on: https://gitea.com/gitea/go-sdk/pulls/302
Reviewed-by: Lunny Xiao <xiaolunwen@gmail.com>
Reviewed-by: Andrew Thornton <art27@cantab.net>
2020-04-03 12:55:16 +00:00
6543
8821d1f9ab Changelog v0.11.2 (#299)
Merge branch 'master' into changelog-0112-frontport

Merge branch 'master' into changelog-0112-frontport

Changelog v0.11.2

Co-authored-by: 6543 <6543@obermui.de>
Reviewed-on: https://gitea.com/gitea/go-sdk/pulls/299
Reviewed-by: Lunny Xiao <xiaolunwen@gmail.com>
Reviewed-by: techknowlogick <techknowlogick@gitea.io>
Reviewed-by: John Olheiser <john.olheiser@gmail.com>
2020-04-01 23:28:26 +00:00
6543
8cad1a92d7 update CreateRepoOption struct (#300)
updates from https://github.com/go-gitea/gitea/pull/10803

Co-authored-by: 6543 <6543@obermui.de>
Reviewed-on: https://gitea.com/gitea/go-sdk/pulls/300
Reviewed-by: Lunny Xiao <xiaolunwen@gmail.com>
Reviewed-by: mrsdizzie <info@mrsdizzie.com>
2020-04-01 02:59:16 +00:00
6543
8045079a7a Add Get/Update/Create File (#281)
remove -binding- since sdk dont use it

Merge branch 'master' into add-edit-file

fix test

Merge branch 'master' into add-edit-file

add TEST

add Get/Create/Update-Contents

add missing structs

Co-authored-by: 6543 <6543@obermui.de>
Reviewed-on: https://gitea.com/gitea/go-sdk/pulls/281
Reviewed-by: techknowlogick <techknowlogick@gitea.io>
Reviewed-by: John Olheiser <john.olheiser@gmail.com>
2020-04-01 02:39:20 +00:00
6543
3c9645ff81 On Internal Server Error, show request witch caused this (#296)
On Internal Server Error, show request witch caused this

Co-authored-by: 6543 <6543@obermui.de>
Reviewed-on: https://gitea.com/gitea/go-sdk/pulls/296
Reviewed-by: Lunny Xiao <xiaolunwen@gmail.com>
Reviewed-by: Andrew Thornton <art27@cantab.net>
2020-03-31 11:19:18 +00:00
6543
01b2959d4d Add IssueType as filter for ListIssues (#286)
add IssueType as filter for ListIssues

Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
Co-authored-by: 6543 <6543@obermui.de>
Reviewed-on: https://gitea.com/gitea/go-sdk/pulls/286
Reviewed-by: John Olheiser <john.olheiser@gmail.com>
Reviewed-by: Lunny Xiao <xiaolunwen@gmail.com>
2020-03-31 11:13:06 +00:00
6543
10a1de1d10 Changelog for 0.11.1 (#290) (#292)
Changelog of 0.11.1

Co-authored-by: 6543 <6543@obermui.de>
Reviewed-on: https://gitea.com/gitea/go-sdk/pulls/290
Reviewed-by: lafriks <lafriks@noreply.gitea.io>
Reviewed-by: John Olheiser <john.olheiser@gmail.com>

Co-authored-by: 6543 <6543@obermui.de>
Reviewed-on: https://gitea.com/gitea/go-sdk/pulls/292
Reviewed-by: sapk <sapk@noreply.gitea.io>
Reviewed-by: John Olheiser <john.olheiser@gmail.com>
2020-03-30 19:10:41 +00:00
6543
9832db02f1 CI: fix test task (#295)
export GO111MODULE="on"

move to go1.14 and add sleep

Extend Test

Fix Panic

Co-authored-by: 6543 <6543@obermui.de>
Reviewed-on: https://gitea.com/gitea/go-sdk/pulls/295
Reviewed-by: Andrew Thornton <art27@cantab.net>
Reviewed-by: techknowlogick <techknowlogick@gitea.io>
2020-03-30 18:57:56 +00:00
6543
ba7916819f Refactor List/SetRepoTopics (#276)
Co-authored-by: 6543 <6543@obermui.de>
Reviewed-on: https://gitea.com/gitea/go-sdk/pulls/276
Reviewed-by: Lunny Xiao <xiaolunwen@gmail.com>
Reviewed-by: Andrew Thornton <art27@cantab.net>
2020-02-09 18:31:34 +00:00
6543
b6504ee1db add functions for OrgMembership endpoints (#275)
Co-authored-by: 6543 <6543@obermui.de>
Reviewed-on: https://gitea.com/gitea/go-sdk/pulls/275
Reviewed-by: Lunny Xiao <xiaolunwen@gmail.com>
Reviewed-by: Andrew Thornton <art27@cantab.net>
2020-02-09 18:01:13 +00:00
6543
ffaf5e0d1e Add ListRepoCommits (#266)
Co-authored-by: 6543 <6543@obermui.de>
Co-authored-by: spawn2kill <spawn2kill@noreply.gitea.io>
Reviewed-on: https://gitea.com/gitea/go-sdk/pulls/266
Reviewed-by: Andrew Thornton <art27@cantab.net>
Reviewed-by: Lunny Xiao <xiaolunwen@gmail.com>
2020-02-09 01:08:43 +00:00