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

Version #528

Merged
merged 7 commits into from
Jan 30, 2020
Merged

Version #528

merged 7 commits into from
Jan 30, 2020

Conversation

ederag
Copy link
Collaborator

@ederag ederag commented Jan 30, 2020

Followup of #483, that unfortunately was closed, but both commits were still available;
this PR starts with these commits (thanks @GeraldJansen !),
centralize the version in hamster.__version__
This takes less than 8 ms, negligible compared to the python script launch itself (150 ms).
The effort necessary to evaluate that only when needed would be disproportionate.
(except creating a version() function, but that would be less

By the way, the "running installed" test is now centralized.
bump2version is used to set the default values,
and update the NEWS headers as well.

The D-Bus service has now a Version() method.
Added a warning for client/server version mismatch (#526 and others).

@ederag ederag merged commit 6617dfb into projecthamster:master Jan 30, 2020
@ederag ederag deleted the pr483-followup branch January 30, 2020 20:05
@ederag ederag added this to the v3.0 milestone Jan 30, 2020
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