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 chartpress --list-images #96

Merged
merged 5 commits into from
Oct 26, 2020
Merged

Conversation

minrk
Copy link
Member

@minrk minrk commented Sep 8, 2020

outputs list of images to stdout. Listing images implies skip-build.

for convenient consumption of the list of images, e.g. to pass to trivy for security scans

To make chartpress output pipeable, send all log messages to stderr instead of stdout, as is standard practice.

I think this closes #94 unless I misunderstood the goal there.

Since this does move prevous output to stderr, if anyone was relying on chartpress stdout, this could be considered a backward-incompatible change. But since our output was not really machine-readable, I'd call this a minor revision.

instead of stdout, which would conflict with piped output
output list of images for consumption by other tools
evaluate stderr.fileno() at call time

needed for test redirection
@yuvipanda yuvipanda merged commit ec9731d into jupyterhub:master Oct 26, 2020
@yuvipanda
Copy link
Contributor

Thanks, @minrk!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

--push-latest-tag by default
3 participants