Skip to content

[Dev] Remove "master" from default_branch property of Target class in core.py after migration to "main" as the default Git branch #32804

@asfimport

Description

@asfimport

As a follow up to ARROW-15693, support for the name "master" in the default_branch property of the Target class defined in dev/archery/archery/crossbow/core.py should be removed after the migration to "main" as the default Git branch is complete.

Making this change will also require updating the implementation of the Target.is_default_branch() method to use the keyword is instead of in for checking whether on the default branch.

Reporter: Kevin Gurney / @kevingurney

Note: This issue was originally created as ARROW-17552. Please see the migration documentation for further details.

Metadata

Metadata

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions