Add global debug flags #207
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
2 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: gitea/tea#207
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
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?
Are you talking about exposing gitea/go-sdk#422 via a flag / build tag?
Or is there more to it?
yes and more :) I'm actually thinking about how some unix comands handle
-v
,-vv
and-vvv
v: Warning
v: Info
v: Info + SDK debug
Add Debugg Modeto Add global debug flagsI propose three leves: INFO, DEBUG, TRACE
INFO: just be bit more verbose ... if tea decide something automaticay and so on ...
DEBUG: just print infos where they could be interesting
TRACE: DEBUG + gitea-client in debug mode
since our cli lib do not support
[-v[vv]]
we have to do[--verbose info|debug|trace]
I'll wait for gitea/go-sdk#496 to make it work nicely ...