Yesterday, I thought it would be fun to play around with Apache Solr. There is a php library and a symfony2 bundle, so I got solr up and running in no time. A few tutorials later I had some data from on of our projects in solr and used it for our search engine. Today I deleted the branch and removed solr*. But I would do it again. And I highly recommend you to do the same.
A blog on #symfony2, working at a #startup and #testing your code
This blog is read-only. See my new blog at http://sgoettschkes.me
Donnerstag, 21. Juni 2012
Tortoisegit 1.7.10 crashes constantly
After upgrading to Tortoisegit 1.7.10 I got constant crashes of Tortoisegit. Today it started crashing my explorer.exe as well. I tried the 1.7.10.3 as well as the beta of msysgit 1.7.11 without success. I uninstalled tortoisegit and installed it afterwards, which also didn't help.
The thing which brought stuff back to normal was to disable the icon overlay cache. I did this using Tortoisegit Settings => Icon Overlays => Status cache: None.
It seems my overlay icons are not updating anymore, which sucks. But it's better than not being able to use Tortoisegit at all.
I can not find any way to clear the whole cache and see if this helps. If you happen to know how to do this, please leave me a comment or email me. Thanks!
I figured that cleanup is nice to do some time, so I looked for a script. Chris Irish has one at hand:
And for those of you that run windows (works in cygwin):
This iterates through all folders starting with the current one and executes
If you can reproduce this issue, make sure to get a crash report and to fill a bug report at the tortoisegit issue tracker.
The thing which brought stuff back to normal was to disable the icon overlay cache. I did this using Tortoisegit Settings => Icon Overlays => Status cache: None.
It seems my overlay icons are not updating anymore, which sucks. But it's better than not being able to use Tortoisegit at all.
I can not find any way to clear the whole cache and see if this helps. If you happen to know how to do this, please leave me a comment or email me. Thanks!
UPDATE
Today I recieved an email from one of the Tortoisegit Core Developers. We could not track the problem down as I have no crash reports, but he pointed out thatgit gc
might help. And it did! Running it in the repository I had problems commiting to solved the issue.I figured that cleanup is nice to do some time, so I looked for a script. Chris Irish has one at hand:
find . -type d -name .git | while read dir; do pushd "$dir"; git gc --prune; popd; done
And for those of you that run windows (works in cygwin):
find . -type d -name .git | while read dir; do pushd "$dir"; git.cmd gc --prune; popd; done
This iterates through all folders starting with the current one and executes
git gc --prune
if it's the root of a git repository.If you can reproduce this issue, make sure to get a crash report and to fill a bug report at the tortoisegit issue tracker.
Dienstag, 12. Juni 2012
Welcome disqus
You might have noticed it. From now on comments on posts can be made through disqus. As disqus is used on many blogs and the login can be made using facebook, twitter, openid and many more it should be no problem for people who want to share their thoughts.
If you don't like disqus, you can always email me at sebastian (dot) goettschkes (at) googlemail (dot) com. I'm happy to discuss various topics through email, so feel free to drop me some lines.
And, of course, I hope to get more comments now that disqus makes it easier to enter the personal information!
If you don't like disqus, you can always email me at sebastian (dot) goettschkes (at) googlemail (dot) com. I'm happy to discuss various topics through email, so feel free to drop me some lines.
And, of course, I hope to get more comments now that disqus makes it easier to enter the personal information!
Dienstag, 5. Juni 2012
symfony2 Test Database Best Pratice
When you build a reliable testsuite, you get to a point where it gets really slow. Unittests may be fast, but then the functional tests get executed and it takes time to set up clean databases and a clean environment before a test can be executed. With over 900 tests, one of our projects took way over 10 minutes to build on our Jenkins server. You probably know that XP teaches to have a 10 minute build. So what to do?
Abonnieren
Posts (Atom)