Closed Bug 1356511 Opened 7 years ago Closed 7 years ago

Artifacts list should contain hash digests

Categories

(Taskcluster :: General, enhancement)

enhancement
Not set
normal

Tracking

(Not tracked)

RESOLVED INCOMPLETE

People

(Reporter: glandium, Unassigned)

Details

Currently, this is what you get as a list of artifacts:

$ curl https://queue.taskcluster.net/v1/task/QfythxJrTLaHtQRkHmNNTA/artifacts
{
  "artifacts": [
    {
      "storageType": "s3",
      "name": "public/gcc.tar.xz",
      "expires": "2017-05-12T03:58:40.935Z",
      "contentType": "application/x-xz"
    },
    {
      "storageType": "reference",
      "name": "public/logs/live.log",
      "expires": "2017-05-12T03:58:40.935Z",
      "contentType": "text/plain"
    },
    {
      "storageType": "s3",
      "name": "public/logs/live_backing.log",
      "expires": "2017-05-12T03:58:40.935Z",
      "contentType": "text/plain"
    }
  ]
}

When subsequently downloading one of these files, there is no way to know whether the downloaded file matches what's supposed to be there. It would be great if the artifacts info would also contain information such as size and hash digest (something adaptive like the what can be found in tooltool manifests would be ideal, i.e. a pair of (algorithm, digest))
We are working on a major change to artifact handling:
  https://github.com/taskcluster/taskcluster-rfcs/issues/7
which will use hashes throughout.

Let's imagine I duped this Bugzilla bug to that Github issue :)
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → INCOMPLETE
You need to log in before you can comment on or make changes to this bug.