-
Notifications
You must be signed in to change notification settings - Fork 1
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
User export #1
Comments
For simplicity I think that we should try to avoid data-overlaps with project exports. So any member-related data which is exported with a project should not be exported with the member. This includes project memberships and roles, mailing list subscriptions and roles, etc. |
Site roles will, however, need to be exported; as will account confirmation status. (Unless we just choose to discard unconfirmed members and not provide export/import of them.) |
We should be able to use Izhar's script to export the user data and hashed passwords in csv: |
Trying this out by hand .. the However, with a member object in hand, a simple Looking through the Products.remember implementation of Still need to investigate:
|
This seems to be true. The only catch is that each remember user object maintains its own stored "hmac_key" (in a |
Actually this seems to have been an error on my part -- looking through a CSV dump I'm not seeing any missing values offhand. |
Meanwhile, here's how we can determine if a user account is pending or confirmed:
...will return either True (if the member is pending) or False (if the member is confirmed) |
Also we need to get user portraits -- we can write them to a folder in a zip file and then put a reference to each one in the appropriate line of the CSV. |
Initial script added: 986aebb Still needs:
|
Image files are now being written to a tempdir, and referenced in the CSV, in f8f974f |
Creation date: b9ee8f8 |
Updated issue with current to-dos. Original issue content: First we need to spec out what is involved in user export -- what content and data must be attached to a user export, and how to ensure that the export is lossless. I believe the biggest questions here are:
|
Remaining to do:
The text was updated successfully, but these errors were encountered: