Implements sha256 exception functionality 49/36449/2
authorlhinds <lhinds@redhat.com>
Sun, 25 Jun 2017 17:43:51 +0000 (18:43 +0100)
committerlhinds <lhinds@redhat.com>
Sun, 25 Jun 2017 17:50:26 +0000 (18:50 +0100)
commit48ce2a2317eb86b73b6da297c8ed9082b06faf9f
tree7f43ce80b63c0a5662cb8cdd50629c18753a4e2d
parent0b6fc6f47d2ce40d64659f398d025d5bcf2c7feb
Implements sha256 exception functionality

This patch adds functionality for file checksum verfications for
binary files.

The master_list.yaml binaries yaml directive now only contains
simple exceptions (for common artefacts that are gitignored)

Each project_exception file now has a filename and a sha256 hash.

If a binary file is not found, or the hash is mismatched,
it will output the hash for the user to include in an exception
patch.

This functionality has been added to complete project scans
and patchset scans

JIRA: RELENG-240

Change-Id: Iafa5710f4a0da192fc74335b1200b504413f8a8b
Signed-off-by: lhinds <lhinds@redhat.com>
anteater/src/get_lists.py
anteater/src/patch_scan.py
anteater/src/project_scan.py
exceptions/sandbox.yaml
master_list.yaml