Commit graph

10919 commits

Author SHA1 Message Date
Kynan Ware
50e65e6bab Improve circular godoc comments flagged in review
Replace self-referential comments like 'ToSlice performs the ToSlice
operation' with meaningful descriptions of what the symbol actually does.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-03-04 16:34:00 -07:00
Kynan Ware
07744e8e80 Fix gofmt formatting in godoc comments
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-03-04 16:16:13 -07:00
Kynan Ware
b8ee5c5eba Add godoc comments to exported symbols in remaining packages
Add documentation comments to exported symbols across all remaining
smaller packages including cmd/gen-docs, context, internal/browser,
internal/gh, internal/ghcmd, internal/ghinstance, internal/ghrepo,
internal/keyring, internal/run, internal/safepaths, internal/tableprinter,
internal/text, internal/update, pkg/cmd/accessibility, pkg/cmd/actions,
pkg/cmd/alias, pkg/cmd/api, pkg/cmd/browse, pkg/cmd/cache,
pkg/cmd/completion, pkg/cmd/copilot, pkg/cmd/factory, pkg/cmd/gpg-key,
pkg/cmd/label, pkg/cmd/licenses, pkg/cmd/org, pkg/cmd/preview,
pkg/cmd/ssh-key, pkg/cmd/version, pkg/extensions, pkg/jsoncolor,
pkg/markdown, pkg/option, pkg/set, pkg/ssh, pkg/surveyext, test,
internal/authflow, and utils.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-03-04 16:14:20 -07:00
Kynan Ware
df295a1dba Add godoc comments to exported symbols in pkg/cmd/config and pkg/cmd/root
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-03-04 16:14:05 -07:00
Kynan Ware
e2e697722b Add godoc comments to exported symbols in pkg/cmd/agent-task and pkg/cmd/search
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-03-04 16:14:05 -07:00
Kynan Ware
1a51fc61ae Add godoc comments to exported symbols in pkg/cmd/status and pkg/cmd/ruleset
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-03-04 16:14:05 -07:00
Kynan Ware
cbedf37b84 Add godoc comments to exported symbols in pkg/cmd/variable
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-03-04 16:14:04 -07:00
Kynan Ware
6b227a5599 Add godoc comments to exported symbols in pkg/httpmock
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-03-04 16:08:04 -07:00
Kynan Ware
83bc80a1bb Add godoc comments to exported symbols in pkg/cmd/gist
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-03-04 16:08:04 -07:00
Kynan Ware
7618024294 Add godoc comments to exported symbols in pkg/cmd/codespace
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-03-04 16:08:04 -07:00
Kynan Ware
08ef11b093 Add godoc comments to exported symbols in pkg/cmd/secret
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-03-04 16:08:04 -07:00
Kynan Ware
65fcba95d9 Add godoc comments to exported symbols in pkg/cmd/auth
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-03-04 16:08:04 -07:00
Kynan Ware
0cb2c4718a Add godoc comments to exported symbols in pkg/cmd/issue
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-03-04 16:08:03 -07:00
Kynan Ware
7eb76da40a Add godoc comments to exported symbols in pkg/cmd/workflow
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-03-04 16:08:03 -07:00
Kynan Ware
9331ee8215 Add godoc comments to exported symbols in pkg/cmdutil
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-03-04 16:01:52 -07:00
Kynan Ware
f9fec823ad Add godoc comments to exported symbols in internal/featuredetection and internal/prompter
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-03-04 16:01:52 -07:00
Kynan Ware
7367596c83 Add godoc comments to exported symbols in internal/config
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-03-04 16:01:52 -07:00
Kynan Ware
2273310521 Add godoc comments to exported symbols in pkg/cmd/release
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-03-04 16:01:52 -07:00
Kynan Ware
2b5dfe2ead Add godoc comments to exported symbols in pkg/search
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-03-04 16:01:51 -07:00
Kynan Ware
8a063f6b57 Add godoc comments to exported symbols in internal/codespaces
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-03-04 16:01:51 -07:00
Kynan Ware
72a8fd28c1 Add godoc comments to exported symbols in git/
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-03-04 15:58:15 -07:00
Kynan Ware
520482c143 Add godoc comments to exported symbols in pkg/cmd/extension
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-03-04 15:58:15 -07:00
Kynan Ware
d6ab1b044a Add godoc comments to exported symbols in pkg/iostreams
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-03-04 15:58:15 -07:00
Kynan Ware
82f3b3dfaa Add godoc comments to exported symbols in pkg/cmd/project
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-03-04 15:58:15 -07:00
Kynan Ware
844963ca61 Add godoc comments to exported symbols in pkg/cmd/run
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-03-04 15:53:48 -07:00
Kynan Ware
34d1fb3e63 Add godoc comments to exported symbols in pkg/cmd/repo
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-03-04 15:53:48 -07:00
Kynan Ware
8f7e98c6f6 Add godoc comments to exported symbols in pkg/cmd/attestation
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-03-04 15:53:47 -07:00
Kynan Ware
5de7a10080 Add godoc comments to exported symbols in pkg/cmd/pr
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-03-04 15:53:47 -07:00
Kynan Ware
16c6500c82 Add godoc comments to exported symbols in api/
Add documentation comments to all exported types, functions, methods,
constants, and variables in the api/ package to satisfy the godoclint
require-doc rule.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-03-04 15:47:48 -07:00
Kynan Ware
a32da6ef1b Enable godoclint linter with require-doc rule
Add godoclint to the enabled linters list with only the require-doc rule
enabled (default set to none). This enforces that all exported symbols
have godoc comments. Test files are excluded from this check.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-03-04 15:18:56 -07:00
Kynan Ware
d594c5e918
docs: add examples to gh issue close help text (#12830)
Add examples for closing issues, closing with a comment, closing as
duplicate, and closing with a reason.

---------

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Babak K. Shandiz <babakks@github.com>
2026-03-04 14:53:27 +00:00
Kynan Ware
38c997567a
Fix incorrect integer conversion from int to uint16 in port forwarder (#12831)
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2026-03-04 13:01:52 +01:00
Kynan Ware
3fec2e5f7b
Merge pull request #12811 from tksohishi/issue-close-duplicate-of
Add `--duplicate-of` flag and duplicate reason to issue close
2026-03-03 20:42:05 -07:00
Kynan Ware
d46ca24a97
Merge pull request #11714 from scarf005/build/customize-prefix
build: customizable install `prefix`
2026-03-03 20:17:36 -07:00
Kynan Ware
85ae53e702
Merge branch 'trunk' into build/customize-prefix 2026-03-03 20:08:56 -07:00
Takeshi
b9c8d8e023
Merge branch 'trunk' into issue-close-duplicate-of 2026-03-03 22:03:25 -05:00
Takeshi
2265820853 Combine issue feature detection into a single GraphQL query
Merge the Issue_fields and IssueClosedStateReason_enumValues
introspection queries into one call to avoid an extra API round-trip
on GHES.
2026-03-03 21:51:18 -05:00
Kynan Ware
d6d0cb741c
Merge pull request #11486 from masonmcelvain/browse-blame
feat(browse): add blame flag
2026-03-03 19:17:35 -07:00
Mason McElvain
74ff94c3e4 feat(browse): add blame flag 2026-03-03 19:03:40 -07:00
Kynan Ware
4ea9076d81
Merge pull request #12651 from gunadhya/fix-repeating-cmd-gh-issue-develop
`issue develop`: prevent .git/config corruption on repeated `--name` invocation
2026-03-03 18:55:43 -07:00
Kynan Ware
39874b7cf4
Merge pull request #12657 from yuvrajangadsingh/feature/pr-files-status
feat(pr): add changeType field to files JSON output
2026-03-03 16:04:00 -07:00
Kynan Ware
6e979c6b32
Merge pull request #12686 from 4RH1T3CT0R7/add-no-upstream-flag
Add --no-upstream flag to repo clone
2026-03-03 16:01:05 -07:00
Kynan Ware
6045a593a3
Reword --no-upstream help doc 2026-03-03 15:51:27 -07:00
Kynan Ware
d983ae0469
Merge pull request #12623 from LouisLau-art/fix/issue-list-pr-search-qualifier
fix(issue list): reject pull request-only search qualifiers
2026-03-03 14:52:35 -07:00
Babak K. Shandiz
7a590331b5
Merge pull request #12774 from cli/babakks/isolate-generated-licenses
fix(licenses): isolate generated licenses per platform (os/arch)
2026-03-03 12:12:33 +00:00
Louis Shawn
b601b307a4 test(issue list): cover additional PR search qualifier variants 2026-03-03 10:13:57 +08:00
Kynan Ware
60318613d8
Merge pull request #12720 from cli/kw/fix-invalid-ansi
Fix invalid ANSI SGR escape code in JSON and diff colorization
2026-03-02 15:12:15 -07:00
Kynan Ware
ad41bb967d
Merge pull request #12807 from maxbeizer/agent-task-view-json
Add --json support to `gh agent-task view`
2026-03-02 13:36:06 -07:00
Kynan Ware
1a5fb34493
Merge pull request #12806 from maxbeizer/agent-task-list-json
Add --json support to `gh agent-task list`
2026-03-02 13:35:27 -07:00
Kynan Ware
79796d2dc5
Merge pull request #12787 from ManManavadaria/fix-12726/item-edit-draft-issue-partial-update
fix: `gh project item-edit` error when editing Draft Issue with only one (title/body) flag
2026-03-02 12:19:53 -07:00