-
Notifications
You must be signed in to change notification settings - Fork 53
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
Add support for XDG_DATA_HOME #95
Add support for XDG_DATA_HOME #95
Conversation
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.
Thanks for the PR 🙂 The logic make sense to me. Shall we park it until the change is merged into password-store?
I should have addressed your two suggestions! I've also added a test (maybe not really needed but it helped me in debugging) |
About parking it: I'd personally merge it now as it should be harmless and future-proof at the same time (and I don't have to rebase future conflicts 😄 ), but feel free to do as you prefer, it's ok for me anyway. Also I wouldn't hold my breath for a quick new release of |
Thanks :) To clarify, I don't want to wait for a whole new release of pass, just to see the code merged in pass git repo (I understood that currently it's still at the proposal stage?). I simply want to avoid the case when during the discussion there might be other suggestions, and the logic in this PR will no longer match the behavior of pass... |
ah yes very good point 👍 I will keep an eye on the discussion and be back at some point when/if it settles |
Hi @apiraino, just out of curiosity as I wasn't following the topic myself, do you know if there was any traction on this in the No rush, just thought if this was decided, we can merge, and if |
hi @maximbaz apologies for the slow reply and for not reporting back. The topic of Freedesktop compliancy was downvoted by the maintainer (for the record, here is the relevant message). Those wishing to comply with the XDG spec can work around this limitation of
and browerpass will work just fine. I don't need this PR either :) At your option to close it, perhaps waiting doesn't make much more sense anymore. |
I see! Thanks for the update! In that case lets close this, and revisit when relevant. |
Hi,
this is a tentative small PR to add support for the Freedesktop standard XDG_DATA_HOME dir, when the browerpass-native looks for the password-store files.
There is an ongoing discussion on this topic in the password-store mailing list that hopefully will land to a new release at some point.
I tried reproducing the logic in this message, aimed to be fully retrocompatible with existing installations:
If the logic and intent of this pr are sound I can submit another small patch to align
browserpass-extension
.I'm open to feedbacks and suggestions as I might have missed some bits.
Thanks for the review!