-
Notifications
You must be signed in to change notification settings - Fork 31
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
How to handle settings efficiently? #45
Comments
Perhaps SQLite and/or some JSON/YAML file. I see no reason to do it using |
Ricin uses Libconfig since #54 get merged, this issue can be closed, so. |
Reopened and updated the issue. |
I like the idea of an archive. And 👍 for json, it's nice to keep things "human-friendly". Does that mean that the |
This issue has been inactive for several months now, thus closing. |
So, it would be nice to have a way to get/set settings in Ricin, I think using a database would be over-head for this. I searched a way to do it properly and had an idea that was also proposed at irungentoo/toxcore#1487.
Problem to solve:
An user should be able to switch to another computer only by saving it's profile file and then download Ricin and import this profile file. The issue here is that if the user only copy it's profile, he'll loose the settings from the first computer.
Potential solution:
A
.txz
, sort oftar.gz
-like. It would contains the following files:All of what the client should do is to extract the file in memory and get the file at the inside, then update them and rezip the file.
Note:
Ricin must provide a button to export the user
.tox
file to a conventional format. It just need to extract the user profile from the.txz
archive to the extract path.References:
irungentoo/toxcore#1487 (comment)
The text was updated successfully, but these errors were encountered: