Quantcast Addon Packager Proxy - Page 3 - WoWInterface
Thread Tools Display Modes
08-11-15, 05:51 AM   #41
p3lim
A Pyroguard Emberseer
 
p3lim's Avatar
AddOn Author - Click to view addons
Join Date: Feb 2007
Posts: 1,623
Originally Posted by Phanx View Post
It looks like this requirement could be avoided if you (p3lim) removed the dependency on the Papertrail logging app/plugin.
Papertrail is not a requirement, and the version I've added as an option is free anyways.

Even if I removed it as an option, Heroku still requires any user to register a credit card.
  Reply With Quote
08-11-15, 09:41 PM   #42
Phanx
Cat.
 
Phanx's Avatar
AddOn Author - Click to view addons
Join Date: Mar 2006
Posts: 5,567
Originally Posted by p3lim View Post
Papertrail is not a requirement, and the version I've added as an option is free anyways.

Even if I removed it as an option, Heroku still requires any user to register a credit card.
"Credit card information is not required for free apps without add-ons. It becomes a requirement once you wish to own more than 5 apps at a time, or to use add-ons other than postgresql:dev or pgbackups:plus –– even if the add-ons are free."

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.
__________________
Author/maintainer of Grid, PhanxChat, oUF_Phanx, and many more.
Troubleshoot an addon • Turn any code into an addon • More addon resources
Need help with your code? Post all of your actual code! Attach or paste your files.
Please don’t PM me about addon bugs or code questions. Post a comment or forum thread instead!
  Reply With Quote
08-12-15, 06:12 AM   #43
p3lim
A Pyroguard Emberseer
 
p3lim's Avatar
AddOn Author - Click to view addons
Join Date: Feb 2007
Posts: 1,623
Originally Posted by Phanx View Post
"Credit card information is not required for free apps without add-ons. It becomes a requirement once you wish to own more than 5 apps at a time, or to use add-ons other than postgresql:dev or pgbackups:plus –– even if the add-ons are free."

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.
They must have changed their policy, when I was developing this they required a credit card just to make an app, no matter if it was free or not.

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
  Reply With Quote
08-12-15, 06:17 AM   #44
p3lim
A Pyroguard Emberseer
 
p3lim's Avatar
AddOn Author - Click to view addons
Join Date: Feb 2007
Posts: 1,623
0.5.3 is out, changes:
  • Removed the Papertrail addon bundle
    • This allows the app to be installed without requiring a credit card
  Reply With Quote
08-14-15, 11:52 PM   #45
Phanx
Cat.
 
Phanx's Avatar
AddOn Author - Click to view addons
Join Date: Mar 2006
Posts: 5,567
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?
__________________
Author/maintainer of Grid, PhanxChat, oUF_Phanx, and many more.
Troubleshoot an addon • Turn any code into an addon • More addon resources
Need help with your code? Post all of your actual code! Attach or paste your files.
Please don’t PM me about addon bugs or code questions. Post a comment or forum thread instead!

Last edited by Phanx : 08-15-15 at 07:06 PM.
  Reply With Quote
08-15-15, 08:07 AM   #46
p3lim
A Pyroguard Emberseer
 
p3lim's Avatar
AddOn Author - Click to view addons
Join Date: Feb 2007
Posts: 1,623
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

Last edited by p3lim : 08-15-15 at 08:10 AM.
  Reply With Quote
08-15-15, 07:05 PM   #47
Phanx
Cat.
 
Phanx's Avatar
AddOn Author - Click to view addons
Join Date: Mar 2006
Posts: 5,567
Thanks, seems to be working now. The "updatelist" link gave this error:
Code:
TypeError: undefined is not a function
    at /app/server.js:68:6
    at Layer.handle [as handle_request] (/app/node_modules/express/lib/router/layer.js:82:5)
    at next (/app/node_modules/express/lib/router/route.js:110:13)
    at Route.dispatch (/app/node_modules/express/lib/router/route.js:91:3)
    at Layer.handle [as handle_request] (/app/node_modules/express/lib/router/layer.js:82:5)
    at /app/node_modules/express/lib/router/index.js:267:22
    at Function.proto.process_params (/app/node_modules/express/lib/router/index.js:321:12)
    at next (/app/node_modules/express/lib/router/index.js:261:10)
    at expressInit (/app/node_modules/express/lib/middleware/init.js:23:5)
    at Layer.handle [as handle_request] (/app/node_modules/express/lib/router/layer.js:82:5)
...but the forced-update URL for the addon correctly uploaded to WoWI.
__________________
Author/maintainer of Grid, PhanxChat, oUF_Phanx, and many more.
Troubleshoot an addon • Turn any code into an addon • More addon resources
Need help with your code? Post all of your actual code! Attach or paste your files.
Please don’t PM me about addon bugs or code questions. Post a comment or forum thread instead!
  Reply With Quote
08-15-15, 07:33 PM   #48
p3lim
A Pyroguard Emberseer
 
p3lim's Avatar
AddOn Author - Click to view addons
Join Date: Feb 2007
Posts: 1,623
Originally Posted by Phanx View Post
Thanks, seems to be working now. The "updatelist" link gave this error:
Code:
TypeError: undefined is not a function
    at /app/server.js:68:6
    at Layer.handle [as handle_request] (/app/node_modules/express/lib/router/layer.js:82:5)
    at next (/app/node_modules/express/lib/router/route.js:110:13)
    at Route.dispatch (/app/node_modules/express/lib/router/route.js:91:3)
    at Layer.handle [as handle_request] (/app/node_modules/express/lib/router/layer.js:82:5)
    at /app/node_modules/express/lib/router/index.js:267:22
    at Function.proto.process_params (/app/node_modules/express/lib/router/index.js:321:12)
    at next (/app/node_modules/express/lib/router/index.js:261:10)
    at expressInit (/app/node_modules/express/lib/middleware/init.js:23:5)
    at Layer.handle [as handle_request] (/app/node_modules/express/lib/router/layer.js:82:5)
Fixed: https://github.com/p3lim/addon-packa...84618b35472a47

New version out for that; 0.5.4
  Reply With Quote
07-21-16, 12:17 AM   #49
LaRIC
Premium Member
 
LaRIC's Avatar
Premium Member
AddOn Author - Click to view addons
Join Date: Jan 2005
Posts: 21
.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:
    libs/LibStub:
        url: svn://svn.wowace.com/wow/libstub/mainline/trunk
        tag: latest
    libs/CallbackHandler-1.0:
        url: svn://svn.wowace.com/wow/callbackhandler/mainline/trunk/CallbackHandler-1.0
        tag: latest
    libs/AceAddon-3.0:
        url: svn://svn.wowace.com/wow/ace3/mainline/trunk/AceAddon-3.0
        tab: latest
    libs/AceDB-3.0:
        url: svn://svn.wowace.com/wow/ace3/mainline/trunk/AceDB-3.0
        tag: latest
    libs/AceTimer-3.0:
        url: svn://svn.wowace.com/wow/ace3/mainline/trunk/AceTimer-3.0
        tag: latest
    libs/AceEvent-3.0:
        url: svn://svn.wowace.com/wow/ace3/mainline/trunk/AceEvent-3.0
        tag: latest
enable-nolib-creation: no
  Reply With Quote
07-21-16, 05:53 AM   #50
p3lim
A Pyroguard Emberseer
 
p3lim's Avatar
AddOn Author - Click to view addons
Join Date: Feb 2007
Posts: 1,623
Originally Posted by LaRIC View Post
[color=#e5e5e5]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.

...
For this tool to work (in it's current implementation) you need to use the repository on both GitHub and CurseForge.
  Reply With Quote
07-21-16, 11:20 AM   #51
LaRIC
Premium Member
 
LaRIC's Avatar
Premium Member
AddOn Author - Click to view addons
Join Date: Jan 2005
Posts: 21
Originally Posted by p3lim View Post
For this tool to work (in it's current implementation) you need to use the repository on both GitHub and CurseForge.
Well that is fine. but how do I do with my externals? Should I change them from externals and just embed them manually or how should I go about it?
  Reply With Quote
07-21-16, 12:27 PM   #52
p3lim
A Pyroguard Emberseer
 
p3lim's Avatar
AddOn Author - Click to view addons
Join Date: Feb 2007
Posts: 1,623
Originally Posted by LaRIC View Post
Well that is fine. but how do I do with my externals? Should I change them from externals and just embed them manually or how should I go about it?
The CurseForge packager can't deal with submodules/externals, you would still need that metadata file.
  Reply With Quote
08-02-16, 09:31 AM   #53
Phanx
Cat.
 
Phanx's Avatar
AddOn Author - Click to view addons
Join Date: Mar 2006
Posts: 5,567
HTTP is (apparently) no longer supported on Curse; I've submitted a pull request on GitHub switching the Curse URLs over to HTTPS.
__________________
Author/maintainer of Grid, PhanxChat, oUF_Phanx, and many more.
Troubleshoot an addon • Turn any code into an addon • More addon resources
Need help with your code? Post all of your actual code! Attach or paste your files.
Please don’t PM me about addon bugs or code questions. Post a comment or forum thread instead!
  Reply With Quote
08-08-16, 11:35 AM   #54
p3lim
A Pyroguard Emberseer
 
p3lim's Avatar
AddOn Author - Click to view addons
Join Date: Feb 2007
Posts: 1,623
0.6.0 is out, changes:
  • Now using API tokens for WoWInterface authentication, generate one here.
  • CurseForge is now only accepting HTTPS connections (thanks Phanx)

Big thanks to dolby for making this happen!

Last edited by p3lim : 08-08-16 at 11:49 AM.
  Reply With Quote
08-08-16, 11:42 AM   #55
p3lim
A Pyroguard Emberseer
 
p3lim's Avatar
AddOn Author - Click to view addons
Join Date: Feb 2007
Posts: 1,623
0.6.1 is out, changes:
  • Now using HTTPS to communicate with WoWInterface too.
  Reply With Quote
11-17-16, 09:08 PM   #56
p3lim
A Pyroguard Emberseer
 
p3lim's Avatar
AddOn Author - Click to view addons
Join Date: Feb 2007
Posts: 1,623
CurseForge has been redesigned, I can not guarantee this project will work until I've had a look at it.
  Reply With Quote
11-17-16, 11:23 PM   #57
p3lim
A Pyroguard Emberseer
 
p3lim's Avatar
AddOn Author - Click to view addons
Join Date: Feb 2007
Posts: 1,623
0.7.0 is out, changes:
  • Fixed warnings being thrown for positive responses from WoWInterface API
  • Use the new compatibility API from WoWInterface (thanks to dolby!)
  • Updated parsing of CurseForge and their website updates

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.
  Reply With Quote
04-29-17, 04:05 AM   #58
p3lim
A Pyroguard Emberseer
 
p3lim's Avatar
AddOn Author - Click to view addons
Join Date: Feb 2007
Posts: 1,623
Forgot to update here for the last few versions, but here are the changes:

0.7.1 is out, changes:
  • Fixed changelog not being pushed correctly.

0.7.2 is out, changes:
  • Fixed interface version detection

0.7.3 is out, changes:
  • Fixed force updating
  • Fixed CurseForge parsing
  • Added support for WowAce as a fallback when project was not found on CurseForge
  • Updated entire stack to latest versions
  Reply With Quote
11-06-17, 08:21 AM   #59
alar
A Defias Bandit
 
alar's Avatar
AddOn Author - Click to view addons
Join Date: Nov 2006
Posts: 2
Awesome tool, really.
I was wondering if would be possibile to polish a bit the answers for updatelist and force.
  • updatelist:
    I noted that if the gist contain a broken json, no warning is given.
    Maybe an answer with
    status: (success:failure)
    data: addons.json content
    would be nice
    force:
    status: (success/failure) message: descriptive result (could be updated to version x.x.x)
__________________
-----
(English is not my first language, assume my intent is always to be nice. If something looks rude blame my english, not me)
My addons:
OrderHallCommander
GarrisonCommander
ItemLevelDisplay
AlarArtRemover
  Reply With Quote
11-06-17, 11:57 AM   #60
p3lim
A Pyroguard Emberseer
 
p3lim's Avatar
AddOn Author - Click to view addons
Join Date: Feb 2007
Posts: 1,623
Originally Posted by alar View Post
Awesome tool, really.
I was wondering if would be possibile to polish a bit the answers for updatelist and force.
  • updatelist:
    I noted that if the gist contain a broken json, no warning is given.
    Maybe an answer with
    status: (success:failure)
    data: addons.json content
    would be nice
    force:
    status: (success/failure) message: descriptive result (could be updated to version x.x.x)
Good suggestions, however I've personally switched to a different system, so this project likely won't see any updates from me in a while, aside from things like bugfixes and PRs.

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:
  • No need to set up a server (Heroku) and keep it up-to-date
  • Settings are stored per-project (alike the .pkgmeta), not hidden in settings/gists
  • No need to poll CurseForge for updates, which can't be guaranteed
  • More widely adopted by larger projects (BigWigs in particular), so it should be considered more stable/long-term available

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)

Last edited by p3lim : Yesterday at 04:17 PM.
  Reply With Quote

WoWInterface » Developer Discussions » Dev Tools » Addon Packager Proxy

Thread Tools
Display Modes

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