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

Use a separate socket path to publish so pomo can publish and listen on different sockets #51

Merged
merged 2 commits into from
Nov 2, 2021

Conversation

amiel
Copy link
Contributor

@amiel amiel commented Oct 13, 2021

This resolves #49

This is a breaking change for anyone that previously used "publish" mode, since the configuration for the socket path has changed.

I thought about what it would take to make this backwards compatible, and I'm wondering if it's worth the effort. It would need to check for the case where publish is true, and no publishSocketPath is set. In that case, socketPath would be copied to publishSocketPath, and each place I just changed in this PR to do both things would need to only do the publish thing, but only in this case.

Instead, I suggest an error indicating the change. That way, anyone using publish will know what happened and what they need to change.

@kevinschoon kevinschoon merged commit 7d4c488 into kevinschoon:master Nov 2, 2021
@kevinschoon
Copy link
Owner

Thank you @amiel for your contribution!

@amiel
Copy link
Contributor Author

amiel commented Nov 2, 2021

Thanks @kevinschoon!

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.

pomo status no longer works in "publish" mode
2 participants