Have CI report if a circular dependency is introduced

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

还没有人认领这个 Issue。

评估

难度
5/5
预计耗时
一周以上
新手友好度
35/100
Issue 类型
功能
描述清晰度
基本清楚
活跃度
停滞
技术栈
python
领域
ci-cd, tooling

调研方向

未指定文件或测试。首先定位运行 colcon test-result 的 CI 步骤,以及仓库的 colcon 或插件入口点;完成标准是 CI 能检测到新引入的循环依赖,在该步骤之后运行,并支持针对已批准循环的允许列表。

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

描述

backlog enhancement

When we go to release a new distribution (like we are doing right now for Eloquent), we often find a couple of new circular dependencies have been introduced between repositories. Part of the reason for this is that there is no tool that tells us when this happens during the normal course of development.

What I'm thinking about is a tool that can tell us this during CI runs. The basic properties I'm thinking of are:

  1. Probably a colcon plugin (since it has the topological information)
  2. Run it at the end of CI, right after colcon test-result
  3. Have some sort of whitelist of "allowed" circular dependencies, since we solve some of them via release-time ignore files. This particularly happens with some of the "test" packages that we don't release into the distribution.

Having this tool would mean that we can find out about the circular dependencies at the time of their introduction, not several months later when we go to release.

主要语言
Python
星标
55
派生
40
平均合并
3 天 5 小时
30 天内合并 PR
6

环境准备

这个项目没有提供开发容器、Dockerfile 或贡献指南,环境需要你自己搭建:先看它的 README,通用步骤见我们的新手贡献指南。

从这里开始

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

ros2/ci 的其他 Issue

查看 ros2/ci 的全部 Issue

相似的 Issue

更多 Python Issue

把新 issue 发到你的邮箱

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