Skip to content

[FR][DAC] further decouple reliance on default rule dir locations #3619

Closed
@brokensound77

Description

@brokensound77

Note: this work will target the DAC-feature branch

related to #3407


These global constants:

DEFAULT_PREBUILT_RULES_DIR = Path(get_path("rules"))
DEFAULT_PREBUILT_BBR_DIR = Path(get_path("rules_building_block"))
DEFAULT_PREBUILT_DEPRECATED_DIR = DEFAULT_PREBUILT_RULES_DIR / '_deprecated'
DEFAULT_PREBUILT_RTA_DIR = get_path("rta")

Need to be revised to fully adopt the portable approach introduced by #3407 (using RULES_CONFIG.*).

However, the use of these variables is not consistently just for rule loading, and they have several hardcoded dependencies on them, so they cannot simply be replaced.

image

Metadata

Metadata

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions