Skip to content

Instantly share code, notes, and snippets.

@sallain
sallain / prefix.txt
Last active September 4, 2020 18:34
Templating information for creating markdown issue templates. Row separator and suffix can be left blank.
---
name: Testing checklist template
about: Use this template to create an issue for regression testing
---
We can make this file beautiful and searchable if this error is corrected: It looks like row 2 should actually have 17 columns, instead of 14. in line 1.
parts,dc.contributor,dc.coverage,dc.description,dc.description,dc.format,dc.identifier,dc.identifier,dc.publisher,dc.subject,dc.subject,dc.subject,dc.subject,dc.type,dc.type,dc.type,dc.title
objects/,Historical Information Gatherers,United States,"Provides access to a digital collection of historical color fire insurance maps, real estate atlases, and similar land use maps for North America. High definition, color and gray-scale images display important historical details not visible on black and white map scans. Includes map research tools and search tips to make finding maps for a specific location easy. Maps include publications by Sanborn, Perris, Hexamer, Whipple, Baist, Bromley, Hopkins and others. Content and functionality will continue to be added","Title from home page (viewed December 14, 2017)",online resource,https://library.princeton.edu/resource/28605,https://fims.historicalinfo.com,"Historical Information Gatherers, Inc",Fire risk assessment,Cities and towns,Real property,Land use,Fire insuranc
<processingMCP>
<preconfiguredChoices>
<!-- Select compression level -->
<preconfiguredChoice>
<appliesTo>01c651cb-c174-4ba4-b985-1d87a44d6754</appliesTo>
<goToChain>414da421-b83f-4648-895f-a34840e3c3f5</goToChain>
</preconfiguredChoice>
<!-- Remove from quarantine after (days) -->
<preconfiguredChoice>
<appliesTo>19adb668-b19a-4fcb-8938-f49d7485eaf3</appliesTo>
Task 8b01d00e-fccd-4f0b-b903-3686adf17130
File UUID: 6c2a59dd-27de-4c7b-8359-84e3c6c76db1
File name: bitstream_355020.pdf
Client: ark-prod
Exit code: 1
Start time: 07/01/2019, 07:30:57
End time: 07/01/2019, 07:31:11
Created time: 07/01/2019, 07:30:57
Duration: 14 seconds(s)
Task 8b01d00e-fccd-4f0b-b903-3686adf17130
File UUID: 6c2a59dd-27de-4c7b-8359-84e3c6c76db1
File name: bitstream_355020.pdf
Client: ark-prod
Exit code: 1
Start time: 07/01/2019, 07:30:57
End time: 07/01/2019, 07:31:11
Created time: 07/01/2019, 07:30:57
Duration: 14 seconds(s)
@sallain
sallain / 1.7.2-filenameCleanup.log
Last active November 7, 2018 22:37
Cleanup logs for 1.7.2 and 1.8
No sanitization found for /var/archivematica/sharedDirectory/watchedDirectories/workFlowDecisions/metadataReminder/filenames-bc9079fb-8d5b-4ae0-9a1b-8401b13a10cf/objects/dollar_dollar.txt
No sanitization found for /var/archivematica/sharedDirectory/watchedDirectories/workFlowDecisions/metadataReminder/filenames-bc9079fb-8d5b-4ae0-9a1b-8401b13a10cf/thumbnails/a33451fc-71bd-401e-806c-b5e0c797c7e4.jpg
No sanitization found for /var/archivematica/sharedDirectory/watchedDirectories/workFlowDecisions/metadataReminder/filenames-bc9079fb-8d5b-4ae0-9a1b-8401b13a10cf/objects/(brackets)/_at.txt
No sanitization found for /var/archivematica/sharedDirectory/watchedDirectories/workFlowDecisions/metadataReminder/filenames-bc9079fb-8d5b-4ae0-9a1b-8401b13a10cf/objects/__6/control.txt
No sanitization found for /var/archivematica/sharedDirectory/watchedDirectories/workFlowDecisions/metadataReminder/filenames-bc9079fb-8d5b-4ae0-9a1b-8401b13a10cf/objects/period.period.txt
No sanitization found for /var/archivematica/sharedDirector
@sallain
sallain / structMapSample-METS.xml
Created November 1, 2018 23:03
The METS file created for the sampledata transfer structMapSample
<?xml version='1.0' encoding='UTF-8'?>
<mets:mets xmlns:mets="http://www.loc.gov/METS/" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.loc.gov/METS/ http://www.loc.gov/standards/mets/version111/mets.xsd"><mets:metsHdr CREATEDATE="2018-11-01T22:56:15"/><mets:dmdSec ID="dmdSec_1"><mets:mdWrap MDTYPE="PREMIS:OBJECT"><mets:xmlData><premis:object xmlns:premis="http://www.loc.gov/premis/v3" xsi:type="premis:intellectualEntity" xsi:schemaLocation="http://www.loc.gov/premis/v3 http://www.loc.gov/standards/premis/v3/premis.xsd" version="3.0"><premis:objectIdentifier><premis:objectIdentifierType>UUID</premis:objectIdentifierType><premis:objectIdentifierValue>039342e6-e8e1-4a98-b8f2-76928173a287</premis:objectIdentifierValue></premis:objectIdentifier><premis:originalName>structmap-test-039342e6-e8e1-4a98-b8f2-76928173a287</premis:originalName></premis:object></mets:xmlData></mets:mdWrap></mets:dmdSec><mets:amdSec ID="amdSec_1"><mets:techMD
@sallain
sallain / 1-AIP-level.json
Created October 15, 2018 23:44
JSON files for DemoTransfer materials
{
"_id": "AWZ5BcUhAljsbiCApEBD",
"_index": "aips",
"_source": {
"AICID": null,
"countAIPsinAIC": null,
"created": 1539628675,
"encrypted": false,
"filePath": "/var/archivematica/sharedDirectory/www/AIPsStore/1670/575b/650e/461a/9496/f2d4/57b4/41ad/test2-1670575b-650e-461a-9496-f2d457b441ad.7z",
"identifiers": [],
@sallain
sallain / 0-search-tests.md
Last active November 5, 2019 21:29
Search functionality testing

Search testing

General functionality

  • Doing a keyword query seems to result in an OR-type search - that is, every word is treated as a separate search item with OR operators strung between them, i.e. searching for 2015-Annual-Report actually searches for "2015 OR Annual OR Report", and the results contain anything named with "2015" or "Annual" or "Report".
  • Doing a phrase query gives you more boolean control - searching for 2015-Annual-Report is treated as an OR search as above, while "2015-Annual-Report" (with quotations) is treated as an exact search. This works for parts of names as well as full names.

Notes

To review what should be indexed by Elasticsearch, you can click on "view raw" for any search result. If you conduct any search (including a wildcard search), the words "view raw" will appear in parentheses next to the AIP or item name. Clicking on this displays the JSON file that underlies the search. Everything in the JSON file should, I think, be searchable - but it's not.

upload-qubit_v0.0: ERROR 2018-10-11 16:14:28,372 archivematica.upload.qubit.log:64 [uploadDIP] Target:
upload-qubit_v0.0: ERROR 2018-10-11 16:14:28,373 archivematica.upload.qubit.log:64 [uploadDIP] rsync --protect-args -rltz -P --chmod=ugo=rwX /var/archivematica/sharedDirectory/watchedDirectories/uploadDIP/dip-upload-d1241cac-7f0b-48e5-b14b-ac0ce8168916 158.69.72.17:/tmp
upload-qubit_v0.0: ERROR 2018-10-11 16:14:28,375 archivematica.upload.qubit.log:64 [uploadDIP] Rsync output is being saved in /tmp/tmp4Ecz3F
upload-qubit_v0.0: ERROR 2018-10-11 16:14:30,389 archivematica.upload.qubit.log:64 [uploadDIP] Sending... 100 (ETA: 0:00:00)
upload-qubit_v0.0: ERROR 2018-10-11 16:14:31,392 archivematica.upload.qubit.log:64 [uploadDIP] Sending... 100 (ETA: 0:00:00)
upload-qubit_v0.0: ERROR 2018-10-11 16:14:31,394 archivematica.upload.qubit.log:64 [uploadDIP] About to deposit to: http://atom-24rc3-test.accesstomemory.org/sword/deposit/
upload-qubit_v0.0: ERROR 2018-10-11 16:14:31,