Thread Tools Display Modes
10-09-07, 10:31 AM   #1
Cairenn
Credendo Vides
 
Cairenn's Avatar
Premium Member
WoWInterface Admin
Join Date: Mar 2004
Posts: 7,134
WoWI Mod Uploader!

Attention mod authors - it's now easier than ever to update your mods on WoWInterface!

Shadowd has very kindly written a program to allow you to update your mods automatically by running a single command line. The details as written by Shadowd himself:

This is for developers who are interested in uploading mods to WoWInterface, not for updating mods from WoWInterface to your computer, Thanks!

This script tries to speed up the process of updating your mods on WoWInterface and making life easier in general, supports uploading from an svn repository on a remote server or from your own desktop. Right now, it'll only update files that have already been submitted but their are plans to allow uploading new files later.

All you need is Java 1.5 (also known as Java 5.0) or higher, and a WoWInterface account. Everything is done through a command line, the arguments can be pulled up by passing -h or -help. (Full list of available commands are posted with the program, here.)

You do not need to pass -u or -p through the command line, it'll simply ask you to provide the information, same with -ftitle and -fid you'll be asked for the file id you want to upload to. This can be ran from any location on your computer, you just need to make sure you set the correct -path or -svn-path to point towards the location you want.

A few examples, lets say WoWIUploader.class is located in C:/ and I want to upload the add on FooBar that's located in C:/World of Warcraft/Interface/Addons/FooBar and it's also been checked out from svn and the file id is 7500.

java WoWIUploader -fid 7500 -zip-ver -desc-log -log -path "C:/World of Warcraft/Interface/Addons/FooBar" -svn-path "C:/World of Warcraft/Interface/Addons/FooBar" -ver "r50"

This will create a zip named FooBar-r50.zip, and also include a change log named changelog-r50.txt of all changes retrieved through svn log, the mod description will be updated with the last 50 changes also.

Now, say you want to upload a mod that's in SVN from a tag that's located in www.testserver.com/svn/tags/FooBar-r50 and the file title is "Foo Bar", you'd use

java WoWIUploader -ftitle "Foo Bar" -desc-log -log -svn-export "www.testserver.com/svn/tags/FooBar-r55" -svn-path "www.testserver.com/svn/trunk/FooBar" -ver "r55"

This will create a zip named FooBar-r55.zip, a change log file named changelog-r55.txt retrieved from www.testserver.com/svn/trunk/FooBar/ and will include the last 50 changes in the mod description also retrieved from the same URL as changelog-r55.txt and will upload to the mod with the title Foo Bar.
So be sure to check out the WoWI Mod Uploader today to make uploading your updates easier than ever!

Thank you again Shadowd!

Last edited by Cairenn : 10-09-07 at 10:43 AM.
  Reply With Quote
10-09-07, 10:47 AM   #2
MadCow
A Chromatic Dragonspawn
 
MadCow's Avatar
Join Date: Jul 2005
Posts: 150
O i c wat u did thar.

Wait no I didnt understand any of that. I will assume its a good thing and say thank you.
  Reply With Quote

WoWInterface » Site Forums » News » WoWI Mod Uploader!


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