WoWInterface

WoWInterface (https://www.wowinterface.com/forums/index.php)
-   Legion Beta archived threads (https://www.wowinterface.com/forums/forumdisplay.php?f=177)
-   -   How are you guys posting Legion addons on curse? (https://www.wowinterface.com/forums/showthread.php?t=53437)

Gello 05-14-16 03:26 PM

How are you guys posting Legion addons on curse?
 
I don't recall what I've done in years past but for the past couple expansions I've basically ignored curse during the beta phase. Is there a method of posting addons on curse that can be limited those with the Legion client?

VincentSDSH 05-14-16 03:37 PM

Quote:

Originally Posted by Gello (Post 314780)
Is there a method of posting addons on curse that can be limited those with the Legion client?

Game versions top out at 6.2.4 and there isn't a "Legion' category so I'd have to go with 'nope.'

myrroddin 05-14-16 04:19 PM

If you are using the repository system, clone your own repo. The project description and Curse page will still say 6.2.4 but your ToC can be 70000.

Then put a link to the cloned repo in your main project description.

The Curse Client should recognize the newer version once installed, even doing no-lib-strip if you use that, but you will need to install the AddOn manuallly. The Client won't automatically go from main to cloned repository.

On the other hand, if you are manually uploading zips to Curseforge, you will have to wait until patch 7.0.3 drops on live servers.

Gello 05-14-16 05:56 PM

Thanks. I prefer doing it manually so I'll wait until the pre-patch.

Nimhfree 05-15-16 01:26 PM

I just write my addon with logic inside that determines whether it is running a version that changes API usage, etc. so the same addon can be used in live and beta.

ebonyfaye 05-15-16 09:47 PM

am using github for my beta release. using it more to track changes i made more then a public release.

myrroddin 05-16-16 10:25 AM

Turns out you can upload zips manually. Since Curseforge and Wowace don't yet support patch 7.x, you'd still want to put a note in your main description, preferably with the date.

Something like:
Quote:

May 16, 2016

All zips created on or after this date are for the Legion expansion or 7.0.x pre-expasion patch, and will not work with live Warlords of Draenor servers. This starts with MyAddOn version 1234 and newer.
The Curse Client will update to newer versions, but if people can't or won't read, you aren't to blame! :p

VincentSDSH 05-16-16 12:21 PM

Quote:

Originally Posted by myrroddin (Post 314872)
...if people can't or won't read, you aren't to blame! :p

I look at it this way: If Curse can't get its act together and be beta-/author-friendly, ignore 'em.

Heh, or put a big notice at the top of the project "For LEGION-BETA version of the addon, see [Link-To-WoW-Interface]" :D

Also, I doubt if that data would be displayed to users on the curse update client so you'd just screw over your users. If you must do that, you'd have to code differences with client-version-aware wrappers, which is just extra crap for authors to deal with. An author shouldn't have to code around the delivery site.

Simca 05-20-16 01:51 AM

Quote:

Originally Posted by Nimhfree (Post 314829)
I just write my addon with logic inside that determines whether it is running a version that changes API usage, etc. so the same addon can be used in live and beta.

I also use this approach.

It's safer and as long as you consistently use the same detection variable throughout (I use a local 'isLegion' that is limited to addon-scope), it is easy to update everything once 7.0 is out to no longer support 6.x clients (just pull out all the code from those 'if' statements and trash the 'else' statements).

Everybody wins.

galvin 05-20-16 11:23 AM

I'm just going to upload and tag it something like 'legion beta' . I already have a check in the mod to display a message box if the user tries to use it on live. Just way too many changes to make it work for both.

This is on curse

But would be nice if curse had a way to tag addons for legion beta.

Gello 05-27-16 08:00 AM

Curse can tag files for 7.0.3 now. I'm not sure yet if the curse client will ignore 7.0.3 updates for WoD clients. I'll have to do more testing when I get time tonight.


All times are GMT -6. The time now is 09:33 AM.

vBulletin © 2021, Jelsoft Enterprises Ltd
© 2004 - 2020 MMOUI