Skip to content

fix: preserve dotted catalog names in validate -a#2146

Open
MatteoFari wants to merge 1 commit intooscal-compass:developfrom
MatteoFari:fix/allow-dots-in-catalog-dirs
Open

fix: preserve dotted catalog names in validate -a#2146
MatteoFari wants to merge 1 commit intooscal-compass:developfrom
MatteoFari:fix/allow-dots-in-catalog-dirs

Conversation

@MatteoFari
Copy link
Contributor

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Documentation (change which affects the documentation site)
  • Breaking change (fix or feature that would cause existing functionality to change)

Quality assurance (all should be covered).

  • My code follows the code style of this project.
  • Documentation for my change is up to date?
  • My PR meets testing requirements.
  • All new and existing tests passed.
  • All commits are signed-off.

Summary

Fixes trestle validate -a when a top-level catalog directory contains a . in its name, for example catalogs/foo.bar.

This change preserves the full directory name by using Path.name for top-level model discovery.

Key links:

Signed-off-by: Matteo Fari <matteofari06@gmail.com>
@MatteoFari MatteoFari requested a review from a team as a code owner March 12, 2026 09:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

trestle validate -a fails if there is a catalog colder with "." in its name

1 participant