-
Notifications
You must be signed in to change notification settings - Fork 155
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. |
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 <[email protected]>
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
sygnalcommand. Also it’s required to have it packaged with Nix’sbuildPythonApplication, which uses entrypoints to create the executables.