Skip to content
This repository has been archived by the owner on Jun 27, 2020. It is now read-only.

Export Sets

dchandekstark edited this page Mar 15, 2013 · 19 revisions

Dependencies

  • mime-types
  • paperclip
  • rubyzip

Initialization

Run bundle install

Run rake db:migrate and rake db:test:prepare

User Stories

  • I am a staff member and I want to delete the zip file, but retain the export set for possible future re-generation. Issue #147
  • I am a staff member and I want to re-generate the zip archive for an export set. Issue #148
  • I am a repository administrator and I want to remove old zip archives but retain the export sets. Issue #147
  • I am a staff member and I want to name the export set with the specific requesters' name. Issue #137
  • I am a staff member and I want to rename an export set. Issue #149
  • I am a staff member and I want to see a list of all export sets.
  • I am a staff member and need a manifest (README.txt) created containing metadata about each file in the export set. Issue #150
    • File name
    • Component title, if available
    • Item title
    • Collection title
  • I am a staff member and want to replace a mistakenly selected file in the zipped archive.

Scenarios

GIVEN a content-bearing object having a source file name, WHEN I include the object in an export set, THEN the exported file name matches the source file name.

GIVEN a content-bearing object not having a source file name, WHEN I include the object in an export set, THEN the exported file name is generated from the PID, the datastream ID and the MIME type of the content.

Clone this wiki locally