#275 ✓resolved
Walter McGinnis

Import Set: Better archive file handling and refinements

Reported by Walter McGinnis | May 26th, 2010 @ 03:02 PM | in 1.3 (closed)

  • delete Windows automatically generated Thumbs.db files from decompressed archive directory, as well as Mac OS artifacts directories
  • replace assumption of archive name = directory name without extension with look up of directory within timestamped import directory
  • update importer_process to be more insynce with lib/importer.rb version of method

Comments and changes to this ticket

  • Walter McGinnis

    Walter McGinnis May 26th, 2010 @ 03:36 PM

    On item 2, make the file processing recursive. Also see if do_work override method can be refactored more to be closer to importer.rb. May need to refactor importer.rb version of do_work method and importer_process to cut down duplication.

  • Walter McGinnis

    Walter McGinnis May 27th, 2010 @ 01:05 PM

    "file processing recursive" means that we simply import all files (unless included in not_wanted array) under the import_directory (timestamp named directory). This way users can upload an archive file that contains a full subdirectory structure that reflects their previous organization of the files to be extracted.

  • Walter McGinnis

    Walter McGinnis June 3rd, 2010 @ 03:50 PM

    • State changed from “open” to “resolved”

    This has been merged to master. Appears to be working well with other import types as well.

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.

New-ticket Create new ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป

Kete was developed by Horowhenua Library Trust and Katipo Communications Ltd. to build a digital library of Horowhenua material.

People watching this ticket