This monkey-patches the old taskcluster_graph code to avoid impacting branches
that are still using that support for decision graphs. All of this will go
away when docker image builds become their own kind.
MozReview-Commit-ID: KukC3qqZDYA
The command helpfully downloads a docker image created by a taskcluster task,
which can be helpful when trying to replicate subtle bugs that only occur
in-tree.
This also fixes a bug in hashing Dockerfile directories, where the full
pathname was taken into account. While this pathname is consistent from
decision task to decision task, it is not consistent with developers' home
directories. This change omits the directory prefix, which will cause a
one-time shift in all directory hashes.
MozReview-Commit-ID: EamQzUGG5qY
We're already casting the list of scopes to a set later. So we might as
well use a set from the beginning.
While we're here, sort the final value so output is more deterministic
and easier to read. This sort shouldn't matter since the existing set()
would have lost ordering.