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
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
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
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
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
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
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
casswedson
00bc550dc6
chore: typo hunting ft. codespell
2022-07-09 21:41:09 -05:00
cmbrose
b2fe329011
Close files to actually fix windows
2022-06-29 12:28:21 -05:00
Caleb Brose
4eac4fbf4c
Make a new dir per test to work around windows failures
2022-06-29 11:48:23 -05:00
Caleb Brose
b5348f661e
Handle case of partial name match
2022-06-29 11:36:27 -05:00
Caleb Brose
1aa457499d
Use Fatal instead to avoid nil-ref
2022-06-29 11:27:18 -05:00
Caleb Brose
fb4ad53dd0
Check MkdirAll error
2022-06-29 11:17:24 -05:00
Caleb Brose
1bae759d3e
Don't use strings.Replace
2022-06-29 11:10:50 -05:00
Caleb Brose
77ecd0a147
Rename public key first for edge cases
2022-06-29 10:56:31 -05:00
Caleb Brose
2ac379f689
Comment
2022-06-29 10:54:07 -05:00
Caleb Brose
c5b07762d1
Check the key paths too
2022-06-29 10:51:17 -05:00
Caleb Brose
19b5400811
Handle back compat
2022-06-29 10:46:44 -05:00
Caleb Brose
0687f66208
Use codespaces.auto instead for the automatic ssh keys
2022-06-28 16:26:18 -05:00
Mark Phelps
38ea62afba
Codespaces list by repo ( #5854 )
...
* WIP
* Allow to list codespaces by repo
* Tests
* Cleanup
* respond to PR feedback
* Address review comments
2022-06-28 13:34:04 +00:00
Mislav Marohnić
6e3689d58b
Apply UI polish around codespaces org-admin commands ( #5843 )
2022-06-22 20:35:56 +02:00
Ashwin Jeyaseelan
47f5abdb6f
8gitbrix/add delete org codespace ( #5827 )
...
Co-authored-by: Mislav Marohnić <mislav@github.com>
2022-06-22 18:28:09 +02:00
Greggory Rothmeier
2294f49d07
Add support for org admins to stop a members codespace ( #5812 )
2022-06-22 13:56:22 +02:00
Jake Shorty
5893c9864d
Merge pull request #5828 from cli/jshorty/indent-billable-owner-notice
...
Indent org billable owner notice for new codespaces
2022-06-21 09:32:27 -06:00
Jake Shorty
bb753731e6
Update test for indentation
2022-06-21 15:19:24 +00:00
Greggory Rothmeier
4b36dc031f
Add flag to list codespaces under an organization ( #5807 )
...
Co-authored-by: Mislav Marohnić <mislav@github.com>
2022-06-21 13:57:40 +00:00
Greggory Rothmeier
9b86fe41c0
Simplify codespace picker ( #5826 )
...
This doesn't change anything about how it's formatted, but extracts a
new function formatCodespacesForSelect so we can test and see how it
treats the different combinations of codespaces.
Co-authored-by: Mislav Marohnić <mislav@github.com>
2022-06-21 15:47:11 +02:00
Jake Shorty
c48e6ee4c9
Indent org billable owner notice for new codespaces
2022-06-20 21:36:01 +00:00
Gabe D
95b7533a5f
Uncomment retention period flag from create cmd
2022-06-20 18:40:56 +00:00
Jake Shorty
df3b40999e
Flip conditional
2022-06-20 17:13:42 +00:00
Jake Shorty
832f35e000
PreFlight => BillableOwner for less confusion
2022-06-20 17:12:07 +00:00
Jake Shorty
2b9f9bb92a
Add test for individual case
2022-06-19 18:38:38 +00:00
Jake Shorty
454b3489aa
Add test for billable owner in stdout
2022-06-17 22:45:04 +00:00
Jake Shorty
e8bde879b2
Always show org billable owner in stdout
2022-06-17 22:44:43 +00:00
Jake Shorty
b3d2cc6e37
Handle 404s smoothly during create on codespaces pre-flight
2022-06-17 21:09:38 +00:00
Jake Shorty
09f926c475
Generate test mocks for new API func
2022-06-17 20:15:53 +00:00
Jake Shorty
1c8b26c5d8
Remove unused test function
2022-06-17 19:59:29 +00:00