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 entrypoint #341

Merged
merged 1 commit into from
Aug 17, 2023
Merged

Add entrypoint #341

merged 1 commit into from
Aug 17, 2023

Conversation

sephii
Copy link
Contributor

@sephii sephii commented Jul 15, 2023

This allows running Sygnal with the sygnal command. Also it’s required to have it packaged with Nix’s buildPythonApplication, which uses entrypoints to create the executables.

@sephii sephii requested a review from a team as a code owner July 15, 2023 09:00
Copy link
Member

@erikjohnston erikjohnston left a 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!

@sephii
Copy link
Contributor Author

sephii commented Aug 16, 2023

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
Copy link
Contributor

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.

Copy link
Contributor Author

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.

Copy link
Contributor

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)

Copy link
Contributor Author

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>
Copy link
Contributor

@DMRobertson DMRobertson left a comment

Choose a reason for hiding this comment

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

Brilliant, thank you!

@DMRobertson DMRobertson merged commit db821f3 into matrix-org:main Aug 17, 2023
5 checks passed
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.

None yet

3 participants