Remove `templates/CRM/common/version.tpl`
Background: We aim to allow installing CiviCRM on Drupal 8 via composer
/git
without requiring the admin to run GenCode
.
The file templates/CRM/common/version.tpl
is generated by GenCode
and then used once... by GenCode
. If you grep universe
, there's nothing else that references CRM/common/version.tpl
.
Task:
Find the place where GenCode
relies on templates/CRM/common/version.tpl
. Get that information a different way (i.e. read version.xml
). Then, update GenCode
so that it no longer creates templates/CRM/common/version.tpl
.
EDIT: If the file isn't used, then do we really need to remove it? Perhaps we can keep it around (in tarballs) on the off-chance that some unpublished legacy process relies on it, but omit from the D8 builds?
Stepping back... @dsnopek, I'm a little confused -- because it seems to me like this file isn't used, but your D8 install steps copy it over. Did you put that step in as a matter of speculation or based on a concrete issue?