-
Notifications
You must be signed in to change notification settings - Fork 189
Add support for codespaces #407
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
HowardWolosky
merged 90 commits into
microsoft:master
from
vercellone:feature/GitHubCodespaces
Aug 29, 2023
Merged
Changes from 87 commits
Commits
Show all changes
90 commits
Select commit
Hold shift + click to select a range
4efc746
Get-GitHubCodespace
adcd5eb
- Start-GitHubCodespace
vercellone 006ad5b
Add vercellone to contributors list
vercellone 00eab38
Merge branch 'master' into feature/GitHubCodespaces
HowardWolosky 4034912
Format Document
vercellone b1b7b73
Reorder parameters
vercellone fbb35f0
INPUTS +GitHub.Codespace (round trip)
vercellone 7590fbb
Mandatory OrganizationName
vercellone df55ba9
ParametersSetName Respository => Elements
vercellone 62af896
dedupe Elements+Uri switch cases
vercellone 4493b66
defaultAcceptHeader
vercellone d07918c
$null -ne $result.codespaces
vercellone fdc1821
Start/Stop a Codespace for...authenticated user
vercellone 8d29c00
mv requirements to .NOTES
vercellone 2a53725
Internal-only helper method
vercellone 845af51
2s minimum
vercellone 8b5e9c1
until on new line
vercellone 9d955a5
until state -notmatch 'Queued|ing' comments
vercellone 29c7c39
foreach on new line
vercellone 4798d57
Start-Stop filter not function
vercellone feaeae8
Merge branch 'master' into feature/GitHubCodespaces
vercellone f924381
(New and Remove)-GitHubCodespace
vercellone cc4bfdc
Merge branch 'master' into feature/GitHubCodespaces
vercellone f1417db
GitHubCodespaces.tests.ps1
vercellone c2d9604
Option 2: Add-Member RepositoryUrl
vercellone e971983
Test Get-GitHubCodespace Uri, Uri FromPipeline
vercellone 926f024
Tests: (Start|Stop)-GitHubCodespace
vercellone 18cd74b
Remove-GitHubCodespace -Force
vercellone f3016e3
Tests: Delete-GitHubCodespace for auth user
vercellone b36e8c7
UserName=Mandatory for Organization parameterset
vercellone ca0b509
Remove-GitHubCodespace ConfirmImpact=High
vercellone 54726ed
Add .LINK per endpoint
vercellone d76bfbf
New-GitHubCodespace tests
vercellone 19c1596
New-GitHubCopespace -Timeout ValidateRange(5, 240)
vercellone 5e3a23e
Codespaces usage
vercellone be44060
Fix a few help/usage discrepancies
vercellone 80bf3c9
one line Parameter AuthenticatedUser
vercellone a1cf249
explicit parens
vercellone 261423d
-Depth 5
vercellone b0106bb
POST
vercellone 81a0675
LF Mandatory
vercellone bbb9bc7
DELETE
vercellone 42b73fd
Telemetry +Wait
vercellone c099f00
POST
vercellone 5faf402
-LF
vercellone 89b47e2
+LF
vercellone 53eafcd
-LF
vercellone 4bc4650
-LF
vercellone 010852a
+LF
vercellone 6e32251
-LFUpdate Tests/GitHubCodespaces.tests.ps1
vercellone 0116846
-LF Tests/GitHubCodespaces.tests.ps1
vercellone 1c23319
Should -Be $newGitHubCodespaceParams.Timeout
vercellone ae91614
Should -Be $newGitHubCodespaceParams.RetentionPeriod
vercellone 4099a2a
DevContainerPath
vercellone 2613f54
rm another bad idle_timeout_minutes assertion
vercellone 112ea6e
Wait with Verbose codespace state message
vercellone a74743c
Merge branch 'master' into feature/GitHubCodespaces
vercellone 1ad8b8b
PSReviewUnusedParameter w/CheckId
vercellone 2424ec3
dynamically accessed via $propertyMap
vercellone 356743f
HTTP Method case compliance
vercellone 3800ee6
fix Organizaion spelling
vercellone 6b43e30
Geo ValidateSet
vercellone c06a651
.PARAMETER Force
vercellone d9c18b6
rm extra .PARAMETER OwnerName,RepositoryName
vercellone 83dee9f
fix .OUTPUTS GitHub.Codespace
vercellone 83f0dca
Merge branch 'feature/GitHubCodespaces' of https://github.com/vercell…
vercellone 2f7a161
Wait, don't Sleep 2 seconds
vercellone e14eb41
indent Where reponame -eq defaultreponame
vercellone f32a975
Merge branch 'feature/GitHubCodespaces' of https://github.com/vercell…
vercellone 4c50d9b
fix repoWithPR indent
vercellone 0fe250e
fix New-GitHubCodespace (Before|After)All Tests
vercellone bbd4871
Add Wait to Telemetry
vercellone 4022033
explicit parens for propertyMap
vercellone 8644c3a
ConvertTo-Json -Depth 5
vercellone 53a2f7a
newGitHubCodespaceParams -Wait
vercellone 69a9ab3
wait for the codespace to be available
vercellone 018a99e
New-GitHubCodespace +Wait Telemetry
vercellone cac87da
Stop-GitHubCodespace +Wait Telemetry
vercellone d791d2d
@($codespaces).Count
vercellone 252fdc3
($codespaces | Where-Object { $_ }).Count
vercellone 48a0c91
New-GitHubCodespace tests ALWAYS -Wait
vercellone 1e2f3de
Start/Stop-Codespace Get | Select -First 1
vercellone e5ae3e9
More aggressive AfterAll Remove-GitHubCodespace
vercellone 00741da
Merge branch 'master' into feature/GitHubCodespaces
vercellone 411e128
rm Context get codespaces for an organization
vercellone 6db38e7
Geo≈location comments
vercellone c775ea9
OwnerName = $repo.owner.login
vercellone cfbeb73
@().Count to fix InvokeMethodOnNull exception
vercellone bf28dfe
datePropertyNames += last_used_at
vercellone 9ad50de
rm geo from codespace formatter
vercellone File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,41 @@ | ||
| <?xml version="1.0" encoding="utf-8" ?> | ||
| <Configuration> | ||
| <ViewDefinitions> | ||
| <!--================== GitHub.Codespace Type View =================--> | ||
| <View> | ||
| <Name>GitHub.Codespace</Name> | ||
| <ViewSelectedBy> | ||
| <TypeName>GitHub.Codespace</TypeName> | ||
| </ViewSelectedBy> | ||
| <TableControl> | ||
| <TableRowEntries> | ||
| <TableRowEntry> | ||
| <TableColumnItems> | ||
| <TableColumnItem> | ||
| <PropertyName>id</PropertyName> | ||
| </TableColumnItem> | ||
| <TableColumnItem> | ||
| <PropertyName>name</PropertyName> | ||
| </TableColumnItem> | ||
| <TableColumnItem> | ||
| <PropertyName>display_name</PropertyName> | ||
| </TableColumnItem> | ||
| <TableColumnItem> | ||
| <PropertyName>state</PropertyName> | ||
| </TableColumnItem> | ||
| <TableColumnItem> | ||
| <PropertyName>geo</PropertyName> | ||
| </TableColumnItem> | ||
| <TableColumnItem> | ||
| <PropertyName>created_at</PropertyName> | ||
| </TableColumnItem> | ||
| <TableColumnItem> | ||
| <PropertyName>updated_at</PropertyName> | ||
| </TableColumnItem> | ||
| </TableColumnItems> | ||
| </TableRowEntry> | ||
| </TableRowEntries> | ||
| </TableControl> | ||
| </View> | ||
| </ViewDefinitions> | ||
| </Configuration> | ||
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.