Skip to content

nationalarchives/tdr-file-format

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

File format checks

This is the repository for the backend file format check for the Transfer Digital Records project.

The file format checks run in AWS Lambda. They run the DROID file format tool to extract PRONOM IDs.

The Lambda function downloads the file passed as input to the lambda local file system.

The function then calls the Droid API against this file to extract the PRONOM ids

Deployment

DROID and file format signatures

Droid is contained within the "uk.gov.nationalarchives" % "droid-api" dependency. The binary and container signature files are downloaded when the lambda is first started. To get the signature files, it carries out the following steps.

File format Lambda

To deploy changes to the Lambda which downloads the file from S3 and runs DROID, run the deploy GitHub actions job.