X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~mdw/git/disorder/blobdiff_plain/02ba7921a8b083f421a747b89c65a87d0afd5841..dba3eb8e520cf879da73c34ad8d4372eab2c50b6:/README.reload diff --git a/README.reload b/README.reload index 6c645ec..f9fa4c7 100644 --- a/README.reload +++ b/README.reload @@ -18,19 +18,28 @@ bug! This defines how aliases are inserted into the track database. Need to think about how changing it will affect things. -** namepart +** namepart (enforced at reload only) Probably affects alias construction. -** stopword +** stopword (enforced at reload only) -The search database will have to be rebuilt from scratch. This is -do-able but AFAIK we don't detect it. +The search database will have to be rebuilt from scratch. ** user (enforced at reload only) All the files will be owned by the wrong user! +** Alias, search database, etc + +Rescan can regenerate aliases and the search and tag databases but we +rather assume that they are either empty or good. Therefore we need +to store anything that can affect these values and erase them if they +change. + +The solution is a global pref _dbparams which contains the hash of the +alias, stopword and namepart data. + * Options that must remain the same across reload Some things will just require a restart. We should either enforce