Welcome to the Second Life Forums Archive

These forums are CLOSED. Please visit the new forums HERE

SubVersion system for Second Life

Dominique Laville
Registered User
Join date: 24 Apr 2008
Posts: 84
06-04-2008 08:26
Hi!

Is there a subversion system for the scripts in second life ?
Something like SVN, or CVS.

Is it possible to automatically copy the content of the scripts from second life to a repository server ?

thanks
Hewee Zetkin
Registered User
Join date: 20 Jul 2006
Posts: 2,702
06-04-2008 09:39
No and no, but you can always manually maintain your own repository. If you really wanted to you could probably also create a custom client ("bot";) that could automatically archive or import things from a repo.
Ravenhurst Xeno
Consiracy with no purpose
Join date: 20 Jan 2007
Posts: 147
06-04-2008 09:40
From: Dominique Laville
Hi!

Is there a subversion system for the scripts in second life ?
Something like SVN, or CVS.

Is it possible to automatically copy the content of the scripts from second life to a repository server ?

thanks


Not really. I use copy and paste to make off world backups. There is also second inventory http://www.secondinventory.com But i have not tried it.
Shadow Subagja
Registered User
Join date: 29 Apr 2007
Posts: 354
06-04-2008 10:02
Nope, you're sometimes lucky if you can copy them from your inventory to an object in-world!

I find the easiest way to save scripts is to populate a sample object with them, then save a few copies of the object in inventory incase any poof. I work on scripts in-object and periodically take a copy of the object with all scripts included. Just easier for me since you can't really compile/run/debug without a functional, rezzed, build configuration.

Its kind of silly because there are gazillions of copies of asshat server object copies collected for the sole purpose of protecting users against asshat server failures caused by the overburdening of asshat servers with copies... collected to.. :P j/k
Ollj Oh
Registered User
Join date: 28 Aug 2007
Posts: 522
06-04-2008 13:23
integer version=0;
llSetObjectName("objectname "+(string)version+"."+(string)llGetFreeMemory());
the version number is also used for llRemoteUpdate...
also store the timestamp in the object name on state entry, this keeps overview over older versions in the inventory.
RobbyRacoon Olmstead
Red warrior is hungry!
Join date: 20 Sep 2006
Posts: 1,821
06-04-2008 13:42
I use Subversion repos for *all* of my non-trivial LSL scripts.

Typically I develop scripts offline using SciTe : /54/28/235652/1.html#post1839193

SciTe gives me decent syntax highlighting, parameter information, and the ability to press F1 to be taken directly to the relevant page on the LSL wiki for any LSL function that is highlighted.

In addition, it also allows me to integrate LSLint (http://w-hat.com/lslint) so that I can perform syntax checks and discover most non-logic-related problems before pasting into Second Life.

Since all of my scripts are developed locally, this makes it exceedingly easy to use SVN. In my case, since I do my LSL development on a Windows box, I just use TortoiseSVN.

There's no automatic copying of scripts from SL to a repo, but the manual process (pasting from an offline editor which is version controlled into SL) is really not much effort.

It works great for me, couldn't be happier.

.
_____________________
Jesse Barnett
500,000 scoville units
Join date: 21 May 2006
Posts: 4,160
06-04-2008 16:06
From: RobbyRacoon Olmstead
I use Subversion repos for *all* of my non-trivial LSL scripts.

Typically I develop scripts offline using SciTe : /54/28/235652/1.html#post1839193/54/28/235652/1.html#post1839193

SciTe gives me decent syntax highlighting, parameter information, and the ability to press F1 to be taken directly to the relevant page on the LSL wiki for any LSL function that is highlighted.

In addition, it also allows me to integrate LSLint (http://w-hat.com/lslint) so that I can perform syntax checks and discover most non-logic-related problems before pasting into Second Life.

Since all of my scripts are developed locally, this makes it exceedingly easy to use SVN. In my case, since I do my LSL development on a Windows box, I just use TortoiseSVN.

There's no automatic copying of scripts from SL to a repo, but the manual process (pasting from an offline editor which is version controlled into SL) is really not much effort.

It works great for me, couldn't be happier.

.


Ditto
Ditto
& ditto :)

Can't live w/o Scite, plus I have LSLEditor, a local customized version of the wiki and Tidy Autoit Source plugged in for live testing and backup operations. I hit Ctrl T and a version numbered backup is auto generated like so:

main_gui_working_old1.au3
main_gui_working_old2.au3
main_gui_working_old3.au3
main_gui_working_old4.au3
main_gui_working_old5.au3
main_gui_working_old6.au3
main_gui_working_old7.au3
main_gui_working_old8.au3
main_gui_working_old9.au3
main_gui_working_old10.au3
main_gui_working_old11.au3

Then add in customized auto indent settings, 1 key copy to clipboard and using #includes.

If Scite was male, single and rich, then life would be perfect :p
_____________________
I (who is a she not a he) reserve the right to exercise selective comprehension of the OP's question at anytime.
From: someone
I am still around, just no longer here. See you across the aisle. Hope LL burns in hell for archiving this forum