Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Transform source files #5

Merged
merged 1 commit into from
Jan 24, 2023
Merged

Conversation

AidanDelaney
Copy link
Contributor

Given a representation of a file from a source repository, transform it into its destination in a target directory. This includes substituting variables in the file path, in any text file and not-substituting unknown variables.

@AidanDelaney AidanDelaney requested review from a team as code owners December 28, 2022 12:08
@AidanDelaney AidanDelaney force-pushed the transform branch 2 times, most recently from 6286d0f to de93930 Compare December 28, 2022 12:15

"github.com/buildpacks/scafall/pkg/internal"

h "github.com/buildpacks/pack/testhelpers"
Copy link
Contributor

Choose a reason for hiding this comment

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

We should not have circular dependencies between pack and scafall. scafall should be unaware of pack. This will cause issues down the road when pack imports scafall.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Thanks. I've switched to testify's asserts and I've broken the circular import.

Given a representation of a file from a source repository, transform
it into its destination in a target directory.  This includes
substituting variables in the file path, in any text file and
not-substituting unknown variables.

Signed-off-by: Aidan Delaney <adelaney21@bloomberg.net>
@sambhav sambhav merged commit e2ea347 into buildpacks-community:main Jan 24, 2023
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