Skip to content

Refactor path resolution#82

Open
saecki wants to merge 1 commit into
mainfrom
fix-exclude-root
Open

Refactor path resolution#82
saecki wants to merge 1 commit into
mainfrom
fix-exclude-root

Conversation

@saecki

@saecki saecki commented Jul 17, 2026

Copy link
Copy Markdown
Member

Fixes #81

The refactor happened somewhat incidentally during my investigation of what was actually happening.
I figured out that the expect_parents code path was essentially dead, because the templates root dir was passed in instead of the packages root dir. So the prepare_package was always hit as a fallback.
I took the liberty of renaming that function to better reflect what they are actually doing, since we don't download any packages.

@saecki

saecki commented Jul 17, 2026

Copy link
Copy Markdown
Member Author

(The test script currently doesn't seem to work on macos :/)

@saecki
saecki force-pushed the fix-exclude-root branch from fd43366 to fdde6e4 Compare July 17, 2026 13:44
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.

Exclude are not correctly re-rooted in the template world

1 participant