Notifications
Clear all

[Closed] Code management

 JHN

I wanted to start a thread about code management. I have been using turtoise SVN for a while now to manage my scripts, I wonder how people organize their stuff…
I did it with versionnumbers before like:
myscript_01.ms
myscript_02.ms

But that got out of hand quickly, and I had files at home on my USB stick and at work… nightmare.

Now I make a repository for each new script/project, anyone else does that too, or just 1 big repository with all scripts?

Also, in max2008 the editor is setup to work with svn, anybody else got it to work? I tried implementing turtoise as the versioncontrol, but cannot get “add file” to work. Update does work though. Anyone else tried it?

-Johan

16 Replies
 PEN

I have been looking at winCVS and might impliment it soon so if there is something that will work with 2008 natively I will use that instead.

I use one large repository for all the scripts but I break that down into the seperate projects. So I guess my answer to your question is yes, I do both.

I’ve used cvs in a couple of work environments and as far as i can tell, it’s a pain in the butt to set up and maintain. We were always having problems with it. This was with multiple clients working on multiple code bases simultaneously so it might be easier if it’s in a smaller setting.

 JHN

As I said I used turtoise SVN a windows interface to subversion. I really like it, have to say I’m the only mxs guy in our shop, but it does everything I want, especcially dif is a tool I really like to compare versions.

I’m maybe thinking about setting 1 big repository for my scripts aswell, but I can’t stand the idea that many scripts are raised a version when nothing has changed. But keeping a lot of projects is also not very desireable…

And by default the mxs editor seems to support perforce, but it’s really all about commandline interface with your cvs… the link is commented out in the general settings file though.

-Johan

tortise svn works well for me, just keep each script seperate and save over the top and it keeps a history etc for you

 JHN

Do you use multiple repositories? Or 1 big one wih all the scripts?
Have you managed to get it integrated in the new 2008 script editor?

I really dig tortoise, using it for all my coding projects, php/mxs etc.

-Johan

At work we use 1 big repository, same at home for me too.
However at home I store my scripts in individual folders to keep it more arranged.

I havent used max 2008 yet much. Can it be linked into SVN or does it use its own variation of SVN?

 JHN

Thanks for sharing… going to one repository too, easier to maintain.

Yeah, the SVN is used as example commandline parameters in the config file.

-Johan

I wrote a simple verisoning system that uses a simple share point on the server.

Each .ms has a version variable in it that can be read and incremented on publish. Publishing is not allowed without 15 characters of notes… ha ha… I have to force myself to make these notes

When publishing it:
Adds the version note to top of the .ms
Uploads to the users share point to be downloaded to the users each time max starts.
Stores the verison in a per script folder with the version in the filename.
Adds Notes, Date and User to a Per Script log in the same folder.

Simple and Ugly, but it works with 1.5 Scripter’s here…

Keith Morrison

Attached is an image of the UI…

Hey Johan,

I’ve had Tortoise on my hard drive for a while now, I just don’t know how to use it, and finding help on the web has been non-eventful.

Can you give any pointers on how to get started!?

Thanks,
Dave

Page 1 / 2