CiviCRM Community Forums (archive)

*

News:

Have a question about CiviCRM?
Get it answered quickly at the new
CiviCRM Stack Exchange Q+A site

This forum was archived on 25 November 2017. Learn more.
How to get involved.
What to do if you think you've found a bug.



  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Discussion (deprecated) »
  • Alpha and Beta Release Testing »
  • Distmaker not updating version number in page footers
Pages: [1]

Author Topic: Distmaker not updating version number in page footers  (Read 2514 times)

Chris Burgess

  • Ask me questions
  • ****
  • Posts: 675
  • Karma: 59
Distmaker not updating version number in page footers
February 24, 2008, 04:43:55 pm
UPDATE: Lobo tells me distmaker.sh is not required if you want to run SVN version of CiviCRM. See http://wiki.civicrm.org/confluence/display/CRMDOC/Installing+CiviCRM+from+subversion+%28SVN%29+repository

(I've hit this issue twice now, so figured a forum post might help someone else - and help me the next time I trip over it.)

When building CiviCRM from SVN, distmaker will only update the version.tpl (in templates/CRM/common/version.tpl) the first time distmaker is run. (Presumably this is so you can edit version.tpl and "label" your custom build of CiviCRM?)

This means that the second time I build CiviCRM from an SVN checkout, I'll end up with the page footers reporting the first build version, unless I remove the version.tpl before running distmaker.sh

Here's my process for building the latest version of CiviCRM. We're using Drupal 5.

Code: [Select]
cd ~/src/civicrm-2.0
svn up
< edit distmaker/distmaker.conf to reflect new SVN version >
rm templates/CRM/common/version.tpl
cd distmaker
./distmaker.sh d5
« Last Edit: February 24, 2008, 05:31:41 pm by xurizaemon »
@xurizaemon ● www.fuzion.co.nz

Chris Burgess

  • Ask me questions
  • ****
  • Posts: 675
  • Karma: 59
Re: Distmaker not updating version number in page footers
February 24, 2008, 05:32:12 pm
From IRC:

Quote
dlobo: so here is what we do
[2:24pm] dlobo: we basically use symlink
[2:24pm] dlobo: so we check civicrm out in ~/svn/civicrm
[2:24pm] dlobo: and run setup.sh the first time (or whatever number of times)
[2:25pm] dlobo: we create the settings files in ~/svn/civicrm/civicrm.setting.php
[2:25pm] dlobo: sites/all/modules/civicrm is a link to ~/svn/civicrm
[2:26pm] dlobo: and sites/default/civicrm.settings.php is a link to ../all/modules/civicrm/civicrm.settings.php (which enables us to switch civicrm bersions easily by changing just one link)
@xurizaemon ● www.fuzion.co.nz

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Discussion (deprecated) »
  • Alpha and Beta Release Testing »
  • Distmaker not updating version number in page footers

This forum was archived on 2017-11-26.