Page MenuHomePhabricator

Add sqlite role for vagrant
Open, LowestPublic

Description

It would be nice if there was a sqlite role in vagrant to test sqlite issues.


Version: unspecified
Severity: normal
URL: https://www.mediawiki.org/wiki/Manual:SQLite

Details

Reference
bz65843

Event Timeline

bzimport raised the priority of this task from to Low.Nov 22 2014, 3:11 AM
bzimport set Reference to bz65843.
bzimport added a subscriber: Unknown Object (MLST).

Setting low priority, it took me about 5 minutes to do it manually after reading [[mw:Manual:SQLite]].

  1. apt-get install php5-sqlite
  2. service apache2 restart

$ mv /vagrant/mediawiki/LocalSettings.php /vagrant/mediawiki/LocalSettings.php.mysql

And then I went through the web installer.

Even easier now, php5-sqlite is included by default as of gerrit change 143681.

Bulk unassigning bugs from Ori.

bd808 lowered the priority of this task from Low to Lowest.Dec 30 2014, 3:05 AM
bd808 subscribed.

Strongly support - I had no idea my sql changes were not passing until Jenkns complained

@Legoktm, ever since @bd808 introduced multi-versioned wiki, it is not possible to run through the web installer on vagrant. Need to find a better way to temporarily switch to sqlite backend.

Change 250171 had a related patch set uploaded (by Tim Landscheidt):
Add support for SQLite backend

https://gerrit.wikimedia.org/r/250171

scfc removed scfc as the assignee of this task.Feb 28 2017, 1:59 AM
scfc moved this task from Awaiting review to Backlog on the MediaWiki-Vagrant board.
scfc subscribed.

I did not rebase this change in the past year, so unassigning. This isn't rocket science, but requires a thorough understanding of the current MediaWiki-Vagrant Puppet structure and its interactions.