lotrointerface.com
Search Downloads


Go Back   LoTROInterface > LotRO > Developer Discussions > General Authoring Discussion (L)

Reply
 
Thread Tools Display Modes
  #1  
Unread 09-18-2010, 12:29 AM
MrJackdaw's Avatar
MrJackdaw MrJackdaw is offline
The Undying
Interface Author - Click to view interfaces
 
Join Date: Feb 2009
Location: Lancaster, England
Posts: 249
SVN - I just don't get it...

Ok, I've looked around, I've read faqs and guides and this is what I understand about SVN;
  • It allows multiple users to work on a plugin, should you wish them to.
  • It allows different branches of a plugin - so that you can try new ideas without damaging the main plugin
  • You can use it solo and the "Revert" function sounds very useful!
  • Enabling SVN for a plugin on the site is very simple
  • To upload I have been using the repo browser and dragging-and-dropping.

Ok, ok. So, I have enabled SVN for Align, and made it private for now...

What I don't understand is - using tortoise - how do I upload revisions or download the old versions? And believe me when I say I *have* looked and looked at different guides. I just don't get it. I have used the "Repo Browser" to upload - but then I get a load of new folders and don't understand how to use them.

I want;
  • To be able to upload the current files to the SVN keeping the current file structure
  • To have a seperate SVN for my libraries that are shared by my plugins, that is not on the lotrointerface site as a download but for dev purposes only
  • To be able to work on a "live" copy on my machine and sync it with the online copy - essentially for the copy on my PC to be the alpha one at all times.
  • I am not bothered about branches yet as I intend to just keep it to myself until I understand it better. Essentially the SVN copy will be my alpha version.

In other words - I want a magic button that uploads the version of the plugin on my computer that is used by me in game to be uploaded to the SVN, and a second magic button to reverse the process should I need to.

I wouldn't even mind if I had a single SVN for all my plugins - a JackdawPlugins SVN - so I only have one folder to sync.

Sorry for my ignorance, and believe me when I say I have looked!

EDIT: In fact - the more I think about it the more a single SVN for all my plugins sounds very attractive.
__________________
************************************************** ************************************************** **
"Our ideals may never be realised, But they indicate what we are trying to do." Dick Tahta

Last edited by MrJackdaw : 09-18-2010 at 01:09 AM.
Reply With Quote
  #2  
Unread 09-18-2010, 12:50 AM
Cairenn's Avatar
Cairenn Cairenn is offline
Credendo Vides
Premium Member
LOTROInterface Admin
Interface Author - Click to view interfaces
 
Join Date: Jan 2007
Posts: 642
You probably already did this, but did you look through the FAQ for it that we have over on WoWI? (I still need to get it ported to LotROI, sorry)

http://www.wowinterface.com/forums/faq.php?faq=svn
Reply With Quote
  #3  
Unread 09-18-2010, 01:08 AM
MrJackdaw's Avatar
MrJackdaw MrJackdaw is offline
The Undying
Interface Author - Click to view interfaces
 
Join Date: Feb 2009
Location: Lancaster, England
Posts: 249
That was the first one I looked at. But it doesn't quite tell me all I need to know - sorry!
__________________
************************************************** ************************************************** **
"Our ideals may never be realised, But they indicate what we are trying to do." Dick Tahta
Reply With Quote
  #4  
Unread 09-18-2010, 01:14 AM
Cairenn's Avatar
Cairenn Cairenn is offline
Credendo Vides
Premium Member
LOTROInterface Admin
Interface Author - Click to view interfaces
 
Join Date: Jan 2007
Posts: 642
No problem at all. I'll see if I can find someone with more SVN knowledge that might be able to assist.

[Edit] /me imports some help from WoWI.

Last edited by Cairenn : 09-18-2010 at 06:42 AM.
Reply With Quote
  #5  
Unread 09-18-2010, 06:48 AM
cladhaire cladhaire is offline
The Wary
 
Join Date: Sep 2010
Posts: 1
A few things:

You could create a single SVN that can be used for all of your plugins, but then you will not be able to take advantage of the packaging system. In my personal opinion, this is the most attractive part of using the integrated SVN system, so I'd recommend against this.

Unfortunately, I can't help you out terribly with Tortoise SVN, but the basic steps are:
  1. Create your SVN through the web interface
  2. Copy the address, which should look like this: svn://svn.lotrointerface.com/TestProject-708
  3. Add /trunk to the end of that, making it svn://svn.lotrointerface.com/TestProject-708/trunk
  4. Using a guide check out a working copy of this directory to somewhere on your computer.
  5. Add the files, make any changes you want to make
  6. Then commit your changes using This guide.
Some notes:
  • You can add the files to this repository keeping the exact same structure you already have, just drop them in the checked out folder and commit.
  • You can make svn repositories for projects on lotrointerface.com that you don't actually publish, no worries there.
  • This is how things are meant to work, just do what I've done above.

There isn't and won't be a 'magic' button. You commit changes to the repository using the guide I list above, and then they are pushed to the server. 'Reversing' that is a bit more difficult, since that doesn't really make sense in the context of development, but you can do everything you want to do.

Last edited by Cairenn : 09-18-2010 at 06:53 AM.
Reply With Quote
  #6  
Unread 09-19-2010, 12:25 PM
MrJackdaw's Avatar
MrJackdaw MrJackdaw is offline
The Undying
Interface Author - Click to view interfaces
 
Join Date: Feb 2009
Location: Lancaster, England
Posts: 249
Thanks Claidhaire! I will give that a try tomorrow - Just got back from a long weekend camping with 14 kids and I am well and truly bushed... think my brain would implode if I try this tonight!

EDIT: My brain didn't explode and I am... intrigued. May give this a go with my other plugins too!
__________________
************************************************** ************************************************** **
"Our ideals may never be realised, But they indicate what we are trying to do." Dick Tahta

Last edited by MrJackdaw : 09-19-2010 at 01:30 PM.
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
SVN for LoTROInterface! Dolby News 0 09-15-2010 03:11 PM


All times are GMT -5. The time now is 09:35 AM.


Our Network
EQInterface | EQ2Interface | Minion | WoWInterface | ESOUI | LoTROInterface | MMOUI | Swtorui