ignore PRs in runIssuesList() (fixes #108) #110

Closed
noerw wants to merge 2 commits from noerw:issue-108/nopulls into main
Member

fixes #108

Although I kinda think that this should this be solved at API level?
Seems unintuitive for /api/issues to also return pulls.

fixes #108 Although I kinda think that this should this be solved at API level? Seems unintuitive for `/api/issues` to also return pulls.
Owner

The API does actually have a way to filter only issues, but it's not in the SDK currently.

See https://try.gitea.io/api/swagger#/issue/issueListIssues type

The API does actually have a way to filter only issues, but it's not in the SDK currently. See https://try.gitea.io/api/swagger#/issue/issueListIssues `type`
Owner

@jolheiser good point!

@jolheiser good point!
6543 added the
status/blocked
kind
enhancement
labels 2020-03-11 21:18:51 +00:00
6543 added a new dependency 2020-03-11 21:21:07 +00:00
6543 removed the
status/blocked
label 2020-03-29 21:45:55 +00:00
Owner

@noerw go-sdk taged v0.11.1 so pleace update and you will have the option for issue types

@noerw go-sdk taged v0.11.1 so pleace update and you will have the option for issue types
Author
Member

@6543 Not sure what you did there, but v0.11.1 does not include IssueType:

gitea/issue.go Lines 57 to 62 in ba7916819f
type ListIssueOption struct {
ListOptions
State StateType
Labels []string
KeyWord string
}

@6543 Not sure what you did there, but v0.11.1 does not include `IssueType`: https://gitea.com/gitea/go-sdk/src/commit/ba7916819f3fab3d4205895e4b641a03cc626c90/gitea/issue.go#L57-L62
Owner

@noerw thanks you detect an error ... fixed the wrong tagging ... the wrong sha was tagged.

now it should work: https://gitea.com/gitea/go-sdk/src/tag/gitea/v0.11.1/gitea/issue.go#L51

@noerw thanks you detect an error ... fixed the wrong tagging ... the wrong sha was tagged. now it should work: https://gitea.com/gitea/go-sdk/src/tag/gitea/v0.11.1/gitea/issue.go#L51
Author
Member

Even after cleaning the go module cache, the old sha is still fetched by make vendor.. Maybe some proxy didn't update the sha on v0.11.1? Could we just skip v0.11.1 and tag v0.11.2?

Even after cleaning the go module cache, the old sha is still fetched by `make vendor`.. Maybe some proxy didn't update the sha on v0.11.1? Could we just skip v0.11.1 and tag v0.11.2?
Owner
https://gitea.com/gitea/go-sdk/pulls/298
Owner

@noerw -> #111

created pull hope you dont mind :D

@noerw -> #111 created pull hope you dont mind :D
noerw closed this pull request 2020-03-31 13:25:38 +00:00
6543 reviewed 2020-03-31 13:25:44 +00:00
Dismissed
Some checks are pending
continuous-integration/drone/pr Build is passing
check-and-test / check-and-test (pull_request)
Required

Pull request closed

Sign in to join this conversation.
No description provided.