John Olheiser
df1269f18d
Pin CI ( #614 )
...
This PR pins the CI and various versions of tools in our Makefile to ensure a more stable run.
Note that they aren't necessarily the most current versions, as the SDK likely needs more work to bring it back up to par with the main repo.
Co-authored-by: jolheiser <john.olheiser@gmail.com>
Co-authored-by: techknowlogick <techknowlogick@gitea.io>
Reviewed-on: https://gitea.com/gitea/go-sdk/pulls/614
Reviewed-by: techknowlogick <techknowlogick@gitea.io>
Reviewed-by: Lunny Xiao <xiaolunwen@gmail.com>
Co-authored-by: John Olheiser <john+gitea@jolheiser.com>
Co-committed-by: John Olheiser <john+gitea@jolheiser.com>
2023-03-01 08:50:04 +08:00
Gusted
8fab37e740
Enforce golangci-lint + gofumpt ( #587 )
...
- Enforce [gofumpt](https://github.com/mvdan/gofumpt ) to enforce a more idiomatic go style.
- Enforce golangci-lint a bunch of linters! Which were able to detect a few issues in the current codebase and have been fixed by this PR.
- Updated the Makefile to use `go install ....` instead of the old deprecated way of `go get`
Reviewed-on: https://gitea.com/gitea/go-sdk/pulls/587
Reviewed-by: John Olheiser <john.olheiser@gmail.com>
Reviewed-by: Lunny Xiao <xiaolunwen@gmail.com>
Co-authored-by: Gusted <williamzijl7@hotmail.com>
Co-committed-by: Gusted <williamzijl7@hotmail.com>
2022-04-28 23:33:21 +08:00
John Olheiser
2616d10528
Pull newest Gitea dev image always ( #581 )
...
Reviewed-on: https://gitea.com/gitea/go-sdk/pulls/581
Reviewed-by: Gusted <williamzijl7@hotmail.com>
Reviewed-by: 6543 <6543@obermui.de>
Co-authored-by: John Olheiser <john.olheiser@gmail.com>
Co-committed-by: John Olheiser <john.olheiser@gmail.com>
2022-04-27 00:00:40 +08:00
Lunny Xiao
22f2853429
Use goproxy.io instead of goproxy.cn ( #574 )
...
Fix CI, Fix #572
Reviewed-on: https://gitea.com/gitea/go-sdk/pulls/574
Reviewed-by: techknowlogick <techknowlogick@gitea.io>
Reviewed-by: John Olheiser <john.olheiser@gmail.com>
Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
Co-committed-by: Lunny Xiao <xiaolunwen@gmail.com>
2022-03-29 07:09:57 +08:00
Norwin
36c7f8c8de
Fix CI (run gitea without root previleges) ( #569 )
...
CI is broken due to gitea upstream changes in deployment; may not run as root.
I have not tested if this actually fixes things, for upstream reference see f0bd1e9896 (diff-b54b39f1afced2465e1f3641db9d5bbf4f3a7fcf890996dfedd3c197bcb7f8c7)
I also switched from `:latest` to `:dev`, see https://github.com/go-gitea/gitea/pull/16421
edit: sorry for the messy commit list below, it's actually just a single commit.
Co-authored-by: Norwin <git@nroo.de>
Reviewed-on: https://gitea.com/gitea/go-sdk/pulls/569
Co-authored-by: Norwin <noerw@noreply.gitea.io>
Co-committed-by: Norwin <noerw@noreply.gitea.io>
2022-02-14 23:05:57 +08:00
6543
0599915e88
Drop deprecations ( #503 )
...
start v0.15.0 development
Reviewed-on: https://gitea.com/gitea/go-sdk/pulls/503
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-03-31 00:36:33 +08:00
6543
8c9d3985b4
Various fixes for CI and Makefile ( #443 )
...
update TestAdminCronTasks
fix Makefile
gitea cli comand to create a user changed
Co-authored-by: 6543 <6543@obermui.de>
Reviewed-on: https://gitea.com/gitea/go-sdk/pulls/443
Reviewed-by: techknowlogick <techknowlogick@gitea.io>
Reviewed-by: Lunny Xiao <xiaolunwen@gmail.com>
Co-Authored-By: 6543 <6543@noreply.gitea.io>
Co-Committed-By: 6543 <6543@noreply.gitea.io>
2020-11-09 08:58:30 +08: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
30636ade34
Add TestMyUser ( #237 )
...
Co-authored-by: 6543 <6543@obermui.de>
Reviewed-on: https://gitea.com/gitea/go-sdk/pulls/237
Reviewed-by: lafriks <lafriks@noreply.gitea.io>
Reviewed-by: Andrew Thornton <art27@cantab.net>
2020-01-28 06:11:26 +00:00
techknowlogick
92f764ddf4
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>
2020-01-26 19:08:47 +00:00
6543
6f491e70ae
[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>
2020-01-26 07:22:57 +00:00
6543
b24cfd841c
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>
2020-01-16 03:52:26 +00:00
techknowlogick
543e31634f
Add test framework ( #227 )
2020-01-13 17:17:54 +00:00
Lunny Xiao
a6d0aab593
Makefile for go mod ( #189 )
2019-09-15 14:27:08 +00:00
techknowlogick
45516232e8
Update images used by drone for SDK ( #154 )
...
* Update images used by drone for SDK
* Update .drone.yml
2019-03-17 21:10:51 -04:00
Thomas Boerger
de5155068d
Changes for latest DroneCI
2017-09-07 19:11:38 +02:00
Bo-Yi Wu
0ccfe01abb
switch gitter to discord for drone. ( #62 )
...
* switch gitter to discord for drone.
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
* add changed status
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
2017-06-16 10:46:36 +08:00
Thomas Boerger
95b7b15825
Reenable linter since it is happy
2016-11-10 21:06:17 +01:00
Thomas Boerger
8ee52ec396
Disable linting for now
2016-11-10 20:09:08 +01:00
Thomas Boerger
f47bc29804
Updated drone import path and coverage server
2016-11-10 20:09:08 +01:00
Thomas Boerger
43d406285c
Dropped coverage server for now
2016-11-07 14:34:02 +01:00
Thomas Boerger
1f1805b1a7
Added a basic drone config
2016-11-07 11:26:36 -02:00