1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-09-22 10:18:48 +02:00
phorge-phorge/src/applications
epriestley 917da08417 Fix various MySQL version issues with new charset stuff
Summary:
Ref T1191. Notable stuff:

  - Adds `--disable-utf8mb4` to `bin/storage` to make it easier to test what things will (approximately) do on old MySQL. This isn't 100% perfect but should catch all the major stuff. It basically makes us pretend the server is an old server.
  - Require utf8mb4 to dump a quickstart.
  - Fix some issues with quickstart generation, notably special casing the FULLTEXT handling.
  - Add an `--unsafe` flag to `bin/storage adjust` to let it truncate data to fix schemata.
  - Fix some old patches which don't work if the default table charset is utf8mb4.

Test Plan:
  - Dumped a quickstart.
  - Loaded the quickstart with utf8mb4.
  - Loaded the quickstart with `--disable-utf8mb4` (verified that we get binary columns, etc).
  - Adjusted schema with `--disable-utf8mb4` (got a long adjustment with binary columns, some truncation stuff with weird edge case test data).
  - Adjusted schema with `--disable-utf8mb4 --unsafe` (got truncations and clean adjust).
  - Adjusted schema back without `--disable-utf8mb4` (got a long adjustment with utf8mb4 columns, some invalid data on truncated utf8).
  - Adjusted schema without `--disable-utf8mb4`, but with `--unsafe` (got truncations on the invalid data).

Reviewers: btrahan

Reviewed By: btrahan

Subscribers: epriestley

Maniphest Tasks: T1191

Differential Revision: https://secure.phabricator.com/D10757
2014-10-29 15:49:29 -07:00
..
almanac Add AlmanacBinding, to bind a service to an interface 2014-10-27 13:39:36 -07:00
aphlict/management Try nodejs before node when starting notification server 2014-06-07 13:56:23 -07:00
arcanist/conduit Rename Conduit classes 2014-07-25 10:54:15 +10:00
audit Repositories - don't send emails or publish feed stories about commits from importing repositories 2014-10-21 10:05:45 -07:00
auth Minor formatting changes 2014-10-08 08:39:49 +11:00
base Decouple some aspects of request routing and construction 2014-10-17 05:01:40 -07:00
cache Automatically build all Lisk schemata 2014-10-02 09:51:20 -07:00
calendar Decouple some aspects of request routing and construction 2014-10-17 05:01:40 -07:00
celerity Add Pink, correct Indigo in base colors 2014-10-15 10:33:26 -07:00
chatlog Minor formatting changes 2014-10-08 08:39:49 +11:00
conduit Decouple some aspects of request routing and construction 2014-10-17 05:01:40 -07:00
config Fix various MySQL version issues with new charset stuff 2014-10-29 15:49:29 -07:00
conpherence Minor formatting changes 2014-10-08 08:39:49 +11:00
console Move DarkConsole to an application 2014-10-13 11:17:09 -07:00
countdown Decouple some aspects of request routing and construction 2014-10-17 05:01:40 -07:00
daemon Automatically build all Lisk schemata 2014-10-02 09:51:20 -07:00
dashboard Support mentions from dashboard panels 2014-10-27 13:37:16 -07:00
differential Normalize AuditStatusConstant Colors 2014-10-20 15:47:10 -07:00
diffusion Diffusion - fix another commit importing case. 2014-10-27 12:19:07 -07:00
diviner Decouple some aspects of request routing and construction 2014-10-17 05:01:40 -07:00
doorkeeper Minor formatting changes 2014-10-08 08:39:49 +11:00
draft/storage Automatically build all Lisk schemata 2014-10-02 09:51:20 -07:00
drydock Decouple some aspects of request routing and construction 2014-10-17 05:01:40 -07:00
fact Minor formatting changes 2014-10-08 08:39:49 +11:00
feed Audit - another partial fix to commit re-parsing bug 2014-10-20 17:39:19 -07:00
files Decouple some aspects of request routing and construction 2014-10-17 05:01:40 -07:00
flag Decouple some aspects of request routing and construction 2014-10-17 05:01:40 -07:00
fund Decouple some aspects of request routing and construction 2014-10-17 05:01:40 -07:00
harbormaster Decouple some aspects of request routing and construction 2014-10-17 05:01:40 -07:00
help Implement the getName method in PhabricatorApplication subclasses 2014-07-23 23:52:50 +10:00
herald Decouple some aspects of request routing and construction 2014-10-17 05:01:40 -07:00
home Minor formatting changes 2014-10-08 08:39:49 +11:00
legalpad Decouple some aspects of request routing and construction 2014-10-17 05:01:40 -07:00
lipsum Apply some autofix linter rules 2014-09-10 06:55:05 +10:00
macro Decouple some aspects of request routing and construction 2014-10-17 05:01:40 -07:00
mailinglists Decouple some aspects of request routing and construction 2014-10-17 05:01:40 -07:00
maniphest Decouple some aspects of request routing and construction 2014-10-17 05:01:40 -07:00
meta Decouple some aspects of request routing and construction 2014-10-17 05:01:40 -07:00
metamta MetaMTA - make test mail implementation support message id headers by default 2014-10-27 13:09:34 -07:00
notification Decouple some aspects of request routing and construction 2014-10-17 05:01:40 -07:00
nuance Automatically build all Lisk schemata 2014-10-02 09:51:20 -07:00
oauthserver Decouple some aspects of request routing and construction 2014-10-17 05:01:40 -07:00
owners Minor formatting changes 2014-10-08 08:39:49 +11:00
passphrase Decouple some aspects of request routing and construction 2014-10-17 05:01:40 -07:00
paste Decouple some aspects of request routing and construction 2014-10-17 05:01:40 -07:00
people Fix various MySQL version issues with new charset stuff 2014-10-29 15:49:29 -07:00
phame Fix Phame handling of $request 2014-10-24 09:02:18 -07:00
phid Modernize Phortune PHID constants 2014-10-06 16:48:16 -07:00
phlux Minor formatting changes 2014-10-08 08:39:49 +11:00
pholio Pholio - upgrade herald effects to use transactions 2014-10-17 13:55:39 -07:00
phortune Build AlmanacService 2014-10-17 05:01:57 -07:00
phpast Minor formatting changes 2014-10-08 08:39:49 +11:00
phragment Minor formatting changes 2014-10-08 08:39:49 +11:00
phrequent Decouple some aspects of request routing and construction 2014-10-17 05:01:40 -07:00
phriction Decouple some aspects of request routing and construction 2014-10-17 05:01:40 -07:00
policy Policy - fix error message 2014-10-08 19:46:56 -07:00
ponder Decouple some aspects of request routing and construction 2014-10-17 05:01:40 -07:00
project Fix project hashtag regexp to stop matching terminal periods 2014-10-29 08:13:38 -07:00
releeph Decouple some aspects of request routing and construction 2014-10-17 05:01:40 -07:00
remarkup/conduit Rename Conduit classes 2014-07-25 10:54:15 +10:00
repository Diffusion - upgrade exception error message to include hint to config option 2014-10-29 09:28:29 -07:00
search Decouple some aspects of request routing and construction 2014-10-17 05:01:40 -07:00
settings Minor formatting changes 2014-10-08 08:39:49 +11:00
slowvote Decouple some aspects of request routing and construction 2014-10-17 05:01:40 -07:00
subscriptions Minor formatting changes 2014-10-08 08:39:49 +11:00
support/application Implement the getName method in PhabricatorApplication subclasses 2014-07-23 23:52:50 +10:00
system Automatically build all Lisk schemata 2014-10-02 09:51:20 -07:00
tokens Minor formatting changes 2014-10-08 08:39:49 +11:00
transactions Transactions - fix doorkeeper feed story error 2014-10-13 16:45:58 -07:00
typeahead Projects - tokenize projects more aggressively with respect to '-' 2014-08-14 12:28:11 -07:00
uiexample Add Pink, correct Indigo in base colors 2014-10-15 10:33:26 -07:00
xhprof Automatically build all Lisk schemata 2014-10-02 09:51:20 -07:00