Skip to content

Conversation

@MeanSquaredError
Copy link

This PR adds the following changes:

  1. When restoring bookmarks also restore their tags.
  2. Before loading the sqlite-mozilla-url-hash extension it enables loading extensions through the SQLite API call load_extension(). Without it loading of sqlite-mozilla-url-hash was failing.

The bookmark IDs are no longer restored to their original values except for the special IDs 1-6, because the original IDs could conflict with the IDs of the created tags.
Also we no longer linearize the processed bookmarks through a dictionary generator object. Instead we walk recursively the JSON tree with the bookmarks and create the database records while walking the tree. The change was required because the linear dictionary generator was not working well with the addition of the tag database records.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant