How To Use Trunk Version?

Development-related discussion, including bundled plugins
gbcox
Bear Rating Master
Bear Rating Master
Posts: 149
Joined: 25 Apr 2013, 04:52

Re: How To Use Trunk Version?

Postby gbcox » 08 Jun 2013, 00:23


gbcox
Bear Rating Master
Bear Rating Master
Posts: 149
Joined: 25 Apr 2013, 04:52

Re: How To Use Trunk Version?

Postby gbcox » 08 Jun 2013, 09:14

http://tso.bzb.us/2013/06/update-script ... rsion.html

OK, I've posted a revision which includes logfiles and schema/config.php change notifications. I've also added an additional script which does a backup and update to config.php. It creates a temporary baseline of config.php-dist and uses it for a reference point after the git pull; in addition to grabbing the local modifications from the existing config.php. The new config.php-dist is considered authoritative and will override the local changes if an item in question doesn't match the temporary baseline. That will probably happen extremely rarely, but if it does, you'll get a nudge to manually fix things. If the baseline matches config.php-dist after the update, then local modifications will be preserved and carried forward to the new config.php.

User avatar
sleeper_service
Bear Rating Overlord
Bear Rating Overlord
Posts: 884
Joined: 30 Mar 2013, 23:50
Location: Dallas, Texas

Re: How To Use Trunk Version?

Postby sleeper_service » 08 Jun 2013, 12:44


gbcox
Bear Rating Master
Bear Rating Master
Posts: 149
Joined: 25 Apr 2013, 04:52

Re: How To Use Trunk Version?

Postby gbcox » 08 Jun 2013, 21:14


Athanasius
Bear Rating Trainee
Bear Rating Trainee
Posts: 38
Joined: 02 Apr 2013, 21:01

Re: How To Use Trunk Version?

Postby Athanasius » 08 Jun 2013, 23:41

In my mind it's a case of not wanting the update service to be adding/changing data during any schema update, yes, even if the latter locks things. It just seems safer to not risk any race conditions/corruption there.

gbcox
Bear Rating Master
Bear Rating Master
Posts: 149
Joined: 25 Apr 2013, 04:52

Re: How To Use Trunk Version?

Postby gbcox » 08 Jun 2013, 23:47


Athanasius
Bear Rating Trainee
Bear Rating Trainee
Posts: 38
Joined: 02 Apr 2013, 21:01

Re: How To Use Trunk Version?

Postby Athanasius » 09 Jun 2013, 02:06


User avatar
sleeper_service
Bear Rating Overlord
Bear Rating Overlord
Posts: 884
Joined: 30 Mar 2013, 23:50
Location: Dallas, Texas

Re: How To Use Trunk Version?

Postby sleeper_service » 09 Jun 2013, 02:35


gbcox
Bear Rating Master
Bear Rating Master
Posts: 149
Joined: 25 Apr 2013, 04:52

Re: How To Use Trunk Version?

Postby gbcox » 09 Jun 2013, 03:47


gbcox
Bear Rating Master
Bear Rating Master
Posts: 149
Joined: 25 Apr 2013, 04:52

Re: How To Use Trunk Version?

Postby gbcox » 09 Jun 2013, 04:03


User avatar
sleeper_service
Bear Rating Overlord
Bear Rating Overlord
Posts: 884
Joined: 30 Mar 2013, 23:50
Location: Dallas, Texas

Re: How To Use Trunk Version?

Postby sleeper_service » 09 Jun 2013, 05:32


User avatar
sleeper_service
Bear Rating Overlord
Bear Rating Overlord
Posts: 884
Joined: 30 Mar 2013, 23:50
Location: Dallas, Texas

Re: How To Use Trunk Version?

Postby sleeper_service » 09 Jun 2013, 06:00


gbcox
Bear Rating Master
Bear Rating Master
Posts: 149
Joined: 25 Apr 2013, 04:52

Re: How To Use Trunk Version?

Postby gbcox » 09 Jun 2013, 08:12


User avatar
sleeper_service
Bear Rating Overlord
Bear Rating Overlord
Posts: 884
Joined: 30 Mar 2013, 23:50
Location: Dallas, Texas

Re: How To Use Trunk Version?

Postby sleeper_service » 09 Jun 2013, 08:42


gbcox
Bear Rating Master
Bear Rating Master
Posts: 149
Joined: 25 Apr 2013, 04:52

Re: How To Use Trunk Version?

Postby gbcox » 09 Jun 2013, 09:21



Return to “Development”

Who is online

Users browsing this forum: No registered users and 2 guests