totten / civix

CiviCRM Extension Builder
http://civicrm.org/
Other
57 stars 56 forks source link

generate:upgrader - New-style upgrader-class should always be installable, even if... (Option A) #370

Closed totten closed 1 week ago

totten commented 1 week ago

When using generate:upgrader for new-style upgrader-class, it should always be installable, even if... there are no EFv2 entities.

Example use case (on 5.78+)

civibuild restore dmaster
civix generate:module testupgrader --enable=no --no-interaction
cd testupgrader
civix generate:upgrader ## NOTE: No new entities!
cv en testupgrader