Thread Tools Display Modes
01-17-15, 08:21 PM   #1
Choonstertwo
A Chromatic Dragonspawn
 
Choonstertwo's Avatar
AddOn Author - Click to view addons
Join Date: Jan 2011
Posts: 194
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.
  Reply With Quote
01-17-15, 09:59 PM   #2
p3lim
A Pyroguard Emberseer
 
p3lim's Avatar
AddOn Author - Click to view addons
Join Date: Feb 2007
Posts: 1,710
Originally Posted by Choonstertwo View Post
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.
Yeah that was one of the changes I did earlier today/yesterday. I updated the wiki to reflect that, but since this is still alpha quality, make sure you check the commit log before updating.
  Reply With Quote
01-17-15, 10:47 PM   #3
p3lim
A Pyroguard Emberseer
 
p3lim's Avatar
AddOn Author - Click to view addons
Join Date: Feb 2007
Posts: 1,710
Spent some time improving the markdown to bbcode conversion, pretty much untested right now.

https://github.com/p3lim/addon-packa...80ff4f23466acb
  Reply With Quote
01-18-15, 04:24 AM   #4
p3lim
A Pyroguard Emberseer
 
p3lim's Avatar
AddOn Author - Click to view addons
Join Date: Feb 2007
Posts: 1,710
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]
2015-01-18T10:09:46.309368+00:00 heroku[api]: Release v2 created by [email protected]
2015-01-18T10:09:51.507285+00:00 heroku[api]: Set GIST_ID, SECRET_KEY, WOWI_USERNAME, WOWI_PASSWORD, QUERY_MAX_ATTEMPTS, QUERY_DELAY_SECONDS config vars by [email protected]
2015-01-18T10:09:51.507285+00:00 heroku[api]: Release v3 created by [email protected]
2015-01-18T10:09:54.990365+00:00 heroku[api]: Add papertrail:choklad add-on by [email protected]
2015-01-18T10:09:54.990365+00:00 heroku[api]: Release v4 created by [email protected]
2015-01-18T10:10:45.757870+00:00 heroku[api]: Scale to web=1 by [email protected]
2015-01-18T10:10:45.865426+00:00 heroku[api]: Release v5 created by [email protected]
2015-01-18T10:10:45.865426+00:00 heroku[api]: Deploy 44c533d by [email protected]
2015-01-18T10:10:48.385404+00:00 heroku[web.1]: Starting process with command `npm start`
2015-01-18T10:10:51.258711+00:00 app[web.1]: > [email protected] start /app
2015-01-18T10:10:51.258673+00:00 app[web.1]: 
2015-01-18T10:10:51.258713+00:00 app[web.1]: > node server.js
2015-01-18T10:10:51.258715+00:00 app[web.1]: 
2015-01-18T10:10:51.986545+00:00 app[web.1]: [LOG] Successfully fetched addon list.
2015-01-18T10:11:22.648216+00:00 app[web.1]: [LOG] Ping: Design for failure.
2015-01-18T10:16:24.491893+00:00 app[web.1]: [LOG] Received event for "oUF_Reputation" version "60000.11-Release".
2015-01-18T10:17:24.503682+00:00 app[web.1]: [LOG] Attempt #1 at querying CurseForge.
2015-01-18T10:17:24.840656+00:00 app[web.1]: [LOG] Found tag link on CurseForge.
2015-01-18T10:17:25.060691+00:00 app[web.1]: [LOG] Found file link on CurseForge.
2015-01-18T10:17:25.132239+00:00 app[web.1]: [LOG] Successfully downloaded file from CurseForge.
2015-01-18T10:17:25.838016+00:00 app[web.1]: [LOG] Successfully authenticated with WowInterface.
2015-01-18T10:17:25.922909+00:00 app[web.1]: [LOG] Found existing addon, previous version: "60000.10-Release".
2015-01-18T10:17:26.705615+00:00 app[web.1]: [LOG] Addon "oUF_Reputation" version "60000.11-Release" was successfully uploaded.
  Reply With Quote
01-18-15, 08:00 PM   #5
Gethe
RealUI Developer
 
Gethe's Avatar
Premium Member
Featured
Join Date: Sep 2008
Posts: 942
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?
__________________
Knowledge = Power; Be OP

  Reply With Quote
01-18-15, 08:03 PM   #6
jlam
A Fallenroot Satyr
AddOn Author - Click to view addons
Join Date: Oct 2010
Posts: 29
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?
  Reply With Quote
01-18-15, 08:39 PM   #7
p3lim
A Pyroguard Emberseer
 
p3lim's Avatar
AddOn Author - Click to view addons
Join Date: Feb 2007
Posts: 1,710
Originally Posted by jlam View Post
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.
I've got approval from Curse admins, it should not be a problem.

Originally Posted by jlam View Post
Is there a way to just provide the zipfile directly?
No.

Last edited by p3lim : 01-18-15 at 08:44 PM.
  Reply With Quote
01-18-15, 11:58 PM   #8
Torhal
A Pyroguard Emberseer
 
Torhal's Avatar
AddOn Author - Click to view addons
Join Date: Aug 2008
Posts: 1,196
Originally Posted by jlam View Post
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?
Many authors, myself included, do this manually every time they make a release; let the CurseForge packager do its thing, navigate to the download for the new file, download it, navigate to the project management page on WoWInterface, then upload it. This merely automates what's already being done.

EDIT: This would be a completely different story were the utility made for end-users. In that case, bandwidth would be a definite concern.
__________________
Whenever someone says "pls" because it's shorter than "please", I say "no" because it's shorter than "yes".

Author of NPCScan and many other AddOns.
  Reply With Quote
01-18-15, 08:18 PM   #9
p3lim
A Pyroguard Emberseer
 
p3lim's Avatar
AddOn Author - Click to view addons
Join Date: Feb 2007
Posts: 1,710
Originally Posted by Gethe View Post
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'm gonna make a wiki article about it.

Edit: https://github.com/p3lim/addon-packa.../wiki/Updating

Last edited by p3lim : 01-18-15 at 09:10 PM.
  Reply With Quote

WoWInterface » Developer Discussions » Dev Tools » Addon Packager Proxy


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