Fix GetCombinedStatus() (#470) #471

Closed
6543 wants to merge 13 commits from 6543:backport_470-GetCombinedStatus into main
Owner

Backport #470

Backport #470
6543 added 13 commits 2020-12-17 10:41:55 +00:00
All checks were successful
continuous-integration/drone/push Build is passing
3b338bd63e
Add Debug Mode (#422) (#423)
Add Debug Mode (#422)

more info & better format

add debug mode

Reviewed-on: #423
Reviewed-by: Lunny Xiao <xiaolunwen@gmail.com>
Reviewed-by: techknowlogick <techknowlogick@gitea.io>
50b1f8beeb Update Struct NotificationSubject (#424) (#425)
Update Struct NotificationSubject (#424)

NotificationSubject: add State

Co-authored-by: 6543 <6543@obermui.de>
Reviewed-on: #424
Reviewed-by: techknowlogick <techknowlogick@gitea.io>
Reviewed-by: Lunny Xiao <xiaolunwen@gmail.com>

Reviewed-on: #425
Reviewed-by: techknowlogick <techknowlogick@gitea.io>
Reviewed-by: John Olheiser <john.olheiser@gmail.com>
a9d6bd30e8 getParsedResponse return resp if getResponse return error (#428) (#429)
getParsedResponse return resp if getResponse return error (#428)

getParsedResponse return resp if getResponse return error

Co-authored-by: 6543 <6543@obermui.de>
Reviewed-on: #428
Reviewed-by: techknowlogick <techknowlogick@gitea.io>
Reviewed-by: John Olheiser <john.olheiser@gmail.com>

Reviewed-on: #429
Reviewed-by: John Olheiser <john.olheiser@gmail.com>
Reviewed-by: techknowlogick <techknowlogick@gitea.io>
e16f404081 Add GetReleaseByTag (#427) (#430)
Add GetReleaseByTag (#427)

Add GetReleaseByTag & Test for all Release functiosn

Co-authored-by: 6543 <6543@obermui.de>
Reviewed-on: #427
Reviewed-by: techknowlogick <techknowlogick@gitea.io>
Reviewed-by: lafriks <lafriks@noreply.gitea.io>

Reviewed-on: #430
Reviewed-by: Andrew Thornton <art27@cantab.net>
Reviewed-by: techknowlogick <techknowlogick@gitea.io>
All checks were successful
continuous-integration/drone/push Build is passing
2e4d339799
Changelog v0.13.1 (#431)
Co-authored-by: 6543 <6543@obermui.de>
Reviewed-on: #431
Reviewed-by: lafriks <lafriks@noreply.gitea.io>
Reviewed-by: techknowlogick <techknowlogick@gitea.io>
6365100abb Update Default Settings for Tests (#435) (#436)
Update Default Settings for Tests (#435)

Update Default Settings for Tests

Co-authored-by: 6543 <6543@obermui.de>
Reviewed-on: #435
Reviewed-by: techknowlogick <techknowlogick@gitea.io>
Reviewed-by: Andrew Thornton <art27@cantab.net>

Reviewed-on: #436
Reviewed-by: techknowlogick <techknowlogick@gitea.io>
Reviewed-by: Lunny Xiao <xiaolunwen@gmail.com>
Some checks failed
continuous-integration/drone/push Build is failing
db609d2ab3
Various fixes for CI and Makefile (#443) (#444)
Various fixes for CI and Makefile (#443)

change things for new gitea version

Co-authored-by: 6543 <6543@obermui.de>
Reviewed-on: #444
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>
d713155833 Update CommitMeta Struct (#434) (#437)
Update CommitMeta Struct (#434)

redo of cae72dca6a witch was lost

Co-authored-by: 6543 <6543@obermui.de>
Reviewed-on: #434
Reviewed-by: Lunny Xiao <xiaolunwen@gmail.com>
Reviewed-by: techknowlogick <techknowlogick@gitea.io>

Co-authored-by: 6543 <6543@noreply.gitea.io>
Reviewed-on: #451
Reviewed-by: lafriks <lafriks@noreply.gitea.io>
Reviewed-by: Andrew Thornton <art27@cantab.net>
Co-Authored-By: 6543 <6543@obermui.de>
Co-Committed-By: 6543 <6543@obermui.de>
1b46927d49 Update CreateRepoOption struct (#445) (#447)
CI.restart()

Update CreateRepoOption struct (#445)

extend Validate() for CreateRepoOption

update CreateRepoOption struct

Add TrustModel enum

Co-authored-by: 6543 <6543@obermui.de>
Reviewed-on: #445
Reviewed-by: Lunny Xiao <xiaolunwen@gmail.com>
Reviewed-by: Norwin <noerw@noreply.gitea.io>
Co-Authored-By: 6543 <6543@noreply.gitea.io>
Co-Committed-By: 6543 <6543@noreply.gitea.io>

Co-authored-by: 6543 <6543@noreply.gitea.io>
Reviewed-on: #447
Reviewed-by: Norwin <noerw@noreply.gitea.io>
Reviewed-by: Lunny Xiao <xiaolunwen@gmail.com>
Co-Authored-By: 6543 <6543@obermui.de>
Co-Committed-By: 6543 <6543@obermui.de>
All checks were successful
continuous-integration/drone/push Build is passing
20eb84024b
Use Predefind Versions & Compare Function (#442) (#446)
CI.restart()

version use underscore

use special version in notifications

migrate to new version check function

add predefined versions & comparsion function

update required go-version lib

Reviewed-on: #446
Reviewed-by: Norwin <noerw@noreply.gitea.io>
Reviewed-by: John Olheiser <john.olheiser@gmail.com>
Co-Authored-By: 6543 <6543@obermui.de>
Co-Committed-By: 6543 <6543@obermui.de>
All checks were successful
continuous-integration/drone/push Build is passing
e323ee0bc4
Add Gitea2Gitea Migration Support (#454) (#455)
Add Gitea2Gitea Migration Support

Reviewed-on: #454
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>

Reviewed-on: #455
Reviewed-by: John Olheiser <john.olheiser@gmail.com>
Reviewed-by: Andrew Thornton <art27@cantab.net>
Co-Authored-By: 6543 <6543@obermui.de>
Co-Committed-By: 6543 <6543@obermui.de>
All checks were successful
continuous-integration/drone/push Build is passing
03affd453c
Changelog v0.13.2 (#462)
Changelog v0.13.2

Fix release urls

Reviewed-on: #462
Reviewed-by: techknowlogick <techknowlogick@gitea.io>
Reviewed-by: Norwin <noerw@noreply.gitea.io>
Co-Authored-By: 6543 <6543@obermui.de>
Co-Committed-By: 6543 <6543@obermui.de>
All checks were successful
continuous-integration/drone/pr Build is passing
65de8747f7
Fix GetCombinedStatus() (#470)
fix broken GetCombinedStatus

weirdly enough, gitea API responds to .../status properly, if ref has a status.
but if there is no status, an empty response is returned.
../statuses handles both correctly.. 🙃

fix ListStatuses

rename sha to ref and use jsonHeader on GetCombinedStatus

Add Tests

enable tests for GetCombinedStatus()

next fix

final fix

Co-authored-by: Norwin Roosen <git@nroo.de>
Co-authored-by: 6543 <6543@obermui.de>
Reviewed-on: #470
Reviewed-by: 6543 <6543@obermui.de>
Reviewed-by: Lunny Xiao <xiaolunwen@gmail.com>
Co-Authored-By: Norwin <noerw@noreply.gitea.io>
Co-Committed-By: Norwin <noerw@noreply.gitea.io>
Author
Owner

- can not change base (Web/API)! -

# - can not change base (Web/API)! -
6543 closed this pull request 2020-12-17 10:49:48 +00:00
Some checks are pending
continuous-integration/drone/pr Build is passing
testing / testing*
Required

Pull request closed

Sign in to join this conversation.
No description provided.