New translation batch for ja (#32954)
This commit is contained in:
@@ -441,11 +441,11 @@ If you have a workflow that generates more than one {% data variables.product.pr
|
||||
{% raw %}
|
||||
``` yaml
|
||||
packs:
|
||||
# Use these packs for JavaScript analysis
|
||||
# Use these packs for JavaScript and TypeScript analysis
|
||||
javascript:
|
||||
- scope/js-pack1
|
||||
- scope/js-pack2
|
||||
# Use these packs for Java analysis
|
||||
# Use these packs for Java and Kotlin analysis
|
||||
java:
|
||||
- scope/java-pack1
|
||||
- scope/java-pack2@v1.0.0
|
||||
|
||||
@@ -1,9 +1,10 @@
|
||||
---
|
||||
title: コンパイル済み言語の CodeQL ワークフローを構成する
|
||||
title: Configuring the CodeQL workflow for compiled languages
|
||||
shortTitle: Configure compiled languages
|
||||
intro: '{% data variables.product.prodname_dotcom %} による {% data variables.code-scanning.codeql_workflow %}の使用方法を構成すると、コンパイル型言語で脆弱性とエラーが記述されているコードをスキャンできます。'
|
||||
intro: 'You can configure how {% data variables.product.prodname_dotcom %} uses the {% data variables.code-scanning.codeql_workflow %} to scan code written in compiled languages for vulnerabilities and errors.'
|
||||
product: '{% data reusables.gated-features.code-scanning %}'
|
||||
permissions: 'If you have write permissions to a repository, you can configure {% data variables.product.prodname_code_scanning %} for that repository.'
|
||||
miniTocMaxHeadingLevel: 3
|
||||
redirect_from:
|
||||
- /github/finding-security-vulnerabilities-and-errors-in-your-code/configuring-code-scanning-for-compiled-languages
|
||||
- /github/finding-security-vulnerabilities-and-errors-in-your-code/configuring-the-codeql-action-for-compiled-languages
|
||||
@@ -25,106 +26,108 @@ topics:
|
||||
- C/C++
|
||||
- C#
|
||||
- Java
|
||||
ms.openlocfilehash: 91983e79a6381b4a38cbb1de4f6d7f228637b192
|
||||
ms.sourcegitcommit: b617c4a7a1e4bf2de3987a86e0eb217d7031490f
|
||||
ms.translationtype: HT
|
||||
ms.contentlocale: ja-JP
|
||||
ms.lasthandoff: 11/11/2022
|
||||
ms.locfileid: '148161200'
|
||||
- Kotlin
|
||||
---
|
||||
{% data reusables.code-scanning.beta %} {% data reusables.code-scanning.enterprise-enable-code-scanning-actions %}
|
||||
|
||||
## {% data variables.code-scanning.codeql_workflow %}とコンパイル型言語について
|
||||
|
||||
{% data variables.product.prodname_dotcom %} がリポジトリに対して {% data variables.product.prodname_code_scanning %} を実行できるようにするには、{% data variables.product.prodname_actions %} ワークフローをリポジトリに追加します。 {% data variables.product.prodname_codeql %} {% data variables.product.prodname_code_scanning %} では、{% data variables.code-scanning.codeql_workflow %}を追加できます。 詳細については、「[リポジトリの {% data variables.product.prodname_code_scanning %} の設定](/code-security/secure-coding/setting-up-code-scanning-for-a-repository)」を参照してください。
|
||||
{% data reusables.code-scanning.beta %}
|
||||
{% data reusables.code-scanning.enterprise-enable-code-scanning-actions %}
|
||||
|
||||
{% data reusables.code-scanning.edit-workflow %} {% data variables.product.prodname_code_scanning %} の構成とワークフロー ファイルの編集に関する一般的な情報については、「[{% data variables.product.prodname_code_scanning %} を構成する](/code-security/secure-coding/configuring-code-scanning)」および「[{% data variables.product.prodname_actions %} について学ぶ](/actions/learn-github-actions)」をご覧ください。
|
||||
## About the {% data variables.code-scanning.codeql_workflow %} and compiled languages
|
||||
|
||||
## {% data variables.product.prodname_codeql %} の autobuild について
|
||||
You set up {% data variables.product.prodname_dotcom %} to run {% data variables.product.prodname_code_scanning %} for your repository by adding a {% data variables.product.prodname_actions %} workflow to the repository. For {% data variables.product.prodname_codeql %} {% data variables.product.prodname_code_scanning %}, you add the {% data variables.code-scanning.codeql_workflow %}. For more information, see "[Setting up {% data variables.product.prodname_code_scanning %} for a repository](/code-security/secure-coding/setting-up-code-scanning-for-a-repository)."
|
||||
|
||||
{% data variables.product.prodname_code_scanning_capc %} は、1 つ以上のデータベースに対してクエリを実行することにより機能します。 各データベースには、リポジトリにあるすべてのコードを 1 つの言語で表わしたものが含まれています。
|
||||
コンパイル型言語の C/C++、C#、{% ifversion codeql-go-autobuild %}Go、{% endif %}Java では、このデータベースを生成するプロセスに、コードのビルドとデータの抽出が含まれています。 {% data reusables.code-scanning.analyze-go %}
|
||||
{% data reusables.code-scanning.edit-workflow %}
|
||||
For general information about configuring {% data variables.product.prodname_code_scanning %} and editing workflow files, see "[Configuring {% data variables.product.prodname_code_scanning %}](/code-security/secure-coding/configuring-code-scanning)" and "[Learn {% data variables.product.prodname_actions %}](/actions/learn-github-actions)."
|
||||
|
||||
## About autobuild for {% data variables.product.prodname_codeql %}
|
||||
|
||||
{% data variables.product.prodname_code_scanning_capc %} works by running queries against one or more databases. Each database contains a representation of all of the code in a single language in your repository.
|
||||
For the compiled languages C/C++, C#,{% ifversion codeql-go-autobuild %} Go,{% endif %}{% ifversion codeql-kotlin-beta %} Kotlin, {% endif %} and Java, the process of populating this database involves building the code and extracting data. {% data reusables.code-scanning.analyze-go %}
|
||||
|
||||
{% data reusables.code-scanning.autobuild-compiled-languages %}
|
||||
|
||||
ワークフローで `language` マトリックスを使っている場合、`autobuild` はマトリックスに列記された各コンパイル型言語のビルドを試行します。 マトリックスがない場合、`autobuild` は、サポートされているコンパイル型言語で、リポジトリ内のソース ファイルの数が最も多いもののビルドを試みます。 Go を除いて、明示的にビルドコマンドを使用しない限り、リポジトリにある他のコンパイル型言語の解析は失敗します。
|
||||
If your workflow uses a `language` matrix, `autobuild` attempts to build each of the compiled languages listed in the matrix. Without a matrix `autobuild` attempts to build the supported compiled language that has the most source files in the repository. With the exception of Go, analysis of other compiled languages in your repository will fail unless you supply explicit build commands.
|
||||
|
||||
{% note %}
|
||||
|
||||
{% ifversion ghae %} **注**: {% data reusables.actions.self-hosted-runners-software %} {% else %} **注**: {% data variables.product.prodname_actions %} にセルフホステッド ランナーを使う場合は、`autobuild` プロセスを使うために追加のソフトウェアをインストールすることが必要になる場合があります。 さらに、リポジトリに特定のバージョンのビルドツールが必要な場合は、手動でインストールする必要があります。 詳しくは、「[{% data variables.product.prodname_dotcom %} ホステッド ランナーの概要](/actions/reference/specifications-for-github-hosted-runners/#supported-software)」をご覧ください。
|
||||
{% ifversion ghae %}
|
||||
**Note**: {% data reusables.actions.self-hosted-runners-software %}
|
||||
{% else %}
|
||||
**Note**: If you use self-hosted runners for {% data variables.product.prodname_actions %}, you may need to install additional software to use the `autobuild` process. Additionally, if your repository requires a specific version of a build tool, you may need to install it manually. For more information, see "[Specifications for {% data variables.product.prodname_dotcom %}-hosted runners](/actions/reference/specifications-for-github-hosted-runners/#supported-software)".
|
||||
{% endif %}
|
||||
|
||||
{% endnote %}
|
||||
|
||||
### C/C++
|
||||
|
||||
| サポートされているシステムの種類 | システム名 |
|
||||
| Supported system type | System name |
|
||||
|----|----|
|
||||
| オペレーティング システム | Windows、macOS、Linux |
|
||||
| ビルドシステム | Windows: MSbuild スクリプトと build スクリプト<br/>Linux と macOS: Autoconf、Make、CMake、qmake、 Meson、Waf、SCons、Linux Kbuild、build の各スクリプト |
|
||||
| Operating system | Windows, macOS, and Linux |
|
||||
| Build system | Windows: MSbuild and build scripts<br/>Linux and macOS: Autoconf, Make, CMake, qmake, Meson, Waf, SCons, Linux Kbuild, and build scripts |
|
||||
|
||||
`autobuild` ステップの動作は、抽出を実行するオペレーティング システムによって異なります。 Windows の `autobuild` ステップでは、以下の方法を使って C/C++ に適したビルド方法の自動検出が試みられます。
|
||||
The behavior of the `autobuild` step varies according to the operating system that the extraction runs on. On Windows, the `autobuild` step attempts to autodetect a suitable build method for C/C++ using the following approach:
|
||||
|
||||
1. ルートに最も近いソリューション (`.sln`) またはプロジェクト (`.vcxproj`) ファイルで `MSBuild.exe` を呼び出します。
|
||||
`autobuild` が最上位ディレクトリから同じ (最短) 深度で複数のソリューションまたはプロジェクト ファイルを検出した場合、それらすべてのビルドが試みられます。
|
||||
2. ビルド スクリプトのように見えるスクリプト、つまり _build.bat_、_build.cmd_、_build.exe_ を、この順番で呼び出します。
|
||||
1. Invoke `MSBuild.exe` on the solution (`.sln`) or project (`.vcxproj`) file closest to the root.
|
||||
If `autobuild` detects multiple solution or project files at the same (shortest) depth from the top level directory, it will attempt to build all of them.
|
||||
2. Invoke a script that looks like a build script—_build.bat_, _build.cmd_, _and build.exe_ (in that order).
|
||||
|
||||
Linux と macOS の `autobuild` ステップでは、リポジトリ内にあるファイルが確認されて、使われているビルド システムが特定されます。
|
||||
On Linux and macOS, the `autobuild` step reviews the files present in the repository to determine the build system used:
|
||||
|
||||
1. ルートディレクトリでビルドシステムを探します。
|
||||
2. 何も見つからない場合は、C/C++ のビルドシステムで一意のディレクトリをサブディレクトリで検索します。
|
||||
3. 適切なコマンドを実行してシステムを設定します。
|
||||
1. Look for a build system in the root directory.
|
||||
2. If none are found, search subdirectories for a unique directory with a build system for C/C++.
|
||||
3. Run an appropriate command to configure the system.
|
||||
|
||||
### C#
|
||||
|
||||
| サポートされているシステムの種類 | システム名 |
|
||||
| Supported system type | System name |
|
||||
|----|----|
|
||||
| オペレーティング システム | Windows と Linux |
|
||||
| ビルドシステム | .NET と MSbuild、およびビルドスクリプト |
|
||||
| Operating system | Windows and Linux |
|
||||
| Build system | .NET and MSbuild, as well as build scripts |
|
||||
|
||||
`autobuild` プロセスは、次の方法を使って C# に適したビルド方法の自動検出を試みます。
|
||||
The `autobuild` process attempts to autodetect a suitable build method for C# using the following approach:
|
||||
|
||||
1. ルートに最も近いソリューション (`.sln`) またはプロジェクト (`.csproj`) ファイルで `dotnet build` を呼び出します。
|
||||
2. ルートに最も近いソリューションまたはプロジェクト ファイルで、`MSbuild` (Linux) または `MSBuild.exe` (Windows) を呼び出します。
|
||||
`autobuild` が最上位ディレクトリから同じ (最短) 深度で複数のソリューションまたはプロジェクト ファイルを検出した場合、それらすべてのビルドが試みられます。
|
||||
3. ビルド スクリプトのように見えるスクリプト、つまり _build_ と _build.sh_ (Linux の場合、この順序で) または _build.bat_、_build.cmd_、_and build.exe_ (Windows の場合、この順序で) を呼び出します。
|
||||
1. Invoke `dotnet build` on the solution (`.sln`) or project (`.csproj`) file closest to the root.
|
||||
2. Invoke `MSbuild` (Linux) or `MSBuild.exe` (Windows) on the solution or project file closest to the root.
|
||||
If `autobuild` detects multiple solution or project files at the same (shortest) depth from the top level directory, it will attempt to build all of them.
|
||||
3. Invoke a script that looks like a build script—_build_ and _build.sh_ (in that order, for Linux) or _build.bat_, _build.cmd_, _and build.exe_ (in that order, for Windows).
|
||||
|
||||
{% ifversion codeql-go-autobuild %}
|
||||
|
||||
### Go
|
||||
|
||||
| サポートされているシステムの種類 | システム名 |
|
||||
| Supported system type | System name |
|
||||
|----|----|
|
||||
| オペレーティング システム | Windows、macOS、Linux |
|
||||
| ビルドシステム | Go モジュール、`dep`、Glide、およびメイクファイルや Ninja スクリプトを含むビルド スクリプト |
|
||||
| Operating system | Windows, macOS, and Linux |
|
||||
| Build system | Go modules, `dep` and Glide, as well as build scripts including Makefiles and Ninja scripts |
|
||||
|
||||
`autobuild` プロセスは、すべての `.go` ファイルを抽出する前に、Go リポジトリで必要な依存関係をインストールする適切な方法の自動検出を試みます。
|
||||
The `autobuild` process attempts to autodetect a suitable way to install the dependencies needed by a Go repository before extracting all `.go` files:
|
||||
|
||||
1. `make`、`ninja`、または `./build` を、これらのコマンドのいずれかが成功し、その後の `./build.sh` も成功して、必要な依存関係がインストールされたことを示すまで、(この順序で) 呼び出`go list ./...`します。
|
||||
2. これらのコマンドがいずれも成功しなかった場合は、`go.mod`、`Gopkg.toml`、または `glide.yaml` を探し、それぞれの `go get` (ベンダーが使用していない場合)、`dep ensure -v`、または `glide install` を実行して、依存関係のインストールを試みます。
|
||||
3. 最後に、これらの依存関係マネージャーの構成ファイルが見つからない場合は、`GOPATH` に追加するのに適したリポジトリ ディレクトリ構造に調整し直し、`go get` を使って依存関係をインストールします。 抽出が完了すると、ディレクトリ構造は通常に戻ります。
|
||||
4. `go build ./...` を実行するのと同じようにして、リポジトリ内のすべての Go コードを抽出します。
|
||||
1. Invoke `make`, `ninja`, `./build` or `./build.sh` (in that order) until one of these commands succeeds and a subsequent `go list ./...` also succeeds, indicating that the needed dependencies have been installed.
|
||||
2. If none of those commands succeeded, look for `go.mod`, `Gopkg.toml` or `glide.yaml`, and run `go get` (unless vendoring is in use), `dep ensure -v` or `glide install` respectively to try to install dependencies.
|
||||
3. Finally, if configurations files for these dependency managers are not found, rearrange the repository directory structure suitable for addition to `GOPATH`, and use `go get` to install dependencies. The directory structure reverts to normal after extraction completes.
|
||||
4. Extract all Go code in the repository, similar to running `go build ./...`.
|
||||
|
||||
{% endif %}
|
||||
|
||||
### Java
|
||||
### Java {% ifversion codeql-kotlin-beta %} and Kotlin {% endif %}
|
||||
|
||||
| サポートされているシステムの種類 | システム名 |
|
||||
| Supported system type | System name |
|
||||
|----|----|
|
||||
| オペレーティング システム | Windows、macOS、Linux (制限なし) |
|
||||
| ビルドシステム | Gradle、Maven、Ant |
|
||||
| Operating system | Windows, macOS, and Linux (no restriction) |
|
||||
| Build system | Gradle, Maven and Ant |
|
||||
|
||||
`autobuild` プロセスは、この戦略を適用して、Java コードベース用のビルド システムの特定を試みます。
|
||||
The `autobuild` process tries to determine the build system for Java codebases by applying this strategy:
|
||||
|
||||
1. ルートディレクトリでビルドファイルを検索します。 Gradle、Maven、Ant の各ビルドファイルを確認します。
|
||||
2. 最初に見つかったビルドファイルを実行します。 Gradle ファイルと Maven ファイルの両方が存在する場合は、Gradle ファイルが使用されます。
|
||||
3. それ以外の場合は、ルートディレクトリの直接サブディレクトリ内でビルドファイルを検索します。 1 つのサブディレクトリにのみビルドファイルが含まれている場合は、そのサブディレクトリで識別された最初のファイルを実行します(1 と同じ環境設定を使用)。 複数のサブディレクトリにビルドファイルが含まれている場合は、エラーを報告します。
|
||||
1. Search for a build file in the root directory. Check for Gradle then Maven then Ant build files.
|
||||
2. Run the first build file found. If both Gradle and Maven files are present, the Gradle file is used.
|
||||
3. Otherwise, search for build files in direct subdirectories of the root directory. If only one subdirectory contains build files, run the first file identified in that subdirectory (using the same preference as for 1). If more than one subdirectory contains build files, report an error.
|
||||
|
||||
## コンパイル言語のビルドステップを追加する
|
||||
## Adding build steps for a compiled language
|
||||
|
||||
{% data reusables.code-scanning.autobuild-add-build-steps %}ワークフロー ファイルの編集方法については、「[{% data variables.product.prodname_code_scanning %} を構成する](/code-security/secure-coding/configuring-code-scanning#editing-a-code-scanning-workflow)」をご覧ください。
|
||||
{% data reusables.code-scanning.autobuild-add-build-steps %} For information on how to edit the workflow file, see "[Configuring {% data variables.product.prodname_code_scanning %}](/code-security/secure-coding/configuring-code-scanning#editing-a-code-scanning-workflow)."
|
||||
|
||||
`autobuild` ステップを削除したら、`run` ステップをコメント解除して、リポジトリに適したビルド コマンドを追加します。 ワークフローの `run` ステップでは、オペレーティング システムのシェルを使ってコマンド ライン プログラムが実行されます。 これらのコマンドを変更し、別のコマンドを追加してビルド プロセスをカスタマイズできます。
|
||||
After removing the `autobuild` step, uncomment the `run` step and add build commands that are suitable for your repository. The workflow `run` step runs command-line programs using the operating system's shell. You can modify these commands and add more commands to customize the build process.
|
||||
|
||||
``` yaml
|
||||
- run: |
|
||||
@@ -132,9 +135,9 @@ Linux と macOS の `autobuild` ステップでは、リポジトリ内にある
|
||||
make release
|
||||
```
|
||||
|
||||
`run` キーワードについて詳しくは、「[{% data variables.product.prodname_actions %} のワークフロー構文](/actions/reference/workflow-syntax-for-github-actions#jobsjob_idstepsrun)」をご覧ください。
|
||||
For more information about the `run` keyword, see "[Workflow syntax for {% data variables.product.prodname_actions %}](/actions/reference/workflow-syntax-for-github-actions#jobsjob_idstepsrun)."
|
||||
|
||||
リポジトリに複数のコンパイル済み言語が含まれている場合は、言語固有のビルド コマンドを指定できます。 たとえば、リポジトリに C/C++、C#、Java が含まれていて、`autobuild` によって C/C++ と C# は正しくビルドされるが、Java のビルドは失敗する場合は、ワークフローの `init` ステップの後で次の構成を使用できます。 これにより、C/C++ と C# には `autobuild` をそのまま使用しつつ、Java のビルド ステップを指定します。
|
||||
If your repository contains multiple compiled languages, you can specify language-specific build commands. For example, if your repository contains C/C++, C# and Java, and `autobuild` correctly builds C/C++ and C# but fails to build Java, you could use the following configuration in your workflow, after the `init` step. This specifies build steps for Java while still using `autobuild` for C/C++ and C#:
|
||||
|
||||
```yaml
|
||||
- if: matrix.language == 'cpp' || matrix.language == 'csharp'
|
||||
@@ -148,8 +151,8 @@ Linux と macOS の `autobuild` ステップでは、リポジトリ内にある
|
||||
make release
|
||||
```
|
||||
|
||||
`if` 条件について詳しくは、「[GitHub Actions のワークフロー構文](/actions/reference/workflow-syntax-for-github-actions#jobsjob_idstepsif)」をご覧ください。
|
||||
For more information about the `if` conditional, see "[Workflow syntax for GitHub Actions](/actions/reference/workflow-syntax-for-github-actions#jobsjob_idstepsif)."
|
||||
|
||||
`autobuild` でコードがビルドされない理由に関するその他のヒントとテクニックについては、「[{% data variables.product.prodname_codeql %} ワークフローのトラブルシューティング](/code-security/secure-coding/troubleshooting-the-codeql-workflow)」をご覧ください。
|
||||
For more tips and tricks about why `autobuild` won't build your code, see "[Troubleshooting the {% data variables.product.prodname_codeql %} workflow](/code-security/secure-coding/troubleshooting-the-codeql-workflow)."
|
||||
|
||||
コンパイル言語にマニュアルのビルドステップを追加しても、リポジトリで依然として{% data variables.product.prodname_code_scanning %}が動作しない場合は、{% data variables.contact.contact_support %}にお問い合わせください。
|
||||
If you added manual build steps for compiled languages and {% data variables.product.prodname_code_scanning %} is still not working on your repository, contact {% data variables.contact.contact_support %}.
|
||||
|
||||
@@ -74,7 +74,7 @@ You can display the command-line help for any command using the <nobr>`--help`</
|
||||
| Option | Required | Usage |
|
||||
|--------|:--------:|-----|
|
||||
| `<database>` | {% octicon "check-circle-fill" aria-label="Required" %} | Specify the name and location of a directory to create for the {% data variables.product.prodname_codeql %} database. The command will fail if you try to overwrite an existing directory. If you also specify `--db-cluster`, this is the parent directory and a subdirectory is created for each language analyzed.|
|
||||
| <nobr>`--language`</nobr> | {% octicon "check-circle-fill" aria-label="Required" %} | Specify the identifier for the language to create a database for, one of: `{% data reusables.code-scanning.codeql-languages-keywords %}` (use `javascript` to analyze TypeScript code). When used with <nobr>`--db-cluster`</nobr>, the option accepts a comma-separated list, or can be specified more than once.
|
||||
| <nobr>`--language`</nobr> | {% octicon "check-circle-fill" aria-label="Required" %} | Specify the identifier for the language to create a database for, one of: `{% data reusables.code-scanning.codeql-languages-keywords %}` (use `javascript` to analyze TypeScript code {% ifversion codeql-kotlin-beta %} and `java` to analyze Kotlin code{% endif %}). When used with <nobr>`--db-cluster`</nobr>, the option accepts a comma-separated list, or can be specified more than once.
|
||||
| <nobr>`--command`</nobr> | | Recommended. Use to specify the build command or script that invokes the build process for the codebase. Commands are run from the current folder or, where it is defined, from <nobr>`--source-root`</nobr>. Not needed for Python and JavaScript/TypeScript analysis. |
|
||||
| <nobr>`--db-cluster`</nobr> | | Optional. Use in multi-language codebases to generate one database for each language specified by <nobr>`--language`</nobr>.
|
||||
| <nobr>`--no-run-unnecessary-builds`</nobr> | | Recommended. Use to suppress the build command for languages where the {% data variables.product.prodname_codeql_cli %} does not need to monitor the build (for example, Python and JavaScript/TypeScript).
|
||||
|
||||
@@ -0,0 +1,61 @@
|
||||
---
|
||||
title: コンテナーの完全なリビルドの実行
|
||||
intro: ディスク領域が不足している場合、または開発コンテナーの構成が新しい codespace で機能することを確認する場合は、コンテナーの完全なリビルドを実行できます。
|
||||
versions:
|
||||
fpt: '*'
|
||||
ghec: '*'
|
||||
type: reference
|
||||
topics:
|
||||
- Codespaces
|
||||
shortTitle: Full rebuilds
|
||||
ms.openlocfilehash: f844d5f92073adf01c3b1a1100e6fe1912b2d7ad
|
||||
ms.sourcegitcommit: 3ff64a8c8cf70e868c10105aa6bbf6cd4f78e4d3
|
||||
ms.translationtype: HT
|
||||
ms.contentlocale: ja-JP
|
||||
ms.lasthandoff: 11/22/2022
|
||||
ms.locfileid: '148180853'
|
||||
---
|
||||
## コンテナーのリビルドについて
|
||||
|
||||
codespace で作業する場合、開発環境は仮想マシン上で実行される Docker コンテナーです。 codespace 内から開発コンテナー構成に変更を加え、それらの変更を現在の codespace に適用する場合は、コンテナーをリビルドする必要があります。
|
||||
|
||||
既定では、コンテナーをリビルドすると、{% data variables.product.prodname_github_codespaces %} によって、コンテナーの以前のビルドからキャッシュされたイメージを再利用することでビルド プロセスが高速化されます。 これは通常、次の理由により、開発コンテナー構成に対する変更を実装する最も簡単な方法です。
|
||||
- {% data variables.product.prodname_github_codespaces %} では、コンテナー レジストリから再度プルするのではなく、キャッシュ内のイメージを再利用できます。
|
||||
- 開発コンテナーの機能や Dockerfile 命令など、コンテナーの構築方法を定義する開発コンテナー構成の一部が、キャッシュ内のイメージ レイヤーに既に実装されている可能性があるため、これらのプロセスが再度実行されるのを待つ必要はありません。 (ただし、`onCreateCommand` など、コンテナーの構築後に実行される構成内のコマンドは、再度実行されます。)
|
||||
|
||||
場合によっては、コンテナーの完全なリビルドを実行することが必要になる場合があります。 完全なリビルドにより、{% data variables.product.prodname_github_codespaces %} はキャッシュからすべての Docker コンテナー、イメージ、ボリュームをクリーンアップし、新しくプルされたイメージを使用してコンテナーを再構築します。 構成で定義されているすべてのセットアップが再度実行され、新しいイメージ レイヤーが生成されます。 次のような状況で、キャッシュされたイメージを使用してコンテナーを何度もリビルドした後、完全なリビルドを実行できます。
|
||||
|
||||
- 構成で定義されているセットアップがキャッシュされたイメージに依存しないようにし、構成に基づいて新しい codespace が作成されるときに必要に応じて実行されるようにしたい。 たとえば、依存関係が最後に codespace にプルされてから、基本イメージから削除されている可能性があります。
|
||||
- たとえば、ディスク領域が不足している場合や、ストレージ料金を最小限に抑える場合など、キャッシュで使用されるディスク領域を解放したい。 基本イメージを複数回変更した場合、構成に対して多数の反復的な変更を行った場合、または Docker Compose を使って複数のコンテナーを実行している場合は、イメージ キャッシュで大量のディスク領域が使用されている可能性があります。
|
||||
|
||||
## 完全なリビルドの実行
|
||||
|
||||
{% data variables.product.prodname_vscode %} で完全なリビルドを実行できます。
|
||||
|
||||
{% data reusables.codespaces.command-pallette %}
|
||||
1. 「Rebuild」と入力し、 **[Codespaces: Full Rebuild Container]\(Codespaces: コンテナーの完全なリビルド\)** を選択します。
|
||||
|
||||

|
||||
|
||||
## 完全なリビルドでのデータの保持
|
||||
|
||||
codespace の `/workspaces` ディレクトリに含まれるすべてのファイルとフォルダーは、常に再構築時に保持されます。 完全なリビルドでこのディレクトリの内容を保持するために、設定を変更したり、構成を追加したりする必要はありません。
|
||||
|
||||
完全なリビルドで `/workspaces` ディレクトリの外部にファイルを保持したい場合は、コンテナー内の目的の場所に、持続させるディレクトリへのシンボリック リンクを作成できます。 たとえば、`/workspaces/.devcontainer` ディレクトリ内に、再構築先でも持続される `config` ディレクトリを作成できます。 その後、`config` ディレクトリとその内容を `devcontainer.json` ファイルの `postCreateCommand` としてシンボリック リンクすることができます。
|
||||
|
||||
```json
|
||||
{
|
||||
"image": "mcr.microsoft.com/vscode/devcontainers/base:alpine",
|
||||
"postCreateCommand": ".devcontainer/postCreate.sh"
|
||||
}
|
||||
```
|
||||
|
||||
以下の例の `postCreate.sh` ファイルでは、`config` ディレクトリの内容がホーム ディレクトリにシンボリック リンクされています。
|
||||
|
||||
```bash
|
||||
#!/bin/bash
|
||||
ln -sf $PWD/.devcontainer/config $HOME/config && set +x
|
||||
```
|
||||
|
||||
## 参考資料
|
||||
- 「[開発コンテナーの概要](/codespaces/setting-up-your-project-for-codespaces/introduction-to-dev-containers)」
|
||||
@@ -1,6 +1,6 @@
|
||||
---
|
||||
title: Using the Visual Studio Code Command Palette in GitHub Codespaces
|
||||
intro: 'You can use the Command Palette feature of {% data variables.product.prodname_vscode %} to access many commands in {% data variables.product.prodname_github_codespaces %}.'
|
||||
title: GitHub Codespaces で Visual Studio Code のコマンド パレットを使う
|
||||
intro: '{% data variables.product.prodname_vscode %} のコマンド パレット機能を使用して、{% data variables.product.prodname_github_codespaces %} 内の多くのコマンドにアクセスできます。'
|
||||
versions:
|
||||
fpt: '*'
|
||||
ghec: '*'
|
||||
@@ -12,62 +12,67 @@ shortTitle: VS Code Command Palette
|
||||
allowTitleToDifferFromFilename: true
|
||||
redirect_from:
|
||||
- /codespaces/codespaces-reference/using-the-command-palette-in-codespaces
|
||||
ms.openlocfilehash: acd462dd1c0b60dced529d7471b9c8638e2f6e91
|
||||
ms.sourcegitcommit: 3ff64a8c8cf70e868c10105aa6bbf6cd4f78e4d3
|
||||
ms.translationtype: HT
|
||||
ms.contentlocale: ja-JP
|
||||
ms.lasthandoff: 11/22/2022
|
||||
ms.locfileid: '148180812'
|
||||
---
|
||||
## {% data variables.product.prodname_vscode_command_palette %}について
|
||||
|
||||
## About the {% data variables.product.prodname_vscode_command_palette %}
|
||||
{% data variables.product.prodname_vscode_command_palette_shortname %} は、{% data variables.product.prodname_github_codespaces %} で使用できる {% data variables.product.prodname_vscode %} の中心的な機能の 1 つです。 コマンド パレットを使用すると、{% data variables.product.prodname_github_codespaces %} および {% data variables.product.prodname_vscode_shortname %} の多くのコマンドにアクセスできます。 {% data variables.product.prodname_vscode_command_palette_shortname %}を使うことについて詳しくは、{% data variables.product.prodname_vscode_shortname %} のドキュメントの「[ユーザー インターフェイス](https://code.visualstudio.com/docs/getstarted/userinterface#_command-palette)」を参照してください。
|
||||
|
||||
The {% data variables.product.prodname_vscode_command_palette_shortname %} is one of the focal features of {% data variables.product.prodname_vscode %} and is available for you to use in {% data variables.product.prodname_github_codespaces %}. The Command Palette allows you to access many commands for {% data variables.product.prodname_github_codespaces %} and {% data variables.product.prodname_vscode_shortname %}. For more information on using the {% data variables.product.prodname_vscode_command_palette_shortname %}, see "[User Interface](https://code.visualstudio.com/docs/getstarted/userinterface#_command-palette)" in the {% data variables.product.prodname_vscode_shortname %} documentation.
|
||||
## {% data variables.product.prodname_vscode_command_palette_shortname %}にアクセスする
|
||||
|
||||
## Accessing the {% data variables.product.prodname_vscode_command_palette_shortname %}
|
||||
{% data variables.product.prodname_vscode_command_palette_shortname %}には多くの方法でアクセスできます。
|
||||
|
||||
You can access the {% data variables.product.prodname_vscode_command_palette_shortname %} in a number of ways.
|
||||
- <kbd>Shift</kbd>+<kbd>Command</kbd>+<kbd>P</kbd> (Mac) / <kbd>Ctrl</kbd>+<kbd>Shift</kbd>+<kbd>P</kbd> (Windows/Linux)。
|
||||
|
||||
- <kbd>Shift</kbd>+<kbd>Command</kbd>+<kbd>P</kbd> (Mac) / <kbd>Ctrl</kbd>+<kbd>Shift</kbd>+<kbd>P</kbd> (Windows/Linux).
|
||||
|
||||
Note that this command is a reserved keyboard shortcut in Firefox.
|
||||
このコマンドは Firefox で指定されているキーボードショートカットになりますので、ご注意ください。
|
||||
- <kbd>F1</kbd>
|
||||
- From the Application Menu, click **View > Command Palette…**.
|
||||
- [アプリケーション] メニューの **[表示] > [コマンド パレット]...** をクリックします。
|
||||
|
||||

|
||||

|
||||
|
||||
## Commands for {% data variables.product.prodname_codespaces %}
|
||||
## {% data variables.product.prodname_codespaces %} 用のコマンド
|
||||
|
||||
To see all commands related to {% data variables.product.prodname_github_codespaces %}, [access the {% data variables.product.prodname_vscode_command_palette_shortname %}](#accessing-the-command-palette), then start typing "Codespaces".
|
||||
{% data variables.product.prodname_github_codespaces %} に関連するすべてのコマンドを表示するには、[{% data variables.product.prodname_vscode_command_palette_shortname %}にアクセスしてから](#accessing-the-command-palette)、「Codespaces」と入力します。
|
||||
|
||||

|
||||

|
||||
|
||||
### Suspending or stopping a codespace
|
||||
### Codespace のサスペンドまたは停止
|
||||
|
||||
If you add a new secret or change the machine type, you'll have to stop and restart the codespace for it to apply your changes.
|
||||
新しいシークレットを追加したり、マシンの種類を変更した場合、codespace を停止および再起動して変更を適用する必要があります。
|
||||
|
||||
To suspend or stop your codespace's container, [access the {% data variables.product.prodname_vscode_command_palette_shortname %}](#accessing-the-command-palette), then start typing "stop". Select **Codespaces: Stop Current Codespace**.
|
||||
codespace のコンテナーを中断または停止するには、[{% data variables.product.prodname_vscode_command_palette_shortname %}にアクセス](#accessing-the-command-palette)し、「停止」と入力します。 **[Codespaces: 現在の Codespace を停止]** を選びます。
|
||||
|
||||

|
||||

|
||||
|
||||
### Adding a predefined dev container configuration
|
||||
### 事前定義済みの開発コンテナー構成の追加
|
||||
|
||||
To add a predefined dev container configuration, [access the {% data variables.product.prodname_vscode_command_palette_shortname %}](#accessing-the-command-palette), then start typing "dev container". Select **Codespaces: Add Development Container Configuration Files...**
|
||||
事前定義済みの開発コンテナー構成を追加するには、[{% data variables.product.prodname_vscode_command_palette_shortname %} にアクセス](#accessing-the-command-palette)してから、"dev container" と入力します。 **[Codespaces: 開発コンテナー構成ファイルの追加...]** を選びます。
|
||||
|
||||

|
||||

|
||||
|
||||
### Rebuilding a codespace
|
||||
### Codespace を再構築する
|
||||
|
||||
If you add a dev container or edit any of the configuration files (`devcontainer.json` and `Dockerfile`), you'll have to rebuild your codespace for it to apply your changes.
|
||||
開発コンテナーを追加したり、構成ファイル (`devcontainer.json` および `Dockerfile`) のいずれかを編集した場合、codespace を再構築して変更を適用する必要があります。
|
||||
|
||||
To rebuild your container, [access the {% data variables.product.prodname_vscode_command_palette_shortname %}](#accessing-the-command-palette), then start typing "rebuild". Select **Codespaces: Rebuild Container**.
|
||||
コンテナーを再構築するには、[{% data variables.product.prodname_vscode_command_palette_shortname %}にアクセス](#accessing-the-command-palette)し、「再構築」と入力します。 **[Codespaces: コンテナーのリビルド]** を選択します。
|
||||
|
||||

|
||||

|
||||
|
||||
{% data reusables.codespaces.full-rebuild-tip %}
|
||||
|
||||
### Codespaces logs
|
||||
### Codespace のログ
|
||||
|
||||
You can use the {% data variables.product.prodname_vscode_command_palette_shortname %} to access the codespace creation logs, or you can use it export all logs.
|
||||
{% data variables.product.prodname_vscode_command_palette_shortname %}を使うと、codespace 作成ログにアクセスすることも、すべてのログをエクスポートすることもできます。
|
||||
|
||||
To retrieve the logs for {% data variables.product.prodname_github_codespaces %}, [access the {% data variables.product.prodname_vscode_command_palette_shortname %}](#accessing-the-command-palette), then start typing "log". Select **Codespaces: Export Logs** to export all logs related to {% data variables.product.prodname_github_codespaces %} or select **Codespaces: View Creation Logs** to view logs related to the setup.
|
||||
{% data variables.product.prodname_github_codespaces %} のログを取得するには、[{% data variables.product.prodname_vscode_command_palette_shortname %} にアクセス](#accessing-the-command-palette)してから、"log" と入力します。 **[Codespaces: ログのエクスポート]** を選び、{% data variables.product.prodname_github_codespaces %} に関連するすべてのログをエクスポートするか、 **[Codespaces: 作成ログの表示]** を選び、セットアップに関連するログを表示します。
|
||||
|
||||

|
||||

|
||||
|
||||
## Further reading
|
||||
## 参考資料
|
||||
|
||||
- "[Using {% data variables.product.prodname_github_codespaces %} in {% data variables.product.prodname_vscode %}](/codespaces/developing-in-codespaces/using-github-codespaces-in-visual-studio-code)"
|
||||
- [{% data variables.product.prodname_vscode %} での {% data variables.product.prodname_github_codespaces %} の使用](/codespaces/developing-in-codespaces/using-github-codespaces-in-visual-studio-code)
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
---
|
||||
title: The codespace lifecycle
|
||||
intro: 'You can develop in a {% data variables.product.prodname_github_codespaces %} environment and maintain your data throughout the entire codespace lifecycle.'
|
||||
title: codespace のライフサイクル
|
||||
intro: '{% data variables.product.prodname_github_codespaces %} 環境で開発し、codespace のライフサイクル全体にわたってデータを維持できます。'
|
||||
versions:
|
||||
fpt: '*'
|
||||
ghec: '*'
|
||||
@@ -10,58 +10,63 @@ topics:
|
||||
- Developer
|
||||
redirect_from:
|
||||
- /codespaces/developing-in-codespaces/codespaces-lifecycle
|
||||
ms.openlocfilehash: 660ced63e34c6de8025c65946542baca43534cfe
|
||||
ms.sourcegitcommit: 3ff64a8c8cf70e868c10105aa6bbf6cd4f78e4d3
|
||||
ms.translationtype: HT
|
||||
ms.contentlocale: ja-JP
|
||||
ms.lasthandoff: 11/22/2022
|
||||
ms.locfileid: '148180796'
|
||||
---
|
||||
## codespace のライフサイクルについて
|
||||
|
||||
## About the lifecycle of a codespace
|
||||
codespace のライフサイクルは、codespace を作成するときに開始され、削除すると終了します。 実行中のプロセスに影響を与えることなく、アクティブな codespace を切断して再接続できます。 プロジェクトに加えた変更を失うことなく、codespace を停止して再起動できます。
|
||||
|
||||
The lifecycle of a codespace begins when you create a codespace and ends when you delete it. You can disconnect and reconnect to an active codespace without affecting its running processes. You may stop and restart a codespace without losing changes that you have made to your project.
|
||||
## codespace を作成する
|
||||
|
||||
## Creating a codespace
|
||||
プロジェクトで作業する場合は、新しい codespace を作成するか、既存の codespace を開くかを選択できます。 {% data variables.product.prodname_github_codespaces %} で開発するたびに、リポジトリのブランチから新しい codespace を作成することも、機能の実行時間の長い codespace を保持することもできます。 {% data reusables.codespaces.starting-new-project-template %} 詳細については、「[リポジトリの codespace を作成する](/codespaces/developing-in-codespaces/creating-a-codespace-for-a-repository)」と「[テンプレートから codespace を作成する](/codespaces/developing-in-codespaces/creating-a-codespace-from-a-template)」を参照してください。
|
||||
|
||||
When you want to work on a project, you can choose to create a new codespace or open an existing codespace. You might want to create a new codespace from a branch of your repository each time you develop in {% data variables.product.prodname_github_codespaces %} or keep a long-running codespace for a feature. {% data reusables.codespaces.starting-new-project-template %} For more information, see "[Creating a codespace for a repository](/codespaces/developing-in-codespaces/creating-a-codespace-for-a-repository)" and "[Creating a codespace from a template](/codespaces/developing-in-codespaces/creating-a-codespace-from-a-template)."
|
||||
{% data reusables.codespaces.max-number-codespaces %} 同様に、アクティブな codespace の最大数に達してからさらに起動しようとすると、アクティブな codespace のいずれかを停止するように求められます。
|
||||
|
||||
{% data reusables.codespaces.max-number-codespaces %} Similarly, if you reach the maximum number of active codespaces and you try to start another, you are prompted to stop one of your active codespaces.
|
||||
|
||||
If you choose to create a new codespace each time you work on a project, you should regularly push your changes so that any new commits are on {% data variables.product.prodname_dotcom %}. If you choose to use a long-running codespace for your project, you should pull from your repository's default branch each time you start working in your codespace so that your environment has the latest commits. This workflow is very similar to if you were working with a project on your local machine.
|
||||
プロジェクトで作業するたびに新しい codespace を作成する場合は、新しいコミットがすべて {% data variables.product.prodname_dotcom %} で行われるように、変更を定期的にプッシュする必要があります。 プロジェクトで実行時間の長い codespace を使用する場合は、環境で一番新しいコミットが行われるように、codespace で作業を開始するたびにリポジトリの既定のブランチからプルする必要があります。 このワークフローは、ローカル コンピューターでプロジェクトを操作していた場合とよく似ています。
|
||||
|
||||
{% data reusables.codespaces.prebuilds-crossreference %}
|
||||
|
||||
## Saving changes in a codespace
|
||||
## codespace で変更を保存する
|
||||
|
||||
When you connect to a codespace through the web, auto-save is enabled automatically for the web editor and configured to save changes after a delay. When you connect to a codespace through {% data variables.product.prodname_vscode %} running on your desktop, you must enable auto-save. For more information, see [Save/Auto Save](https://code.visualstudio.com/docs/editor/codebasics#_save-auto-save) in the {% data variables.product.prodname_vscode %} documentation.
|
||||
Web 経由で codespace に接続すると、Web エディターに対して自動保存が自動的に有効になり、遅延後に変更を保存するように構成されます。 デスクトップで実行されている {% data variables.product.prodname_vscode %} を介して codespace に接続する場合は、自動保存を有効にする必要があります。 詳細については、{% data variables.product.prodname_vscode %} のドキュメントの「[保存/自動保存](https://code.visualstudio.com/docs/editor/codebasics#_save-auto-save)」を参照してください。
|
||||
|
||||
Your work will be saved on a virtual machine in the cloud. You can close and stop a codespace and return to the saved work later. If you have unsaved changes, your editor will prompt you to save them before exiting. However, if your codespace is deleted, then your work will be deleted too. To persist your work, you will need to commit your changes and push them to your remote repository, or publish your work to a new remote repository if you created your codespace from a template. For more information, see "[Using source control in your codespace](/codespaces/developing-in-codespaces/using-source-control-in-your-codespace)."
|
||||
作業はクラウド内の仮想マシンに保存されます。 codespace を閉じて停止し、後で保存した作業に戻ることができます。 保存されていない変更がある場合、エディターは終了する前に保存するように求められます。 ただし、codespace が削除されると、作業も削除されます。 作業を永続化するには、変更をコミットしてリモート リポジトリにプッシュするか、テンプレートから codespace を作成した場合は、新しいリモート リポジトリに作業を発行する必要があります。 詳細については、「[Codespace でソース コントロールを使用する](/codespaces/developing-in-codespaces/using-source-control-in-your-codespace)」を参照してください
|
||||
|
||||
## Timeouts for {% data variables.product.prodname_github_codespaces %}
|
||||
## {% data variables.product.prodname_github_codespaces %} のタイムアウト
|
||||
|
||||
If you leave your codespace running without interaction, or if you exit your codespace without explicitly stopping it, the codespace will timeout after a period of inactivity and stop running. By default, a codespace will timeout after 30 minutes of inactivity, but you can customize the duration of the timeout period for new codespaces that you create. For more information about setting the default timeout period for your codespaces, see "[Setting your timeout period for {% data variables.product.prodname_github_codespaces %}](/codespaces/customizing-your-codespace/setting-your-timeout-period-for-github-codespaces)." For more information about stopping a codespace, see "[Stopping a codespace](#stopping-a-codespace)."
|
||||
対話なしで codespace を実行したままにした場合、または明示的に停止せずに codespace を終了した場合、codespace は一定期間非アクティブになった後にタイムアウトし、実行を停止します。 既定では、非アクティブ状態になって 30 分が経過した後に、codespace がタイムアウトしますが、作成する新しい codespace のタイムアウト期間をカスタマイズできます。 codespace の既定のタイムアウト期間の設定について詳しくは、「[{% data variables.product.prodname_github_codespaces %} のタイムアウト期間を設定する](/codespaces/customizing-your-codespace/setting-your-timeout-period-for-github-codespaces)」をご覧ください。 codespace の停止の詳細については、「[codespace を停止する](#stopping-a-codespace)」参照してください。
|
||||
|
||||
When a codespace times out, your data is preserved from the last time your changes were saved. For more information, see "[Saving changes in a codespace](#saving-changes-in-a-codespace)."
|
||||
codespace がタイムアウトすると、変更が最後に保存された時点からデータが保持されます。 詳細については、「[codespace の変更を保存する](#saving-changes-in-a-codespace)」を参照してください。
|
||||
|
||||
## Rebuilding a codespace
|
||||
## Codespace を再構築する
|
||||
|
||||
You can rebuild your codespace to implement changes to your dev container configuration. For most uses, you can create a new codespace as an alternative to rebuilding a codespace. By default, when you rebuild your codespace, {% data variables.product.prodname_github_codespaces %} will reuse images from your cache to speed up the rebuild process. Alternatively, you can perform a full rebuild, which clears your cache and rebuilds the container with fresh images.
|
||||
codespace をリビルドして、開発コンテナーの構成に変更を実装できます。 ほとんどの場合、codespace を再構築する代わりに、新しい codespace を作成できます。 既定では、codespace をリビルドすると、{% data variables.product.prodname_github_codespaces %} によりキャッシュからイメージが再利用され、再構築プロセスが高速化されます。 または、完全なリビルドを実行できます。これにより、キャッシュがクリアされ、新しいイメージを使用してコンテナーが再構築されます。
|
||||
|
||||
For more information, see "[Introduction to dev containers](/codespaces/setting-up-your-project-for-codespaces/introduction-to-dev-containers#applying-configuration-changes-to-a-codespace)" and "[Performing a full rebuild of a container](/codespaces/codespaces-reference/performing-a-full-rebuild-of-a-container)."
|
||||
詳細については、「[開発コンテナーの概要](/codespaces/setting-up-your-project-for-codespaces/introduction-to-dev-containers#applying-configuration-changes-to-a-codespace)」および「[コンテナーの完全なリビルドの実行](/codespaces/codespaces-reference/performing-a-full-rebuild-of-a-container)」を参照してください。
|
||||
|
||||
## Stopping a codespace
|
||||
## codespace を停止する
|
||||
|
||||
{% data reusables.codespaces.stopping-a-codespace %} For more information, see "[Stopping and starting a codespace](/codespaces/developing-in-codespaces/stopping-and-starting-a-codespace)."
|
||||
{% data reusables.codespaces.stopping-a-codespace %} 詳細については、「[codespace の停止と開始](/codespaces/developing-in-codespaces/stopping-and-starting-a-codespace)」を参照してください。
|
||||
|
||||
## Deleting a codespace
|
||||
## codespace を削除する
|
||||
|
||||
You can create a codespace for a particular task and then safely delete the codespace after you push your changes to a remote branch.
|
||||
特定のタスクの codespace を作成し、変更をリモート ブランチにプッシュした後で、その codespace を安全に削除できます。
|
||||
|
||||
If you try to delete a codespace with unpushed git commits, your editor will notify you that you have changes that have not been pushed to a remote branch. You can push any desired changes and then delete your codespace, or continue to delete your codespace and any uncommitted changes. You can also export your code to a new branch without creating a new codespace. For more information, see "[Exporting changes to a branch](/codespaces/troubleshooting/exporting-changes-to-a-branch)."
|
||||
プッシュしていない Git コミットと一緒に codespace を削除しようとすると、リモート ブランチにプッシュされていない変更があることがエディターから通知されます。 必要な変更をプッシュしてから codespace を削除することも、codespace とコミットしていない変更をそのまま削除することもできます。 新しい codespace を作成せずに、コードを新しいブランチにエクスポートすることもできます。 詳細については、「[ブランチへの変更のエクスポート](/codespaces/troubleshooting/exporting-changes-to-a-branch)」を参照してください。
|
||||
|
||||
Codespaces that have been stopped and remain inactive for a specified period of time will be deleted automatically. By default, inactive codespaces are deleted after 30 days, but you can customize your codespace retention period. For more information, see "[Configuring automatic deletion of your codespaces](/codespaces/customizing-your-codespace/configuring-automatic-deletion-of-your-codespaces)."
|
||||
指定した期間停止され、非アクティブなままになっている Codespace は自動的に削除されます。 既定では、非アクティブな codespace は 30 日後に削除されますが、codespace の保持期間はカスタマイズできます。 詳しい情報については、「[codespace の自動削除を構成する](/codespaces/customizing-your-codespace/configuring-automatic-deletion-of-your-codespaces)」をご覧ください。
|
||||
|
||||
If you create a codespace, it will continue to accrue storage charges until it is deleted, irrespective of whether it is active or stopped. For more information, see "[About billing for {% data variables.product.prodname_github_codespaces %}](/billing/managing-billing-for-github-codespaces/about-billing-for-github-codespaces#billing-for-storage-usage)." Deleting a codespace does not reduce the current billable amount for {% data variables.product.prodname_github_codespaces %}, which accumulates during each monthly billing cycle. For more information, see "[Viewing your {% data variables.product.prodname_github_codespaces %} usage](/billing/managing-billing-for-github-codespaces/viewing-your-github-codespaces-usage)."
|
||||
codespace を作成すると、アクティブか停止かに関係なく、削除されるまでストレージ料金が発生し続けます。 詳しくは、「[{% data variables.product.prodname_github_codespaces %} の支払いについて](/billing/managing-billing-for-github-codespaces/about-billing-for-github-codespaces#billing-for-storage-usage)」をご覧ください。 codespace を削除しても、{% data variables.product.prodname_github_codespaces %} の現在の課金対象金額は減少しません。これは、毎月の請求期間の間に累積されます。 詳細については、「[{% data variables.product.prodname_github_codespaces %} の使用状況を表示する](/billing/managing-billing-for-github-codespaces/viewing-your-github-codespaces-usage)」を参照してください。
|
||||
|
||||
For more information on deleting a codespace, see "[Deleting a codespace](/codespaces/developing-in-codespaces/deleting-a-codespace)."
|
||||
codespace の削除について詳しくは、「[codespace を削除する](/codespaces/developing-in-codespaces/deleting-a-codespace)」を参照してください。
|
||||
|
||||
## Losing the connection while using {% data variables.product.prodname_github_codespaces %}
|
||||
## {% data variables.product.prodname_github_codespaces %} の使用中に接続が失われる
|
||||
|
||||
{% data variables.product.prodname_github_codespaces %} is a cloud-based development environment and requires an internet connection. If you lose connection to the internet while working in a codespace, you will not be able to access your codespace. However, any uncommitted changes will be saved. When you have access to an internet connection again, you can connect to your codespace in the exact same state that it was left in. If you have an unstable internet connection, you should commit and push your changes often.
|
||||
{% data variables.product.prodname_github_codespaces %} はクラウドベースの開発環境であり、インターネット接続が必要です。 codespace で作業しているときにインターネットへの接続が失われると、その codespace にアクセスできなくなります。 ただし、コミットされていない変更はすべて保存されます。 インターネット接続に再度アクセスできるようになると、切断されたときとまったく同じ状態で codespace に接続できます。 インターネット接続が不安定な場合は、頻繁に変更をコミットしてプッシュする必要があります。
|
||||
|
||||
If you know that you will often be working offline, you can use your `devcontainer.json` file with the ["Dev Containers" extension](https://marketplace.visualstudio.com/items?itemName=ms-vscode-remote.remote-containers) for {% data variables.product.prodname_vscode_shortname %} to build and attach to a local development container for your repository. For more information, see [Developing inside a container](https://code.visualstudio.com/docs/remote/containers) in the {% data variables.product.prodname_vscode %} documentation.
|
||||
オフラインで作業することが多いことがわかっている場合は、{% data variables.product.prodname_vscode_shortname %} の ["Dev Containers" 拡張機能](https://marketplace.visualstudio.com/items?itemName=ms-vscode-remote.remote-containers)で `devcontainer.json` ファイルを使用して、リポジトリのローカル開発コンテナーをビルドしてアタッチできます。 詳細については、{% data variables.product.prodname_vscode %} ドキュメントの「[コンテナー内で開発する](https://code.visualstudio.com/docs/remote/containers)」を参照してください。
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
---
|
||||
title: Adding features to a devcontainer.json file
|
||||
title: devcontainer.json ファイルへの機能の追加
|
||||
shortTitle: Adding features
|
||||
intro: With features, you can quickly add tools, runtimes, or libraries to your dev container configuration.
|
||||
intro: 機能を使用すると、dev container 構成にツール、ランタイム、またはライブラリをすばやく追加できます。
|
||||
allowTitleToDifferFromFilename: true
|
||||
versions:
|
||||
fpt: '*'
|
||||
@@ -10,34 +10,39 @@ type: how_to
|
||||
topics:
|
||||
- Codespaces
|
||||
- Set up
|
||||
ms.openlocfilehash: 7e72739e93e83995d86baf19d62f7bf2e1c5b6bc
|
||||
ms.sourcegitcommit: 3ff64a8c8cf70e868c10105aa6bbf6cd4f78e4d3
|
||||
ms.translationtype: HT
|
||||
ms.contentlocale: ja-JP
|
||||
ms.lasthandoff: 11/22/2022
|
||||
ms.locfileid: '148180828'
|
||||
---
|
||||
{% data reusables.codespaces.about-features %} この記事のタブを使用して、これらの機能を追加する各方法の手順を表示します。
|
||||
|
||||
{% data reusables.codespaces.about-features %} Use the tabs in this article to display instructions for each of these ways of adding features.
|
||||
|
||||
## Adding features to a `devcontainer.json` file
|
||||
## `devcontainer.json` ファイルへの機能の追加
|
||||
|
||||
{% webui %}
|
||||
|
||||
1. Navigate to your repository on {% data variables.product.prodname_dotcom_the_website %}, find your `devcontainer.json` file, and click {% octicon "pencil" aria-label="The edit icon" %} to edit the file.
|
||||
1. {% data variables.product.prodname_dotcom_the_website %} のリポジトリに移動し、`devcontainer.json` ファイルを見つけて、{% octicon "pencil" aria-label="The edit icon" %} をクリックしてファイルを編集します。
|
||||
|
||||
If you don't already have a `devcontainer.json` file, you can create one now. For more information, see "[Introduction to dev containers](/codespaces/setting-up-your-project-for-codespaces/introduction-to-dev-containers#creating-a-custom-dev-container-configuration)."
|
||||
1. To the right of the file editor, in the **Marketplace** tab, browse or search for the feature you want to add, then click the name of the feature.
|
||||
`devcontainer.json` ファイルがない場合は、ここで作成します。 詳細については、[開発コンテナーの概要](/codespaces/setting-up-your-project-for-codespaces/introduction-to-dev-containers#creating-a-custom-dev-container-configuration)に関するページをご覧ください。
|
||||
1. ファイル エディターの右側にある **[Marketplace]** タブで、追加する機能を参照または検索し、その機能の名前をクリックします。
|
||||
|
||||

|
||||
3. Under "Installation," click the code snippet to copy it to your clipboard, then paste the snippet into the `features` object in your `devcontainer.json` file.
|
||||
![[Marketplace] タブの Terraform 機能のスクリーンショット。検索バーに "Terra" が表示されています](/assets/images/help/codespaces/feature-marketplace.png)
|
||||
3. [インストール] で、コード スニペットをクリックしてクリップボードにコピーし、`devcontainer.json` ファイル内の `features` オブジェクトにスニペットを貼り付けます。
|
||||
|
||||

|
||||
![[Marketplace] タブの [インストール] セクションのコード ブロックのスクリーンショット](/assets/images/help/codespaces/feature-installation-code.png)
|
||||
|
||||
```JSON
|
||||
"features": {
|
||||
...
|
||||
"ghcr.io/devcontainers/features/terraform:1": {},
|
||||
...
|
||||
}
|
||||
}
|
||||
```
|
||||
1. By default, the latest version of the feature will be used. To choose a different version, or configure other options for the feature, expand the properties listed under "Options" to view the available values, then add the options by manually editing the object in your `devcontainer.json` file.
|
||||
1. 既定では、最新バージョンの機能が使用されます。 別のバージョンを選んだり、機能の他のオプションを構成したりするには、[オプション] の下に表示されているプロパティを展開して使用可能な値を表示し、`devcontainer.json` ファイル内のオブジェクトを手動で編集してオプションを追加します。
|
||||
|
||||

|
||||
![[Marketplace] タブの [オプション] セクションのスクリーンショット。[バージョン] と [tflint] が展開されています](/assets/images/help/codespaces/feature-options.png)
|
||||
|
||||
```JSON
|
||||
"features": {
|
||||
@@ -47,11 +52,11 @@ topics:
|
||||
"tflint": "latest"
|
||||
},
|
||||
...
|
||||
}
|
||||
}
|
||||
```
|
||||
1. Commit the changes to your `devcontainer.json` file.
|
||||
1. `devcontainer.json` ファイルへの変更をコミットします。
|
||||
|
||||
The configuration changes will take effect in new codespaces created from the repository. To make the changes take effect in existing codespaces, you will need to pull the updates to the `devcontainer.json` file into your codespace, then rebuild the container for the codespace. For more information, see "[Introduction to dev containers](/codespaces/setting-up-your-project-for-codespaces/introduction-to-dev-containers#applying-configuration-changes-to-a-codespace)."
|
||||
構成の変更は、リポジトリから作成された新しい codespace で有効になります。 既存の codespace で変更を有効にするには、`devcontainer.json` ファイルの更新を codespace にプルしてから、codespace のコンテナーをリビルドする必要があります。 詳細については、[開発コンテナーの概要](/codespaces/setting-up-your-project-for-codespaces/introduction-to-dev-containers#applying-configuration-changes-to-a-codespace)に関するページをご覧ください。
|
||||
|
||||
{% endwebui %}
|
||||
|
||||
@@ -59,21 +64,21 @@ The configuration changes will take effect in new codespaces created from the re
|
||||
|
||||
{% note %}
|
||||
|
||||
To add features in {% data variables.product.prodname_vscode_shortname %} while you are working locally, and not connected to a codespace, you must have the "Dev Containers" extension installed and enabled. For more information about this extension, see the [{% data variables.product.prodname_vs_marketplace_shortname %}](https://marketplace.visualstudio.com/items?itemName=ms-vscode-remote.remote-containers).
|
||||
ローカルで作業していて、codespace に接続されていないときに {% data variables.product.prodname_vscode_shortname %} に機能を追加するには、"Dev Containers" 拡張機能がインストールされ、有効になっている必要があります。 この拡張機能の詳細については、「[{% data variables.product.prodname_vs_marketplace_shortname %}](https://marketplace.visualstudio.com/items?itemName=ms-vscode-remote.remote-containers)」を参照してください。
|
||||
|
||||
{% endnote %}
|
||||
|
||||
{% data reusables.codespaces.command-pallette %}
|
||||
2. Start typing "Configure" and select **Codespaces: Configure Dev Container Features**.
|
||||
2. 「構成」と入力し、 **[Codespaces: Dev Container 機能の構成]** を選びます。
|
||||
|
||||

|
||||
![コマンド パレットの [Devcontainer 機能の構成] コマンド](/assets/images/help/codespaces/codespaces-configure-features.png)
|
||||
|
||||
3. Update your feature selections, then click **OK**.
|
||||
3. 機能の選択を更新し、 **[OK]** をクリックします。
|
||||
|
||||

|
||||

|
||||
|
||||
4. If you're working in a codespace, a prompt will appear in the lower-right corner. To rebuild the container and apply the changes to the codespace you're working in, click **Rebuild Now**.
|
||||
4. codespace で作業している場合は、右下隅にプロンプトが表示されます。 コンテナーをリビルドし、作業中の codespace に変更を適用するには、 **[今すぐリビルド]** をクリックします。
|
||||
|
||||

|
||||
![コマンド パレットの [Codespaces: コンテナーのリビルド]](/assets/images/help/codespaces/rebuild-prompt.png)
|
||||
|
||||
{% endvscode %}
|
||||
{% endvscode %}
|
||||
|
||||
@@ -8,12 +8,12 @@ type: reference
|
||||
topics:
|
||||
- Codespaces
|
||||
shortTitle: Creation and deletion
|
||||
ms.openlocfilehash: 09c3a73ec5e41f0170f1d3cd66df139bb2a497e5
|
||||
ms.sourcegitcommit: e8c012864f13f9146e53fcb0699e2928c949ffa8
|
||||
ms.openlocfilehash: 4a12c848fa7400ec336f5ad086eb4d2858a431f0
|
||||
ms.sourcegitcommit: 3ff64a8c8cf70e868c10105aa6bbf6cd4f78e4d3
|
||||
ms.translationtype: HT
|
||||
ms.contentlocale: ja-JP
|
||||
ms.lasthandoff: 11/09/2022
|
||||
ms.locfileid: '148158694'
|
||||
ms.lasthandoff: 11/22/2022
|
||||
ms.locfileid: '148180820'
|
||||
---
|
||||
## codespace を作成する
|
||||
|
||||
@@ -98,4 +98,4 @@ This codespace is currently running in recovery mode due to a container error.
|
||||
```
|
||||
作成ログを確認し、必要に応じて開発コンテナーの構成を更新します。 詳しい情報については、「[{% data variables.product.prodname_github_codespaces %} のログ](/codespaces/troubleshooting/github-codespaces-logs)」を参照してください。
|
||||
|
||||
その後、codespace を再起動するか、コンテナーをリビルドしてみてください。 詳細については、[開発コンテナーの概要](/codespaces/setting-up-your-project-for-codespaces/introduction-to-dev-containers#applying-configuration-changes-to-a-codespace)に関するページをご覧ください。
|
||||
その後、codespace を再起動するか、コンテナーをリビルドしてみてください。 コンテナーの再構築について詳しくは、「[開発コンテナーの概要](/codespaces/setting-up-your-project-for-codespaces/introduction-to-dev-containers#applying-configuration-changes-to-a-codespace)」を参照してください。
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
---
|
||||
title: 追跡と追跡対象フィールドについて
|
||||
shortTitle: About Tracks and Tracked-by fields
|
||||
shortTitle: About Tracks and Tracked by fields
|
||||
intro: プロジェクト内の issue のサブタスクを表示できます。
|
||||
miniTocMaxHeadingLevel: 3
|
||||
versions:
|
||||
@@ -8,12 +8,12 @@ versions:
|
||||
type: tutorial
|
||||
topics:
|
||||
- Projects
|
||||
ms.openlocfilehash: 74cd26d20882a00ac8c7ac1d109cc6810286cec6
|
||||
ms.sourcegitcommit: e8c012864f13f9146e53fcb0699e2928c949ffa8
|
||||
ms.openlocfilehash: 44c1fcf3ed4495b57a0f2dbe3e92076f0e815502
|
||||
ms.sourcegitcommit: f5ec7f52d2945ba8b7c14f8f604e4784a8feda19
|
||||
ms.translationtype: HT
|
||||
ms.contentlocale: ja-JP
|
||||
ms.lasthandoff: 11/09/2022
|
||||
ms.locfileid: '148160039'
|
||||
ms.lasthandoff: 11/22/2022
|
||||
ms.locfileid: '148180746'
|
||||
---
|
||||
{% data reusables.projects.tasklists-release-stage %}
|
||||
|
||||
|
||||
@@ -9,11 +9,11 @@ versions:
|
||||
fpt: '*'
|
||||
ghec: '*'
|
||||
ghes: '>=3.7'
|
||||
ms.openlocfilehash: 6857081d29bd89e59c4f6c7ff458fd0afc2cf6ef
|
||||
ms.sourcegitcommit: 47bd0e48c7dba1dde49baff60bc1eddc91ab10c5
|
||||
ms.openlocfilehash: 9e81241d7eb80fec3631301cea4dd4c421cad132
|
||||
ms.sourcegitcommit: 80edcdbff4726de4d196584fcb603bca2efffd1f
|
||||
ms.translationtype: HT
|
||||
ms.contentlocale: ja-JP
|
||||
ms.lasthandoff: 09/05/2022
|
||||
ms.locfileid: '147080257'
|
||||
ms.lasthandoff: 11/24/2022
|
||||
ms.locfileid: '148181801'
|
||||
---
|
||||
|
||||
|
||||
@@ -1,11 +1,3 @@
|
||||
---
|
||||
ms.openlocfilehash: bc31880a8f42a48324c81b13db40b9b1d09b1286
|
||||
ms.sourcegitcommit: f638d569cd4f0dd6d0fb967818267992c0499110
|
||||
ms.translationtype: HT
|
||||
ms.contentlocale: ja-JP
|
||||
ms.lasthandoff: 10/25/2022
|
||||
ms.locfileid: "148109236"
|
||||
---
|
||||
Java、{% ifversion codeql-go-autobuild %} Go、{% endif %}C、C++、C# などのコンパイル言語の場合、{% data variables.product.prodname_codeql %} はワークフローの実行中にビルドされたすべてのコードを分析します。 分析するコードの量を制限するには、`run` ブロックで独自のビルド ステップを指定して、分析するコードのみをビルドします。 独自のビルド ステップの指定と、`pull_request` イベントや `push` イベントでの `paths` フィルターまたは `paths-ignore` フィルターの使用を組み合わせることで、特定のコードが変更されたときにのみワークフローが実行されるようにすることができます。 詳細については、[{% data variables.product.prodname_actions %} のワークフロー構文](/actions/reference/workflow-syntax-for-github-actions#onpushpull_requestpull_request_targetpathspaths-ignore)に関するページを参照してください。
|
||||
For compiled languages like Java,{% ifversion codeql-kotlin-beta %} Kotlin, {% endif %}{% ifversion codeql-go-autobuild %} Go,{% endif %} C, C++, and C#, {% data variables.product.prodname_codeql %} analyzes all of the code which was built during the workflow run. To limit the amount of code being analyzed, build ony the code which you wish to analyze by specifying your own build steps in a `run` block. You can combine specifying your own build steps with using the `paths` or `paths-ignore` filters on the `pull_request` and `push` events to ensure that your workflow only runs when specific code is changed. For more information, see "[Workflow syntax for {% data variables.product.prodname_actions %}](/actions/reference/workflow-syntax-for-github-actions#onpushpull_requestpull_request_targetpathspaths-ignore)."
|
||||
|
||||
ソース コードをコンパイルせずに {% data variables.product.prodname_codeql %} で分析される{% ifversion codeql-go-autobuild %}{% else %} Go、{% endif %}JavaScript、Python、TypeScript などの言語の場合、追加の構成オプションを指定して分析するコードの量を制限できます。 詳細については、「[Specifying directories to scan](/code-security/secure-coding/configuring-code-scanning#specifying-directories-to-scan)」(スキャンするディレクトリの指定) を参照してください。
|
||||
For languages like{% ifversion codeql-go-autobuild %}{% else %} Go,{% endif %} JavaScript, Python, and TypeScript, that {% data variables.product.prodname_codeql %} analyzes without compiling the source code, you can specify additional configuration options to limit the amount of code to analyze. For more information, see "[Specifying directories to scan](/code-security/secure-coding/configuring-code-scanning#specifying-directories-to-scan)."
|
||||
@@ -1,2 +1,2 @@
|
||||
If `autobuild` fails, or you want to analyze a different set of source files from those built by the `autobuild` process, you'll need to remove the `autobuild` step from the workflow, and manually add build steps. For C/C++, C#, Go, and Java projects, {% data variables.product.prodname_codeql %} will analyze whatever source code is built by your specified build steps.
|
||||
If `autobuild` fails, or you want to analyze a different set of source files from those built by the `autobuild` process, you'll need to remove the `autobuild` step from the workflow, and manually add build steps. For C/C++, C#, Go,{% ifversion codeql-kotlin-beta %} Kotlin, {% endif %} and Java projects, {% data variables.product.prodname_codeql %} will analyze whatever source code is built by your specified build steps.
|
||||
|
||||
|
||||
@@ -1,9 +1 @@
|
||||
---
|
||||
ms.openlocfilehash: 982b04961e4f780a5f1e284dad5620157f68569b
|
||||
ms.sourcegitcommit: b617c4a7a1e4bf2de3987a86e0eb217d7031490f
|
||||
ms.translationtype: HT
|
||||
ms.contentlocale: ja-JP
|
||||
ms.lasthandoff: 11/11/2022
|
||||
ms.locfileid: "148161063"
|
||||
---
|
||||
サポートされているコンパイル言語の場合、{% data variables.code-scanning.codeql_workflow %}の `autobuild` アクションを使ってコードをビルドできます。 これにより、C/C++、C#、{% ifversion codeql-go-autobuild %}Go、{% endif %}および Java の明示的なビルド コマンドを指定する必要がなくなります。
|
||||
For the supported compiled languages, you can use the `autobuild` action in the {% data variables.code-scanning.codeql_workflow %} to build your code. This avoids you having to specify explicit build commands for C/C++, C#,{% ifversion codeql-go-autobuild %} Go,{% endif %}{% ifversion codeql-kotlin-beta %} Kotlin, {% endif %} and Java.
|
||||
@@ -12,8 +12,15 @@
|
||||
|
||||
**Note**: {% data variables.product.prodname_codeql %} analysis for Ruby is currently in beta. During the beta, analysis of Ruby will be less comprehensive than {% data variables.product.prodname_codeql %} analysis of other languages.
|
||||
|
||||
{% endnote %}
|
||||
{% endif %}{% endif %}{% ifversion codeql-kotlin-beta %}
|
||||
- Kotlin
|
||||
|
||||
{% note %}
|
||||
|
||||
**Note**: {% data variables.product.prodname_codeql %} analysis for Kotlin is currently in beta. During the beta, analysis of Kotlin will be less comprehensive than {% data variables.product.prodname_codeql %} analysis of other languages.
|
||||
|
||||
{% endnote %}
|
||||
{% endif %}
|
||||
|
||||
For more information, see the documentation on the {% data variables.product.prodname_codeql %} website: "[Supported languages and frameworks](https://codeql.github.com/docs/codeql-overview/supported-languages-and-frameworks/)."
|
||||
{% endif %}
|
||||
|
||||
@@ -0,0 +1,9 @@
|
||||
---
|
||||
ms.openlocfilehash: 17226308ffb5d7144dfe62d79f1f6cd3a1f63819
|
||||
ms.sourcegitcommit: 3ff64a8c8cf70e868c10105aa6bbf6cd4f78e4d3
|
||||
ms.translationtype: HT
|
||||
ms.contentlocale: ja-JP
|
||||
ms.lasthandoff: 11/22/2022
|
||||
ms.locfileid: "148180854"
|
||||
---
|
||||
1. <kbd>Shift</kbd>+<kbd>Command</kbd>+<kbd>P</kbd> (Mac) または <kbd>Ctrl</kbd>+<kbd>Shift</kbd>+<kbd>P</kbd> (Windows/Linux) を使用して、{% data variables.product.prodname_vscode_command_palette_shortname %} にアクセスします。
|
||||
@@ -0,0 +1,13 @@
|
||||
---
|
||||
ms.openlocfilehash: 0083a6bd4cd85d02754b449ecccdfa22f52cc358
|
||||
ms.sourcegitcommit: 3ff64a8c8cf70e868c10105aa6bbf6cd4f78e4d3
|
||||
ms.translationtype: HT
|
||||
ms.contentlocale: ja-JP
|
||||
ms.lasthandoff: 11/22/2022
|
||||
ms.locfileid: "148180861"
|
||||
---
|
||||
{% tip %}
|
||||
|
||||
**ヒント:** キャッシュをクリアし、新しいイメージを使用してコンテナーを再構築するために、完全なリビルドを実行することが必要になる場合があります。 詳細については、「[コンテナーの完全なリビルドの実行](/codespaces/codespaces-reference/performing-a-full-rebuild-of-a-container)」を参照してください。
|
||||
|
||||
{% endtip %}
|
||||
@@ -1,5 +1,13 @@
|
||||
1. Access the {% data variables.product.prodname_vscode_command_palette_shortname %} (<kbd>Shift</kbd>+<kbd>Command</kbd>+<kbd>P</kbd> (Mac) / <kbd>Ctrl</kbd>+<kbd>Shift</kbd>+<kbd>P</kbd> (Windows/Linux)), then start typing "rebuild". Select **Codespaces: Rebuild Container**.
|
||||
---
|
||||
ms.openlocfilehash: 9a1e503111789036b99e1f31b9078bb28e4d57f8
|
||||
ms.sourcegitcommit: 3ff64a8c8cf70e868c10105aa6bbf6cd4f78e4d3
|
||||
ms.translationtype: HT
|
||||
ms.contentlocale: ja-JP
|
||||
ms.lasthandoff: 11/22/2022
|
||||
ms.locfileid: "148180846"
|
||||
---
|
||||
1. {% data variables.product.prodname_vscode_command_palette_shortname %} にアクセスし (<kbd>Shift</kbd> + <kbd>Command</kbd> + <kbd>P</kbd> (Mac) / <kbd>Ctrl</kbd> + <kbd>Shift</kbd> + <kbd>P</kbd> (Windows/Linux))、「リビルド」と入力します。 **[Codespaces: コンテナーのリビルド]** を選択します。
|
||||
|
||||

|
||||

|
||||
|
||||
{% indented_data_reference reusables.codespaces.full-rebuild-tip %}
|
||||
|
||||
@@ -1,10 +1,18 @@
|
||||
If your support request is outside of the scope of what our team can help you with, we may recommend next steps to resolve your issue outside of {% data variables.contact.github_support %}. Your support request is possibly out of {% data variables.contact.github_support %}'s scope if the request is primarily about:
|
||||
- Third party integrations, such as Jira{% ifversion ghes %}
|
||||
- Hardware setup{% endif %}
|
||||
- CI/CD, such as Jenkins
|
||||
- Writing scripts
|
||||
- Configuration of external authentication systems, such as SAML identity providers
|
||||
- Open source projects
|
||||
- Writing or debugging new queries for {% data variables.product.prodname_codeql %}
|
||||
---
|
||||
ms.openlocfilehash: e36f9c75564f0cb539740d9d8235feae76309c93
|
||||
ms.sourcegitcommit: bddda0c0814770ee64e378692891931c618247ec
|
||||
ms.translationtype: HT
|
||||
ms.contentlocale: ja-JP
|
||||
ms.lasthandoff: 11/24/2022
|
||||
ms.locfileid: "148181781"
|
||||
---
|
||||
サポートリクエストが弊社のチームが支援できるスコープ外だった場合、{% data variables.contact.github_support %}外で問題を解決するための次のステップをおすすめすることがあります。 サポートリクエストが主に以下の内容に関するものであれば、おそらく{% data variables.contact.github_support %}のスコープ外になります。
|
||||
- Jira{% ifversion ghes %} などのサードパーティの統合
|
||||
- ハードウェアのセットアップ{% endif %}
|
||||
- CI/CD (Jenkins など)
|
||||
- スクリプトの記述
|
||||
- SAML ID プロバイダーなどの外部認証システムの構成
|
||||
- オープン ソース プロジェクト
|
||||
- {% data variables.product.prodname_codeql %}の新しいクエリの作成あるいはデバッグ
|
||||
|
||||
If you're uncertain if the issue is out of scope, open a ticket and we're happy to help you determine the best way to proceed.
|
||||
問題がスコープ外か判断できない場合は、チケットをオープンしてもらえれば先へ進むための最善の方法を定めるための支援をいたします。
|
||||
|
||||
@@ -705,6 +705,7 @@ translations/ja-JP/content/code-security/adopting-github-advanced-security-at-sc
|
||||
translations/ja-JP/content/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/about-code-scanning-alerts.md,rendering error
|
||||
translations/ja-JP/content/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/about-code-scanning-with-codeql.md,rendering error
|
||||
translations/ja-JP/content/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-code-scanning.md,rendering error
|
||||
translations/ja-JP/content/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-the-codeql-workflow-for-compiled-languages.md,broken liquid tags
|
||||
translations/ja-JP/content/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/managing-code-scanning-alerts-for-your-repository.md,rendering error
|
||||
translations/ja-JP/content/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/setting-up-code-scanning-for-a-repository.md,rendering error
|
||||
translations/ja-JP/content/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/tracking-code-scanning-alerts-in-issues-using-task-lists.md,rendering error
|
||||
@@ -755,10 +756,8 @@ translations/ja-JP/content/code-security/supply-chain-security/understanding-you
|
||||
translations/ja-JP/content/code-security/supply-chain-security/understanding-your-software-supply-chain/about-the-dependency-graph.md,rendering error
|
||||
translations/ja-JP/content/code-security/supply-chain-security/understanding-your-software-supply-chain/configuring-the-dependency-graph.md,broken liquid tags
|
||||
translations/ja-JP/content/codespaces/codespaces-reference/security-in-github-codespaces.md,broken liquid tags
|
||||
translations/ja-JP/content/codespaces/codespaces-reference/using-the-vs-code-command-palette-in-codespaces.md,broken liquid tags
|
||||
translations/ja-JP/content/codespaces/developing-in-codespaces/creating-a-codespace-for-a-repository.md,rendering error
|
||||
translations/ja-JP/content/codespaces/developing-in-codespaces/creating-a-codespace-from-a-template.md,rendering error
|
||||
translations/ja-JP/content/codespaces/developing-in-codespaces/the-codespace-lifecycle.md,broken liquid tags
|
||||
translations/ja-JP/content/codespaces/managing-codespaces-for-your-organization/restricting-access-to-machine-types.md,rendering error
|
||||
translations/ja-JP/content/codespaces/managing-codespaces-for-your-organization/restricting-the-base-image-for-codespaces.md,rendering error
|
||||
translations/ja-JP/content/codespaces/managing-codespaces-for-your-organization/restricting-the-idle-timeout-period.md,rendering error
|
||||
@@ -767,7 +766,6 @@ translations/ja-JP/content/codespaces/managing-codespaces-for-your-organization/
|
||||
translations/ja-JP/content/codespaces/prebuilding-your-codespaces/configuring-prebuilds.md,rendering error
|
||||
translations/ja-JP/content/codespaces/prebuilding-your-codespaces/testing-dev-container-changes.md,broken liquid tags
|
||||
translations/ja-JP/content/codespaces/setting-up-your-project-for-codespaces/adding-a-codespaces-badge.md,rendering error
|
||||
translations/ja-JP/content/codespaces/setting-up-your-project-for-codespaces/adding-features-to-a-devcontainer-file.md,broken liquid tags
|
||||
translations/ja-JP/content/codespaces/the-githubdev-web-based-editor.md,rendering error
|
||||
translations/ja-JP/content/codespaces/troubleshooting/troubleshooting-prebuilds.md,rendering error
|
||||
translations/ja-JP/content/communities/documenting-your-project-with-wikis/about-wikis.md,rendering error
|
||||
@@ -1076,7 +1074,9 @@ translations/ja-JP/data/reusables/audit_log/audit_log_sidebar_for_org_admins.md,
|
||||
translations/ja-JP/data/reusables/audit_log/audit_log_sidebar_for_site_admins.md,rendering error
|
||||
translations/ja-JP/data/reusables/branches/new-repo-default-branch.md,rendering error
|
||||
translations/ja-JP/data/reusables/classroom/about-autograding.md,rendering error
|
||||
translations/ja-JP/data/reusables/code-scanning/alerts-found-in-generated-code.md,broken liquid tags
|
||||
translations/ja-JP/data/reusables/code-scanning/autobuild-add-build-steps.md,broken liquid tags
|
||||
translations/ja-JP/data/reusables/code-scanning/autobuild-compiled-languages.md,broken liquid tags
|
||||
translations/ja-JP/data/reusables/code-scanning/codeql-context-for-actions-and-third-party-tools.md,rendering error
|
||||
translations/ja-JP/data/reusables/code-scanning/codeql-languages-bullets.md,rendering error
|
||||
translations/ja-JP/data/reusables/code-scanning/codeql-languages-keywords.md,rendering error
|
||||
@@ -1088,7 +1088,6 @@ translations/ja-JP/data/reusables/codespaces/codespaces-policy-targets.md,render
|
||||
translations/ja-JP/data/reusables/codespaces/customize-vcpus-and-ram.md,broken liquid tags
|
||||
translations/ja-JP/data/reusables/codespaces/next-steps-adding-devcontainer.md,broken liquid tags
|
||||
translations/ja-JP/data/reusables/codespaces/prebuilds-crossreference.md,broken liquid tags
|
||||
translations/ja-JP/data/reusables/codespaces/rebuild-command.md,broken liquid tags
|
||||
translations/ja-JP/data/reusables/codespaces/secrets-on-start.md,broken liquid tags
|
||||
translations/ja-JP/data/reusables/command_line/provide-an-access-token.md,broken liquid tags
|
||||
translations/ja-JP/data/reusables/copilot/install-copilot-in-neovim.md,broken liquid tags
|
||||
@@ -1224,7 +1223,6 @@ translations/ja-JP/data/reusables/ssh/about-ssh.md,broken liquid tags
|
||||
translations/ja-JP/data/reusables/ssh/key-type-support.md,rendering error
|
||||
translations/ja-JP/data/reusables/ssh/rsa-sha-1-connection-failure-criteria.md,rendering error
|
||||
translations/ja-JP/data/reusables/support/help_resources.md,rendering error
|
||||
translations/ja-JP/data/reusables/support/scope-of-support.md,broken liquid tags
|
||||
translations/ja-JP/data/reusables/support/submit-a-ticket.md,broken liquid tags
|
||||
translations/ja-JP/data/reusables/user-settings/access_applications.md,rendering error
|
||||
translations/ja-JP/data/reusables/user-settings/account_settings.md,rendering error
|
||||
|
||||
|
Reference in New Issue
Block a user