{"action":"created","issue":{"url":"https://api.github.com/repos/digital-preservation/droid/issues/81","labels_url":"https://api.github.com/repos/digital-preservation/droid/issues/81/labels{/name}","comments_url":"https://api.github.com/repos/digital-preservation/droid/issues/81/comments","events_url":"https://api.github.com/repos/digital-preservation/droid/issues/81/events","html_url":"https://github.com/digital-preservation/droid/pull/81","id":120604037,"number":81,"title":"[feature] Add SHA-1 to DROID output and documentation.","user":{"login":"ross-spencer","id":1880412,"avatar_url":"https://avatars.githubusercontent.com/u/1880412?v=3","gravatar_id":"","url":"https://api.github.com/users/ross-spencer","html_url":"https://github.com/ross-spencer","followers_url":"https://api.github.com/users/ross-spencer/followers","following_url":"https://api.github.com/users/ross-spencer/following{/other_user}","gists_url":"https://api.github.com/users/ross-spencer/gists{/gist_id}","starred_url":"https://api.github.com/users/ross-spencer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ross-spencer/subscriptions","organizations_url":"https://api.github.com/users/ross-spencer/orgs","repos_url":"https://api.github.com/users/ross-spencer/repos","events_url":"https://api.github.com/users/ross-spencer/events{/privacy}","received_events_url":"https://api.github.com/users/ross-spencer/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-12-06T03:06:14Z","updated_at":"2015-12-07T17:05:46Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/digital-preservation/droid/pulls/81","html_url":"https://github.com/digital-preservation/droid/pull/81","diff_url":"https://github.com/digital-preservation/droid/pull/81.diff","patch_url":"https://github.com/digital-preservation/droid/pull/81.patch"},"body":"Previously noted as a potential enhancement that will help Archives New Zealand, but also a new requirement gathered at a recent digital preservation knowledge sharing event with State Library New South Wales; the addition of SHA1 to DROID output. \r\n\r\nCode has been contributed following existing TNA guidelines, inferred from  the existing code base. Documentation and comments have been updated to reflect a third hashing algorithm and to ensure that the documentation continues to make sense to users. \r\n\r\nA unit test has been created to test SHA1. The tool has been build and tested on a small corpus of objects to ensure that output is as expected. UI and reporting changes have been reflected as expected on building and usage. \r\n\r\nN.B. Commons-codec has been updated from 1.4 to 1.10 because a number of functions were previously deprecated and didn't include SHA1. Tests continue to pass with increment. "},"comment":{"url":"https://api.github.com/repos/digital-preservation/droid/issues/comments/162594220","html_url":"https://github.com/digital-preservation/droid/pull/81#issuecomment-162594220","issue_url":"https://api.github.com/repos/digital-preservation/droid/issues/81","id":162594220,"user":{"login":"snail1966","id":4448475,"avatar_url":"https://avatars.githubusercontent.com/u/4448475?v=3","gravatar_id":"","url":"https://api.github.com/users/snail1966","html_url":"https://github.com/snail1966","followers_url":"https://api.github.com/users/snail1966/followers","following_url":"https://api.github.com/users/snail1966/following{/other_user}","gists_url":"https://api.github.com/users/snail1966/gists{/gist_id}","starred_url":"https://api.github.com/users/snail1966/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/snail1966/subscriptions","organizations_url":"https://api.github.com/users/snail1966/orgs","repos_url":"https://api.github.com/users/snail1966/repos","events_url":"https://api.github.com/users/snail1966/events{/privacy}","received_events_url":"https://api.github.com/users/snail1966/received_events","type":"User","site_admin":false},"created_at":"2015-12-07T17:05:46Z","updated_at":"2015-12-07T17:05:46Z","body":"Thanks for the suggestion Ross and the code contribution.  Have had a quick look and it should be possible to include this in the next release, subject to further in depth testing.  There are various changes to incorporate from other sources so will test and review further before formally accepting the pull request.\r\nRegards, Brian"}}