cli/pkg/cmd/repo
William Martin d4cd79e28c Use int64 for GitHub database IDs and add lint check
Change all struct fields representing GitHub database IDs from int to
int64 to match the API spec and prevent potential overflow on 32-bit
architectures.

Add a custom go/analysis linter (idtype-checker) that flags struct
fields with ID-like names or JSON tags using int instead of int64,
integrated into make lint.

Closes #9247

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-05-13 13:16:43 +02:00
..
archive Move config interfaces into gh package (#9060) 2024-05-10 10:39:36 +02:00
autolink Use int64 for GitHub database IDs and add lint check 2026-05-13 13:16:43 +02:00
clone Reword --no-upstream help doc 2026-03-03 15:51:27 -07:00
create Add initial test 2025-03-09 12:19:16 +05:00
credits Inconsistent format of examples in help text 2025-02-27 16:26:25 +05:00
delete refactor: remove returned resp from api.EndpointNeedsScopes 2025-11-03 20:05:24 +00:00
deploy-key Use int64 for GitHub database IDs and add lint check 2026-05-13 13:16:43 +02:00
edit fix: address review feedback on squash merge commit message 2026-03-10 18:27:21 +05:30
fork fix: error when --remote flag used with repo argument 2025-12-26 14:43:52 +08:00
garden docs(repo garden): improve func godoc 2025-11-03 20:05:27 +00:00
gitignore Inconsistent format of examples in help text 2025-02-27 16:26:25 +05:00
license Deprecate ColorScheme.Gray for ColorScheme.Muted 2025-04-06 10:18:48 -04:00
list Add missing TODO comments for featuredetection if-statements 2026-02-16 14:24:32 -07:00
rename Reformat non-documentation hostnames 2025-07-14 08:43:15 -04:00
setdefault fix: simplify set-default remote parsing 2026-01-14 18:35:04 +08:00
shared Reverse repo/shared package name change 2024-10-09 20:49:29 -06:00
sync Make missing workflow regexp aware of GitHub App 2025-03-11 02:38:51 +00:00
unarchive Move config interfaces into gh package (#9060) 2024-05-10 10:39:36 +02:00
view Deprecate ColorScheme.Gray for ColorScheme.Muted 2025-04-06 10:18:48 -04:00
repo.go Introduce repo autolinks list commands 2024-12-27 21:36:16 -05:00