[Sputnik-list] git

pierre pracht pierre.pracht at gmail.com
Tue Mar 4 17:49:28 GMT+2 2008


Le 4 mars 08 à 09:36, Jim Whitehead II a écrit :

> On Tue, Mar 4, 2008 at 8:05 AM, Yuri Takhteyev  
> <yuri at sims.berkeley.edu> wrote:
>>
>> I tried it and I do like it.  The difference in performance between
>> git and svn is quite astonishing.
>
> I'm also a fan of git and have been very impressed with the overall  
> operation.

I have setup idea who might interest you.

Move SCM file to be the same as a rock repository :
alpha/cvs-1/alpha-cvs-1.rockspec
alpha/cvs-1/lua/alphamod/init.lua
alpha/cvs-1/lua/...
beta/cvs-1/beta-cvs-1.rockspec
beta/cvs-1/lua/.....

and put this in .gitignore :
/*/*
!/*/cvs-1

With this the git clone can be used as a rocks repository.
The ignore rules get ride of other rocks ( other/1.0.0/ )
Other rocks can be directly installed in the git clone.
Or you can make directory and symbolic link from rocks site wide  
installation. A simple script can make it. (Rq: directory are needed  
for ignore rule)
And you can use lua/luarocks system install :
export $LUAROCKS_CONFIG = ...

All setup can be easily scripted :
   - make git clone
   - install lua / lua rocks or use site wide install
   - install rocks dependency locally or globally and link to git-clone
   - optional xavante and start script
Rq : install script can be in git if rocks are pushed down in a  
repertory

With this setup you can test alternative version in a snap :
git checkout another_branch
And If you _really_ need several instance : git clone / pull / push ...

What do you think of this ?

- pierre
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.luaforge.net/pipermail/sputnik-list/attachments/20080304/8cf5a06d/attachment.html


More information about the Sputnik-list mailing list