-
Notifications
You must be signed in to change notification settings - Fork 148
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 entrypoint #341
Add entrypoint #341
Conversation
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 good, can you just add a changelog and fix up the linting errors please? Thanks!
Done. I wasn’t really sure where to put the changelog entry, please let me know if I should put it somewhere else. |
CHANGELOG.md
Outdated
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.
Thanks, but this needs to be in a changelog file, probably changelog.d/341.misc
. See https://github.com/matrix-org/sygnal/tree/main/changelog.d for examples.
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.
Sorry, I hope it’s correct now.
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.
Thanks, that's perfect. One last thing: can you sign-off on your change? (Sorry to ask---I know it's a pain to have an extra formality to go through for a simple change like this)
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.
No problem, here you go!
Signed-off-by: Sylvain Fankhauser <sephi@fhtagn.top>
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.
Brilliant, thank you!
This allows running Sygnal with the
sygnal
command. Also it’s required to have it packaged with Nix’sbuildPythonApplication
, which uses entrypoints to create the executables.