The enclosed patch upgrades the instiki port to version 0.11.0. Also it fixes some problems with the startup script. Fix: The enclosed patch fixes some problems with the startup script and also upgrades the port to 0.11.0. In this release, the storage has moved to an SQL database. Several are supported, but I have picked SQLite (and introduced a dependency on it). This is likely to be OK for most purposes, but I may enhance the port to allow selection of other databases (eg MySQL, PostgreSQL) in future. However the change in storage method means that migration of data from a previous installation involves manual intervention, and unfortunately requires the previous installation to be present prior to exporting the data. The following is suggested text for the /usr/ports/UPDATING file: -=- UPDATING text follows -=- The instiki port has changed storage methods to use an SQL database. The README contains instructions on how to migrate existing wiki data to the new storage methods. The following is a copy of the relevant information, tailored for FreeBSD port users: 1. cd /usr/ports/www/instiki; make extract 2. Execute ruby work/instiki-0.11.0/script/import_storage \ -t /usr/local/instiki/storage/2500 \ -i /usr/local/instiki \ -d sqlite \ -o [some location]/instiki_import.sql 3. This will produce instiki_import.sql file in the specified location. Open it in a text editor and inspect carefully. 4. Upgrade your instiki port normally (eg portupgrade) 5. Connect to your production database, eg: sqlite3 /usr/local/instiki/db/production.db.sqlite3 and have it execute instiki_import.sql, eg: .read [some location]/instiki_import.sql 6. Execute ruby /usr/local/instiki/script/reset_references production (this script parses all pages for crosslinks between them, so it may take a few minutes) -=- end UPDATING -=-
Class Changed From-To: update->maintainer-update Fix category (submitter is maintainer)
State Changed From-To: open->feedback This port leaves one file behind when uninstalled: /usr/local/instiki/db/production.db.sqlite3 should I add it to the pkg-plist?
Responsible Changed From-To: freebsd-ports-bugs->pav Track
State Changed From-To: feedback->closed Committed, thanks!