Commit graph

5685 commits

Author SHA1 Message Date
Caleb Brose
c781ea520a Better .ssh directory 2022-08-10 14:29:14 -05:00
Mislav Marohnić
d21d388b8d
Restore old GH_DEBUG=1 behavior for HTTP logging (#6054)
- No HTTP bodies or headers are logged until `GH_DEBUG=api` is used.
- Logging to terminal now supports colorization.
2022-08-10 17:59:13 +02:00
Caleb Brose
3d45244dcc Add -i option to the proxy ssh call in config 2022-08-10 10:57:34 -05:00
Mislav Marohnić
56dfed531b api: fix writing response headers to terminal pager 2022-08-10 10:53:07 +02:00
Caleb Brose
d410830f7f Handle comment in local ssh key 2022-08-09 11:11:11 -05:00
Caleb Brose
cb914c1873 Cleanup extra param, array declaration 2022-08-09 10:16:24 -05:00
Caleb Brose
b25df2daf4 Merge branch 'trunk' into cmbrose/no-auto-key-if-uploaded 2022-08-09 10:06:37 -05:00
Caleb Brose
0d9b2bf4ce SHort circuit api check if auto keys exist 2022-08-05 18:24:36 +00:00
Nate Smith
31dad18fb9
Merge pull request #6004 from heaths/issue6001
Switch to main buffer on SIGINT
2022-08-04 15:34:20 -05:00
Mislav Marohnić
2dd63e23fc
Merge pull request #6008 from AyeshaGagguturi/ayesha/delete-prebuild-availibity-enum
Delete blob + pool
2022-08-04 19:09:13 +02:00
Eljo George
53bddb0fd5 Update codespaces ssh doc 2022-08-03 19:50:55 +00:00
Caleb Brose
f63d4c0a4a Linter 2022-08-03 15:50:30 +00:00
Caleb Brose
5212fc8d5b Error handling 2022-08-03 15:26:00 +00:00
Jake Shorty
538be1e398
Merge pull request #6019 from eljog/eljog/gh-cs-ssh-help
Codespaces ssh helptext to indicate how to install ssh
2022-08-02 16:23:33 -06:00
Caleb Brose
b6c469518f Linter 2022-08-02 21:53:17 +00:00
Caleb Brose
894b553b78 Add a couple more scenarios 2022-08-02 21:39:33 +00:00
Caleb Brose
d3d72dd820 Add test for hasUploadedPublicKeyForConfig 2022-08-02 21:37:02 +00:00
Caleb Brose
4053880776 Merge remote-tracking branch 'origin/trunk' into cmbrose/no-auto-key-if-uploaded 2022-08-02 20:58:15 +00:00
Caleb Brose
d3c07706a4 Merge branch 'cmbrose/no-auto-key-if-uploaded' of https://github.com/cli/cli into cmbrose/no-auto-key-if-uploaded 2022-08-02 20:57:55 +00:00
Caleb Brose
88b28c5228 Fix api mock 2022-08-02 20:57:52 +00:00
Nate Smith
b9c1605c41
Merge pull request #5974 from cli/ext-alias
ext alias
2022-08-02 17:51:40 +02:00
Eljo George
ace223d782 updated message 2022-08-01 23:49:49 +00:00
Eljo George
02902e29b4 CS ssh helptext to indicate how to install ssh 2022-08-01 23:08:14 +00:00
Ayesha Gagguturi
a80a63f3aa Delete blob + pool 2022-07-27 17:03:54 -07:00
vilmibm
41385477c3 fix linting 2022-07-27 14:15:27 -05:00
vilmibm
d5334f4115 Revert "update linter checks"
This reverts commit 40ecb8c188.
2022-07-27 13:30:41 -05:00
Heath Stewart
c2f51f37bb Switch to main buffer on SIGINT
Fixes #6001
2022-07-26 20:47:33 -07:00
vilmibm
e1238015f5 linter appeasement 2022-07-26 16:45:28 -05:00
vilmibm
f7d5c5f725 move prompter to own package 2022-07-26 16:41:13 -05:00
vilmibm
40ecb8c188 update linter checks 2022-07-26 16:06:52 -05:00
vilmibm
710212fb3d use Prompter in pr review 2022-07-26 14:53:10 -05:00
vilmibm
4afb567d06 WIP: survey wrapper 2022-07-26 14:39:38 -05:00
Mislav Marohnić
92b7a30540
Merge pull request #5994 from cli/parse-remotes
Fix parsing base repo out of outdated git remotes
2022-07-26 12:20:18 +02:00
chemotaxis
a485303391 Merge remote-tracking branch 'upstream/trunk' into gh-issue-lock
Update a somewhat stale feature branch with the latest stable commits.
2022-07-26 04:23:27 -04: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
Mislav Marohnić
f34fc61a9a
api: avoid HTML-escaping JSON output
json.Marshal does HTML-escaping by default, which is what we don't want since we're printing to the terminal instead of embedding this JSON into a HTML document.
2022-07-25 13:10:44 +02:00
Icen
7f2bbf20cc Changed the create_test.go accordingly 2022-07-22 21:18:38 +01:00
Icen
df2b19567b Added whether the gist is public or secret. Added the colour red to public and the colour green to secret 2022-07-22 20:58:29 +01:00
vilmibm
a659676270 ext alias 2022-07-22 11:53:05 -05:00
Caleb Brose
c9290cbc2c Merge remote-tracking branch 'origin/trunk' into cmbrose/no-auto-key-if-uploaded 2022-07-22 11:08:21 -05:00
Caleb Brose
c9ca2608e6 Invert check 2022-07-22 11:07:57 -05:00
Caleb Brose
414a74b5f5 Even better config support 2022-07-22 11:03:14 -05:00
Mislav Marohnić
02881b4783
Correctly determine run started/elapsed timestamps (#5945)
This switches `run list` and `run view` commands to measure how long ago did the run happen by using `run_started_at`, which is the timestamp of the latest run in a series, instead of `created_at`, which is the timestamp of the first run. This change also fixes accurate duration for in-progress runs.
2022-07-21 17:30:46 +02:00
Caleb Brose
d421664d1f reduce diff 2022-07-17 01:19:42 +00:00
Caleb Brose
6c9d1a9fd4 Switch to using -G instead 2022-07-17 01:09:05 +00:00
Caleb Brose
f313953642 Initial pass 2022-07-16 20:38:23 +00:00
Nate Smith
954689ea9f
Merge pull request #5681 from heaths/issue5679
Use alternate screen buffer for watching runs
2022-07-14 15:03:43 -07:00
Patrick Reader
0cf2600725
strip whitespace when adding topics
closes #5934
2022-07-14 13:17:40 +01:00
vilmibm
1bcf97b914 Merge remote-tracking branch 'origin' into issue5679 2022-07-12 15:40:29 -05:00
Taylor Faubion
11b1059237
fix gh run download <run-id> not getting > 100 artifacts (#5799)
Co-authored-by: Mislav Marohnić <mislav@github.com>
2022-07-12 11:01:38 +00:00