[TYPO3-v4] Continuous Integration

Andy Grunwald [wmdb] andy_grunwald at arcor.de
Mon Mar 22 19:41:15 CET 2010


Hey Stefano,

first of all: full ack to your opinion.
I`ve thinked a long time for this, too. I`m VERY interesting in this topic.

There are many CI server in the software world. CruiseControl 
(PHPUnderControl), Hudson, Bamboo, ... [1].
Which one do you chose is your choice, but the question which one is the 
best, is the wrong question.
Every software has his advantages and disadvantages. Its like 
programming: Which language is the best? Put 10 programmer on a table 
and let the flame war begin.

I´ve already started to implement the TYPO3 coding guidelines into 
PHPCodeSniffer sniffs. But you know the monster which eats your free time :)

There are many other key numbers which you could calculate with those CI 
servers:
- Various metrics: pDepend [2]
- PHP Copy Paste Detection: phpcpd [3]
- PHP Mess Detector: PHPMD [4]
- PHP Lines of code: phploc [5]
- and so on ...

Fabrici Branca have already started to run this tools against the TYPO3 
code [6].

So: If you need help, contact me :)

Best regards,
Andy

[1] http://en.wikipedia.org/wiki/Continuous_integration#Software
[2] http://pdepend.org/
[3] http://github.com/sebastianbergmann/phpcpd
[4] http://phpmd.org/
[5] http://github.com/sebastianbergmann/phploc
[6] http://www.fabrizio-branca.de/fablog/typo3.html

Am 19.03.2010 11:44, schrieb Stefano Kowalke:
> My first post on the new list is about Continuous Integration.
>
> After I made a few thoughts about unit testing and how we could find
> violations against the CGL and get rid of them, I came to the
> conclusion, that both topics doesn´t make sense without Continuous
> Integration.
> So I setup an local Hudson [1] CI server which checks the source out,
> generate an API documentation with doxygen [2] (like the offical one),
> checks for violations against the CGL using phpCodeSniffer [3] and last
> but not least run the core unittest through the T3CLIdispatcher and
> phpunit extension.
>
> I think this could be the base to have magic tools for formatting the
> code like changing lowercase booleans into uppercase or add whitespaces.
> All the boring stuff you get tired if you do this manually.
>
> What are your opinions to this topic?
> Could we setup an CI Server for version 4?
>
> Sunny regards
> Stefano



More information about the TYPO3-project-v4 mailing list