Archive for the ‘Programming’ Category

gc-utils v0.0.3 released

Today I released version 0.0.3 of gc-utils. Thanks to Eduardo and Derek which helped me to find bugs and wrote me E-Mails about their user experience. A lot of changes are included. The most notable addition is the gc-multi-commit tool which helps you to see the differences between your repository and the CVS origin …

Inofficial GIT PHP repository – part II

Johannes finally imported the PHP CVS repository into one big GIT repository. This makes working with branches in the PHP repository much easier and you have not to mess around with git-submodules. Thanks a lot for that job.

Lighttpd and luasockets

A few days ago I got nice task. Jo discovered a nice bug while playing around with memcached, lighttpd and Lua.When lighttpd got a request it can call a Lua script before the fcgi take over the request. The lua script is able to modify the complete request handling. Jo tried to use this …

Inofficial PHP GIT repositories – Importing large trees

A few month ago Johannes Schlüter and I started discussing about GIT and other decentralized version control systems. During our exploration of GIT we thought about importing the PHP CVS tree into git. A few weeks later and a lot of wasted cpu time, we finally managed to provide an inofficial GIT mirror of …

Use GIT to help you dealing with CVS

A lot of people have to deal with CVS in their companies or in Open Source projects. Therefore they all know an annoying problem:
You are working on a huge change, introducing a complete new authentification mechanism. Therefore you have to touch a lot of classes. In the meantime, other developers have to change also …

ash and select

Working on gc-utils, I discovered that bash, pdksh, ksh and zsh support the select statement, but ash doesnot.

The select statement creates a numbered list out of a list of words and let you choose one of them. This is done until a break statement is reached. The statement is a great way to …

gc-utils – debian packages

Debian packages for gc-utils are now available from http://deb.experimentalworks.net. This makes installing and uninstalling more comfortable. Just download and run it with a graphical installer like gdebi or with command line tool executing:

$ wget http://deb.experimentalworks.net/gcutils_0.0.2-1_i386.deb
$ sudo dpkg -i gcutils_0.0.2-1_i386.deb

Comments are welcome.

gc-utils – interaction between cvs and git

The version control system GIT is powerfull but not yet widely used. In everyday life programers usually have to deal with centralized VCs, in particular CVS.

If you have to use CVS but want to get the advantages of GIT, you usually will import a CVS repository into GIT using git-cvsimport. Dealing with the cvs …

GIT Cloning of branches

GIT is pretty powerful. I use it on a daily base at the moment. Furthermore I watch the mailinglist. Therefore I discovered a simple workflow that is not yet implemented nicely in GIT: cloning of a particular branches.I wanted to clone the cvs-imported PHP_5_3 branch of PHP, which is provided by Johannes Schlüter. But …

getopt and longopts in PHP 5.3+

In the upcoming PHP 5.3+, the getopt() function will finally be available on Windows systems. Furthermore getopt() will support longopts on every system. To support this feature we moved the generic getopt function used by the PHP cli/cgi interpreter itself to main/ and recode getopt() to use this function.

Thanks for Jani to review and …