Repository navigation
[BEEEP/PM-8492] Add autostart for flatpak - #12016
Merged
Merged
Conversation
quexten
changed the base branch from
main
to
km/beeep/biometrics-flatpak-test
November 15, 2024 15:11
quexten
force-pushed
the
km/beeep/biometrics-flatpak-test
branch
from
November 15, 2024 15:17
21aec4d to
49e1b0c
Compare
Codecov ReportAttention: Patch coverage is
✅ All tests successful. No failed tests found. Additional details and impacted files@@ Coverage Diff @@
## main #12016 +/- ##
==========================================
- Coverage 36.50% 36.48% -0.02%
==========================================
Files 3200 3201 +1
Lines 92679 92693 +14
Branches 16694 16696 +2
==========================================
- Hits 33829 33822 -7
- Misses 56396 56417 +21
Partials 2454 2454 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
Contributor
|
Great job, no security vulnerabilities found in this Pull Request |
quexten
force-pushed
the
km/beeep/flatpak-autostart
branch
from
November 15, 2024 15:49
dad3139 to
d5af909
Compare
quexten
changed the base branch from
km/beeep/biometrics-flatpak-test
to
main
November 15, 2024 15:49
quexten
force-pushed
the
km/beeep/flatpak-autostart
branch
from
November 15, 2024 15:50
d5af909 to
e6d02ef
Compare
quexten
marked this pull request as ready for review
November 15, 2024 17:31
quexten
marked this pull request as draft
January 15, 2025 13:32
1 task done
quexten
force-pushed
the
km/beeep/flatpak-autostart
branch
from
May 1, 2025 23:51
5f767bd to
15aef01
Compare
quexten
force-pushed
the
km/beeep/flatpak-autostart
branch
from
May 1, 2025 23:53
15aef01 to
6fb33d4
Compare
quexten
marked this pull request as ready for review
May 2, 2025 09:17
| anyhow = "=1.0.94" | ||
| arboard = { version = "=3.4.1", default-features = false } | ||
| argon2 = "=0.5.3" | ||
| ashpd = "=0.11.0" |
Contributor
There was a problem hiding this comment.
Love the reference for the crate name 😁
tangowithfoxtrot
previously approved these changes
May 5, 2025
|
tangowithfoxtrot
approved these changes
May 21, 2025
dan-livefront
pushed a commit
that referenced
this pull request
Jun 2, 2025
* Add autostart for flatpak via ashpd * Fix clippy errors * Cargo fmt * Fix clippy
1 task
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.




🎟️ Tracking
https://bitwarden.atlassian.net/browse/PM-8492
📔 Objective
Autostart on linux so far worked by manually writing a .desktop file. This is not possible on flatpak (and snap?). On flatpak, the background portal must be used. This PR adds the support for the background portal - https://docs.flatpak.org/en/latest/portal-api-reference.html#gdbus-org.freedesktop.portal.Background - using the https://docs.rs/ashpd/latest/ashpd/ crate, which abstracts all dbus interactions away from us.
📸 Screenshots
⏰ Reminders before review
🦮 Reviewer guidelines
:+1:) or similar for great changes:memo:) or ℹ️ (:information_source:) for notes or general info:question:) for questions:thinking:) or 💭 (:thought_balloon:) for more open inquiry that's not quite a confirmed issue and could potentially benefit from discussion:art:) for suggestions / improvements:x:) or:warning:) for more significant problems or concerns needing attention:seedling:) or ♻️ (:recycle:) for future improvements or indications of technical debt:pick:) for minor or nitpick changes