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

Branch
cparser6
Lint
Lint Warnings
SeverityLocationCodeMessage
Warningresources/sql/quickstart.sql:428TXT3Line Too Long
Warningresources/sql/quickstart.sql:775TXT3Line Too Long
Warningresources/sql/quickstart.sql:1051TXT3Line Too Long
Warningresources/sql/quickstart.sql:1106TXT3Line Too Long
Warningresources/sql/quickstart.sql:1299TXT3Line Too Long
Warningresources/sql/quickstart.sql:1342TXT3Line Too Long
Warningresources/sql/quickstart.sql:1579TXT3Line Too Long
Warningresources/sql/quickstart.sql:2056TXT3Line Too Long
Warningresources/sql/quickstart.sql:2058TXT3Line Too Long
Warningresources/sql/quickstart.sql:2080TXT3Line Too Long
Warningresources/sql/quickstart.sql:2331TXT3Line Too Long
Warningresources/sql/quickstart.sql:2476TXT3Line Too Long
Warningresources/sql/quickstart.sql:2819TXT3Line Too Long
Warningresources/sql/quickstart.sql:2895TXT3Line Too Long
Warningresources/sql/quickstart.sql:2963TXT3Line Too Long
Warningresources/sql/quickstart.sql:3013TXT3Line Too Long
Warningresources/sql/quickstart.sql:3036TXT3Line Too Long
Warningresources/sql/quickstart.sql:3045TXT3Line Too Long
Warningresources/sql/quickstart.sql:3062TXT3Line Too Long
Warningresources/sql/quickstart.sql:3096TXT3Line Too Long
Warningresources/sql/quickstart.sql:3106TXT3Line Too Long
Warningresources/sql/quickstart.sql:3306TXT3Line Too Long
Warningresources/sql/quickstart.sql:3307TXT3Line Too Long
Warningresources/sql/quickstart.sql:3358TXT3Line Too Long
Warningresources/sql/quickstart.sql:3645TXT3Line Too Long
Unit
No Test Coverage

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.