NewPath-Consulting / warm

Pro Reports for Wild Apricot is a Google Data Studio connector that helps Wild Apricot administrators understand your organization’s membership engagement, renewal rates, and demographics. Trend your revenue and get expense analyses. Whatever your question, enjoy all the organized data you need at your fingertips to make the business decisions want.
https://newpathconsulting.com/warm
GNU General Public License v3.0
5 stars 4 forks source link

Introduce a DEV/UAT/PROD label that can be added dynamically into the code #79

Closed asirota closed 4 years ago

asirota commented 4 years ago

When we deploy code to DEV/UAT/PROD currently we need to introduce this string in 3 places:

In appscript.json (description and shortdescription) as well as line 1887 on wa_connector.gs to identify the User-Agent

Can we make this easier to change in one place and have it cascade down to the various places it needs to be used?

miasmos commented 4 years ago

This would require the introduction of deploy automation through something like Travis CI. I can certainly do it, but if it's solely for the above reason I'm not sure it's worth the time investment.

asirota commented 4 years ago

I suppose it can't be a variable we change in the code and rather needs some post processing to make it work. No it's not worth the time to implement CI for this simple change. I can remember where to change it if necessary.