Add C/C++ dev tool features and collection-c-cpp meta-feature#226
Add C/C++ dev tool features and collection-c-cpp meta-feature#226
Conversation
Agent-Logs-Url: https://github.com/devcontainer-community/devcontainer-features/sessions/0b32743a-0768-4bb6-a451-fa14320740b8 Co-authored-by: sebst <592313+sebst@users.noreply.github.com>
sebst
left a comment
There was a problem hiding this comment.
should also add features:
- distcc.org (https://github.com/distcc/distcc/releases)
- vcpkg.io (https://github.com/microsoft/vcpkg/releases)
- apt-build-essential (installs build-essential apt package)
src/ccache/devcontainer-feature.json
Outdated
| @@ -0,0 +1,7 @@ | |||
| { | |||
| "name": "ccache", | |||
src/cmake/devcontainer-feature.json
Outdated
| @@ -0,0 +1,7 @@ | |||
| { | |||
| "name": "cmake", | |||
| @@ -0,0 +1,7 @@ | |||
| { | |||
| "name": "cppcheck", | |||
There was a problem hiding this comment.
should be named danmar/cppcheck (id danmar-cppcheck)
There was a problem hiding this comment.
Renamed to danmar-cppcheck (name: danmar/cppcheck) in 25bd4e7.
src/gdb/devcontainer-feature.json
Outdated
| @@ -0,0 +1,7 @@ | |||
| { | |||
| "name": "gdb", | |||
There was a problem hiding this comment.
should be named sourceware.org/gdb (id sourceware.org-gdb)
There was a problem hiding this comment.
Renamed to sourceware.org-gdb (name: sourceware.org/gdb) in 25bd4e7.
src/ninja/devcontainer-feature.json
Outdated
| @@ -0,0 +1,7 @@ | |||
| { | |||
| "name": "ninja", | |||
There was a problem hiding this comment.
should be called ninja-build.org.
| @@ -0,0 +1,7 @@ | |||
| { | |||
| "name": "valgrind", | |||
Agent-Logs-Url: https://github.com/devcontainer-community/devcontainer-features/sessions/5a572f43-e96c-4439-9eb6-9cb09c603ca5 Co-authored-by: sebst <592313+sebst@users.noreply.github.com>
Added in 25bd4e7: |
| @@ -0,0 +1,20 @@ | |||
| { | |||
| "name": "c-cpp-dev-collection", | |||
Agent-Logs-Url: https://github.com/devcontainer-community/devcontainer-features/sessions/6d4c3756-5ee2-486e-90a8-2dbe79517c18 Co-authored-by: sebst <592313+sebst@users.noreply.github.com>
sebst
left a comment
There was a problem hiding this comment.
tests for apt-build-essential fail
…ion check Agent-Logs-Url: https://github.com/devcontainer-community/devcontainer-features/sessions/3cc00b11-4009-4e23-8007-8d89519324a0 Co-authored-by: sebst <592313+sebst@users.noreply.github.com>
Fixed in a27e011. |
Adds 11 individual C/C++ developer tool features plus a
collection-c-cppmeta-feature that pulls them all in viadependsOn.Individual features
cmake.orgcmakeninja-build.orgninjaninja-build)sourceware.org-gdbgdbvalgrind.orgvalgrindccache.devccachedanmar-cppcheckcppcheckclang-formatclang-formatclang-tidyclang-tidydistcc.orgdistccvcpkg.iovcpkgapt-build-essentialgcc/g++/makeMeta-feature
collection-c-cppdeclares all 11 above viadependsOnindevcontainer-feature.json; itsinstall.shis intentionally a no-op. Referencing it in a devcontainer is enough to get the full toolchain:Each feature follows repo conventions:
devcontainer-feature.json,install.sh,NOTES.md, and atest.shthat verifies the binary version output. RootREADME.mdupdated with all 12 entries in alphabetical order.Original prompt
📍 Connect Copilot coding agent with Jira, Azure Boards or Linear to delegate work to Copilot in one click without leaving your project management tool.