Moving the scripts to a common directory not only vastly simplifies the zzz-gluon-upgrade script, but also allows to define an ordering of such scripts across packages.
This is the most basic core of the Gluon framework. Most upgrade scripts will have to be rewritten and/or moved to other packages.