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

Support source-removal logic in libbs #151

Merged

Conversation

sambhav
Copy link
Contributor

@sambhav sambhav commented Sep 4, 2022

Signed-off-by: Sambhav Kothari skothari44@bloomberg.net

Summary

Adds support for source-removal logic in libbs. Instead of completely empty-ing out the application directory, only relevant files are removed BEFORE copying back the interesting files to the application directory.

Fixes #103

Use Cases

Checklist

  • I have viewed, signed, and submitted the Contributor License Agreement.
  • I have linked issue(s) that this PR should close using keywords or the Github UI (See docs)
  • I have added an integration test, if necessary.
  • I have reviewed the styleguide for guidance on my code quality.
  • I'm happy with the commit history on this PR (I have rebased/squashed as needed).

Signed-off-by: Sambhav Kothari <skothari44@bloomberg.net>
@sambhav sambhav requested a review from a team September 4, 2022 14:37
@dmikusa dmikusa added type:enhancement A general enhancement semver:minor A change requiring a minor version bump labels Sep 4, 2022
@dmikusa
Copy link
Contributor

dmikusa commented Sep 4, 2022

Looks good to me. This is a fairly core change though, so I'm going to let @pivotal-david-osullivan take a look as well. If you think it's good @pivotal-david-osullivan feel free to merge.

sambhav and others added 2 commits September 6, 2022 10:27
Co-authored-by: David O'Sullivan <31728678+pivotal-david-osullivan@users.noreply.github.com>
Co-authored-by: David O'Sullivan <31728678+pivotal-david-osullivan@users.noreply.github.com>
@sambhav
Copy link
Contributor Author

sambhav commented Sep 6, 2022

@pivotal-david-osullivan should be good to go :)

@pivotal-david-osullivan pivotal-david-osullivan merged commit be6bab6 into paketo-buildpacks:main Sep 6, 2022
@sambhav sambhav deleted the source-removal branch September 7, 2022 06:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
semver:minor A change requiring a minor version bump type:enhancement A general enhancement
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add BP_KEEP_FILES option for Java family buildpacks
3 participants