debuggable

 
Contact Us
 
13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21

Berlin CakePHP Meetup, Next Friday (Jan 30)

Posted on 22/1/09 by Felix Geisendörfer

Hey folks,

Tim and I are hosting a little CakePHP get-together next week Friday. The event will start at 6pm and last until ... well whenever we run out of beer ; ).

The exact location (somewhere in the center of Berlin) will depend on the amount of people who want to join us. So if you are fairly certain that you want to try to make it, please leave a comment on the post so we can do the planning.

No matter if you are a kitchen assistant or a five star chef right now, everybody is welcome. That means even if you are just curious about CakePHP and more in the PHP/JS/Ruby/Python/*web world, please join us.

If enough people are interested we can make this a monthly thing!

-- Felix Geisendörfer aka the_undefined

PS: If you have any questions or need assistance in making travel arrangements, let me know!

 

Git Tip: Auto update working tree via post-receive hook

Posted on 26/12/08 by Felix Geisendörfer

Oh, this one took me a while to figure out. Lets say you want to setup a git repository on your server that whenever you push into it updates its working tree. Why? Well, because this can be a very convenient workflow for a small project where you want to be able to quickly push changes out without any fancy deploy mechanism.

My first attempt was to do this on the server:

chmod +x .git/hooks/post-receive

And then put this into the post-receive hook file itself:

#!/bin/sh
cd ..
git reset --hard

However, this would always give me an error like this when trying to push:

$ git push
Counting objects: 5, done.
Compressing objects: 100% (2/2), done.
Writing objects: 100% (3/3), 372 bytes, done.
Total 3 (delta 0), reused 0 (delta 0)
To machine:/repo/path
   122a0cc..747f3d8  master -> master
fatal: Not a git repository: '.'
error: hooks/post-receive exited with error code 128

The solution? It turns out the post-receive hook starts out with the GIT_DIR environment variable set to the repo/.git folder, so no matter what path you 'cd' into it will always try to run any following git commands there. Fixing this is simply a matter of unsetting the GIT_DIR (thanks to Ulrich Petri for the elegant env -i solution):

#!/bin/sh
cd ..
env -i git reset --hard

Voila, a quick and dirty-git repository that updates its own working tree upon push!

-- Felix Geisendörfer aka the_undefined

Another issue you might want to watch out for: Depending on the user doing the push and the permission / ownership settings on the working tree you may have to become a little more tricky using a sudo -u command and an entry in your sudoers file.

 

Extra Hot: CakePHP 1.2 Stable is finally released!

Posted on 26/12/08 by Tim Koschützki

Hey folks,

tonight is an amazing one! Not only do we get to play with our hopefully awesome gifts, but we are also able to enjoy the final 1.2 version release of our favorite PHP framework CakePHP!

The Final Release of CakePHP has come along way, with four release candidates altogether. I guess this is the time to thank everybody on the team for their hard work as well as our great community that's been supporting us with ticket submissions, suggestions and often times very usable patches and tests! It's been amazing to be a part of the community! It's not only fun developing CakePHP and with CakePHP, but also communicating with fellow bakers.

CakePHP has grown a lot from the 1.1 release which was exactly two years ago. A lot of cool features went into the framework. However, the most important thing is really that we got all components well-tested with a pretty high test coverage. To learn about the other dramatic changes since version 1.1, hop on over and read Garrett's release announcement.

You guys are probably wondering now in which direction the development of CakePHP is going from now on. Well, this is currently being discussed on the dev team, but rest assured that we are looking at enhancement tickets as well. So, if you happen to have a good idea about a feature or enhancement that should go into Cake 1.3, now would be a good time to voice your opinion.

Come on hop on irc, the google group or simply add a comment to this blogpost and we will discuss it. If you decide to add a ticket instead, please make sure there is no related ticket already as there are well over two hundred already.

I hope you are as excited as we are. :) If you haven't yet used CakePHP, give this final 1.2 release a try - it's well worth a shot!

-- Tim Koschuetzki aka DarkAngelBGE

 

Merry Christmas and Positive Lookahead

Posted on 24/12/08 by Felix Geisendörfer

Hey folks,

this is Tim and Felix wishing you a Merry Christmas and a Happy New Year! We hope you had a great year and got as much excellent baking done as possible.

2008 has certainly been a very exciting year here at Debuggable. We traveled the world and met up with bakers in Singapore, Argentina and the US. We worked with a lot of amazing companies and individuals, creating an insane amount of applications and products. We also had the opportunity to host a 2 day CakePHP workshop in Raleigh (home of the famous NOSLOW) using the facilities provided by credit risk management. It was a huge success.

The future however, is even brighter! We developed a new technology that will put the R back into revolution. But I really don't want to talk about it too much yet. We are also going to relaunch our blog and change the overall concept of debuggable.com. Don't worry, we will continue to write about CakePHP, but you are going to see much more video. Coincidentally, the new technology will also play a role in that. Follow me on twitter if you are curious.

-- Felix Geisendörfer aka the_undefined

 

CakePHP conference in Chile

Posted on 16/12/08 by Felix Geisendörfer

Hey folks,

just a quick note for the south american baker's and friends of cerveza: Some of the folks in Chile are having another CakePHP conference on Friday, Dec 19th (this week!). So if you want to check it out, the event is free and from my rough understanding of the schedule it looks interesting.

-- Felix Geisendörfer aka the_undefined

PS: They named their event 'CakeFest' as well but that is a somewhat unfortunate choice as the cake software foundation is using this term for the official events they organize. Rumor has it the next one will be in here Berlin ; ).

 
13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21