-
Notifications
You must be signed in to change notification settings - Fork 113
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
Add support for experimental api mode #861
Conversation
764fd44
to
66d188f
Compare
09a21ce
to
8166edc
Compare
@@ -0,0 +1,172 @@ | |||
package cli |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Moved from cmd package
@@ -1,28 +0,0 @@ | |||
package platform |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Moved to platform/paths.go
@@ -0,0 +1,13 @@ | |||
package launch |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Avoid having the launcher depend on the platform package, to keep the binary smaller
8166edc
to
2591682
Compare
- Refactors cmd package: - Moves platform logic to platform or platform/launch - Moves env and flag parsing to cmd/lifecycle/cli and cmd/launcher/cli - Moves constants for supported & deprecated apis from api package to platform and buildpack packages (this removes all CNB business logic from api) - Creates log package to hold interface, removing duplication Signed-off-by: Natalie Arellano <[email protected]>
2591682
to
21f4633
Compare
6399145
to
21f4633
Compare
After discussion in 6/9 Working Group, the pre-release api aspect of this PR is not as useful for our current needs (though it may be useful when readying a 1.0 spec). Closing this PR in favor of a smaller PR that just implements experimental features. |
Fixes #459
This (like many PRs of late) ended up being rather huge as I took the opportunity to tackle another long-awaited refactor. The most interesting changes are in the api and platform/guard packages.
Other changes:
platform and buildpack packages (this removes all CNB business logic from api)