FR: ros2 pkg create can use different template

Open
#295 0 comments 4 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
45/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Stale
Tech stack
python
Domain
cli

Research direction

Start by locating the ros2 pkg create entry point and its current C++/CMake/package.xml template references, then inspect the existing test layout. Done means the command accepts a template path and generated packages include the requested template contents, with tests covering the behavior.

Written by the indexing model from the issue text.

Description

enhancement

Feature request

Feature description

ros2 pkg create now uses c++/cmake/package.xml template shipped with this package. It'll be nice if we can specify the path to the template so that the new package contains our code that should be shared by every package.

Implementation considerations
  1. Add a test file
  2. Add some contents as placeholder to the libraries and executable source code.

Thx

Dominant language
Python
Stars
274
Forks
246
Avg merge
1d 14h
Merged PRs (30d)
12

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from ros2/ros2cli

All issues in ros2/ros2cli

Similar issues

More Python issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.