The BagIt File Packaging Format (V0.97)
draft-kunze-bagit-07

The information below is for an old version of the document
Document Type Active Internet-Draft (individual)
Authors Andy Boyko  , John Kunze  , Justin Littman  , Liz Madden  , Brian Vargas 
Last updated 2012-04-02
Stream (None)
Intended RFC status (None)
Formats pdf htmlized (tools) htmlized bibtex
IETF conflict review conflict-review-kunze-bagit
Stream Stream state (No stream defined)
Consensus Boilerplate Unknown
RFC Editor Note (None)
IESG IESG state I-D Exists
Telechat date
Responsible AD (None)
Send notices to (None)
Network Working Group                                           A. Boyko
Internet-Draft
Expires: October 4, 2012                                        J. Kunze
                                              California Digital Library
                                                              J. Littman
                                                               L. Madden
                                                     Library of Congress
                                                               B. Vargas
                                                           April 2, 2012

                The BagIt File Packaging Format (V0.97)
                        draft-kunze-bagit-07.txt

Abstract

   This document specifies BagIt, a hierarchical file packaging format
   for storage and transfer of arbitrary digital content.  A "bag" has
   just enough structure to enclose descriptive "tags" and a "payload"
   but does not require knowledge of the payload's internal semantics.
   This BagIt format should be suitable for disk-based or network-based
   storage and transfer.

Status of this Memo

   This Internet-Draft is submitted in full conformance with the
   provisions of BCP 78 and BCP 79.

   Internet-Drafts are working documents of the Internet Engineering
   Task Force (IETF).  Note that other groups may also distribute
   working documents as Internet-Drafts.  The list of current Internet-
   Drafts is at http://datatracker.ietf.org/drafts/current/.

   Internet-Drafts are draft documents valid for a maximum of six months
   and may be updated, replaced, or obsoleted by other documents at any
   time.  It is inappropriate to use Internet-Drafts as reference
   material or to cite them other than as "work in progress."

   This Internet-Draft will expire on October 4, 2012.

Copyright Notice

   Copyright (c) 2012 IETF Trust and the persons identified as the
   document authors.  All rights reserved.

   This document is subject to BCP 78 and the IETF Trust's Legal
   Provisions Relating to IETF Documents
   (http://trustee.ietf.org/license-info) in effect on the date of

Boyko, et al.            Expires October 4, 2012                [Page 1]
Internet-Draft                    BagIt                       April 2012

   publication of this document.  Please review these documents
   carefully, as they describe your rights and restrictions with respect
   to this document.  Code Components extracted from this document must
   include Simplified BSD License text as described in Section 4.e of
   the Trust Legal Provisions and are provided without warranty as
   described in the Simplified BSD License.

Boyko, et al.            Expires October 4, 2012                [Page 2]
Internet-Draft                    BagIt                       April 2012

Table of Contents

   1.  Introduction . . . . . . . . . . . . . . . . . . . . . . . . .  4
     1.1.  Purpose  . . . . . . . . . . . . . . . . . . . . . . . . .  4
     1.2.  Requirements . . . . . . . . . . . . . . . . . . . . . . .  4
     1.3.  Terminology  . . . . . . . . . . . . . . . . . . . . . . .  4
   2.  Structure  . . . . . . . . . . . . . . . . . . . . . . . . . .  6
     2.1.  Required Elements  . . . . . . . . . . . . . . . . . . . .  6
       2.1.1.  Bag Declaration: bagit.txt . . . . . . . . . . . . . .  6
       2.1.2.  Payload Directory: data/ . . . . . . . . . . . . . . .  6
       2.1.3.  Payload Manifest: manifest-<alg>.txt . . . . . . . . .  7
     2.2.  Optional Elements  . . . . . . . . . . . . . . . . . . . .  7
       2.2.1.  Tag Manifest: tagmanifest-<alg>.txt  . . . . . . . . .  7
       2.2.2.  Bag Metadata: bag-info.txt . . . . . . . . . . . . . .  8
       2.2.3.  Fetch File: fetch.txt  . . . . . . . . . . . . . . . . 10
       2.2.4.  Other Tag Files  . . . . . . . . . . . . . . . . . . . 11
     2.3.  Text Tag File Format . . . . . . . . . . . . . . . . . . . 11
     2.4.  Bag Checksum Algorithms  . . . . . . . . . . . . . . . . . 11
   3.  Complete, Incomplete, and Valid bags . . . . . . . . . . . . . 12
   4.  Serialization  . . . . . . . . . . . . . . . . . . . . . . . . 13
   5.  Examples . . . . . . . . . . . . . . . . . . . . . . . . . . . 14
     5.1.  Example of a basic bag . . . . . . . . . . . . . . . . . . 14
     5.2.  Another example bag  . . . . . . . . . . . . . . . . . . . 14
   6.  Security Considerations  . . . . . . . . . . . . . . . . . . . 16
     6.1.  Special directory characters . . . . . . . . . . . . . . . 16
     6.2.  Control of URLs in fetch.txt . . . . . . . . . . . . . . . 16
     6.3.  File sizes in fetch.txt  . . . . . . . . . . . . . . . . . 16
   7.  Practical Considerations (non-normative) . . . . . . . . . . . 17
     7.1.  Disk and network transfer  . . . . . . . . . . . . . . . . 17
     7.2.  Interoperability . . . . . . . . . . . . . . . . . . . . . 17
       7.2.1.  Checksum tools . . . . . . . . . . . . . . . . . . . . 17
       7.2.2.  Windows and Unix file naming . . . . . . . . . . . . . 18
Show full document text