-
Notifications
You must be signed in to change notification settings - Fork 906
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Copy snap configuration from chromium’s snapcraft.yaml
- Loading branch information
Showing
1 changed file
with
15 additions
and
16 deletions.
There are no files selected for viewing
This file contains 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
e2e0f88
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't think this change on libsecret is doing anything.
Since the one in gnome is already providing the same.
Also why the
cleanup
part has been removed? It should have been just addedlibsecret
toafter:
list.e2e0f88
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
In fact reverting this commit I can still properly run mailspring from snap...
e2e0f88
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hey hey @3v1n0 - yeah I agree that these don't really seem like they are doing anything, I'm pretty stumped by what is going on here. Before these changes, a clean install of Ubuntu 22 (in a VM so I could retry this over and over and revert to a snapshot) could write to the password management service but not read the passwords it had written, causing it to reset your credentials every time the app launched. With this custom libsecret build in place, everything works fine.
It might be interesting to track down the git history of Chromium's snapcraft.yaml file and see why they added this stuff, but I wasn't able to find it in their code repository. (I just pulled this code from their snapcraft.yaml after installing the snap).
Unfortunately I think this stuff is a bit more finicky than it's supposed to be (or at least, somewhat dependent on the host environment?) If you can get a simpler version to work on a clean install of Ubuntu 22 I'd definitely revert this, but I'm no longer convinced it working means it'll work everywhere :-(