# Rollbar Users within Twitch ~184
ag -G "Godeps.json|glide.yaml|Gopkg.toml" --depth 3  "(rollrus|rollbar|chat/golibs)" -l . | cut -d'/' -f-2 | sort | uniq | tee rollbar_users.txt

# All repos using some Go Dependency Manager ~526
ag -g "Godeps.json|glide.yaml|Gopkg.toml" --depth 3 | cut -d'/' -f-2 | sort | uniq | tee goDependencies.txt

# Deployment system queries. includes all 

#clean deploy + cloudy are main options here ~611
ag  -g "deploy.json|cloudy" --depth 3 | cut -d'/' -f-2 | sort | uniq | tee deployFiles.txt
# cloudformation is also a big one
ag  -g "deploy.json|cloudy|cloudformation" --depth 4 | cut -d'/' -f-2 | sort | uniq | tee deployFiles.txt

# cloudy users only
ag -g "cloudy" --depth 3 | cut -d'/' -f-2 | sort | uniq

# Get Go Deployed repos ~338
comm -12 goDependencies.txt deployFiles.txt | tee goDeploy.txt

# Number of identified Rollbar users that arent in our deploy list ~28
# Usually indicates that we are missing  a source of deployments
# code pipeline from aws doesn't seem to have any source code config this probably contributes to the number change
comm -13 goDeploy.txt rollbar_users.txt

# Deployed without rollbar ~186
comm -23 goDeploy.txt rollbar_users.txt
# Currently this includes some users that may be deprecated or not have any recent commit activity

