-
Notifications
You must be signed in to change notification settings - Fork 3
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
Initial implementation #3
Conversation
Since cargo already treats them as semver version ranges (so this is effectively a no-op), and this way it avoids conflicts/churn in this file from Dependabot PRs.
Since the vast majority do not need a changelog entry.
Since with the new beta Docker for macOS Rosetta feature the build times on M1 have significantly improved.
Since it's testing an implementation detail of the functions runtime and/or Pip, which isn't helpful to test in this buildpack.
Since we cache the pip cache only instead.
Since `ubuntu-latest` and `ubuntu-22.04` are now equivalent, since their rollout of the change in default image version has now completed.
So it fits in the sidebar
- Split them out into separate files - Import them into the crate so private APIs can be used Inspired by: https://matklad.github.io/2021/02/27/delete-cargo-integration-tests.html http://xion.io/post/code/rust-unit-test-placement.html https://doc.rust-lang.org/reference/items/modules.html#the-path-attribute
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.
The README could use some work, but this can easily be added later. That said, I think this is the new gold-standard for a Heroku languages-team CNB! I love the code, documentation and tests and wish my buildpack would look like this. It was a pleasure reviewing this! Awesome work dude! ✋🏻
I left a couple of nitpicky comments, but none are blocking at all.
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.
I'm still working on finishing my review, but wanted to leave my pending comments.
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.
@schneems Thank you for taking the time to review! :-)
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.
Looks awesome!
Co-authored-by: Josh W Lewis <[email protected]>
The initial implementation of a native (non-shimmed) libcnb.rs-based Python CNB.
See:
libcnb.rs
-based Heroku CNBs