Difference between revisions of "Detox log"

From Archivematica
Jump to navigation Jump to search
Line 10: Line 10:
 
| This page documents an existing feature
 
| This page documents an existing feature
 
|}
 
|}
 
+
== Design ==
 
 
[[Category:Design]]
 
 
To support various file systems the file & folder names were changed with the detox program.
 
To support various file systems the file & folder names were changed with the detox program.
 
These changes needed to be included in the metadata for the SIP.
 
These changes needed to be included in the metadata for the SIP.
  
 
+
== Developoment ==
[[Category:Developoment]]
 
 
- Once verified working correctly, should overwrite SIP.xml, and not create new file (SIPOUT.xml).
 
- Once verified working correctly, should overwrite SIP.xml, and not create new file (SIPOUT.xml).
 
- Can verify the UUID for the SIPs correspond.
 
- Can verify the UUID for the SIPs correspond.
  
[[Category:Documentation]]
+
== Documentation ==
 
Detox will output a list of file changes. In the archivematica system these changes are logged to the detox.log.
 
Detox will output a list of file changes. In the archivematica system these changes are logged to the detox.log.
 
To include this information, as metadata, the SIPOUT.xml is generated by add_detox_to_SIP.py from detox.log and SIP.xml.
 
To include this information, as metadata, the SIPOUT.xml is generated by add_detox_to_SIP.py from detox.log and SIP.xml.
 
add_detox_to_SIP.py proccesses detox.log line by line, to update any filename changes in SIPOUT.xml
 
add_detox_to_SIP.py proccesses detox.log line by line, to update any filename changes in SIPOUT.xml

Revision as of 13:41, 1 April 2010

Design This page proposes a new feature and reviews design options
Development This page describes a feature that is currently in development
Documentation This page documents an existing feature

Design

To support various file systems the file & folder names were changed with the detox program. These changes needed to be included in the metadata for the SIP.

Developoment

- Once verified working correctly, should overwrite SIP.xml, and not create new file (SIPOUT.xml). - Can verify the UUID for the SIPs correspond.

Documentation

Detox will output a list of file changes. In the archivematica system these changes are logged to the detox.log. To include this information, as metadata, the SIPOUT.xml is generated by add_detox_to_SIP.py from detox.log and SIP.xml. add_detox_to_SIP.py proccesses detox.log line by line, to update any filename changes in SIPOUT.xml