-
Notifications
You must be signed in to change notification settings - Fork 37
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
[WIP] Refactor: do not save as folder tree #17
base: master
Are you sure you want to change the base?
Conversation
This is the beginning of a major refactor to the script. The idea behind that change is to make the backup process as simple as possible and as error-prone as possible. The long term goal is to be able to run such script on hosted provider such as AWS Lambda, making use of the recurring scheduling features. Instead of saving to disk by name (card name, list name or board name), the entire board is saved at once (containing all the information).
Is there a possibility to have both? I really like the folder tree approach for being human readable even in case Trello dies tomorrow. :) |
Having it human readable was the original motivation for the tree structure 👍 The tree structure comes with a few drawbacks however:
Maybe we could consider building a lightweight web UI using the full raw json files as a separate component to isolate the two concerns? (backing up the data and visualizing it) |
But if we build a lightweight web UI you loose the advantage to run the export on the desktop and be able to use it w/o any additional software (web UI). |
OK, I thought about it a little bit on my way home. Would it be possible to have two modes?
|
We could definitely have two modes:
Or only one mode to dump the raw JSON files, and use a tool like wekan (open source Trello-like kanban) to visualize the data in a more natural way than browsing folders and files on disk. I quickly tried wekan and:
|
Sorry for my late response, got busy here. I like the idea with wekan, but keep in mind there is users in this world who do not play with Docker, etc.. So still having a mode which writes the tree structure as of today has a value in my eyes. It's basically a one script deployment and nothing else is needed. |
This is the beginning of a major refactor to the script.
The idea behind that change is to make the backup process as simple as possible and as error-prone as possible. The long term goal is to be able to run such script on hosted provider such as AWS Lambda, making use of the recurring scheduling features.
Instead of saving to disk by name (card name, list name or board name), the entire board is saved at once (containing all the information).
Steps: