Gusted
603e4358f8
Fix CI tests ( #579 )
...
- `master` -> `main`, due to https://github.com/go-gitea/gitea/pull/19354
- Fix incorrect variable being passed into assert in `TestPull`.
- Fix `createTestRepo` to only delete existing TestRepo if the result's repo wasn't redirected(e.g. due to being transferred or renamed). Fixes the error in TransferRepo.
- Remove a check for tag verfication, for some developers this will always fail due to local git configs forcing signing on tags.
Reviewed-on: https://gitea.com/gitea/go-sdk/pulls/579
Reviewed-by: 6543 <6543@obermui.de>
Reviewed-by: Lunny Xiao <xiaolunwen@gmail.com>
Co-authored-by: Gusted <williamzijl7@hotmail.com>
Co-committed-by: Gusted <williamzijl7@hotmail.com>
2022-04-22 15:52:45 +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
qwerty287
29e6eb37fe
Fix URL param ( #568 )
...
The URL param for pre-releases was `draft`, it should be `pre-release`.
Co-authored-by: qwerty287 <ndev@web.de>
Reviewed-on: https://gitea.com/gitea/go-sdk/pulls/568
Reviewed-by: Lunny Xiao <xiaolunwen@gmail.com>
Reviewed-by: Norwin <noerw@noreply.gitea.io>
Reviewed-by: 6543 <6543@obermui.de>
Co-authored-by: qwerty287 <qwerty287@noreply.gitea.io>
Co-committed-by: qwerty287 <qwerty287@noreply.gitea.io>
2022-02-15 23:14:18 +08:00
6543
c5a981333c
Add DeleteTag & Correct DeleteReleaseByTag ( #488 )
...
* Add DeleteTag + Tests
* Correct DeleteReleaseByTag func + Tests
this is because of https://github.com/go-gitea/gitea/pull/14563 witch fixed unreleased inconsistency
Reviewed-on: https://gitea.com/gitea/go-sdk/pulls/488
Reviewed-by: Andrew Thornton <art27@cantab.net>
Reviewed-by: khmarbaise <khmarbaise@noreply.gitea.io>
Co-authored-by: 6543 <6543@obermui.de>
Co-committed-by: 6543 <6543@obermui.de>
2021-02-14 00:14:24 +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
aa13606bc6
Add Helper for Optional Values ( #448 )
...
Add helper for optional bool, string & int64
Reviewed-on: https://gitea.com/gitea/go-sdk/pulls/448
Reviewed-by: Andrew Thornton <art27@cantab.net>
Reviewed-by: John Olheiser <john.olheiser@gmail.com>
Co-Authored-By: 6543 <6543@obermui.de>
Co-Committed-By: 6543 <6543@obermui.de>
2020-11-13 05:27:28 +08:00
6543
61f89c458f
Add GetReleaseByTag ( #427 )
...
Add GetReleaseByTag & Test for all Release functiosn
Co-authored-by: 6543 <6543@obermui.de>
Reviewed-on: https://gitea.com/gitea/go-sdk/pulls/427
Reviewed-by: techknowlogick <techknowlogick@gitea.io>
Reviewed-by: lafriks <lafriks@noreply.gitea.io>
2020-09-29 14:35:59 +00:00