Bug 1245953 - Print info on commits influencing scheduling; r=garndt

We're about to introduce a mechanism to influence which tasks run based
on what files change. To help debug what's happening, print out the list
of commits that influence the task selection.

MozReview-Commit-ID: Kfj2pf1PSIS
This commit is contained in:
Gregory Szorc
2016-02-16 15:00:52 -08:00
parent aabf4e1612
commit be18e0f2e7

View File

@@ -327,6 +327,12 @@ class Graph(object):
if vcs_info:
pushdate = time.strftime('%Y%m%d%H%M%S', time.gmtime(vcs_info.pushdate))
sys.stderr.write('%d commits influencing task scheduling:\n' %
len(vcs_info.changesets))
for c in vcs_info.changesets:
sys.stderr.write('%s %s\n' % (
c['node'][0:12], c['desc'].splitlines()[0]))
# Template parameters used when expanding the graph
seen_images = {}
parameters = dict(gaia_info().items() + {