complete the features of the gotcha cli for issues #22

Closed
opened 2026-07-31 11:47:52 +00:00 by hugo · 2 comments
Owner

complete the implementation of issues for the gotcha cli. check the featureset of the command line tool "tea" to see what features are expected to handle issues and implement the same ones for gotcha. then update the AGENTS.md that we use gotcha cli to manage issues and not tea anymore.

This especially needs to be able to filter issue lists by milestone to work on stuff for one milestone, so our typical flow works nicely.

complete the implementation of issues for the gotcha cli. check the featureset of the command line tool "tea" to see what features are expected to handle issues and implement the same ones for gotcha. then update the AGENTS.md that we use gotcha cli to manage issues and not tea anymore. This especially needs to be able to filter issue lists by milestone to work on stuff for one milestone, so our typical flow works nicely.
hugo added this to the first feature complete release milestone 2026-07-31 11:47:52 +00:00
hugo added the enhancement label 2026-07-31 11:47:52 +00:00
Author
Owner

Implemented in commit 6f7ade1.

Completed the Gotcha issue CLI workflow:

  • added issue-list filters for state, kind, keyword, labels, milestones, author, assignee, mentions, activity dates, page, and limit
  • enriched list/detail output with workflow metadata
  • added milestone/label display-name resolution for typed create/edit YAML
  • added multi-issue edits, additive assignees, add/remove labels, and bulk close/reopen
  • retained support for title, body, assignees, due date, referenced version, numeric labels/milestone, comments, and deletion
  • updated README, API coverage, and AGENTS.md to use Gotcha and document post-issue CLI/iPhone release rules

Verification:

  • cargo fmt --all -- --check
  • RUSTFLAGS="-D warnings" cargo check --workspace --all-targets
  • cargo clippy --workspace --all-targets -- -D warnings
  • cargo test --workspace (25 tests passed)
  • live isolated create/edit/filter/comment/close/reopen/delete lifecycle
  • live two-issue bulk edit including label replacement and additive assignee
  • final milestone-filtered audit returned only this issue

Temporary verification issues #27, #28, and #29 were permanently removed after the checks. This is CLI-only, so no iPhone deployment is applicable.

Implemented in commit 6f7ade1. Completed the Gotcha issue CLI workflow: - added issue-list filters for state, kind, keyword, labels, milestones, author, assignee, mentions, activity dates, page, and limit - enriched list/detail output with workflow metadata - added milestone/label display-name resolution for typed create/edit YAML - added multi-issue edits, additive assignees, add/remove labels, and bulk close/reopen - retained support for title, body, assignees, due date, referenced version, numeric labels/milestone, comments, and deletion - updated README, API coverage, and AGENTS.md to use Gotcha and document post-issue CLI/iPhone release rules Verification: - cargo fmt --all -- --check - RUSTFLAGS="-D warnings" cargo check --workspace --all-targets - cargo clippy --workspace --all-targets -- -D warnings - cargo test --workspace (25 tests passed) - live isolated create/edit/filter/comment/close/reopen/delete lifecycle - live two-issue bulk edit including label replacement and additive assignee - final milestone-filtered audit returned only this issue Temporary verification issues #27, #28, and #29 were permanently removed after the checks. This is CLI-only, so no iPhone deployment is applicable.
hugo closed this issue 2026-07-31 14:01:21 +00:00
hugo reopened this issue 2026-07-31 14:07:54 +00:00
Author
Owner

Final implementation is in amended commit b468a26, which supersedes the earlier incomplete 6f7ade1 while preserving one commit for this issue.

The post-close review found that list output still used raw tab separators. The completed implementation now uses one shared table renderer for issue, repository, milestone, pull-request, commit, changed-file, and review lists. Columns are space-aligned, include a header divider, respect the COLUMNS terminal width when available, fall back to a bounded width, and truncate oversized values with an ellipsis instead of wrapping the remaining columns into a jumble. The default issue summary keeps state, title, milestone, and labels readable; full metadata remains available through gotcha issue show.

Verification completed:

  • real Gitea issue output at default and 80-column widths
  • real repository, milestone, pull-request, commit, changed-file, and review lists
  • formatter regression test proves there are no tab separators, output stays within the requested width, and long values are visibly truncated
  • cargo fmt --all -- --check
  • RUSTFLAGS="-D warnings" cargo check --workspace --all-targets
  • cargo clippy --workspace --all-targets -- -D warnings
  • cargo test --workspace (26 tests passed)

This remains CLI-only, so no iPhone deployment is applicable.

Final implementation is in amended commit b468a26, which supersedes the earlier incomplete 6f7ade1 while preserving one commit for this issue. The post-close review found that list output still used raw tab separators. The completed implementation now uses one shared table renderer for issue, repository, milestone, pull-request, commit, changed-file, and review lists. Columns are space-aligned, include a header divider, respect the COLUMNS terminal width when available, fall back to a bounded width, and truncate oversized values with an ellipsis instead of wrapping the remaining columns into a jumble. The default issue summary keeps state, title, milestone, and labels readable; full metadata remains available through `gotcha issue show`. Verification completed: - real Gitea issue output at default and 80-column widths - real repository, milestone, pull-request, commit, changed-file, and review lists - formatter regression test proves there are no tab separators, output stays within the requested width, and long values are visibly truncated - cargo fmt --all -- --check - RUSTFLAGS="-D warnings" cargo check --workspace --all-targets - cargo clippy --workspace --all-targets -- -D warnings - cargo test --workspace (26 tests passed) This remains CLI-only, so no iPhone deployment is applicable.
hugo closed this issue 2026-07-31 14:11:40 +00:00
Sign in to join this conversation.