6543
635de1b821
Add ignoreVersion & manuall version set option ( #560 )
...
be able to skip version check if needed.
!!! Be careful, because using it incorrectly can result in infinite loops with pagination !!!
Reviewed-on: https://gitea.com/gitea/go-sdk/pulls/560
Reviewed-by: Andrew Thornton <art27@cantab.net>
Reviewed-by: Norwin <noerw@noreply.gitea.io>
2022-01-05 00:31:31 +08:00
6543
230fd25196
Add ListPullRequestCommits ( #530 )
...
ref: https://github.com/go-gitea/gitea/pull/16300
Reviewed-on: https://gitea.com/gitea/go-sdk/pulls/530
Reviewed-by: Lunny Xiao <xiaolunwen@gmail.com>
Reviewed-by: Norwin <noerw@noreply.gitea.io>
Co-authored-by: 6543 <6543@obermui.de>
Co-committed-by: 6543 <6543@obermui.de>
2021-07-03 20:29:50 +08:00
Norwin
ff82113459
Make Client thread-safe & Add docs ( #495 )
...
fix #494
Co-authored-by: Norwin Roosen <git@nroo.de>
Co-authored-by: 6543 <6543@obermui.de>
Reviewed-on: https://gitea.com/gitea/go-sdk/pulls/495
Reviewed-by: 6543 <6543@obermui.de>
Reviewed-by: Andrew Thornton <art27@cantab.net>
Co-authored-by: Norwin <noerw@noreply.gitea.io>
Co-committed-by: Norwin <noerw@noreply.gitea.io>
2021-03-05 04:19:55 +08:00
Norwin
68eec69f47
Add DeleteRepoTag function ( #461 )
...
add DeleteRepoTag()
fixes #441
add test
didnt run them yet 🙃
Co-authored-by: Norwin Roosen <git@nroo.de>
Reviewed-on: https://gitea.com/gitea/go-sdk/pulls/461
Reviewed-by: 6543 <6543@obermui.de>
Reviewed-by: khmarbaise <khmarbaise@noreply.gitea.io>
Co-Authored-By: Norwin <noerw@noreply.gitea.io>
Co-Committed-By: Norwin <noerw@noreply.gitea.io>
2020-12-10 02:08:22 +08:00
6543
60293eb2d1
Use sync.Once for loading ServerVersion ( #456 )
...
rename loadClientServerVersion -> loadServerVersion
use sync.Once for loading ServerVersion
Reviewed-on: https://gitea.com/gitea/go-sdk/pulls/456
Reviewed-by: Andrew Thornton <art27@cantab.net>
Reviewed-by: Lunny Xiao <xiaolunwen@gmail.com>
Co-Authored-By: 6543 <6543@obermui.de>
Co-Committed-By: 6543 <6543@obermui.de>
2020-11-13 09:03:33 +08:00
6543
9c81fa936f
Use Predefind Versions & Compare Function ( #442 )
...
update min go requrement & update required go-version lib
use special version in notifications
migrate to new version check function
add predefined versions & comparsion function
Co-authored-by: 6543 <6543@noreply.gitea.io>
Reviewed-on: https://gitea.com/gitea/go-sdk/pulls/442
Reviewed-by: Norwin <noerw@noreply.gitea.io>
Reviewed-by: Andrew Thornton <art27@cantab.net>
Co-Authored-By: 6543 <6543@obermui.de>
Co-Committed-By: 6543 <6543@obermui.de>
2020-11-13 04:59:04 +08:00
6543
688ee1978e
All Function return http responce ( #416 )
...
Add Docs on how to deal with this breaking change
doResponse should return responce in all cases, to prosses things manualy if wanted
helper func return http response
Co-authored-by: 6543 <6543@obermui.de>
Reviewed-on: https://gitea.com/gitea/go-sdk/pulls/416
Reviewed-by: Andrew Thornton <art27@cantab.net>
Reviewed-by: Lunny Xiao <xiaolunwen@gmail.com>
2020-09-14 02:37:09 +00:00
6543
c02398aaf3
[Add] VersionCheck ( #215 )
...
enable race test
make go-vet happy
code format
secound Func
RWMutex fix
prevent race condition
add TEST
cleanup
make go-version work without vendoring
dont change library version
use Server Version Check
on NewClient save serverVersion
Makefile: export test env var (#234 )
exporte test var to env on test target
Co-authored-by: 6543 <6543@obermui.de>
Reviewed-on: https://gitea.com/gitea/go-sdk/pulls/234
Reviewed-by: techknowlogick <techknowlogick@gitea.io>
Reviewed-by: John Olheiser <john.olheiser@gmail.com>
use golangci-lint and revive for linting (match main repo) (#220 )
Co-authored-by: 6543 <6543@noreply.gitea.io>
Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
Co-authored-by: John Olheiser <john.olheiser@gmail.com>
Reviewed-on: https://gitea.com/gitea/go-sdk/pulls/220
Reviewed-by: 6543 <6543@noreply.gitea.io>
Reviewed-by: John Olheiser <john.olheiser@gmail.com>
[Makefile] Add "test-instance"; Add "help" (#231 )
PASSWORD_COMPLEXITY = off
fix test
Makefile: add "test-instance" (start a gitea instance for test)
and add a help menue
Fix ListIssue Functions (now respect ListIssueOption's) (#225 )
fix test
add Test
add more test cases and fix
nice log
add Issue Tests
impruve
more Repo Tests and mv createTestRepo
introduce "createTestRepo" a standad func to create a repo for testing
add workaround
* Update Dates
* Fix ListIssueOption
Fix ListRepoPullRequests (#219 )
add ToDo notice
add ListRepoPullRequests TEST
remove useless drone config emtrys
fmt
ping CI
add new Options from PR #217
use query params
Add some PR list options (#217 )
Empty Commit
Add enums
Add some PR list options
Add test framework (#227 )
[Extend] StopWatch struct & functions (#211 )
add StopWatch struct & functions
[Add] reaction struct and functions (#213 )
add struct and functions
Co-authored-by: 6543 <6543@obermui.de>
Reviewed-by: Andrew Thornton <art27@cantab.net>
Reviewed-by: techknowlogick <techknowlogick@gitea.io>
[Add] issue Un-/Subscription function (#214 )
fix lint
add issue subscription function
Co-authored-by: 6543 <6543@obermui.de>
Reviewed-by: Andrew Thornton <art27@cantab.net>
Reviewed-by: techknowlogick <techknowlogick@gitea.io>
[Add] GetBlob (#212 )
fix header from PR 206
add GetBlob
Co-authored-by: 6543 <6543@obermui.de>
Reviewed-by: Lunny Xiao <xiaolunwen@gmail.com>
Reviewed-by: Andrew Thornton <art27@cantab.net>
Co-authored-by: 6543 <6543@obermui.de>
Reviewed-by: Andrew Thornton <art27@cantab.net>
Reviewed-by: techknowlogick <techknowlogick@gitea.io>
Co-authored-by: jolheiser <john.olheiser@gmail.com>
Co-authored-by: techknowlogick <techknowlogick@gitea.io>
Co-authored-by: 6543 <6543@noreply.gitea.io>
Reviewed-by: techknowlogick <techknowlogick@gitea.io>
Reviewed-by: 6543 <6543@noreply.gitea.io>
Add test framework (#227 )
Co-authored-by: 6543 <6543@obermui.de>
Co-authored-by: John Olheiser <john.olheiser@gmail.com>
Co-authored-by: techknowlogick <techknowlogick@gitea.io>
Reviewed-by: techknowlogick <techknowlogick@gitea.io>
Reviewed-by: Lunny Xiao <xiaolunwen@gmail.com>
Add some PR list options (#217 )
Empty Commit
Add enums
Add some PR list options
Add test framework (#227 )
[Extend] StopWatch struct & functions (#211 )
add StopWatch struct & functions
[Add] reaction struct and functions (#213 )
add struct and functions
Co-authored-by: 6543 <6543@obermui.de>
Reviewed-by: Andrew Thornton <art27@cantab.net>
Reviewed-by: techknowlogick <techknowlogick@gitea.io>
[Add] issue Un-/Subscription function (#214 )
fix lint
add issue subscription function
Co-authored-by: 6543 <6543@obermui.de>
Reviewed-by: Andrew Thornton <art27@cantab.net>
Reviewed-by: techknowlogick <techknowlogick@gitea.io>
[Add] GetBlob (#212 )
fix header from PR 206
add GetBlob
Co-authored-by: 6543 <6543@obermui.de>
Reviewed-by: Lunny Xiao <xiaolunwen@gmail.com>
Reviewed-by: Andrew Thornton <art27@cantab.net>
Co-authored-by: 6543 <6543@obermui.de>
Reviewed-by: Andrew Thornton <art27@cantab.net>
Reviewed-by: techknowlogick <techknowlogick@gitea.io>
Co-authored-by: jolheiser <john.olheiser@gmail.com>
Co-authored-by: techknowlogick <techknowlogick@gitea.io>
Co-authored-by: 6543 <6543@noreply.gitea.io>
Reviewed-by: techknowlogick <techknowlogick@gitea.io>
Reviewed-by: 6543 <6543@noreply.gitea.io>
Add test framework (#227 )
Co-authored-by: 6543 <6543@obermui.de>
Co-authored-by: John Olheiser <john.olheiser@gmail.com>
Co-authored-by: techknowlogick <techknowlogick@gitea.io>
Reviewed-on: https://gitea.com/gitea/go-sdk/pulls/225
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/231
Reviewed-by: Lunny Xiao <xiaolunwen@gmail.com>
Reviewed-by: John Olheiser <john.olheiser@gmail.com>
Fix ListIssue Functions (now respect ListIssueOption's) (#225 )
fix test
add Test
add more test cases and fix
nice log
add Issue Tests
impruve
more Repo Tests and mv createTestRepo
introduce "createTestRepo" a standad func to create a repo for testing
add workaround
* Update Dates
* Fix ListIssu...
Co-authored-by: 6543 <6543@obermui.de>
Co-authored-by: Lauris BH <lauris@nix.lv>
Co-authored-by: techknowlogick <techknowlogick@gitea.io>
Co-authored-by: John Olheiser <john.olheiser@gmail.com>
Reviewed-on: https://gitea.com/gitea/go-sdk/pulls/215
Reviewed-by: Lunny Xiao <xiaolunwen@gmail.com>
Reviewed-by: lafriks <lafriks@noreply.gitea.io>
2020-01-27 06:20:49 +00:00