Closed diesphink closed 2 years ago
Thank you for your contribution!
I have a question: Can we maybe store the credentials directly as binary file? Seems to me that would be easier and remove the pickle dependency.
Also, reg. regolith: The change looks good, but maybe it would be more general to use the parameter to determine a separator and use that? (I can gladly do that myself post-merge)
What do you think?
Hi.
I have a question: Can we maybe store the credentials directly as binary file? Seems to me that would be easier and remove the pickle dependency.
Sure, I just don't know a reliable way to do it, pickle is already binary and is my go-to solution for those scenarios, but feel free to change anything about this.
Also, reg. regolith: The change looks good, but maybe it would be more general to use the parameter to determine a separator and use that? (I can gladly do that myself post-merge)
Sure, just a reminder: it's the separator and also the char at the end of command sent to socket. I have no idea why the hell they changed the communication protocol on the fork.
If you make those parameters more generic, I'd also comment on the description the variation needed for regolith-rofication, because when I loaded the module it just froze the bar completely because it's waiting on the comm.
OH, sorry! Now I see that I've made this PR with master, instead of a branch, my mistake. That's why it duplicated the other PR.
Also, I've unintentionally added another commit with support for locale on the gcalendar
No worries, happens :D
Do you prefer cleaning up this PR, or would you rather close this one and create a fresh one?
Well, the commit was another fix, to use default locale on gcalendar, and also support to set a different locale, so if your inclined to merge the other fixes, I would add this one as well.
Good for me as well!
OK, so, I was basically almost merging this now, but then something occurred to me: The change from JSON to pickle is problematic to me, for 2 reasons:
Once 2. is properly addressed, I will gladly merge the PR.
Thank you kindly for your effort!
Fair point, let me see if I can make it use the same json format as before.
Ok, reverted the adjustment, the things was: the distro package for python3-googleapi was 1.7.11-4, to_json is available from 1.8.0. Added a comment about that on the dependencies.
Great, thank you kindly!
Changes look good to me, thank you very much!