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) »
  • Developer Discussion (Moderator: Donald Lobo) »
  • Update from SVN
Pages: [1]

Author Topic: Update from SVN  (Read 986 times)

xavier

  • Forum Godess / God
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4453
  • Karma: 161
    • Tech To The People
  • CiviCRM version: yes probably
  • CMS version: drupal
Update from SVN
August 13, 2009, 11:23:06 pm
Started a discussion with Lobo on the forum, about how to update from svn, and be sure the database schema is synced with the code.
Lobo answer:
Quote
Just use civicrm/upgrade?reset=1 and the incremental upgrader does the right thing
upgrading from svn is a bit harder :(
Set the right version in civicrm-version.txt. update to the latest tagged version and then do a civicrm/upgrade?reset=1
upgrading in the middle of a release week is a bit dangerous. you can check the php/sql code at
CRM/Upgrade/Incremental/sql/*

What is the proper convention for the civicrm-version.txt ?

Would it be possible that civicrm-version.txt in the subversion repository is updated everytime the structure has changed (or everytime there is an upgrade?reset=1 that is available ?

What is the proper way to spot when the db structure has changed ? is watching if the svn update modify/add a file in CRM/Upgrade/Incremental a good strategy ?
-Hackathon and data journalism about the European parliament 24-26 jan. Watch out the result

Donald Lobo

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 15963
  • Karma: 470
    • CiviCRM site
  • CiviCRM version: 4.2+
  • CMS version: Drupal 7, Joomla 2.5+
  • MySQL version: 5.5.x
  • PHP version: 5.4.x
Re: Update from SVN
August 14, 2009, 05:45:53 am

Code: [Select]
2.2.0 Drupal PHP5

there is no civicrm-version.txt in the repository. that file is generated by the distribution scripts

you can monitor the xml directory to see if there are changes in the schema

lobo
A new CiviCRM Q&A resource needs YOUR help to get started. Visit our StackExchange proposed site, sign up and vote on 5 questions

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Developer Discussion (Moderator: Donald Lobo) »
  • Update from SVN

This forum was archived on 2017-11-26.