Doc enhancement: Auto-retrieving useful variables for scripting
Hello! We have a number of Power users/build engineers who are not OS level administrators of our SDP deployments. They will code scripts, triggers, and extendable functionality that they will then want implemented on the server, either via a cron job or via a trigger (often running from within the depot).
We'd like to have a supported and maintained doc that helps people in the above scenarios understand that they can call p4_vars.sh and autopopulate useful variables for their script. This should contain examples with different script languages, including python and bash, and for windows folks powershell. Perhaps even maintaining templates that they can build their scripts/triggers on.
Lastly if the doc could include simplified (user centric) steps on "you can ask your administrator to modify this file to implement your own variables that are called when p4_vars.sh is run", or if you have access yourself here's how to do it.