Andy Feller
918cafc222
Deprecate ColorScheme.Gray for ColorScheme.Muted
...
This commit converts all of the places using ColorScheme.Gray and ColorScheme.Grayf to Muted and Mutedf.
There is a little extra tidying up with local variable names or converting code to use Mutedf format.
2025-04-06 10:18:48 -04:00
William Martin
1d38230675
Move config interfaces into gh package ( #9060 )
2024-05-10 10:39:36 +02:00
Heath Stewart
7738b6187c
Add headers to all tables ( #8157 )
2023-10-20 11:20:02 +02:00
Robert Estelle
b91cfd8484
gh status: show status even if a comment 404s (#7873 )
2023-09-05 04:34:44 +02:00
Alexander Seiler
218f29f296
Correct some typos
2023-04-21 03:51:31 +02:00
Sam Coe
dbc2f05124
Update go-gh to v2 ( #7299 )
...
* Update go-gh
* Update code for go-gh v2
2023-04-16 15:34:23 +10:00
Sam Coe
c9a2d85793
Cleanup config.AuthToken and config.DefaultHost methods ( #7049 )
2023-02-28 00:24:45 +00:00
Sam Coe
6dbe7e6342
Linter fixes ( #6722 )
...
Co-authored-by: Mislav Marohnić <mislav@github.com>
2022-12-12 15:27:32 +00:00
Mislav Marohnić
3fe5026d39
Migrate to tableprinter from go-gh ( #6346 )
2022-10-17 15:15:39 +02:00
Mislav Marohnić
e7029616cb
Fix parsing base repo out of outdated git remotes
...
If any of the repositories named by git remotes could not be found via
API lookup, a "could not resolve to a Repository" error would be thrown,
but the goal of the base repo logic was to ignore NOT_FOUND errors.
2022-07-25 20:17:32 +02:00
Sam Coe
cacff4ad6d
Use go-gh config package ( #5771 )
2022-06-23 11:50:04 +00:00
Sam Coe
074ed50b8a
Integrate go-gh API package ( #5614 )
2022-06-23 04:05:31 +01:00
Mislav Marohnić
c8baec74c0
Ensure stable presentation of FORBIDDEN errors
2022-05-10 16:07:57 +02:00
Mislav Marohnić
d103ba251a
💅 optimize fetches
2022-05-10 15:44:55 +02:00
Heath Stewart
fc4cd12cbf
Ignore FORBIDDEN errors for gh status
...
Fixes #5587
2022-05-10 15:44:55 +02:00
ffalor
8f199ba730
status: exclude results from archived repositories
...
This adds `arhived:false` to the underlying search queries.
Additionally, the query approach was rearranged so that the query
strings are passed as GraphQL variables rather than being interpolated
directly into the GraphQL query string.
Co-authored-by: Mislav Marohnić <mislav@github.com>
2022-05-10 11:41:04 +02:00
Håvard Anda Estensen
58cb773e09
Replace ioutil with io and os ( #5498 )
2022-04-26 13:07:44 +02:00
Mislav Marohnić
7ec2b2251d
status: respect host configuration
...
Respect the default hostname determined from `hosts.yml` or GH_HOST
instead of always using `github.com`.
2022-04-08 14:54:40 +02:00
nate smith
5b060a272d
nvm
2022-03-29 11:01:54 -05:00
nate smith
2712ef05df
fix tests to account for padding
2022-03-29 10:44:48 -05:00
nate smith
dc03417042
PR->Pull Request
2022-03-29 10:35:28 -05:00
nate smith
fead25b56c
some lipgloss tweaks
2022-03-29 10:34:20 -05:00
nate smith
5569c0e94d
oops
2022-03-29 10:29:05 -05:00
nate smith
0e941dca0a
words
2022-03-29 10:26:34 -05:00
nate smith
893f833673
use errgroup
2022-03-29 10:25:14 -05:00
nate smith
a3fba669bd
add and use RESTWithNext
2022-03-29 10:15:33 -05:00
nate smith
659a8ed1b9
use a StringSliceVar
2022-03-29 09:47:59 -05:00
nate smith
058c2b4fe3
redundant
2022-03-28 11:55:07 -05:00
nate smith
f22c325ea4
gh status
2022-03-28 11:53:13 -05:00