Page MenuHomePhabricator

Update quickstart SQL
ClosedPublic

Authored by epriestley on Jan 17 2014, 11:46 PM.
Tags
None
Referenced Files
F14096822: D8004.id18110.diff
Tue, Nov 26, 5:36 AM
F14095404: D8004.diff
Mon, Nov 25, 9:06 PM
Unknown Object (File)
Fri, Nov 22, 3:15 PM
Unknown Object (File)
Mon, Nov 18, 8:45 AM
Unknown Object (File)
Fri, Nov 15, 1:03 AM
Unknown Object (File)
Sat, Nov 9, 6:25 PM
Unknown Object (File)
Wed, Nov 6, 12:37 AM
Unknown Object (File)
Wed, Nov 6, 12:37 AM
Subscribers

Details

Reviewers
btrahan
Maniphest Tasks
T4327: Problems trying to import project
Commits
Restricted Diffusion Commit
rPa9e11ed8c100: Update quickstart SQL
Summary

Ref T4327. The change parser unit tests need database fixtures, which are getting a bit slow to build. Speed them up by updating the quickstart.

Test Plan

Initialized new storage via quickstart, clicked around, everything seemed to work properly. Ran all unit tests.

Diff Detail

Lint
Lint Skipped
Unit
Tests Skipped

Event Timeline

Did you make this manually? That's quick work if so!

The process is basically:

  • Change storage namespace to something unique (bin/conf set storage.default-namespace ABCDEFGHIJ).
  • Do a full upgrade (bin/storage upgrade -f).
  • Do a dump (bin/storage dump > new_quickstart.sql).
  • Find/replace ABCDEFGHIJ with {$NAMESPACE} in the dump file.
  • The dump will also have some comments, table lock statements, etc., which vary a bit from version to version and which we don't need to retain. I removed these with find/replace until the new dump looked mostly similar to the old dump, this probably took about ~5 minutes of looking at diff and mangling stuff in my editor.