Skip to content

nationalarchives/pronom-signatures

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

44 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PRONOM signatures

This repository contains a record of all PRONOM signatures in JSON format. This is used to build the PRONOM signature file and container signature files.

This repository can be used to submit new signatures to PRONOM.

Submitting new signatures

Create a fork of this repository.

Check out your fork locally.

Create a directory called submissions in the root of the project.

Add a json file with the details of the new signature in the submissions directory. The name of the file doesn't matter. The following fields are mandatory.

{
  "formatName": "A test PRONOM file",
  "formatDescription": "This is a test file",
  "internalSignatures": [
    {
      "positionType": "Absolute from BOF",
      "offset": 0,
      "maxOffset": 0,
      "byteSequence": "5445535450524F4E4F4D",
      "name": "PRONOM test",
      "note": "A PRONOM test signature"
    }
  ]
}

There are many other fields you can optionally add which are specified in the format JSON schema file

Optionally, you can add test files which will be used to check the signature matches those files. To do this, create a directory inside submissions called files and place any test files in there. If you aren't including test files, you don't need to create a directory.

So the final structure will look like:

└── submissions
    ├── files
    │   └── test.pronomtest
    └── submission.json

Commit and push this to your forked repository and then create a pull request to merge back to this repository.

There are tests which will build your submission into a temporary signature file and run the DROID tests against it. If these pass then a member of staff at TNA will review and eventually merge the pull request.

The tests will also generate a signature file and container signature file which you can download to test for yourself. There is a guide to downloading artifacts here.

Merging the pull request won't immediately deploy a new version. At some point, a TNA staff member will raise a pull request to merge all the latest submissions into the main branch and once this is merged, a new release will be generated.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •