Add --fields
to notification & milestone listings #422
Labels
No Label
kind/breaking
kind/bug
kind/build
kind/dependency
kind/deployment
kind/docs
kind
enhancement
kind
feature
kind/proposal
kind
question
kind
refactor
kind/security
kind/testing
kind/translation
priority/critical
priority/high
priority/low
priority/medium
reviewed/duplicate
reviewed/invalid
reviewed/wontfix
skip-changelog
status/blocked
status/has-backport
status/has-pull
status/needs-backport
status/needs-feedback
status/needs-reviews
status/wip
upstream/gitea
upstream/sdk
No Milestone
No Assignees
4 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: gitea/tea#422
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "noerw/tea:fields-flag"
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?
Together with #415 this finally adds the field flag to all entity listings.
closes #342
⚠️ breaking changes ⚠️
This changes the column names of
tea milestones ls
:@ -27,0 +35,4 @@
"repository",
// "url1",
// "url2",
// "url3",
?
@ -40,0 +40,4 @@
"state",
"open items",
"closed items",
"open/closed issues",
not sure if these long and spaced column names are good, they are a not easy to apply:
will see if I can come up with better values
agree 👍 - rest looks ready :)
@6543 I finally simplified the field names. I'm not exactly happy with the result, but it's good enough I guess.
This makes the PR breaking though, as we don't return the same fields anymore.
@ -15,6 +15,10 @@ import (
"github.com/urfave/cli/v2"
)
var notifFieldsFlag = flags.FieldsFlag(print.NotificationFields, []string{
typo?