vyadh / teamcity-deployment-dashboard

A TeamCity dashboard to help summarise what app version has been released to what environment.
Apache License 2.0
26 stars 5 forks source link

Case insensitive environment matching #8

Closed vyadh closed 5 years ago

vyadh commented 5 years ago

Currently the environment lookup is case sensitive, which seems unnecessarily restrictive. If the environment is 'dev', 'DEV', or 'Dev' they should be treated the same. Particularly important when showing environments across projects and teams where consistency is harder to achieve.

The case of the environment displayed should be as those specified in the configuration of the dashboard and would need to be normalised when read from build data. This would allow better user facing labels, e.g. a code of 'uat' can become 'UAT' and 'develop' can become 'Develop' when shown.