issue detail: flag to list all comment pages (noninteractively) #403
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#403
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?
To export Issues (see also: #132), one could loop over all Issues and write the output into a file.
However, when there are comments,
tea issue ls
asks if you want to see them (? show comments? [Y/n]
).Maybe there can be an env variable or command line flag to show all comments by default so you can pipe tea's output into a file.
I suggest
--show-all-comments
or short formtea issue ls -a NUMBER
ortea issue ls -c NUMBER
.Related:
This is actually possible already:
note that this is argument order sensitive.
It looks like your use case is pdf summary generation; when you get a pipeline working without #132, would be nice to share it, I'm interested!
The above suggestion still only fetches a single page (as specified via
--page
and--limit
), all comments is not supported currently; so we can leave this issue open as enhancement.A workaround covering ~ >98% of real world issues would probably be
Alternative title: Add
--all
flag (item listings + issue comments)non-interactive output of issuesto issue detail: flag to list all comment pages (noninteractively)depends on gitea/go-sdk#396