Skip to content

Commit

Permalink
Merge branch 'master' of github.com:ResearchObject/bagit-ro-ex1
Browse files Browse the repository at this point in the history
  • Loading branch information
stain committed Jul 29, 2015
2 parents 121d5c9 + 98a91c4 commit f6c84c1
Show file tree
Hide file tree
Showing 3 changed files with 47 additions and 2 deletions.
13 changes: 11 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ its content.
A [BagIt serialization](https://tools.ietf.org/html/draft-kunze-bagit-11#section-4)
is typically a tar- or zip-file which contains the base folder.
BagIt archives include at the root a subdirectory for the base folder of the
bag, e.g. the ZIP file would contain `example1/bagit.txt`.g
bag, e.g. the ZIP file would contain `example1/bagit.txt`.

The [payload](https://tools.ietf.org/html/draft-kunze-bagit-11#section-2.1.2)
of a bag is the files within a directory that
Expand Down Expand Up @@ -242,7 +242,16 @@ The `bag-info.txt` format supports some
[basic bag-level metadata](https://tools.ietf.org/html/draft-kunze-bagit-11#section-2.2.2), e.g.
`Bagging-Date`, `Contact-Phone` and `Organization-Address`. While some of these
might seem archaic, "other arbitrary metadata elements may also be present.",
allowing extensions.
allowing extensions.

Research Object BagIt archives SHOULD specify the bagit-ro [BagIt profile](https://github.com/ruebot/bagit-profiles):

```
BagIt-Profile-Identifier: https://rawgit.com/ResearchObject/bagit-ro-ex1/master/profile.json
```

**FIXME:** Permanent URI for the bagit-ro profile


The BagIt specification has no requirements for such alternative elements
(e.g. they are not [RFC 2822](https://tools.ietf.org/html/rfc2822) headers),
Expand Down
1 change: 1 addition & 0 deletions example1/bag-info.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
BagIt-Profile-Identifier: https://rawgit.com/ResearchObject/bagit-ro-ex1/master/profile.json
Source-Organization: Example inc.
Organization-Address: 1 Example Way
Example City
Expand Down
35 changes: 35 additions & 0 deletions profile.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
{
"BagIt-Profile-Info":{
"BagIt-Profile-Identifier":"https://rawgit.com/ResearchObject/bagit-ro-ex1/master/profile.json",
"Source-Organization":"researchobject.org",
"Contact-Name":"Stian Soiland-Reyes",
"Contact-Email":"soiland-reyes@cs.manchester.ac.uk",
"External-Description":"BagIt profile for Research Objects. See https://github.com/ResearchObject/bagit-ro-ex1",
"Version":"0.1.20150728"
},
"Bag-Info": {
"Bag-Size": {
"required":true
},
"Payload-Oxum":{
"required":true
}
},
"Manifests-Required":[
"md5", "sha1"
],
"Allow-Fetch.txt": true,
"Serialization": "required",
"Accept-Serialization":[
"application/zip"
],
"Tag-Manifests-Required":[
"md5", "sha1"
],
"Tag-Files-Required":[
".ro/manifest.json"
],
"Accept-BagIt-Version":[
"0.97"
]
}

0 comments on commit f6c84c1

Please sign in to comment.