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

[Stacked] Proof of concept bullet stream global functions #767

Draft
wants to merge 26 commits into
base: malax/output
Choose a base branch
from

Conversation

schneems
Copy link
Contributor

This is a proof of concept to see how difficult slotting in the bullet stream functions and fun run for the JVM buildpack would be.

This preserves Into<BuildpackOutputText> but replaces all println! functionality. The track_timing interface was changed as well as the command execution function. It could be removed all-together now as it's not doing much.

@schneems schneems added the skip changelog Pull requests that do not require changes to the CHANGELOG file label Jan 21, 2025
This is a bit of an open question on the best place to print to by default. Stderr is for humans and stdout is for machines (pipes). All of our data is to the user so I picked the global output to be stderr. IDK if there's any practical problem with picking on or the other.

But it did cause all these tests to fail. This commit fixes it and opens up the conversation/question. We also have the ability to set the output location globally at the start of each buildpack.
Attempting to show the guide name in the title without having to click through.
All buildpacks now use the new buildpack logging output instead of libherokubuildpack's old log functions
The previous code reported the status but not always the output (when commands are hidden).
@schneems
Copy link
Contributor Author

This would now close out #762 as well.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
skip changelog Pull requests that do not require changes to the CHANGELOG file
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant