Skip to content

fix: allow absolute file paths on create#3518

Merged
AustinAbro321 merged 8 commits intomainfrom
fix-absolute-file-paths
Feb 21, 2025
Merged

fix: allow absolute file paths on create#3518
AustinAbro321 merged 8 commits intomainfrom
fix-absolute-file-paths

Conversation

@AustinAbro321
Copy link
Copy Markdown
Member

Related Issue

Fixes #3475

Checklist before merging

Signed-off-by: Austin Abro <AustinAbro321@gmail.com>
@AustinAbro321 AustinAbro321 requested review from a team as code owners February 19, 2025 20:43
@netlify
Copy link
Copy Markdown

netlify Bot commented Feb 19, 2025

Deploy Preview for zarf-docs canceled.

Name Link
🔨 Latest commit dd5c1ce
🔍 Latest deploy log https://app.netlify.com/sites/zarf-docs/deploys/67b794cc247cf30008af9c35

@codecov
Copy link
Copy Markdown

codecov Bot commented Feb 19, 2025

Codecov Report

Attention: Patch coverage is 36.36364% with 7 lines in your changes missing coverage. Please review.

Files with missing lines Patch % Lines
src/internal/packager2/layout/create.go 12.50% 6 Missing and 1 partial ⚠️
Files with missing lines Coverage Δ
src/internal/packager2/layout/import.go 44.69% <100.00%> (+1.87%) ⬆️
src/internal/packager2/layout/create.go 40.14% <12.50%> (+6.07%) ⬆️

... and 4 files with indirect coverage changes

Signed-off-by: Austin Abro <AustinAbro321@gmail.com>
Signed-off-by: Austin Abro <AustinAbro321@gmail.com>
Signed-off-by: Austin Abro <AustinAbro321@gmail.com>
Signed-off-by: Austin Abro <AustinAbro321@gmail.com>
Signed-off-by: Austin Abro <AustinAbro321@gmail.com>
@AustinAbro321
Copy link
Copy Markdown
Member Author

Moving back into draft, tests not doing what I would expect

@AustinAbro321 AustinAbro321 marked this pull request as draft February 20, 2025 16:50
Signed-off-by: Austin Abro <AustinAbro321@gmail.com>
@AustinAbro321
Copy link
Copy Markdown
Member Author

Okay should be good now

@AustinAbro321 AustinAbro321 marked this pull request as ready for review February 20, 2025 20:47
Copy link
Copy Markdown
Member

@brandtkeller brandtkeller left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM - ran a test of main and this branch using the issue example in order to step through the changes - saw the expected outcomes of failure on main and successful execution with these changes

@AustinAbro321 AustinAbro321 added this pull request to the merge queue Feb 21, 2025
Merged via the queue into main with commit 88b5842 Feb 21, 2025
@AustinAbro321 AustinAbro321 deleted the fix-absolute-file-paths branch February 21, 2025 14:43
nevinaragam pushed a commit to nevinaragam/zarf that referenced this pull request May 20, 2025
Signed-off-by: Austin Abro <AustinAbro321@gmail.com>
Signed-off-by: NevinAragam <nevin.aragam@gmail.com>
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.

Zarf errors when absolute file paths are used in components.files.source

2 participants