add times ls
#272
No reviewers
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
3 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: gitea/tea#272
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "khmarbaise/tea:issue-242-times-ls"
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?
Fix #242
Move
list
code into times/list.goto make it more in line with the rest of the code.
Signed-off-by: Karl Heinz Marbaise kama@soebes.de
times ls
@ -0,0 +53,4 @@
// RunTimesList list repositories
func RunTimesList(ctx *cli.Context) error {
login, owner, repo := config.InitCommand(flags.GlobalRepoValue, flags.GlobalLoginValue, flags.GlobalRemoteValue)
So the prefered way would be here to name it:
RunTrackedtimesList
instead?¯(ツ)/¯
we at some point have to define one way ...
times ls
@ -0,0 +54,4 @@
// RunTimesList list repositories
func RunTimesList(ctx *cli.Context) error {
login, owner, repo := config.InitCommand(flags.GlobalRepoValue, flags.GlobalLoginValue, flags.GlobalRemoteValue)
client := login.Client()
this check is not needed anymore :)
You mean this part:
Or do you mean the check for the version?
The version constraint check.
(Sorry, the PR comment view is currently broken, showing comments on the wrong line, in the "changed files" view it should be correct)
Removed CheckServerVersionConstraint as suggested.