ReleaseEngineering/Applications/Tooltool: Difference between revisions

(→‎How to upload files to tooltool: Clarify tooltool user ID for non-@mozilla.com LDAPs)
Line 1: Line 1:
= Tooltool basics =
= Tooltool basics =


Tooltool is a client side program written in Python that uses a file manifest in concert with HTTP servers to retrieve sets of files and perform integrity checks on them based on hashcode verification.  The manifests are JSON files which list details of individual files (see below).  Each file is represented in the JSON by a dictionary with the keys “filename”, “digest”, “size” and “algorithm”.
Some of the jobs in the releng infrastructure make use of generic binary artifacts, which are stored in dedicated artifacts repositories.


A set of files to be fetched by tooltool is specified via a tooltool manifest, usually a file with tt extension.
Tooltool is the client program, written in Python, which is used to retrieve these artifacts from the servers, and to perform integrity checks on them based on hashcode verification. Hence, the servers storing these artifacts are named "tooltool servers".
 
A set of files to be fetched by tooltool is specified via a tooltool manifest, usually a file in JSON format with tt extension.


The following is an example of a valid tooltool manifest:
The following is an example of a valid tooltool manifest:
Confirmed users
107

edits