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

cmd/livepeer: Add support for -j flag for mist connector #2196

Merged
merged 4 commits into from
Feb 1, 2022

Conversation

hjpotter92
Copy link
Member

@hjpotter92 hjpotter92 commented Jan 19, 2022

What does this pull request do? Explain your changes. (required)
Add support for -j flag to the built binaries which prints json information. This json is used by mist controller to launch dependent applications.

Specific updates (required)

  • Add -j flag to livepeer binary

How did you test each of these updates (required)
Building the package locally, and testing with an added controller in mist runtime configuration.

Does this pull request close any open issues?
related to #2181

Checklist:

@hjpotter92 hjpotter92 linked an issue Jan 19, 2022 that may be closed by this pull request
@hjpotter92 hjpotter92 marked this pull request as draft January 19, 2022 19:16
@hjpotter92 hjpotter92 marked this pull request as ready for review January 20, 2022 12:43
Copy link
Member

@victorges victorges left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

You might also want to update the CHANGELOG-PENDING file so we include it on the next release changelog. Could mention that this new flag is for support for Mist plugins environment, or something like that

@victorges victorges changed the title Add support for -j flag from the livepeer binary for mist connector. cmd/livepeer: Add support for -j flag from the livepeer binary for mist connector. Jan 21, 2022
@victorges victorges changed the title cmd/livepeer: Add support for -j flag from the livepeer binary for mist connector. cmd/livepeer: Add support for -j flag for mist connector. Jan 21, 2022
@victorges victorges changed the title cmd/livepeer: Add support for -j flag for mist connector. cmd/livepeer: Add support for -j flag for mist connector Jan 21, 2022
@victorges
Copy link
Member

FTR I updated the PR description to match the go-livepeer pattern as well. We should always prefix with the package that is being updated

Copy link
Member

@yondonfu yondonfu left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

+1 for the comments by @victorges on changelog [1] + commit structure. Other than that looks good!

[1] See https://github.com/livepeer/go-livepeer/blob/master/doc/contributing.md#changelog

@hjpotter92
Copy link
Member Author

LGTM!

You might also want to update the CHANGELOG-PENDING file so we include it on the next release changelog. Could mention that this new flag is for support for Mist plugins environment, or something like that

Updated the pending changelog! Thanks for the pointers :)


I'm also not sure why the build tests are failing after changelog updates 😅

@hjpotter92 hjpotter92 merged commit d4c981d into master Feb 1, 2022
@hjpotter92 hjpotter92 deleted the hjp/mist-runtime-support branch February 1, 2022 09:56
hjpotter92 added a commit that referenced this pull request Feb 3, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add -j flag to the built binary
3 participants