PRONOM Signature Development Utility

From COPTR
Jump to: navigation, search



Output DROID compatible file format signature files using PRONOM syntax
Homepage:https://github.com/exponential-decay/signature-development-utility
License:Open source (see URL above)
Platforms:PHP + JQuery + Javascript + text/html


Contents

[edit] Description

Utility to enable the creation of DROID compatible signature files using PRONOM regular expression syntax. The tool outputs in an XML format compatible with DROID 4 upwards (including DROID 5 and 6). Three sequences can be combined to create a single file format signature. Signature files can be concatenated manually if more complex collections are required for testing.

Signature File 88 contains of 1427 different PUIDs.

[edit] Using its Output

[edit] DROID

The signature development utility output can be directly uploaded to DROID via its 'Install Signature File' mechanism. Be sure to then select the new file from 'Preferences'.

[edit] Siegfried

Siegfried is a useful tool for testing because it can combine a new signature file from this utility with all the other signatures in the PRONOM corpus, plus its many others.

[edit] Instructions for Linux

We use a utility called Roy to extend signature files. This is installed alongside Siegfried.

To extend a signature file to include a custom signature file, we need to make sure that there is a 'custom' folder, where Roy can find it. We will need our signature to be on a path that looks as follows:

/home/{username}/siegfried/custom/{custom-dev-sig}.xml

Extending the signature file can then be completed in two stages:

1) Roy harvest

This will download PRONOM signature file reports. This is the most accurate way to run Siegfried. An alternative is to let Siegfried parse the DROID signature file, but this has shown to lead to some inconsistencies where PRONOM and DROID do not reflect each other entirely.

2) Roy build -extend {custom-dev-sig}.xml

Try Siegfried on a single file of the format we have created the signature for:

3) sf {custom-dev-format}.{ext}

The result will be:

---
siegfried   : 1.7.6
scandate    : 2017-10-25T23:35:31+13:00
signature   : default.sig
created     : 2017-10-25T23:23:59+13:00
identifiers : 
  - name    : 'pronom'
    details : 'DROID_SignatureFile_V91.xml; container-signature-20170330.xml; extensions: {custom-dev-sig}.xml'
---
filename : '{custom-dev-format}.{ext}'
filesize : 1492992
modified : 2017-10-22T16:02:13+13:00
errors   : 
matches  :
  - ns      : 'pronom'
    id      : 'dev/1'
    format  : '{custom-dev-format}'
    version : '1.0'
    mime    : 'application/{custom-dev-format}'
    basis   : 'extension match img; byte match at 1024, 32'
    warning : 

[edit] User Experiences

[edit] Development Activity

All development activity is visible on GitHub: https://github.com/exponential-decay/signature-development-utility/commits

[edit] Activity Feed

Below the last 5 commits:

2017-03-25 04:39:02
[tag:github.com,2008:Grit::Commit/6b8935401e13c55e9ec27b06eec9ad0e74124eb6 [feature] Open-iconic Bookmark Icon.]
by ross-spencer https://github.com/ross-spencer
2017-03-25 04:22:33
[tag:github.com,2008:Grit::Commit/a83bab139a90451bb3525c1d376e58af7f149e71 [bugfix] Assumed variable names replaced by constants.]
by ross-spencer https://github.com/ross-spencer
2017-03-25 04:02:28
[tag:github.com,2008:Grit::Commit/731d6d0dc1dbcc36cd4c4e9e104ccb60a168982c [bugfix] PHP 5.4 $_POST handling fix.]
by ross-spencer https://github.com/ross-spencer
2016-09-07 05:38:19
[tag:github.com,2008:Grit::Commit/eb5ee1fb69f15a8ffd33d2aac1d78e7f518a4b0e [documentation] COPTR entry.]
by ross-spencer https://github.com/ross-spencer
2016-09-07 05:14:51
[tag:github.com,2008:Grit::Commit/f8c162c4338f646b96c1c3c466646ee33cb37ff4 [documentation] More important stuff first.]
by ross-spencer https://github.com/ross-spencer



Contributors

Chlara (15.8%), Yfriese (8.4%), Ross-spencer (75.8%)