Path-Check / safeplaces-dct-app

COVID Safe Paths (based on Private Kit) is an open and privacy preserving system to use personal information to battle COVID
https://covidsafepaths.org
MIT License
466 stars 283 forks source link

Script to update display name based on environment #1273

Closed aledustet closed 4 years ago

aledustet commented 4 years ago

Why:

Each HA will have different settings for our builds, one of those is the display name. We need a way to update those values for each one of the builds.

This Commit:

Reviewers:

This script is counting on having xmllint and PlistBuddy in the executing environment. Given that builds need to happen on MacOS those two libraries are part of the system. The solution is very rigid but it is a start on how we might tackle the configurations per HA.

mattThousand commented 4 years ago

I've updated pathcheck-mobile-resources - should yarn set-ha mn --renaming set the value in BT/info.plist?

aledustet commented 4 years ago

@mattThousand I updated the line to load the .env file it should be happy with spaces and lines without "" sorry for the hiccup let me know when you try it on your end

johnschoeman commented 4 years ago

Looks like this is no longer relevant, should this be closed @aledustet ?

aledustet commented 4 years ago

I don't think this is relevant anymore, closing