Page MenuHomePhabricator

Update quickstart SQL
ClosedPublic

Authored by epriestley on Jan 17 2014, 11:46 PM.
Tags
None
Referenced Files
F15534791: D8004.id18105.diff
Thu, Apr 24, 2:08 AM
F15524445: D8004.id18110.diff
Mon, Apr 21, 8:04 AM
F15521449: D8004.id.diff
Sun, Apr 20, 2:21 PM
F15518140: D8004.diff
Sat, Apr 19, 11:21 AM
F15505736: D8004.diff
Tue, Apr 15, 5:32 AM
F15432997: D8004.id18105.diff
Mar 24 2025, 8:47 PM
F15421787: D8004.id18105.diff
Mar 22 2025, 2:14 AM
F15411344: D8004.id18110.diff
Mar 19 2025, 9:05 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.