diff --git a/package.json b/package.json index 461e5345..88447407 100644 --- a/package.json +++ b/package.json @@ -2,7 +2,7 @@ "name": "docs", "license": "Apache-2.0", "type": "module", - "version": "0.37.0", + "version": "0.38.0", "scripts": { "postinstall": "is-ci || husky", "dev": "astro dev --host", diff --git a/src/content/docs/installation/installation.mdx b/src/content/docs/installation/installation.mdx index 5a5f22d7..03d97ed8 100644 --- a/src/content/docs/installation/installation.mdx +++ b/src/content/docs/installation/installation.mdx @@ -44,9 +44,9 @@ You can install Daytona by manually downloading the binary and placing it in you ```shell # x86-64 -curl -sf -L https://download.daytona.io/daytona/v0.37/daytona-linux-amd64 -o daytona +curl -sf -L https://download.daytona.io/daytona/v0.38/daytona-linux-amd64 -o daytona # AArch64 -curl -sf -L https://download.daytona.io/daytona/v0.37/daytona-linux-arm64 -o daytona +curl -sf -L https://download.daytona.io/daytona/v0.38/daytona-linux-arm64 -o daytona ``` @@ -92,9 +92,9 @@ You can install Daytona by manually downloading the binary and placing it in you ```shell # x86-64/Intel-based -curl -sf -L https://download.daytona.io/daytona/v0.37/daytona-darwin-amd64 -o daytona +curl -sf -L https://download.daytona.io/daytona/v0.38/daytona-darwin-amd64 -o daytona # AArch64/Apple Silicon -curl -sf -L https://download.daytona.io/daytona/v0.37/daytona-darwin-arm64 -o daytona +curl -sf -L https://download.daytona.io/daytona/v0.38/daytona-darwin-arm64 -o daytona ``` diff --git a/src/content/docs/installation/method/script-powershell.mdx b/src/content/docs/installation/method/script-powershell.mdx index 1bf38728..e9acd450 100644 --- a/src/content/docs/installation/method/script-powershell.mdx +++ b/src/content/docs/installation/method/script-powershell.mdx @@ -11,7 +11,7 @@ export const partial = true ```powershell $architecture = if ($env:PROCESSOR_ARCHITECTURE -eq "AMD64") { "amd64" } else { "arm64" } md -Force "$Env:APPDATA\bin\daytona"; [System.Net.ServicePointManager]::SecurityProtocol = [System.Net.SecurityProtocolType]'Tls,Tls11,Tls12'; -Invoke-WebRequest -URI "https://download.daytona.io/daytona/v0.37/daytona-windows-$architecture.exe" -OutFile "$Env:APPDATA\bin\daytona\daytona.exe"; +Invoke-WebRequest -URI "https://download.daytona.io/daytona/v0.38/daytona-windows-$architecture.exe" -OutFile "$Env:APPDATA\bin\daytona\daytona.exe"; $env:Path += ";" + $Env:APPDATA + "\bin\daytona"; [Environment]::SetEnvironmentVariable("Path", $env:Path, [System.EnvironmentVariableTarget]::User); daytona serve; ``` @@ -21,9 +21,9 @@ You can install Daytona by manually downloading the binary and placing it in you ```powershell # x86-64 -curl -sf -L https://download.daytona.io/daytona/v0.37/daytona-windows-amd64.exe -o daytona +curl -sf -L https://download.daytona.io/daytona/v0.38/daytona-windows-amd64.exe -o daytona # AArch64 -curl -sf -L https://download.daytona.io/daytona/v0.37/daytona-windows-arm64.exe -o daytona +curl -sf -L https://download.daytona.io/daytona/v0.38/daytona-windows-arm64.exe -o daytona ``` diff --git a/src/content/docs/reference/api.mdx b/src/content/docs/reference/api.mdx index 6415fcc3..3e32350d 100644 --- a/src/content/docs/reference/api.mdx +++ b/src/content/docs/reference/api.mdx @@ -257,7 +257,7 @@ Get URL from Git repository ## GET /gitprovider/for-url/\{url\} -Get Git provider +List Git providers for url ### Parameters @@ -287,6 +287,22 @@ Get Git provider ID | :-------- | :---------- | | `200` | OK | +## GET /gitprovider/\{gitProviderId\} + +Get Git provider + +### Parameters + +| Name | Location | Required | Type | Description | +| :--- | :------- | :------- | :--- | :---------- | +| `gitProviderId` | path | true | string | ID | + +### Responses + +| Status Code | Description | +| :-------- | :---------- | +| `200` | OK | + ## DELETE /gitprovider/\{gitProviderId\} Remove Git provider @@ -312,6 +328,8 @@ Get Git namespaces | Name | Location | Required | Type | Description | | :--- | :------- | :------- | :--- | :---------- | | `gitProviderId` | path | true | string | Git provider | +| `page` | query | undefined | integer | Page number | +| `per_page` | query | undefined | integer | Number of items per page | ### Responses @@ -345,6 +363,8 @@ Get Git repositories | :--- | :------- | :------- | :--- | :---------- | | `gitProviderId` | path | true | string | Git provider | | `namespaceId` | path | true | string | Namespace | +| `page` | query | undefined | integer | Page number | +| `per_page` | query | undefined | integer | Number of items per page | ### Responses @@ -363,6 +383,8 @@ Get Git repository branches | `gitProviderId` | path | true | string | Git provider | | `namespaceId` | path | true | string | Namespace | | `repositoryId` | path | true | string | Repository | +| `page` | query | undefined | integer | Page number | +| `per_page` | query | undefined | integer | Number of items per page | ### Responses @@ -381,6 +403,8 @@ Get Git repository PRs | `gitProviderId` | path | true | string | Git provider | | `namespaceId` | path | true | string | Namespace | | `repositoryId` | path | true | string | Repository | +| `page` | query | undefined | integer | Page number | +| `per_page` | query | undefined | integer | Number of items per page | ### Responses diff --git a/src/content/docs/reference/cli.mdx b/src/content/docs/reference/cli.mdx index 5f06a0da..c78bcc14 100644 --- a/src/content/docs/reference/cli.mdx +++ b/src/content/docs/reference/cli.mdx @@ -285,15 +285,16 @@ __Flags__ | `--blank` | | Create a blank project without using existing configurations | | `--branch` | | Specify the Git branches to use in the projects | | `--builder` | | Specify the builder (currently auto/devcontainer/none) | -| `--code` | `-c` | Open the workspace in the IDE after workspace creation | | `--custom-image` | | Create the project with the custom image passed as the flag value; Requires setting --custom-image-user flag as well | | `--custom-image-user` | | Create the project with the custom image user passed as the flag value; Requires setting --custom-image flag as well | | `--devcontainer-path` | | Automatically assign the devcontainer builder with the path passed as the flag value | | `--env` | | Specify environment variables (e.g. --env 'KEY1=VALUE1' --env 'KEY2=VALUE2' ...') | +| `--git-provider-config` | | Specify the Git provider configuration ID or alias | | `--ide` | `-i` | Specify the IDE (vscode, browser, cursor, ssh, jupyter, fleet, clion, goland, intellij, phpstorm, pycharm, rider, rubymine, webstorm) | | `--manual` | | Manually enter the Git repository | | `--multi-project` | | Workspace with multiple projects/repos | | `--name` | | Specify the workspace name | +| `--no-ide` | `-n` | Do not open the workspace in the IDE after workspace creation | | `--target` | `-t` | Specify the target (e.g. 'local') | | `--yes` | `-y` | Automatically confirm any prompts | | `--help` | | help for daytona | @@ -396,7 +397,7 @@ __Flags__ ## daytona git-providers add -Register a Git providers +Register a Git provider ```shell daytona git-providers add [flags] @@ -409,7 +410,7 @@ __Flags__ ## daytona git-providers delete -Unregister a Git providers +Unregister a Git provider ```shell daytona git-providers delete [flags] @@ -418,6 +419,7 @@ daytona git-providers delete [flags] __Flags__ | Long | Short | Description | | :--- | :---- | :---------- | +| `--all` | `-a` | Remove all Git providers | | `--help` | | help for daytona | ## daytona git-providers list @@ -434,6 +436,19 @@ __Flags__ | `--format` | `-f` | Output format. Must be one of (yaml, json) | | `--help` | | help for daytona | +## daytona git-providers update + +Update a Git provider + +```shell +daytona git-providers update [flags] +``` + +__Flags__ +| Long | Short | Description | +| :--- | :---- | :---------- | +| `--help` | | help for daytona | + ## daytona ide Choose the default IDE @@ -675,6 +690,7 @@ __Flags__ | `--custom-image-user` | | Create the project with the custom image user passed as the flag value; Requires setting --custom-image flag as well | | `--devcontainer-path` | | Automatically assign the devcontainer builder with the path passed as the flag value | | `--env` | | Specify environment variables (e.g. --env 'KEY1=VALUE1' --env 'KEY2=VALUE2' ...') | +| `--git-provider-config` | | Specify the Git provider configuration ID or alias | | `--manual` | | Manually enter the Git repository | | `--name` | | Specify the project config name | | `--help` | | help for daytona |