CI_BRANCH_TO_TEST interferes with CI_COLCON_BRANCH

Open
#776 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
35/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Stale
Tech stack
python

Research direction

Start by tracing the CI handling of CI_BRANCH_TO_TEST and CI_COLCON_BRANCH, then inspect how vcstool discovers repositories under the workspace and how colcon places them. Reproduce a run with both variables set; done means the colcon repositories retain CI_COLCON_BRANCH while CI_BRANCH_TO_TEST does not override them.

Written by the indexing model from the issue text.

Description

backlog bug

It seems that when using CI_COLCON_BRANCH, the colcon repositories are cloned into a subdirectory of the workspace. Though colcon itself doesn't consider the subdirectory to be part of the workspace sources, it seems that vcstool does, and attempts to check out CI_BRANCH_TO_TEST in each colcon repository, possibly overriding CI_COLCON_BRANCH.

Dominant language
Python
Stars
55
Forks
40
Avg merge
3d 5h
Merged PRs (30d)
6

Getting set up

This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.

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/ci

All issues in ros2/ci

Similar issues

More Python issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.