-
Notifications
You must be signed in to change notification settings - Fork 26
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
Adds draft package #86
Conversation
The Can we add support for that? |
@ryanmoran There are some issues with doing a regular expression match. I would be interested in hearing what you would propose for the implementation. |
I've taken a stab at a simple implementation that supports regular expressions: 92d1894. The main design choice was to assume that all strings passed as the priorities are regular expressions. |
@sophiewigmore maybe this implementation would be better? In this case, we are allowing strings for exact matching and regexp for fuzzier matching cases. |
@ryanmoran Oh wow, yeah. I definitely prefer that to requiring regexp only. |
@ryanmoran @sophiewigmore LGTM |
- This package implements a type that is meant to be a generic Buildpack Plan entry resolves as well as a LayerType merger
- Removes built in logging for Resolve in favor of just returning a sorted list. Also removed the bool due to confusing design. - Removed flag types from flag merger function as that type will be depercated soon. Now return bools.
Co-authored-by: Sophie Wigmore <swigmore@vmware.com>
Plan entry resolves as well as a LayerType merger