Skip to content

roots calculated by looking at the export file rather than import path#345

Merged
goddenrich merged 1 commit intoplease-build:masterfrom
goddenrich:fix-package-driver-roots
Apr 2, 2026
Merged

roots calculated by looking at the export file rather than import path#345
goddenrich merged 1 commit intoplease-build:masterfrom
goddenrich:fix-package-driver-roots

Conversation

@goddenrich
Copy link
Copy Markdown
Contributor

@goddenrich goddenrich commented Apr 2, 2026

Previously we were using the package import path and comparing it with the directories of files discovered but there might be some reason why this would not correspond with the directory the package lives in. The export file does live in the same directory as the package so use that file's directory instead. Also strip absolute paths from the files before adding the directory since the package info json doesn't have absoulte paths.

@goddenrich goddenrich requested a review from toastwaffle April 2, 2026 14:57
@goddenrich goddenrich changed the title roots calculated by looking at the export file rather than package roots calculated by looking at the export file rather than import path Apr 2, 2026
@goddenrich goddenrich merged commit 13363cd into please-build:master Apr 2, 2026
5 checks passed
@goddenrich goddenrich deleted the fix-package-driver-roots branch April 2, 2026 15:10
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.

2 participants