Zim

index.db needs to be regenerated after svn update / git pull

Bug #1426860 reported by Josef Dalcolmo
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Zim
Expired
Undecided
Unassigned

Bug Description

When sharing a notebook with others via VCS (for example SVN or Git), it is not recommended to share the .zim folder (as this contains local information). However, since the pages obviously can be changed after an 'svn update' or 'git pull', the .zim/index.db will be stale. Trying to run 'update index' won't do, because zim does not realize the pages have changed, nor does it know which pages have changed. Currently my workaround is to leave zim, delete the file .zim/index.db and start zim again. This will re-create the index.db but obviously that may take some time on a large wiki.

It would be nice to have support for this index.db re-creation from within Zim.

Tags: syncing
Revision history for this message
Josef Dalcolmo (josef-dalcolmo) wrote :

It seems like Zim deals well with new pages added outside of Zim, but does not handle well the disappearing of pages, even when manually running "Update Index".

Revision history for this message
Jaap Karssenberg (jaap.karssenberg) wrote :

The menu item "update index" is specifically intended for this purpose. Also on start zim re-scans the folder automatically.

Cannot reproduce issue, but next release will have redesign of indexing code

Changed in zim:
status: New → Incomplete
Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for Zim because there has been no activity for 60 days.]

Changed in zim:
status: Incomplete → Expired
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.