-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add Support for Joomla5 builds #16
base: master
Are you sure you want to change the base?
Conversation
(edited) civicrm/civicrm-core#31325 changes the name of the zip to 'civicrm-$version-joomla5bc.zip' to emphasize the dependence on the Back Compatibility plugin, and to clear the way for using '...-joomla5.zip' as the version without that dependency. |
@@ -180,6 +180,8 @@ protected function getLatestStable() { | |||
self::STABLE_DOWNLOAD_URL, $rev, $rev), | |||
'Joomla' => sprintf('%s/%s/civicrm-%s-joomla.zip', | |||
self::STABLE_DOWNLOAD_URL, $rev, $rev), | |||
'Joomla5' => sprintf('%s/%s/civicrm-%s-joomla5.zip', |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
With the changes in civicrm/civicrm-core#31325 this become ... '-joomla5bc.zip'
@@ -146,7 +146,7 @@ public function createRevDocs() { | |||
* Ex: 'Drupal' or 'Drupal6'. | |||
*/ | |||
protected function getTarName($file) { | |||
if (!preg_match(';^civicrm-(.*)-(backdrop|drupal|drupal6|joomla|joomla-alt|standalone|starterkit|wordpress|wporg|l10n)(-[0-9]+)?\.(zip|tar.gz|tgz)$;i', $file['basename'], $matches)) { | |||
if (!preg_match(';^civicrm-(.*)-(backdrop|drupal|drupal6|joomla|joomla5|joomla-alt|standalone|starterkit|wordpress|wporg|l10n)(-[0-9]+)?\.(zip|tar.gz|tgz)$;i', $file['basename'], $matches)) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
joomla5 -> joomla5bc
@@ -155,6 +155,7 @@ protected function getTarName($file) { | |||
'drupal' => 'Drupal', | |||
'drupal6' => 'Drupal6', | |||
'joomla' => 'Joomla', | |||
'joomla5' => 'Joomla5', |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
'joomla5bc' -> 'Joomla5bc'
@@ -44,6 +44,7 @@ public function getDownloadExamples() { | |||
$cases[7] = array('civicrm-RC-wordpress.zip', ';/civicrm-(\d|\.|alpha|beta)+-wordpress-?\d*.zip;'); | |||
$cases[8] = array('civicrm-RC-joomla.zip', ';/civicrm-(\d|\.|alpha|beta)+-joomla-?\d*.zip;'); | |||
$cases[9] = array('civicrm-RC-backdrop.tar.gz', ';/civicrm-(\d|\.|alpha|beta)+-backdrop-\d*.tar.gz;'); | |||
$cases[10] = array('civicrm-RC-joomla5.zip', ';/civicrm-(\d|\.|alpha|beta)+-joomla5-?\d*.zip;'); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
joomla5 -> joomla5bc
ping @totten @aydun
I can see that jobs are pushing the J5 version https://test.civicrm.org/job/CiviCRM-Publish/32156/gcsObjects/ but it seems that the web interface doesn't support it yet.