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

gui: set guivm windows prefix and default_guivm tag #291

Merged
merged 4 commits into from
Nov 12, 2019

Conversation

fepitre
Copy link
Member

@fepitre fepitre commented Nov 6, 2019

@codecov
Copy link

codecov bot commented Nov 6, 2019

Codecov Report

Merging #291 into master will increase coverage by <.01%.
The diff coverage is 66.66%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #291      +/-   ##
==========================================
+ Coverage   62.32%   62.32%   +<.01%     
==========================================
  Files          49       49              
  Lines        8653     8656       +3     
==========================================
+ Hits         5393     5395       +2     
- Misses       3260     3261       +1
Flag Coverage Δ
#unittests 62.32% <66.66%> (ø) ⬆️
Impacted Files Coverage Δ
qubes/ext/gui.py 85.71% <66.66%> (-2.29%) ⬇️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 89e3ae3...2ccdd4e. Read the comment docs.

qubes/ext/gui.py Outdated

# Set GuiVM prefix
guivm_windows_prefix = vm.features.get('guivm-windows-prefix', 'GuiVM')
if vm.features.get('service.guivm-gui-agent', None) == '1':
Copy link
Member

Choose a reason for hiding this comment

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

It doesn't need to be 1 (in practice it is, but lets be consistent). Technically it can be any value and should be evaluated to true/false according to python rules. In short: drop == '1'.

@fepitre fepitre changed the title gui: set guivm windows prefix gui: set guivm windows prefix and default_guivm tag Nov 9, 2019
@fepitre fepitre force-pushed the guivm2 branch 2 times, most recently from 85ca503 to e4d3e35 Compare November 9, 2019 15:08
Copy link
Member

@marmarek marmarek left a comment

Choose a reason for hiding this comment

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

Pylint complains about minor issues (see travis) - add appropriate comments to mute those.

@marmarek marmarek merged commit 2ccdd4e into QubesOS:master Nov 12, 2019
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