Skip to content

Commit

Permalink
Update docs
Browse files Browse the repository at this point in the history
  • Loading branch information
zimeon committed Apr 26, 2022
1 parent c636293 commit c9a27dc
Show file tree
Hide file tree
Showing 6 changed files with 127 additions and 121 deletions.
12 changes: 6 additions & 6 deletions docs/demo_build_spec_examples.md
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ WARNING:ocfl.object:### Inventory for v1{
"type": "https://ocfl.io/1.0/spec/#inventory",
"versions": {
"v1": {
"created": "2021-04-26T13:25:35.957146Z",
"created": "2022-04-26T14:47:17.394880Z",
"state": {
"7dcc352f96c56dc...c31": [
"foo/bar.xml"
Expand Down Expand Up @@ -157,7 +157,7 @@ WARNING:ocfl.object:### Inventory for v2{
"type": "https://ocfl.io/1.0/spec/#inventory",
"versions": {
"v1": {
"created": "2021-04-26T13:25:35.957146Z",
"created": "2022-04-26T14:47:17.394880Z",
"state": {
"7dcc352f96c56dc...c31": [
"foo/bar.xml"
Expand All @@ -171,7 +171,7 @@ WARNING:ocfl.object:### Inventory for v2{
}
},
"v2": {
"created": "2021-04-26T13:25:35.958734Z",
"created": "2022-04-26T14:47:17.397084Z",
"state": {
"4d27c86b026ff70...b53": [
"foo/bar.xml"
Expand Down Expand Up @@ -236,7 +236,7 @@ WARNING:ocfl.object:### Inventory for v3{
"type": "https://ocfl.io/1.0/spec/#inventory",
"versions": {
"v1": {
"created": "2021-04-26T13:25:35.957146Z",
"created": "2022-04-26T14:47:17.394880Z",
"state": {
"7dcc352f96c56dc...c31": [
"foo/bar.xml"
Expand All @@ -250,7 +250,7 @@ WARNING:ocfl.object:### Inventory for v3{
}
},
"v2": {
"created": "2021-04-26T13:25:35.958734Z",
"created": "2022-04-26T14:47:17.397084Z",
"state": {
"4d27c86b026ff70...b53": [
"foo/bar.xml"
Expand All @@ -262,7 +262,7 @@ WARNING:ocfl.object:### Inventory for v3{
}
},
"v3": {
"created": "2021-04-26T13:25:35.959946Z",
"created": "2022-04-26T14:47:17.399480Z",
"state": {
"4d27c86b026ff70...b53": [
"foo/bar.xml"
Expand Down
16 changes: 8 additions & 8 deletions docs/demo_ocfl_object_script.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ The `--version` argument will show version number and exit

```
> python ocfl-object.py --version
ocfl-object.py is part of ocfl-py version 1.2.2
ocfl-object.py is part of ocfl-py version 1.3.0
```


Expand All @@ -34,7 +34,7 @@ WARNING:ocfl.object:### Inventory for v1{
"type": "https://ocfl.io/1.0/spec/#inventory",
"versions": {
"v1": {
"created": "2021-04-26T13:25:37.573161Z",
"created": "2022-04-26T14:47:18.794059Z",
"state": {
"43a43fe8a8a082d3b5343dfaf2fd0c8b8e370675b1f376e92e9994612c33ea255b11298269d72f797399ebb94edeefe53df243643676548f584fb8603ca53a0f": [
"a_file.txt"
Expand Down Expand Up @@ -65,7 +65,7 @@ WARNING:ocfl.object:### Inventory for v1{
"type": "https://ocfl.io/1.0/spec/#inventory",
"versions": {
"v1": {
"created": "2021-04-26T13:25:38.047154Z",
"created": "2022-04-26T14:47:19.184724Z",
"state": {
"43a43fe8a8a082d3b5343dfaf2fd0c8b8e370675b1f376e92e9994612c33ea255b11298269d72f797399ebb94edeefe53df243643676548f584fb8603ca53a0f": [
"a_file.txt"
Expand All @@ -90,15 +90,15 @@ WARNING:ocfl.object:### Inventory for v2{
"type": "https://ocfl.io/1.0/spec/#inventory",
"versions": {
"v1": {
"created": "2021-04-26T13:25:38.047154Z",
"created": "2022-04-26T14:47:19.184724Z",
"state": {
"43a43fe8a8a082d3b5343dfaf2fd0c8b8e370675b1f376e92e9994612c33ea255b11298269d72f797399ebb94edeefe53df243643676548f584fb8603ca53a0f": [
"a_file.txt"
]
}
},
"v2": {
"created": "2021-04-26T13:25:38.047821Z",
"created": "2022-04-26T14:47:19.185642Z",
"state": {
"296e72b8fd5f7f0ac1473993600ae34953d5dab646f17e7b182b8648aff830d7bf01b56490777cb3e72b33fcc1ae520506badea1032252d1a55fd7362e269975": [
"a_file.txt"
Expand All @@ -123,23 +123,23 @@ WARNING:ocfl.object:### Inventory for v3{
"type": "https://ocfl.io/1.0/spec/#inventory",
"versions": {
"v1": {
"created": "2021-04-26T13:25:38.047154Z",
"created": "2022-04-26T14:47:19.184724Z",
"state": {
"43a43fe8a8a082d3b5343dfaf2fd0c8b8e370675b1f376e92e9994612c33ea255b11298269d72f797399ebb94edeefe53df243643676548f584fb8603ca53a0f": [
"a_file.txt"
]
}
},
"v2": {
"created": "2021-04-26T13:25:38.047821Z",
"created": "2022-04-26T14:47:19.185642Z",
"state": {
"296e72b8fd5f7f0ac1473993600ae34953d5dab646f17e7b182b8648aff830d7bf01b56490777cb3e72b33fcc1ae520506badea1032252d1a55fd7362e269975": [
"a_file.txt"
]
}
},
"v3": {
"created": "2021-04-26T13:25:38.048884Z",
"created": "2022-04-26T14:47:19.186428Z",
"state": {
"43a43fe8a8a082d3b5343dfaf2fd0c8b8e370675b1f376e92e9994612c33ea255b11298269d72f797399ebb94edeefe53df243643676548f584fb8603ca53a0f": [
"a_file.txt"
Expand Down
2 changes: 1 addition & 1 deletion docs/demo_ocfl_sidecar_script.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ The `--version` argument will show version number and exit

```
> python ocfl-sidecar.py --version
ocfl-sidecar.py is part of ocfl-py version 1.2.2
ocfl-sidecar.py is part of ocfl-py version 1.3.0
```


Expand Down
2 changes: 1 addition & 1 deletion docs/demo_ocfl_store_script.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ The `--version` argument will show version number and exit (but we still tave to

```
> python ocfl-store.py --version --root=tmp/root --list
ocfl-store.py is part of ocfl-py version 1.2.2
ocfl-store.py is part of ocfl-py version 1.3.0
```


Expand Down
8 changes: 4 additions & 4 deletions docs/demo_using_bagit_bags.md
Original file line number Diff line number Diff line change
Expand Up @@ -161,8 +161,8 @@ Taking the newly created OCFL object `/tmp/obj` we can `--extract` the `v4` cont
INFO:ocfl.object:Extracted v4 into tmp/extracted_v4
INFO:bagit:Creating bag for directory tmp/extracted_v4
INFO:bagit:Creating data directory
INFO:bagit:Moving my_content to /privatetmp/extracted_v4/tmp32x9b1fz/my_content
INFO:bagit:Moving /privatetmp/extracted_v4/tmp32x9b1fz to data
INFO:bagit:Moving my_content to /privatetmp/extracted_v4/tmpmnmylt6l/my_content
INFO:bagit:Moving /privatetmp/extracted_v4/tmpmnmylt6l to data
INFO:bagit:Using 1 processes to generate manifests: sha512
INFO:bagit:Generating manifest lines for file data/my_content/dracula.txt
INFO:bagit:Generating manifest lines for file data/my_content/dunwich.txt
Expand All @@ -184,12 +184,12 @@ We note that the OCFL object had only one `content` file in `v4` but the extract
diff -r tmp/extracted_v4/bag-info.txt tests/testdata/bags/uaa_v4/bag-info.txt
1,2c1
< Bag-Software-Agent: bagit.py v1.8.1 <https://github.com/LibraryOfCongress/bagit-python>
< Bagging-Date: 2021-04-26
< Bagging-Date: 2022-04-26
---
> Bagging-Date: 2020-01-04
diff -r tmp/extracted_v4/tagmanifest-sha512.txt tests/testdata/bags/uaa_v4/tagmanifest-sha512.txt
2c2
< 18c8191c83d80fdcf836098d3392665caf2f23cb1d1ec20ec8dd5af473b695245f0f991a579e045a04a736b8c2a6c963556412b3f510038f424322e882a8e881 bag-info.txt
< 7dd1a757393da8b7513d149e185edd05598dfe48dd20ba5dde166f29eaf59bbf08c173718b3bc2976945c7a48aa52516c69a7d57a7c3b2b796247ad67e28f4bf bag-info.txt
---
> 10624e6d45462def7af66d1a0d977606c7b073b01809c1d42258cfab5c34a275480943cbe78044416aee1f23822cc3762f92247b8f39b5c6ddc5ae32a8f94ce5 bag-info.txt
```
Expand Down
Loading

0 comments on commit c9a27dc

Please sign in to comment.