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

Docstring & fix changelog for get_version_number #454

Merged
merged 1 commit into from
Nov 2, 2021

Conversation

DMRobertson
Copy link
Contributor

#453, but with bells on.

@DMRobertson DMRobertson requested a review from a team as a code owner November 1, 2021 18:22
Copy link
Member

@richvdh richvdh left a comment

Choose a reason for hiding this comment

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

lgtm

An example probably illustrates best. Testing locally, I get
`[email protected] (b=dmr/version-in-sentry,05e1fa8,dirty)`.
If this wasn't done from within the repository, I'd just get `[email protected]`.

Implementation nicked from Synapse.
Copy link
Member

Choose a reason for hiding this comment

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

Aside: I really wish we'd start a new library for things that are shared between our projects, rather than have two or three copies to maintain.

(there used to be a syutil project. It got old.)

@DMRobertson DMRobertson merged commit 1c0ae92 into main Nov 2, 2021
@DMRobertson DMRobertson deleted the dmr/version-in-sentry branch November 2, 2021 10:39
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.

2 participants