[Typo3-dev] CVS nightly builds

Bernhard Kraft kraftb at kraftb.at
Wed Dec 21 19:47:40 CET 2005


Wolfgang Klinger wrote:

>  Would you mind to publish the script that generates .t3x files on the
>  shell? I think that could be helpful sometimes... and don't want to
>  think about it myself these days.. :-)

Have a look at:

http://t3nighties.think-open.org/package-tools/

This tarball contains a set of script (mixed php and bash :) which produces
the snapshots of the CVS t3 sources and the T3X of the extension packages.

Here description of the architecture:

./nighty.sh
The main script. Performs all tasks. first generates source tarballs then T3X files.
** change directory definitions at the top

./cvs-login.expect
A "expect" script which performs the task of logging in into the CVS server (quickest
way I found to talk to an interactive login shell echo "pass" | cvs won't do :(
** apt-get install expect

./package-creator
The package-creator used and created by Michael Stucki (MANY MANY thanks and all those
thanks from the other people forwarded to you :)
I made a little modification to the database update script so the databse-username/password
variables get used in the complete file and you can esily change them to the desired values
on your system.
** Change config.php and "typo_db_username, etc." in database-updater.php

./extension-packager
This is my creation. It downloads the CVS sources of the extension on typo3xdev prefixed with
tx_ renames (copies) them to another dir and then runs pack_exts.php (where the real magic
happens) which creates a T3X out of any found extension in the set directory
** Change directory definitions at the beginnig of pack_exts.php and start.sh


Lines marked with ** are thing you have to change in order to get it running.

I introduced an own variable for the paths because i was lazy ... i knew I could have done
it with environment variables which get only set when the previous script didn't already set
them (so you will only need to change the paths in nighty.sh)


greets,
Bernhard




More information about the TYPO3-dev mailing list