Skip to content

incompatible_package_name_is_a_function: Remove PACKAGE_NAME and REPOSITORY_NAME #5827

@c-parsons

Description

@c-parsons

This is a tracking issue for offering a migration solution for
--incompatible_package_name_is_a_function

This flag disables use of the skylark constants PACKAGE_NAME and REPOSITORY_NAME. Users should use package_name() and repository_name() instead.

Migration

  1. replace PACKAGE_NAME with package_name() call
  2. replace REPOSITORY_NAME with repository_name() call

The behavior is identical

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions