RoboStack / RoboStack/robostack.github.io

Investigation: Using `pixi-build-ros` with `pixi` instead of `vinca` with `rattler-build`.

未关闭
#175 1 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

还没有人认领这个 Issue。

主要语言
Astro
星标
385
派生
36
平均合并
5 小时 37 分钟
30 天内合并 PR
18

描述

Leaving this here as an intermediate result of some investigation into the topic of using pixi-build-ros instead of vinca to generate the recipes and build the packages for the ROS distros in RoboStack.

Issues found:

  • pixi doesn't automatically use all dependencies in the workspace as host/build dependencies of the other packages in the workspace so it's not easy to setup a workspace that contains all packages from a git source. (https://github.com/prefix-dev/pixi/issues/6901)
  • pixi-build-ros doesn't support the concept of patches yet. (https://github.com/prefix-dev/pixi/issues/6918)
    We could support this by adding the copy of source into a source folder again like the backends used to do.
  • You would still need some script to manage the distro snapshots as a way to fill in the [package.build.source] for pixi build.
  • There needs to be a build orchestrator like vinca-gha to create the multi stage GitHub Actions workflow file.
    This would be a feature that is welcome to Pixi anyway as it would be really cool to have any type of workspace split it's builds into multiple jobs, on any CI server.

Smaller issues:

  • pixi-build-ros needs to support <group_depend> from a package.xml.
  • pixi-build-ros needs to support ros2-<package_name> naming convention.
  • We need a backend for dummy meta packages where we need to shim conda-forge packages like ros-xxx-eigenpy.

Claude generated sketch, not perfect but sketches the idea of this comparison.
Image


I feel like this would only align the tools more but wouldn't bring too many UX improvements to RoboStack today. As you would still need to maintain a generator to translate the rosdistro_snapshot into pixi.toml files instead of recipe.yaml files. The robostack.yaml would still need to be maintained.

Where I can see value is in making pixi-build-ros a better tool for ROS development. The required CI job orchestration tool would be a big win for Pixi and the work to maintain vinca can be moved to pixi-build-ros to share more of the effort between the projects.

贡献指南

这个仓库没有索引到贡献指南

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

调研方向

从 pixi-build-ros 以及关联的 Pixi issues #6901 和 #6918 开始,然后审查围绕补丁、distro 快照、工作流编排和 ROS 软件包元数据所列出的缺口。完成的要求是确定范围,并为选定的改进制定具体的后续工作;此 issue 未指定文件或测试。

由索引模型根据 Issue 内容生成。

评估

技术栈
github-actions
领域
build-system, ci-cd, tooling
Issue 类型
功能
难度
5/5
预计耗时
一周以上
活跃度
活跃
描述清晰度
需要澄清
新手友好度
30/100

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。