Sort sql.qrc when generating, emphasize script
authorShane Synan <digitalcircuit36939@gmail.com>
Fri, 6 Jan 2017 20:07:20 +0000 (14:07 -0600)
committerManuel Nickschas <sputnick@quassel-irc.org>
Thu, 13 Apr 2017 19:39:15 +0000 (21:39 +0200)
commit7763ad0228173114ce1599176fbad6321dd59e94
tree52fa34ac4a56a25ac95163814bf7ad2e9da0acd1
parent1e936d5f780e6fd410f114980057d48477435d83
Sort sql.qrc when generating, emphasize script

Modify the update SQL resource script to version-sort output and
batch append it to the sql.qrc file.  This improves readability in
'git diff' output, and might slightly improve performance, too.

Move UPDATE_SQL_RESOURCE.sh to SQL/updateSQLResource.sh, making it
easier to find, right next to the other SQL management script.  This
required a few changes to the logic.

Document the new behavior in upgradeSchema.sh, keep the manual
instructions in case the script doesn't work.

Comments, comments everywhere.

(I really wish I would've known about this script earlier...)

Resolves GH-268.
src/core/SQL/updateSQLResource.sh [new file with mode: 0755]
src/core/SQL/upgradeSchema.sh
src/core/UPDATE_SQL_RESOURCE.sh [deleted file]