Commit Graph

4 Commits

Author SHA1 Message Date
Gregory Szorc
19bb1c7ef2 Bug 1391789 - Make hash_path() a "public" API; r=dustin
So we can use it from another module without feeling dirty.

MozReview-Commit-ID: 1TCk9dda6mL
2017-08-18 13:30:05 -07:00
Mike Hommey
64e282d275 Bug 1386588 - Error out when a resource pattern for toolchains matches nothing. r=dustin 2017-08-03 08:12:34 +09:00
Mike Hommey
6b28dd24f0 Bug 1341213 - Make the index path for toolchain jobs independent of the source path. r=dustin
When I refactored hash_paths to add caching, I mixed things up such that
for each file, we end up hashing:
  (u'$sha256sum', u'$topsrcdir/$relpath') $relpath

when the intent was to hash:
  $sha256sum $relpath

This change fixes it, such that now the index paths are independent of
the source path, as originally intended.
2017-02-16 17:33:35 +09:00
Mike Hommey
b1ef1c8c3b Bug 1335651 - Setup an index path in the gecko.cache namespace for toolchain builds. r=dustin
This allows to find them and optimize them out during the taskgraph
optimization phase, and will allow to get toolchain artifacts through a
mach command for developers.

The index path is generated similarly to git trees or mercurial
manifests, and allows to find the right task corresponding to the the
contents of the files in the task `extra.resources` along the toolchain
scripts.

`when.files-changed` is not used when a task has index paths because we
need tasks to happen independently of whether there were changes to
those files when the index or artifacts expire.
2017-02-01 09:27:31 +09:00