-
-
Notifications
You must be signed in to change notification settings - Fork 163
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
Windows Support #695
Comments
I could be open to different password storage on Windows. If you could make it a shared interface so we have a backend for windows and a backend for libsecret. |
Hmmm. Okay, I figured using secrets would be much simpler than re-implementing logic on a per-platform basis. I'll have to think through this a bit more. Regardless, this is my patched util file at the moment: https://github.com/gosselind1/pithos/blob/keyring-experiment/pithos/util.py |
While I like the idea of just using a single library, I don't think
(I'd also be curious to test it inside of flatpak to ensure it works there) In the end I think it is easier and higher quality to abstract it inside of Pithos. |
Good points. After a bit of thought and review of some things:
(I haven't checked this, though when I get some time I'll check this for posterity) After thinking about this for a bit, I think one approach might be to have "server" object available for querying on a separate I would need to do some additional digging to determine how the current secrets1 library handles its async call backs to implement in a similarish mechanism such that the existing code is compatible though. Not sure how much digging needs to be done there. |
There is a single blocking call to As for how to wrap a blocking API; It is possible to use the |
As the above commit is getting ready for merge, I want to document some additional issues I am aware of, and other odds and ends. Issues:
Others:
|
Maybe |
The question is just who is going to look at and maintain it. Pithos itself doesn't really have tests and errors would be runtime ones. So unless you are regularly testing it I don't think it has value. |
Though there used to be some notes about windows support a while back, it seems that this is no longer the case.
I've taken the liberty to get the application to a working state, though there's probably a fair bit of clean-up.
Unlike one of the more recent windows tickets #668 I have targeted windows support via msys2, which should give it much more "close to native" performance, at the potential overhead of a fair bit of package bloat.
In order to get it working in my msys2 environment, I additionally implemented the suggested solution for secrets as suggested in #559. One of the concerns of adopting the secrets library in that ticket is transitioning the project to using a singular file store instead of a wallet or analogous piece of software. However, in its current form, the linked library supports said functionality.
I have some additional error clean up to do, but pithos now works for audio playback in windows with an overhaul of the secrets library in the util.py file.
Would the project be open to PRs for this?
The text was updated successfully, but these errors were encountered: