RoboStack / RoboStack/robostack.github.io

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

Aberta
#175 1 comentário 0 reações 0 responsáveis Ver no GitHub

Ninguém assumiu esta issue ainda.

Linguagem predominante
Astro
Estrelas
385
Forks
36
Merge médio
5h 37min
PRs com merge (30d)
18

Descrição

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.

Guia de contribuição

Nenhum guia de contribuição indexado para este repositório

Primeiros passos

  1. Leia a issue inteira e depois o guia de contribuição do projeto.
  2. Comente na issue dizendo que vai assumir — evita que duas pessoas façam o mesmo trabalho.
  3. Faça um fork do repositório e trabalhe em uma branch.
  4. Abra um pull request que referencie o número da issue.

Direção de pesquisa

Comece com o pixi-build-ros e as issues do Pixi vinculadas #6901 e #6918; em seguida, revise as lacunas listadas relacionadas a patches, snapshots de distro, orquestração de workflows e metadados de pacotes ROS. O trabalho estará concluído quando o escopo tiver sido definido e houver um acompanhamento concreto para as melhorias escolhidas; esta issue não especifica arquivos nem testes.

Escrita pelo modelo de indexação a partir do texto da issue.

Avaliação

Stack de tecnologia
github-actions
Domínio
build-system, ci-cd, tooling
Tipo de issue
Funcionalidade
Dificuldade
5/5
Tempo estimado
Mais de uma semana
Status de atividade
Ativa
Clareza
Precisa de esclarecimento
Facilidade para iniciantes
30/100

Receba novas issues na sua caixa de entrada

Um resumo curto de issues do GitHub para quem está começando.