Add some PR list options #217
No reviewers
Labels
No Label
has/backport
has/pull
in progress
invalid
kind/breaking
kind/bug
kind/build
kind/deployment
kind/docs
kind/enhancement
kind/feature
kind/lint
kind/proposal
kind/question
kind/refactor
kind/security
kind/testing
kind/translation
kind/ui
need/backport
priority/critical
priority/low
priority/maybe
priority/medium
reviewed/duplicate
reviewed/invalid
reviewed/wontfix
skip-changelog
status/blocked
status/needs-feedback
status/needs-reviews
status/wip
upstream/gitea
No Milestone
No Assignees
3 Participants
Notifications
Due Date
No due date set.
Blocks
#219 Fix ListRepoPullRequests
gitea/go-sdk
Reference: gitea/go-sdk#217
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch ":pr-list"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
I mostly need the milestone option for the changelog, but I also added the sort option.
I am unsure how to handle the
[]Label
option off the top of my head, so I'm leaving it for another PR.this change is ok but we have to look at func
ListRepoPullRequests()
on it's own@ -61,2 +61,2 @@
Page int `json:"page"`
State string `json:"state"`
Page int `json:"page"`
State string `json:"state"`
can you add a comment before "State":
// enum: open,closed,all
and to Sort:
// enum: oldest,recentupdate,leastupdate,mostcomment,leastcomment,priority
Done.
enum
is unnecessary because this isn't being read by a machine, so I just commented the possible typesthanks
add comments