RebelTechnology / OwlServer

Web-based Client/Server application for the Open Ware Laboratory
GNU General Public License v2.0
2 stars 2 forks source link

Supply service token to Heavy uploader #200

Closed pingdynasty closed 2 years ago

pingdynasty commented 7 years ago

Enzien have updated the Heavy uploader script to take a --service-token argument, which will be used by them to track users from different service providers such as us. We should provide this token when compiling Pd patches.

Passing this argument should work the same as the user token which is contained in the HEAVY_TOKEN PHP variable, in settings.php, and passed to the command line in patch-builder.php. Note that the environment variable for the Makefile is HEAVYTOKEN, whereas the PHP variable is HEAVY_TOKEN.

The OwlProgram Makefile has been updated to accept the service token in environment variable HEAVYSERVICETOKEN.

I suggest that HEAVY_SERVICE_TOKEN is added to settings.php, and patch-builder.php is updated to pass this on the command line as HEAVYSERVICETOKEN.