How To Use Trunk Version?

Development-related discussion, including bundled plugins
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, 09:45


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:48

I just ran it though the same test cases I prepared for my own code. Sorry that it didn't pass.

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, 10: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, 11:54

When I add additional comment lines to an existing define in the new config.php-dist as follows:

define('MYSQL_CHARSET', 'UTF8');
// Connection charset for MySQL. If you have a legacy database and/or experience
// garbage unicode characters with this option, try setting it to a blank string.
// additional lines
// additional lines
// additional lines
it fails.

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, 12:07

as I said... I'm sorry if it doesn't work for you.

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, 18:20


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, 20:46


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 » 10 Jun 2013, 00:45


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

Re: How To Use Trunk Version?

Postby gbcox » 10 Jun 2013, 02:43

ROFL..... Dude, this isn't an Iron Chef competition where you're required to use diff and patch.... you're just being ridiculous now...

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 » 10 Jun 2013, 03:21


User avatar
blainemono
Gaping Anus of Eternity
Gaping Anus of Eternity
Posts: 246
Joined: 05 Jun 2009, 18:13

Re: How To Use Trunk Version?

Postby blainemono » 10 Jun 2013, 09:44

hello

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

Re: How To Use Trunk Version?

Postby gbcox » 11 Jun 2013, 00:45


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

Re: How To Use Trunk Version?

Postby gbcox » 11 Jun 2013, 08:37

You're correct... by the manual it states that once a constant is defined, it can never be changed or undefined.
PHP will report this as an error, and ignore subsequent duplicates since they aren't suppose to be there - and it really isn't a good idea to purposely induce an error; programs may change the way they handle error conditions in future releases. Not to mention, it's just bad form.
If anything ever changes on those entries, you're not going to detect it with this method.

User avatar
fox
^ me reading your posts ^
Posts: 6318
Joined: 27 Aug 2005, 22:53
Location: Saint-Petersburg, Russia
Contact:

Re: How To Use Trunk Version?

Postby fox » 11 Jun 2013, 10:04

>tail +2 config.php-dist >> config.php

Adding yet another level of indirection there sounds like a great idea.

User avatar
fox
^ me reading your posts ^
Posts: 6318
Joined: 27 Aug 2005, 22:53
Location: Saint-Petersburg, Russia
Contact:

Re: How To Use Trunk Version?

Postby fox » 11 Jun 2013, 10:22

Much like zfs backup of databases, this also might work most of the time, but not something I would recommend doing and/or relying on.


Return to “Development”

Who is online

Users browsing this forum: No registered users and 1 guest