Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: improve setup of devconatiner for contributions (#6954)
# Description This PR contains an enhancement of the devcontainer definition as described in #6923 based on the setup list from [here](https://github.com/radius-project/radius/tree/main/docs/contributing/contributing-code/contributing-code-prerequisites). All tools and the corresponding extensions are integrated in the devcontainer. The following commands have been tested and get executed without errors: - `make build && make lint` - `make generate` ## Type of change <!-- Please select **one** of the following options that describes your change and delete the others. Clearly identifying the type of change you are making will help us review your PR faster, and is used in authoring release notes. If you are making a bug fix or functionality change to Radius and do not have an associated issue link please create one now. --> - This pull request adds or changes features of Radius and has an approved issue (issue link required). <!-- Please update the following to link the associated issue. This is required for some kinds of changes (see above). --> Connected to: #6923 - issue si not yet resolved as update of documentation is missing ## Auto-generated summary <!-- GitHub Copilot for docs will auto-generate a summary of the PR --> <!-- copilot:all --> ### <samp>🤖[[deprecated]](https://githubnext.com/copilot-for-prs-sunset) Generated by Copilot at 05c1e92</samp> ### Summary 🛠️🌐📚 <!-- 1. 🛠️ - This emoji can be used to indicate that the pull request improves the devcontainer configuration by adding more features and tools that can help with development and debugging. 2. 🌐 - This emoji can be used to indicate that the pull request supports various programming languages and frameworks that can be used with dapr, such as Python, Node.js, Java, .NET, and Go. 3. 📚 - This emoji can be used to indicate that the pull request adds a comment with a documentation link that can help contributors learn more about devcontainers and how to use them with dapr. --> Enhance devcontainer configuration for contributors. Add features, extensions, and commands for `dapr` and other languages and tools. Specify memory requirement in `.devcontainer/contributor/devcontainer.json`. > _To make devcontainer more complete_ > _They added features, tools, and cheats_ > _With extensions galore_ > _And commands to explore_ > _And a comment to help and a `hostRequirements` repeat_ ### Walkthrough * Add comment with link to contributing code prerequisites and expand features and extensions for various programming languages and tools in `.devcontainer/contributor/devcontainer.json` ([link](https://github.com/radius-project/radius/pull/6954/files?diff=unified&w=0#diff-935f2b2e55e0ab1017fd1c544b9191e499e90e473ece926f8e65e95ddfbb1b1eL3-R15), [link](https://github.com/radius-project/radius/pull/6954/files?diff=unified&w=0#diff-935f2b2e55e0ab1017fd1c544b9191e499e90e473ece926f8e65e95ddfbb1b1eL14-R28), [link](https://github.com/radius-project/radius/pull/6954/files?diff=unified&w=0#diff-935f2b2e55e0ab1017fd1c544b9191e499e90e473ece926f8e65e95ddfbb1b1eL21-R48)) * Add postCreateCommand to run code generation commands in `.devcontainer/contributor/devcontainer.json` ([link](https://github.com/radius-project/radius/pull/6954/files?diff=unified&w=0#diff-935f2b2e55e0ab1017fd1c544b9191e499e90e473ece926f8e65e95ddfbb1b1eL21-R48)) * Add hostRequirements to specify minimum memory for devcontainer in `.devcontainer/contributor/devcontainer.json` ([link](https://github.com/radius-project/radius/pull/6954/files?diff=unified&w=0#diff-935f2b2e55e0ab1017fd1c544b9191e499e90e473ece926f8e65e95ddfbb1b1eL21-R48)) Signed-off-by: Christian Lechner <[email protected]>
- Loading branch information