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

Remove quotation marks around .desktop entry name #2086

Merged
merged 1 commit into from
Dec 20, 2024
Merged

Conversation

rocodes
Copy link
Contributor

@rocodes rocodes commented Jul 3, 2024

Status

Ready for review

Description

I think this will fix freedomofpress/securedrop-workstation#1123 . Qubes sanitizes desktop files to only allow certain characters, and we're violating that in the Name field, where we use quotation marks.

Test Plan

  • Visual review
  • make lint-desktop passes
  • qubes.GetAppMenus on a VM with this desktop file generates no warnings

Checklist

If these changes modify code paths involving cryptography, the opening of files in VMs or network (via the RPC service) traffic, Qubes testing in the staging environment is required. For fine tuning of the graphical user interface, testing in any environment in Qubes is required. Please check as applicable:

  • I have tested these changes in the appropriate Qubes environment
  • I do not have an appropriate Qubes OS workstation set up (the reviewer will need to test these changes)
  • These changes should not need testing in Qubes

If these changes add or remove files other than client code, the AppArmor profile may need to be updated. Please check as applicable:

  • I have updated the AppArmor profile
  • No update to the AppArmor profile is required for these changes
  • I don't know and would appreciate guidance

If these changes modify the database schema, you should include a database migration. Please check as applicable:

  • I have written a migration and upgraded a test database based on main and confirmed that the migration is self-contained and applies cleanly
  • I have written a migration but have not upgraded a test database based on main and would like the reviewer to do so
  • I need help writing a database migration
  • No database schema changes are needed

@rocodes rocodes requested a review from a team as a code owner July 3, 2024 23:18
@cfm
Copy link
Member

cfm commented Jul 3, 2024

@rocodes, can you clarify the test plan here in terms of what output is expected with and without this change? I didn't catch the warning in freedomofpress/securedrop-workstation#1123 during initial provisioning, but qvm-sync-appmenus sd-{app,devices} does not give me any warnings running unmodified from Workstation 1.0.0-rc2 and Client 0.11.0-rc1 packages.

@deeplow deeplow self-assigned this Nov 27, 2024
@deeplow deeplow self-requested a review November 27, 2024 10:11
@deeplow
Copy link
Contributor

deeplow commented Nov 27, 2024

Fixes the issue. LGTM.

Copy link
Member

@legoktm legoktm left a comment

Choose a reason for hiding this comment

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

LGTM, but mostly per @deeplow.

@legoktm legoktm added this pull request to the merge queue Dec 20, 2024
Merged via the queue into main with commit 7483966 Dec 20, 2024
58 checks passed
@legoktm legoktm deleted the desktop-file-name branch December 20, 2024 02:23
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.

Warning message during provisioning indicates we're not creating qubes-appmenus entry for send-to-usb.desktop
4 participants