-
Notifications
You must be signed in to change notification settings - Fork 13
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Handle old Archivematica METS documents #53
Merged
Merged
Commits on Jan 17, 2019
-
Configuration menu - View commit details
-
Copy full SHA for 62955db - Browse repository at this point
Copy the full SHA 62955dbView commit details
Commits on Mar 8, 2019
-
This commit updates `_parse_tree_structmap` so `FSEntry` objects are created also when the parser runs into direct `fptr` elements, e.g.: <div TYPE="directory" LABEL="objects"> <fptr FILEID="001.csv-0c0576c3-e82e-4501-9aef-1f3d2d35aeda"/> <fptr FILEID="002.mpg-722de890-2a3c-4343-bb69-f2b29894d9a7"/> <fptr FILEID="003.mpg-423247e7-c27d-4b5a-a64a-b02833f2212d"/> </div>
Configuration menu - View commit details
-
Copy full SHA for c6443dd - Browse repository at this point
Copy the full SHA c6443ddView commit details -
Configuration menu - View commit details
-
Copy full SHA for e7a584b - Browse repository at this point
Copy the full SHA e7a584bView commit details -
Fix FSEntry path encoding issue
In Py2, ``FSEntry.path`` uses binary. This commit updates the constructor so it uses the `utf-8` encoder when we're encoding text type. The default encoder is `ascii` which is problematic. In Py3, ``FSEntry.path`` is using Unicode and that needs to be fixed.
Configuration menu - View commit details
-
Copy full SHA for 329c8e1 - Browse repository at this point
Copy the full SHA 329c8e1View commit details -
Configuration menu - View commit details
-
Copy full SHA for eac45cf - Browse repository at this point
Copy the full SHA eac45cfView commit details -
Configuration menu - View commit details
-
Copy full SHA for f7ff13f - Browse repository at this point
Copy the full SHA f7ff13fView commit details -
This avoids the following issue: > return ' '.join([str(x) for x in texts]) ^^^^^^ E UnicodeEncodeError: 'ascii' codec can't encode characters in position 42-44: ordinal not in range(128) Only fixed in Py2. Py3 codepath will need more work overall.
Configuration menu - View commit details
-
Copy full SHA for f06008d - Browse repository at this point
Copy the full SHA f06008dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 26c6635 - Browse repository at this point
Copy the full SHA 26c6635View commit details
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.