Skip to content
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

Loopline premis #158

Open
wants to merge 30 commits into
base: master
Choose a base branch
from
Open
Changes from 1 commit
Commits
Show all changes
30 commits
Select commit Hold shift + click to select a range
5baca3b
tapepremis - adds placeholder tape premis workflow
kieranjol Mar 6, 2017
16df6da
tapepremis/premis extract md5 from manifest
kieranjol Mar 6, 2017
fe6dea4
tapepremis.py - adds workstation interview placeholder and manifest c…
kieranjol Mar 6, 2017
b23bb6c
tapepremis - adds some placeholder capture agents/events
kieranjol Mar 7, 2017
ac27c65
premis_agents - adds dvw-m2000p
kieranjol Mar 7, 2017
9a76550
tapepremis - guesses which capture used based on metadata
kieranjol Mar 7, 2017
9717bce
premis_agents - adds some more tape hardware
kieranjol Mar 7, 2017
00a229b
tapepremis - makes a bit more progress w/ interview
kieranjol Mar 7, 2017
b056658
tapepremis - few more events placeholders
kieranjol Mar 7, 2017
c679f48
tapepremis/premis_agents - more events and agents
kieranjol Mar 8, 2017
88a80cf
tapepremis - hacky method for getting source capture time
kieranjol Mar 8, 2017
6a8c69f
tapepremis/premis_agents - adds a few more agents
kieranjol Mar 10, 2017
02c0d66
tapepremis - adds a very broken but promising representation
kieranjol Mar 10, 2017
cd8c093
tapepremis - pull capture and ffv1 times from mediainfo
kieranjol Mar 11, 2017
348b22d
tapepremis - remove redundant modules and some housekeeping
kieranjol Mar 11, 2017
d702362
tapepremis - tries to be more PEP 8 compliant
kieranjol Mar 11, 2017
fd2d9d1
tapepremis - fixes capture_station interview
kieranjol Mar 11, 2017
0b67148
tapepremis - implements agents/events refactored - needs cleanup
kieranjol Mar 12, 2017
5215d0e
tapepremis - add users to premis/cleanup
kieranjol Mar 12, 2017
c3628f6
tapepremis - adds some more pep 8 improvements
kieranjol Mar 12, 2017
3748919
tapepremis - adds log file datetime extraction
kieranjol Mar 12, 2017
bb91c4c
premis - removes debug prints
kieranjol Mar 12, 2017
b986a6d
tapepremis - adds intellectual entity
kieranjol Mar 16, 2017
5fd2f7c
tapepremis - adds a bunch of placeholders to be updated later in work…
kieranjol Mar 16, 2017
e538380
tapepremis - add deck interview for ingest1
kieranjol Mar 16, 2017
24aa0f0
tapepremis - accepts folder as input
kieranjol Mar 16, 2017
a7b8864
tapepremis - moves create_object() into tapepremis, adds pbCore2 exte…
kieranjol Mar 17, 2017
a601573
premis - revert to master
kieranjol Mar 17, 2017
6865628
premis_agents - adds uvw1200p
kieranjol Mar 17, 2017
a061ea7
tapepremis - moves create_representation into tapepremis/guesses work…
kieranjol Mar 19, 2017
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
tapepremis - adds intellectual entity
  • Loading branch information
kieranjol committed Mar 16, 2017
commit b986a6d0a8e54c6ab159b871fb96de154ae6ec71
6 changes: 6 additions & 0 deletions tapepremis.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
from premis import write_premis
from premis import setup_xml
from premis import create_representation
from premis import create_intellectual_entity
from premis import create_unit


Expand Down Expand Up @@ -376,12 +377,17 @@ def main():
"user":'Kieran O\' Leary'
}
representation_uuid = str(uuid.uuid4())
intellectual_entity_uuid = str(uuid.uuid4())
# looks like loopline isn't the keyword any longer. it's len = 32?
xml_info = make_premis(
source_file, items, premis,
premis_namespace, premisxml, representation_uuid, md5
)
linkinguuids = [xml_info[4][0], 'n/a', os.path.basename(source_file)]
create_intellectual_entity(
premisxml, premis_namespace, doc, premis,
items, intellectual_entity_uuid
)
create_representation(
premisxml, premis_namespace, doc, premis,
items, linkinguuids, representation_uuid, 'no_sequence', 'n/a'
Expand Down