archive-differ

command module
v0.1.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 27, 2023 License: AGPL-3.0 Imports: 15 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

README

Ardi the Archive-differ

The archive differ is an application that takes an archived bag in the Bagit format, and checks the METS file for difference in comparison to another bag. If there are differences between the preservation steps (outlined in the PREMIS) it will display the difference that bags have to the user in a useful and readable format.

Installation

Before installing, please ensure that you have Go installed on your machine. You can download it from the official Go Download Page.

You can install the binary quickly with:

go install https://github.com/Diogenesoftoronto/ardi
Installation from source

Clone the repository to your local machine, or download the source code as a zip:

git clone https://github.com/Diogenesoftoronto/ardi

Navigate into the project directory:

cd repository

Install the necessary dependencies:

go mod tidy

Build the application:

go build

Features

The first focus is to display the difference and counts of the preservation events. It will also give users the output of the diff tag if asked for.

The tool may also do other things given time.

Usage

The archive differ is primarly a command line tool although in the future if it proves useful, it's feature set may include a text user interface.

To use the application, run the following command with your METS file paths as arguments:

ardi path1/to/metsfile.xml path2/to/metsfile.xml

Ardi works with tars, zips, and sevenzips. But not directories. You can give Ardi compressed files and it will find the Mets and compare on its own. Ardi can do multiple diffs at the same time but just make sure that you are giving Ardi a multiple of two. Otherwise it wont be able to compare the odd one.

Motivation

The reason this exists is to test different digital archiving tools to see if they produce the same types of preservation metadata in a quick way without resorting to human error and intense labour.

The primary applications it is meant to test is the a3m and archivematica Archival Information Packages.

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL
⌂ 换网址