add support for additional build-types, e.g., ros2 pkg create --build-type anewbuildtype

オープン
#427 コメント 4 件 リアクション 1 件 担当者 0 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

まだ誰も着手していません。

評価

難易度
4/5
見積もり時間
3〜5日
初心者へのやさしさ
38/100
issue の種類
機能追加
明瞭さ
おおむね明確
活発さ
停滞
技術スタック
javascript, python
領域
cli

調査の方向性

ros2pkg.verb.command.py から始め、ビルドタイプ用に提案されている ros2cli.extension_point エントリを確認してください。既存の C/C++ および Python のビルドタイプがどのように選択されるかを確認し、その後、既存のタイプを変更せずに ros2 pkg create で追加のビルドタイプを使用できることを検証してください。

索引モデルが issue の本文から書いたものです。

説明

enhancement help wanted

This enhancement request is to enable the creation of packages for build-types other than c/c++ and python, i.e.,ros2 pkg create --build-type mynewbuildtype

Specifically I'm proposing the addition of an extension point for additional build-types. Something like this:

entry_points={
        'ros2cli.extension_point': [
            'ros2pkg.build_type = ros2pkg.build_type:BuildTypeExtension',
        ],

As an experiment I implemented this extension point and it was quite simple to work into ros2pkg.verb.command.py with minimal changes, no refactoring of existing build-types required. I've been using my implementation for creating javascript/rclnodejs projects. I would be glad to share a PR for your consideration. If included in ros2cli, we (the rclnodejs team) will release a new build type for creating nodejs projects that properly work with ros2 run and ros2 launch commands.

Thoughts?

主要言語
Python
スター
274
フォーク
246
平均マージ
1日 14時間
マージ済み PR(30日)
12

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

ros2/ros2cli のほかの issue

ros2/ros2cli の issue をすべて見る

似ている issue

Python の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。