thestr4ng3r / r2db

WIP Project format for radare2
GNU Lesser General Public License v3.0
3 stars 2 forks source link

Design and create project update mechanism #1

Open karliss opened 4 years ago

karliss commented 4 years ago

Practice shows that delaying implementation of update procedure until the moment when it's actually required result in suboptimal solution or it being completely ignored and breaking changes.

Things to consider:

thestr4ng3r commented 4 years ago

This is my initial idea:

Testing this is extremely important. Ideally, we should keep saved projects for different versions and add tests that r2 still loads all the information from them. So it should be more or less impossible to break compatibility by accident. The question here is how much exactly to test. If we keep a full project for each version and test every possible kind of data on it, we will have a lot of redundant testing.