ReleaseEngineering/How To/Setup Allthethings
< ReleaseEngineering | How To
How to set up a development environment to create `allthethings.json`.
Base install
#!/bin/bash cd /home/buildduty/allthethings source /home/buildduty/allthethings/venv/bin/activate updated=0 for d in buildbot-configs buildbotcustom tools; do t=$(mktemp) hg -R $d pull -q prev_rev=$(hg -R $d id) hg -R $d update -q cur_rev=$(hg -R $d id) if [ "$prev_rev" != "$cur_rev" ]; then echo "$d updated something" updated=1 fi done updated=1 if [ "$updated" = "1" ]; then echo "making all the things!" ( cd buildbot-configs; bash /home/buildduty/allthethings/braindump/buildbot-related/dump_allthethings.sh ../allthethings.json ) # TODO upload this somewhere.. maybe relengapi fi