Skip to content

bloom config is hardcoded to look at master branch new repositories use main as default #721

@tfoote

Description

@tfoote

When people try to add config options such as .ignored files bloom doesn't find them, if they have a more recent repository with main as the default. Legacy repositories work fine because they still default to master as the default branch.

Example problem ros/rosdistro#39536

The branch is hard coded here:

BLOOM_CONFIG_BRANCH = 'master'

It would be good to change this to detect and use the default branch in the repository and allow an override if there's a specific branch desired by the maintainer. The simpler solution would be to allow overriding it on the command line only.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions