Patrick Veverka
86feaff6a9
little bit of testing
2022-02-24 20:21:06 +00:00
Patrick Veverka
3d093d1a95
some tests
2022-02-17 02:23:17 +00:00
Patrick Veverka
133be27d99
wip tests
2022-02-16 13:35:46 +00:00
Mislav Marohnić
a5dddbc1bf
Fix lint error
2022-01-31 11:45:00 +01:00
Caleb Brose
eeeb73a3e3
Repo name suggestions for cs create ( #5108 )
...
Co-authored-by: Alan Donovan <alan@alandonovan.net>
2022-01-31 10:20:49 +00:00
Marwan Sulaiman
fac2575c73
Add retries to Codespaces API client ( #5064 )
2022-01-25 18:54:20 +01:00
Marwan Sulaiman
a3940020f9
Inherit API endpoint configuration from the Codespaces environment ( #4723 )
...
gh codespace commands now respect the following environment variables:
- GITHUB_SERVER_URL: typically "https://github.com "
- GITHUB_API_URL: typically "https://api.github.com "
- INTERNAL_VSCS_TARGET_URL: typically "https://online.visualstudio.com "
- GITHUB_TOKEN when CODESPACES is set, even if the host connecting to isn't "github.com".
This set of changes ensures that `gh codespace` commands automatically connect to the right API endpoints when gh is used within a codespace.
Co-authored-by: Mislav Marohnić <mislav@github.com>
2021-11-22 12:40:01 +01:00
Mateusz Urbanek
cedbbe3c2a
Add limit flag to codespace list ( #4453 )
...
Co-authored-by: Mislav Marohnić <mislav@github.com>
2021-10-11 18:32:40 +00:00
Gabriel Ramírez
20ae9d305d
Fetch 100 codespaces by default
2021-10-06 14:53:55 +00:00
Gabriel Ramírez
34f9c0a67c
Updating docs and interation exit condition to not check the final page
2021-10-06 14:18:44 +00:00
Gabriel Ramírez
61b0fe36b2
Adding additional tests for mid-flight deletions and additions
2021-10-05 21:31:47 +00:00
Gabriel Ramírez
409cd9c388
Fixing Has() issue due to go version
2021-10-05 18:49:41 +00:00
Gabriel Ramírez
777978644c
Adding pagination to list codespaces
2021-10-05 16:49:40 +00:00
Jose Garcia
05297b8c8d
Update ListCodespaces to use new API endpoint
...
- Removes the need for a User to list codespaces which should result in
a slight speed improvement.
2021-10-01 10:37:15 -04:00
Jose Garcia
b5bbb442fd
Move internal/api to internal/codespaces/api
2021-09-30 11:06:43 -04:00