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

Add support for custom app directory with cmd arg #35

Merged
merged 3 commits into from
Nov 8, 2018

Conversation

jkutner
Copy link
Member

@jkutner jkutner commented Nov 2, 2018

This allows for a custom named AppDir, or an AppDir that does not reside under the LaunchDir. The default remains workspace/app, but this also cleans up some hard coded references to "app".

I've also introduced a PACK_APP_DIR env var to support the launcher, which does not take flags. I'm not sure if this should be a flag. If not, we should maybe add this env var to the spec.

The primary use case is backwards compatibility with pre-v3 platforms, and the potential of a compatibility layer with older buildpacks (i.e. a "shim").

Questions

  • Should the cmd.DefaultAppDir change if the LaunchDir is set to a custom value?

@jkutner jkutner requested review from ekcasey, dgodd and sclevine November 2, 2018 17:48
@sclevine
Copy link
Member

sclevine commented Nov 2, 2018

@Zanadar this PR from heroku could make our v3 wrapper easy to implement. For example, we could use /home/vcap/deps to store the v3 layers, and use indexes for the buildpack IDs.

@zmackie
Copy link
Contributor

zmackie commented Nov 2, 2018

This seems like a great idea!

@jkutner
Copy link
Member Author

jkutner commented Nov 5, 2018

Feedback addressed

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.

3 participants