Skip to content

A utility script to remove duplicate "DigitalObjects" from Archivist's Toolkit databases.

Notifications You must be signed in to change notification settings

NYULibraries/at-do-cleanup

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

99 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

at-do-cleanup

Overview

This code is used to clean up duplicate DigitalObjects from Archivist's Toolkit databases.

Status

IN DEVELOPMENT

Please note: the test suite assumes a certain database state that was available during development.

Contributing

Bug reports and pull requests are welcome on GitHub at https://github.com/NYULibraries/at-do-cleanup.

License

The code is available as open source under the terms of the MIT License.

NOTES:

This code is pretty ugly at this point.

A design using OpenStruct was chosen based on initial requirements.

Later it was determined that more and more complex operations were required, but there wasn't sufficient time to do a full-blown refactoring, therefore, the abstractions in use are not as elegant as desired.

N.B.:

Duplicate DigitalObjects have the file_version_uri method populated. Authoritative DigitalObjects DO NOT.

About

A utility script to remove duplicate "DigitalObjects" from Archivist's Toolkit databases.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages