mercredi 13 janvier 2010

Happy New Year 2010 and the new repository for phpgroupware

Happy new year 2010 !

Yeah, one year without posting ... not good, but still there. I'm busy, as all of you, and my professional life is a little bit like a "Dallas Story". Anyway, the subject of this post is to help new (and old ;) phpGW developers to configure their svn:externals references.

So please, use this to edit your externals :
svn edit svn:externals [path/to/the directory which will contains the directories]
then for example :

admin svn+ssh://svn.savannah.gnu.org/phpgroupware/people/sigurdne/modules/admin/trunk
calendar svn+ssh://svn.savannah.gnu.org/phpgroupware/people/sigurdne/modules/calendar/trunk
hrm svn+ssh://svn.savannah.gnu.org/phpgroupware/people/sigurdne/modules/hrm/trunk
manual svn+ssh://svn.savannah.gnu.org/phpgroupware/people/sigurdne/modules/manual/trunk

another solution, if you want a particuliar revision (very usefull for tags for example) :

calendar -r12500 svn+ssh://svn.savannah.gnu.org/phpgroupware/people/sigurdne/modules/calendar/trunk

That's for the theory. But there's some pitfalls. One of them is that anonymous people extracting these externals using svn+http:// protocol will not be able to extract them correctly (and I still have no clue on how making this working). Another one is (like me) if your username is not the same as in your environnement. Then ssh comes to the rescue :
  • edit the ~/.ssh/config
  • add these lines :
    Host *.savannah.gnu.org
    User Caeies
  • save and quit.
Note that you can add your private key path here when you try to connect to savannah.gnu.org. I let you doing this after a man ssh_config.

Regards,

Caeies.