Addon Packager Proxy
This is the official topic for the Addon Packager Proxy release tool.
Quote:
https://github.com/p3lim/addon-packager-proxy This topic will be used for feedback and suggestions, all bug reports should be submitted to the issue tracker on Github: https://github.com/p3lim/addon-packager-proxy/issues. Enjoy. Notice: This application is no longer in active development, I strongly advice using an alternative solution (such as BigWigs' packager, which I've written a guide for) |
This looks awesome. I already use Git with GitHub/CurseForge and tag each release, so this should fit in well with my existing process.
|
I've simplified the process quite a bit in v0.2.0, you no longer need to fork the repository, and you no longer have to do changes to core files for the application.
You now "deploy" the application directly to Heroku, setting the needed variables in a setup page. The addon information will now be stored in a gist you create, the app will fetch that on every run. I plan on adding a complete setup wizard to the app, removing the last few manual steps during the setup and letting the app do all the work. |
I was getting 404 errors from the AddOn repository's webhook until I changed the URL from https://<APP_NAME>.herokuapp.com/webhook to https://<APP_NAME>.herokuapp.com/. Once I changed the URL and redelivered the create event, it found the packaged AddOn and uploaded it to WoWI without issue.
This is much better than manually uploading to WoWI and dealing with the BBCode changelog. |
Quote:
|
Spent some time improving the markdown to bbcode conversion, pretty much untested right now.
https://github.com/p3lim/addon-packa...80ff4f23466acb |
And there goes my first successful actual release (excluding testing), also showcasing the new markdown to bbcode support.
My full logs from deploy to successful upload for reference: Code:
2015-01-18T10:09:46.308890+00:00 heroku[api]: Enable Logplex by [email protected] |
I have not used Heroku, so please excuse my ignorance. How would I handle updating the app to a more recent version of your repo?
|
I've not looked at the project code yet, but from the description I'm uneasy with using Curse's download bandwidth as part of a project to upload to WowInterface. Is there a way to just provide the zipfile directly?
|
Quote:
Edit: https://github.com/p3lim/addon-packa.../wiki/Updating |
Quote:
Quote:
|
Quote:
EDIT: This would be a completely different story were the utility made for end-users. In that case, bandwidth would be a definite concern. |
Made some changes to how the app handles changelogs in 0.3.4.
Short version: They must be enabled per-addon in the addon list (the gist). Long version: https://github.com/p3lim/addon-packa...wiki/Changelog |
Quote:
And this one sounds good, but as long it requires to make another repo on github, I am not bothered to check it out. |
Dorwido, use our API instead: http://www.wowinterface.com/forums/s...ad.php?t=51835 :)
|
Quote:
Code:
if ( GetLocale() ~= "deDE" ) then Kinda could do then an git commit git tag git push And it appears on both sites and only need to go on the site for changing descriptions, that would save alot of time. Currently it is to do the git stuff on curseforge, then download the file there, upload it here, copy&paste the changelog from curseforge and change the formatting, enter the new version number and copy&paste the description if any change and then upload here. And the api here to use still need to know all those stuff have a local zip etc, that data need to be scraped somewhere as well? Its late maybe I oversee something. |
Quote:
|
Quote:
|
Quote:
The issue ticket on GitHub will be updated whenever something changes on their end. |
0.4.0 is out, two major changes:
|
Made a powershell script (sorry linux users) for easy force updating:
https://gist.github.com/p3lim/3385bc34b82a7f1cd0cc |
Sorry if this is a nub question, but it's requiring me to put my credit card information in to use this app on Heroku. Will I be charged for using this app? Or is it basically just there to stay on file and I shouldn't get charged (using only this app)?
|
Quote:
They charge for something called "dynos", which are basically instances of virtual machines, and you can increase the amount and power for each application you've got. This app is very small, it will never require anything serious, so go with the default choice when creating an app (ONE dyno, 1X power), as seen in this screenshot, and this setup is completely free, no hidden fees or anything: |
Okay thanks!
Edit: Nevermind, I think I derped. |
The wait time is in intervals, you can configure how many times it should check, and how often (with limits of course).
|
I'm having trouble getting it to even check at all. I honestly don't know much about any of this at all, so I wouldn't be surprised if it's a silly mistake.
Here is my log: Code:
-- Edited Anyway, I kind of left it alone for a while so I could make some changes to my addon and then came back to try again when I finished. I've tried resending the webhook several times and it still won't do anything. I see in your log it starts doing it's business but the most it's wanting to do so far is just get the addon list. Here is my addon.js: Code:
[ |
I fixed the old details in the wiki, thanks for letting me know.
Also, you should use a different name for the app on Heroku, as suggested in the wiki. Edit: sorted out in private messages, it was just confusion around outdated documentation on the wiki. |
Quote:
Sometimes I hate myself for being a perfectionist >.> |
Unfortunately, I can't seem to get the script working, it always fails right after WoWI authentication:
Code:
Jun 27 11:06:58 app/web.1: [LOG] Received forced check for "ckaosMilitia" version "6.2v1". |
Seems like an issue with the WoWInterface API, I'll see if I can get dolby to take a look at it.
Try forcing it in a little, see this on how to: https://github.com/p3lim/addon-packa...mment-74553204 |
403 is thrown if the user is not authenticated or the AddOn is disabled/banned. There is a text message that is given with the 403 that will distinguish the two. Looking at the AddOn its not disabled or banned so I'm sure there is an issue with ckaotik's authentication.
|
But then, why did the previous call return "Successfully authenticated with WowInterface."?
The API url works fine when I open it in the browser while logged in, but the script should do the same thing as it stores the cookie? Edit: The 403 error reported something along the lines of "You must be logged in to use this API" |
If the login is successful then to me that says something isn't capturing and storing the cookie OR isn't passing it on to wowi when making api calls?
Are you able to interact with the API via curl? http://www.wowinterface.com/forums/s...ad.php?t=51835 I just tested via curl and haven't had any issues. |
It is storing the cookie correctly, which is purged automatically when the heroku server node goes to sleep.
I'll see if I can add a manual purge function, but for now you can manually set the node to sleep if you want to. Did you try a forced update by the way? |
0.5.0 is out, changes:
|
I'm getting a "Fetching failed with status 128" error when forcing an update on one of my AddOns.
Full log: Code:
Jul 08 08:38:14 choonster-wow-addons heroku/router: at=info method=GET path="/force/CustomTooltips/1.04" host=choonster-wow-addons.herokuapp.com request_id=dad177d4-2d6f-4f4e-a4ab-7305333f23eb fwd="220.239.127.236" dyno=web.1 connect=2ms service=83ms status=304 bytes=131 addons.json: https://gist.github.com/Choonster/2ce79d3eb7adee8bdb2d Do you know what the issue might be? |
I'll take a look at it tomorrow if I get a chance.
|
Quote:
Unfortunately, I'm still running into the same issue even on 0.5.1. Could this be because of my Heroku setup? I'm using the new "Free" dyno on EU servers. Code:
heroku/web.1: Starting process with command `npm start` |
0.5.2 is out, changes:
|
Quote:
|
Quote:
Even if I removed it as an option, Heroku still requires any user to register a credit card. |
Quote:
It doesn't matter that Papertrail is free; its mere presence triggers the verification requirement. It didn't appear to be optional, or removable, on the deployment screen, which is where I stopped since I'm not interested in giving an entity that claims it won't charge me any money information that has no purpose other than charging me money. |
Quote:
Considering that, I'm gonna remove Papertrail from the package. It's still nice to have for debugging, although Heroku's CLI can be used just as well: Code:
heroku logs --app name-of-your-app |
0.5.3 is out, changes:
|
Last night I deployed, followed the setup instructions, added the webhooks, made a tag... and of course the CurseForge packager was AFK, so I wasn't able to see if it worked. Today there's finally a package on CurseForge, so I attempted to force an update, and got this error message:
Repository "BetterBattlePetTooltip" is not tracked. ...so something isn't set up correctly. Here's my addons.json gist: https://gist.github.com/Phanx/ce8f911fc73b67363270 The GitHub repo for the addon in question is here: https://github.com/Phanx/BetterBattlePetTooltip The webhook is set to "create and push", and I've triple-checked that the Curse project name and WoWI ID are correct in the gist. Where did I screw up? |
You can force-update the list, it usually fixes those issues.
https://secret-journey-8122.herokuapp.com/updatelist You also have some errors in your list: https://gist.github.com/Phanx/ce8f91...json-L187-L215 |
Thanks, seems to be working now. The "updatelist" link gave this error:
Code:
TypeError: undefined is not a function |
Quote:
New version out for that; 0.5.4 |
.pkgmeta
Atm my addon is hosted on Curseforge using their packager. I would prefer to use this method to host on github and release on both wowi and curse at the same time.
But I wonder how I replicate the functionality of the .pkgmeta? My current pkgmeta looks like this. Code:
externals: |
Quote:
|
Quote:
|
Quote:
|
HTTP is (apparently) no longer supported on Curse; I've submitted a pull request on GitHub switching the Curse URLs over to HTTPS.
|
0.6.0 is out, changes:
Big thanks to dolby for making this happen! |
0.6.1 is out, changes:
|
CurseForge has been redesigned, I can not guarantee this project will work until I've had a look at it.
|
0.7.0 is out, changes:
APP will now flag the correct compatible game versions, first by checking the interface version in the toc file, with a fallback to the default (latest) game version. |
Forgot to update here for the last few versions, but here are the changes:
0.7.1 is out, changes:
0.7.2 is out, changes:
0.7.3 is out, changes:
|
Awesome tool, really.
I was wondering if would be possibile to polish a bit the answers for updatelist and force.
|
Quote:
The system I'm using has a detailed guide (written by me) here: http://www.wowinterface.com/forums/s...ad.php?t=55801 Advantages are:
My guide has a hard dependancy on Git, but the script can just as well be run locally (which is way harder with this proxy project) |
All times are GMT -6. The time now is 05:14 AM. |
vBulletin © 2024, Jelsoft Enterprises Ltd
© 2004 - 2022 MMOUI