Search found 149 matches

by gbcox
09 Jun 2013, 11:54
Forum: Development
Topic: How To Use Trunk Version?
Replies: 75
Views: 30344

Re: How To Use Trunk Version?

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. // addi...
by gbcox
09 Jun 2013, 09:48
Forum: Development
Topic: How To Use Trunk Version?
Replies: 75
Views: 30344

Re: How To Use Trunk Version?

I just ran it though the same test cases I prepared for my own code. Sorry that it didn't pass.
by gbcox
09 Jun 2013, 09:21
Forum: Development
Topic: How To Use Trunk Version?
Replies: 75
Views: 30344

Re: How To Use Trunk Version?

all the 'rebuilding from scratch' that you do isn't necessary, all you have to do is apply your local customizations to the source file. those can be found with a diff -c config.php-dist config.php. then when a new *dist file comes in, you can simply patch those changes into a copy of the new dist ...
by gbcox
09 Jun 2013, 08:12
Forum: Development
Topic: How To Use Trunk Version?
Replies: 75
Views: 30344

Re: How To Use Trunk Version?

before your firstupdate, do this: cp config.php-dist config.php-dist-old and diff -c config.php-dist config.php > config.php.patch I don't think patch will work for this. You've got three files which are different and you have to match, merge on each line using different sets of rules (Comments, de...
by gbcox
09 Jun 2013, 04:03
Forum: Development
Topic: How To Use Trunk Version?
Replies: 75
Views: 30344

Re: How To Use Trunk Version?

Still, you could get past that check before the update and be in the middle of other code just as something in the schema update causes DB changes. I'll stick with not relying on the underlying code being always 100% correct. It's not like it's difficult to stop and start the daemon. Yes, as I ment...
by gbcox
09 Jun 2013, 03:47
Forum: Development
Topic: How To Use Trunk Version?
Replies: 75
Views: 30344

Re: How To Use Trunk Version?

stop update, do a pull, in the pull is a schema change. now, update has a new data layout for the database, you're starting the update, and without the checks that fox built in, you'd be trying to insert a new data structure into an old database.... Yeah, I knew the update-service had the code to n...
by gbcox
08 Jun 2013, 23:47
Forum: Development
Topic: How To Use Trunk Version?
Replies: 75
Views: 30344

Re: How To Use Trunk Version?

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. I don't believe that can happen. If a schema update is pending, I believe you mus...
by gbcox
08 Jun 2013, 21:14
Forum: Development
Topic: How To Use Trunk Version?
Replies: 75
Views: 30344

Re: How To Use Trunk Version?

I'm curious, as I am at times, after checking and finding that there's a config.php update, or a schema update, why do you try and start the updater service? cuz, it won't run when there's been a change to the config or schema. shouldn't that be a conditional? Yeah, if config.php changes, then serv...
by gbcox
08 Jun 2013, 09:14
Forum: Development
Topic: How To Use Trunk Version?
Replies: 75
Views: 30344

Re: How To Use Trunk Version?

http://tso.bzb.us/2013/06/update-script-for-ttrss-trunk-version.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 an...
by gbcox
08 Jun 2013, 00:23
Forum: Development
Topic: How To Use Trunk Version?
Replies: 75
Views: 30344

Re: How To Use Trunk Version?

I note that running 'update.php --update-schema' when an update proves necessary now prompts you to backup your database and "Type 'yes' to continue.". That's good to know... and reinforces my belief that there isn't much to be gained by including additional automation there. I did decide...
by gbcox
07 Jun 2013, 08:04
Forum: Development
Topic: How To Use Trunk Version?
Replies: 75
Views: 30344

Re: How To Use Trunk Version?

Doing it manually affords the opportunity to do a backup before if desired. In any event whenever I deal with databases I tend to exercise extra caution.
by gbcox
07 Jun 2013, 06:51
Forum: Development
Topic: How To Use Trunk Version?
Replies: 75
Views: 30344

Re: How To Use Trunk Version?

Yeah, personally I prefer to do schema and config.php updates outside of a script like this. Those are items I think better left as they are - and I'm satisfied with the way they are currently handled. If I change my mind though, I'll post an update.
by gbcox
07 Jun 2013, 03:25
Forum: Development
Topic: How To Use Trunk Version?
Replies: 75
Views: 30344

Re: How To Use Trunk Version?

if fox updates the database schema, your ttrss will be broken. if fox updates the config.php-dist file, your ttrss will be broken. Thanks for the feedback however those issues are already handed by ttrss... if the database schema is updated there are already checks in place to detect and handle. Sa...
by gbcox
06 Jun 2013, 23:15
Forum: Development
Topic: How To Use Trunk Version?
Replies: 75
Views: 30344

Re: How To Use Trunk Version?

I created a quick script to automatically do the git pull... saves a couple of keystrokes...
http://tso.bzb.us/2013/06/update-script ... rsion.html
by gbcox
04 Jun 2013, 23:27
Forum: Feature requests
Topic: Mr. Reader API compatibility
Replies: 16
Views: 6589

Re: Mr. Reader API compatibility

:roll: Wow, this must be some kind of fantastic app if the developer is asking everybody to change their applications to work with his... oh wait, it's for an Apple product... I guess it's true, the app doesn't fall far from the tree... :lol:

Go to advanced search