Friday, July 17, 2009

Firebird Head Git mirror

I have created an firebird head mirror

http://gitorious.org/firebird-head-mirror/firebird-head-mirror

the git cvs import was done this way

http://mapopa.blogspot.com/2009/07/git-cvs-import-gotchas-on-ubuntu-and.html

git cvsimport -C firebird2 -v -d
:pserver:anonymous@firebird.cvs.sourceforge.net:/cvsroot/firebird
firebird2 -p z3
[wait a few days ...
thanks to screen now is finished]

cd firebird2/

git remote add origin
git@gitorious.org:firebird-head-mirror/firebird-head-mirror.git
git push origin master

Counting objects: 300812, done.
Compressing objects: 100% (56994/56994), done.
Writing objects: 100% (300812/300812), 73.58 MiB | 1231 KiB/s, done.
Total 300812 (delta 249091), reused 294841 (delta 243566)
To git@gitorious.org:firebird-head-mirror/firebird-head-mirror.git
* [new branch] master -> master
=> Syncing Gitorious... [OK]

I will do an daily import push script in cron

ps: crazy ideea of the day git hook for database changes
if you modify an stored procedure it will add new version to the git
repository and commit push it there
the same for other DDL text

No comments: