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;
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;
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. |
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 |
That was the first one I looked at. But it doesn't quite tell me all I need to know - sorry!
|
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. |
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:
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. |
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! |
Yeah ran into some difficulty with this as well....but pretty much figured that there's no way to both use the plugin folder as my working copy, and also keep the folder structure I need for deployment. (I actually did get Svn to import correctly, but updating wasn't working - probably due to the difference in folder names)
Which pretty much means I have to constantly copy to the plugin folder in order to test - and would just make development a pain. So for now I think I'll just stick with doing it without Subversion - as copying files into a folder when I'm ready to release and zipping it is a lot less annoying. If I'm just misinformed, I'd welcome anybody to "prove me wrong" :) |
You can keep the files in the root of the trunk folder and if you want it to put all the files in the trunk folder into a subfolder you can set the "lotroi:dirname" svn property on the trunk directory. This will force the packager to put all the files in /trunk into a folder with the name you specified.
Was that what you were having trouble with? |
Quote:
|
Another question, now I have Align working properly through SVN;
My folder structure is that all plugins are stored in JackdawPlugins - my libs, and every plugin uses this folder. So, can one folder on my PC be committed to more than one SVN? Different files and sub-folders would be updated on each - though, for example Bevy o' bars and PopUps would share the Libs folder. |
All times are GMT -5. The time now is 09:38 PM. |
vBulletin® - Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
© MMOUI